IdentityRebound

data class IdentityRebound(val previousNodeNum: NodeId, val newNodeNum: NodeId, val reason: String = "device factory reset or identity change") : MeshEvent(source)

The connected device reported a different NodeNum than the one previously persisted for this transport identity (e.g. factory reset, radio swap, or hostname re-pointed at a different physical radio).

Emitted before the engine clears storage and before the subsequent fresh NodeChange.Snapshot lands on RadioClient.nodes, so subscribers can snapshot any in-memory state they care about between observing the event and the next snapshot.

Parameters

previousNodeNum

the previously persisted NodeNum

newNodeNum

the NodeNum the device just reported

reason

human-readable explanation (defaults to factory-reset wording)

Constructors

Link copied to clipboard
constructor(previousNodeNum: NodeId, newNodeNum: NodeId, reason: String = "device factory reset or identity change")

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard