DeviceRebooted

data class DeviceRebooted(val reason: String = "device reported reboot") : MeshEvent(source)

Device reported FromRadio.rebooted = true — the radio restarted mid-session (crash, intentional reboot via admin, firmware update, or brownout). The engine treats this as a forced disconnect: pending sends fail, handshake state resets, and ConnectionState transitions to Disconnected. Higher-level reconnect policy (if any) then restarts the session from scratch.

Emitted once per reboot event, before the transition to Disconnected.

Since

0.1.0

Constructors

Link copied to clipboard
constructor(reason: String = "device reported reboot")

Properties

Link copied to clipboard