SystemStatus

Receive system status. MQTT properties: RETAINED

Types

Link copied to clipboard
data class Data(val serialNumber: String, val battery: Int, val temperature: SystemStatus.Data.Temperature, val uptime: Int)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun deserialize(byteArray: ByteArray): SystemStatus.Data

De-Serializes the given byteArray into the type T.

Link copied to clipboard
open override fun serialize(item: SystemStatus.Data): ByteArray

Serializes the given item into a ByteArray to be transmitted over the air.

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