DeviceStatus

data class DeviceStatus(val model: String, val firmwareVersion: String, val batteryLevel: Int?, val chargingStatus: String, val deviceName: String?, val isActive: Boolean)(source)

Status and metrics of the local mesh radio device.

Constructors

Link copied to clipboard
constructor(model: String, firmwareVersion: String, batteryLevel: Int?, chargingStatus: String, deviceName: String?, isActive: Boolean)

Properties

Link copied to clipboard

Battery level (0-100), or null if not battery-powered.

Link copied to clipboard

Charging status: "CHARGING", "NOT_CHARGING", or "UNKNOWN".

Link copied to clipboard

Display name of the device.

Link copied to clipboard

Firmware version string.

Link copied to clipboard

Whether the radio is currently transmitting or receiving.

Link copied to clipboard

Device model/hardware (e.g., "Meshtastic nRF52840").