HeartbeatData

data class HeartbeatData(val mfrId: UInt? = null, val devId: UInt, val dsc: UInt, val ssc: UInt, val sigBmp: UInt, val semVer: DeviceFirmwareVersion, val bootloaderSemVer: DeviceFirmwareVersion? = null, val timestamp: UInt? = null, val rssi: Int? = null, val lastOobServerTimestamp: Long? = null)

Data class representing parsed heartbeat data with optional fields This provides type safety and eliminates the need for string-based field access

Constructors

Link copied to clipboard
constructor(mfrId: UInt? = null, devId: UInt, dsc: UInt, ssc: UInt, sigBmp: UInt, semVer: DeviceFirmwareVersion, bootloaderSemVer: DeviceFirmwareVersion? = null, timestamp: UInt? = null, rssi: Int? = null, lastOobServerTimestamp: Long? = null)

Properties

Link copied to clipboard
val devId: UInt
Link copied to clipboard
val dsc: UInt
Link copied to clipboard
Link copied to clipboard
val mfrId: UInt?
Link copied to clipboard
val rssi: Int?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val ssc: UInt
Link copied to clipboard

Functions

Link copied to clipboard

Compares two HeartbeatData instances ignoring the rssi field