CellularNetworkStatus

data class CellularNetworkStatus(val commandVersion: Int, val serverCommunicationTimestamp: Long?, val serverCommunicationStatus: ServerCommunicationStatus, val supportedTechnologies: Set<CellularNetworkStatus.Technology>, val currentTechnology: CellularNetworkStatus.Technology?, val simCardStatus: CellularNetworkStatus.SimCardStatus?, val registrationStatus: RegistrationStatus, val registrationRejectCause: Int, val successfulRegistrationTimestamp: Long?, val ipAddress: IpAddress?, val rplmn: Int?, val trackingAreaCode: Int?, val cellId: Int?)

Represents network status of a cellular modem

Constructors

Link copied to clipboard
constructor(commandVersion: Int, serverCommunicationTimestamp: Long?, serverCommunicationStatus: ServerCommunicationStatus, supportedTechnologies: Set<CellularNetworkStatus.Technology>, currentTechnology: CellularNetworkStatus.Technology?, simCardStatus: CellularNetworkStatus.SimCardStatus?, registrationStatus: RegistrationStatus, registrationRejectCause: Int, successfulRegistrationTimestamp: Long?, ipAddress: IpAddress?, rplmn: Int?, trackingAreaCode: Int?, cellId: Int?)

Types

Link copied to clipboard

Represents status of the sim card

Link copied to clipboard

Represents supported technology

Properties

Link copied to clipboard
val cellId: Int?

physical ID of the cell providing service to the module or null if not registered

Link copied to clipboard

version of the command used to retrieve this status

Link copied to clipboard

current technology or null if unknown

Link copied to clipboard

ip address assigned to modem after registration or null if not assigned

Link copied to clipboard

error code for registration rejection

Link copied to clipboard

last registration status

Link copied to clipboard
val rplmn: Int?

RPLMN (Registered Public Land Mobile Network) which is the unique code that each operator assigns to each of their networks or null if not registered

Link copied to clipboard

status of communication with server

Link copied to clipboard

timestamp of last communication with server or null if not communicated yet

Link copied to clipboard

sim card status or null if unknown

Link copied to clipboard

successful registration timestamp or null if not registered

Link copied to clipboard

list of supported technologies

Link copied to clipboard

tracking area code which is the unique code that each operator assigns to each of their tracking areas or null if not registered