Types

Link copied to clipboard

Part of a configuration transfer.

Link copied to clipboard
class DebugLog(notificationData: ByteArray) : SensorNotification

Debug log line from the sensor.

Link copied to clipboard

Part of a device info transfer.

Link copied to clipboard
class Event(notificationData: ByteArray) : SensorNotification

Something the sensor reported happening, such as a measurement being taken or a setting being changed.

Link copied to clipboard

Part of an extended configuration transfer.

Link copied to clipboard

Traffic on the gateway's data socket.

Link copied to clipboard

Traffic on the gateway's update download socket.

Link copied to clipboard

Traffic on the gateway's update request socket.

Link copied to clipboard

Part of a measurement transfer.

Link copied to clipboard
class ModemRx(notificationData: ByteArray) : SensorNotification

Data the sensor received from its modem.

Link copied to clipboard
class ModemTx(notificationData: ByteArray) : SensorNotification

Data the sensor sent to its modem.

Link copied to clipboard

Status the sensor reports while it is in troubleshooting mode.

Link copied to clipboard
class Unknown(notificationData: ByteArray) : SensorNotification

Notification whose code the library does not recognize. Read code and data to handle it yourself.

Properties

Link copied to clipboard
val code: Int

Code associated with notification

Link copied to clipboard

Notification data (first byte of notification is omitted)

Functions

Link copied to clipboard
open override fun toString(): String