MeshStatusResult

data class MeshStatusResult(val connectionState: String, val onlineNodeCount: Int, val totalNodeCount: Int, val localBatteryLevel: Int?, val localNodeName: String?)(source)

Result of a AiFunctionProvider.getMeshStatus invocation.

Constructors

Link copied to clipboard
constructor(connectionState: String, onlineNodeCount: Int, totalNodeCount: Int, localBatteryLevel: Int?, localNodeName: String?)

Properties

Link copied to clipboard

Current connection state (e.g., "CONNECTED", "DISCONNECTED").

Link copied to clipboard

Local device battery level (0-100), or null if unavailable.

Link copied to clipboard

Display name of the local node, or null if not yet configured.

Link copied to clipboard

Number of nodes heard within the online threshold.

Link copied to clipboard

Total number of nodes in the local database.