MeshNode
data class MeshNode(val raw: NodeInfo, val isOnline: Boolean, val connectionQuality: ConnectionQuality, val signalQuality: SignalQuality)(source)
High-level, consumer-friendly representation of a mesh node.
Combines the raw NodeInfo proto with computed status helpers (isOnline, connectionQuality, signalQuality) and provides convenient accessor properties that flatten the proto's nested structure for direct UI binding.
Instances are created via NodeInfo.toMeshNode at a specific point in time (nowEpochSeconds) so that online status is pre-computed and stable for the lifetime of the snapshot.
Since
0.1.0
Constructors
Link copied to clipboard
constructor(raw: NodeInfo, isOnline: Boolean, connectionQuality: ConnectionQuality, signalQuality: SignalQuality)
Properties
Link copied to clipboard
Battery level percentage (0–100). Null if not reported.
Link copied to clipboard
Channel utilization percentage. Null if not reported.
Link copied to clipboard
Link copied to clipboard
Device metrics snapshot (battery, air utilization, etc.).
Link copied to clipboard
Whether this node is marked as a favorite.
Link copied to clipboard