MetricsState
data class MetricsState(val isLocal: Boolean = false, val isManaged: Boolean = true, val isFahrenheit: Boolean = false, val displayUnits: Config.DisplayConfig.DisplayUnits = Config.DisplayConfig.DisplayUnits.METRIC, val node: Node? = null, val deviceMetrics: List<Telemetry> = emptyList(), val signalMetrics: List<MeshPacket> = emptyList(), val powerMetrics: List<Telemetry> = emptyList(), val hostMetrics: List<Telemetry> = emptyList(), val tracerouteRequests: List<MeshLog> = emptyList(), val tracerouteResults: List<MeshLog> = emptyList(), val neighborInfoRequests: List<MeshLog> = emptyList(), val neighborInfoResults: List<MeshLog> = emptyList(), val positionLogs: List<Position> = emptyList(), val deviceHardware: DeviceHardware? = null, val firmwareEdition: FirmwareEdition? = null, val latestStableFirmware: FirmwareRelease = FirmwareRelease(), val latestAlphaFirmware: FirmwareRelease = FirmwareRelease(), val paxMetrics: List<MeshLog> = emptyList(), val reportedTarget: String? = null)(source)
Constructors
Link copied to clipboard
constructor(isLocal: Boolean = false, isManaged: Boolean = true, isFahrenheit: Boolean = false, displayUnits: Config.DisplayConfig.DisplayUnits = Config.DisplayConfig.DisplayUnits.METRIC, node: Node? = null, deviceMetrics: List<Telemetry> = emptyList(), signalMetrics: List<MeshPacket> = emptyList(), powerMetrics: List<Telemetry> = emptyList(), hostMetrics: List<Telemetry> = emptyList(), tracerouteRequests: List<MeshLog> = emptyList(), tracerouteResults: List<MeshLog> = emptyList(), neighborInfoRequests: List<MeshLog> = emptyList(), neighborInfoResults: List<MeshLog> = emptyList(), positionLogs: List<Position> = emptyList(), deviceHardware: DeviceHardware? = null, firmwareEdition: FirmwareEdition? = null, latestStableFirmware: FirmwareRelease = FirmwareRelease(), latestAlphaFirmware: FirmwareRelease = FirmwareRelease(), paxMetrics: List<MeshLog> = emptyList(), reportedTarget: String? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The PlatformIO environment reported by the device (if known).
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard