RuntimeInfo

data class RuntimeInfo(val upTime: Int, val messageCounters: RuntimeInfo.MessageCounters, val batteryVoltage: Int?, val mcuTemperature: Int, val maxMcuTemperature: Int, val minMcuTemperature: Int, val runtimeErrors: List<RuntimeError>, val resetCounter: Int)

This data class holds information about the sensor device's runtime state.

Constructors

Link copied to clipboard
constructor(upTime: Int, messageCounters: RuntimeInfo.MessageCounters, batteryVoltage: Int?, mcuTemperature: Int, maxMcuTemperature: Int, minMcuTemperature: Int, runtimeErrors: List<RuntimeError>, resetCounter: Int)

Types

Link copied to clipboard
data class MessageCounters(val confirmableMessagesAttempts: Int, val nonConfirmableMessagesAttempts: Int, val succeededMessages: Int)

This data class holds information about the sensor device's message counters.

Properties

Link copied to clipboard

The battery voltage in millivolts or null if not available.

Link copied to clipboard

The maximum MCU temperature in Celsius.

Link copied to clipboard

The MCU temperature in Celsius.

Link copied to clipboard

The message counters of the sensor device (since reset).

Link copied to clipboard

The minimum MCU temperature in Celsius.

Link copied to clipboard

The number of resets (since power-up).

Link copied to clipboard

The runtime errors of the sensor device (max 20).

Link copied to clipboard
val upTime: Int

The uptime of the sensor device in seconds (since reset).