MeshMetrics

data class MeshMetrics(val totalNodeCount: Int, val onlineNodeCount: Int, val averageBatteryLevel: Int?, val meshHealthScore: Int, val mostRecentPacketTime: Long, val meshUptimeSeconds: Long, val channelUtilizationPercent: Int?)(source)

Aggregate network metrics and statistics for the entire mesh.

Constructors

Link copied to clipboard
constructor(totalNodeCount: Int, onlineNodeCount: Int, averageBatteryLevel: Int?, meshHealthScore: Int, mostRecentPacketTime: Long, meshUptimeSeconds: Long, channelUtilizationPercent: Int?)

Properties

Link copied to clipboard

Average battery level across all nodes, or null if unknown.

Link copied to clipboard

Estimated channel utilization percentage (0-100), or null if unavailable.

Link copied to clipboard

Estimated mesh health score (0-100), based on connectivity and node activity.

Link copied to clipboard

Mesh uptime since local node startup (seconds).

Link copied to clipboard

Timestamp of the most recent packet received (milliseconds since epoch).

Link copied to clipboard

Number of nodes that are currently online.

Link copied to clipboard

Total number of nodes known to this device.