package com.craxiom.messaging.connectionstatus

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

enum ConnectionStatus

connection_status.proto:25

Note that the enum ordinals deliberately do NOT match Android's CellInfo CONNECTION_* constants (NONE=0, PRIMARY_SERVING=1, SECONDARY_SERVING=2, UNKNOWN=Integer.MAX_VALUE). proto3 requires the first enum value to be 0 and treats it as the unserialized default, so UNKNOWN must be 0 here; mapping Android's NONE to 0 instead would make a measured neighbor indistinguishable from an absent value on the wire. Producers must map the Android constants explicitly.

Used in: LteRecordData, NrRecordData