GatewayDeviceInfo

data class GatewayDeviceInfo(val serialNumber: String, val softwareInfo: GatewayDeviceInfo.SoftwareInfo, val hardwareInfo: GatewayDeviceInfo.HardwareInfo, val runtimeInfo: GatewayDeviceInfo.RuntimeInfo, val powerMonitor: GatewayDeviceInfo.PowerMonitor?, val ethernet: GatewayDeviceInfo.Ethernet?, val modem: GatewayDeviceInfo.Modem?)

This data class represents the information retrieved from a gateway device.

Constructors

Link copied to clipboard

Types

Link copied to clipboard
data class Ethernet(val dhcpEnabled: Boolean, val macAddress: BluetoothMacAddress, val ipAddress: IpAddress, val subnetMask: NetMask, val gatewayIp: IpAddress, val dnsIp: IpAddress)

This data class holds information about the gateway device's ethernet connection.

Link copied to clipboard
data class HardwareInfo(val gatewayModel: String, val networkInterfaceType: GatewayDeviceInfo.HardwareInfo.NetworkInterfaceType?)

This data class holds information about the gateway device's hardware.

Link copied to clipboard
data class Modem(val imei: String, val modemVersion: String, val iccid: String, val registrationStatus: GatewayDeviceInfo.Modem.RegistrationStatus?, val accessTechnology: GatewayDeviceInfo.Modem.AccessTechnology?, val registeredPlmn: Plmn, val trackingAreaCode: Int, val cellId: Int, val ipAddress: IpAddress, val signalStrengthRSSI: Int, val signalStrengthRSRP: Int, val signalStrengthSINR: Int, val signalStrengthRSRQ: Int, val simCardStatus: GatewayDeviceInfo.Modem.SimStatus?)

This data class holds information about the gateway device's modem.

Link copied to clipboard
data class PowerMonitor(val chargingStatus: GatewayDeviceInfo.PowerMonitor.ChargingStatus?, val batteryChargeLevel: Int?)

This data class holds information about the gateway device's power status.

Link copied to clipboard
data class RuntimeInfo(val upTimeInSeconds: Int, val realTimeInSeconds: Int, val lastCommunicationTimestamp: Long, val lastCommunicationStatus: GatewayDeviceInfo.RuntimeInfo.CommunicationStatus?, val inRangeSensors: Int, val boundSensors: Int, val lastHeartbeatTimestamp: Long, val lastHeartbeatStatus: GatewayDeviceInfo.RuntimeInfo.HeartbeatStatus?)

This data class holds information about the gateway device's runtime state.

Link copied to clipboard
data class SoftwareInfo(val swVersion: SoftwareVersion, val publicKey: ByteArray)

This data class holds information about the gateway device's software.

Properties

Link copied to clipboard

Information about the gateway device's ethernet connection (optional).

Link copied to clipboard

Information about the gateway device's hardware.

Link copied to clipboard

Information about the gateway device's modem (optional).

Link copied to clipboard

Information about the gateway device's power status (optional).

Link copied to clipboard

Information about the gateway device's runtime state.

Link copied to clipboard

The serial number of the gateway device.

Link copied to clipboard

Information about the gateway device's software.