TelemetryApi
Telemetry RPCs and observation.
Each requestX method sends a unicast Telemetry packet on TELEMETRY_APP with want_response = true to node and waits for the device's reply. observe returns a cold Flow of every Telemetry packet observed for a given node — including unsolicited periodic broadcasts.
Acquired via RadioClient.telemetry. Available only while the client is connected.
Since
0.1.0
Functions
Link copied to clipboard
Request the latest AirQualityMetrics from node.
Link copied to clipboard
Request the latest DeviceMetrics from node.
Link copied to clipboard
abstract suspend fun requestEnvironment(node: NodeId = NodeId.LOCAL): AdminResult<EnvironmentMetrics>
Request the latest EnvironmentMetrics from node.
Link copied to clipboard
Request the local node's LocalStats (mesh-wide stats sourced from this device).
Link copied to clipboard
Request the latest PowerMetrics from node.