Message send by a Pixel to notify of its telemetry data.

Implements

  • PixelMessage

Constructors

Properties

accXTimes1000: number = 0
accYTimes1000: number = 0
accZTimes1000: number = 0
batteryControllerMode: number = PixelBatteryControllerModeValues.default

Internal disabling of charging (because of temperature for instance)

batteryControllerState: number = PixelBatteryControllerStateValues.ok

The internal state of the battery controller itself.

batteryLevelPercent: number = 0

The battery charge level in percent.

batteryState: number = PixelBatteryStateValues.ok

The charging state of the battery.

batteryTemperatureTimes100: number = 0

The battery temperature, in celsius, times 100 (i.e. 500 == 5 degrees C).

channelIndex: number = 0

The data channel index of which the RSSI is measured.

faceConfidenceTimes1000: number = 0
faceIndex: number = 0

Index of the face facing up (if applicable).

internalChargeState: boolean = false

Internal charge state

ledCurrent: number = 0

led power draw in mA

mcuTemperatureTimes100: number = 0

The microcontroller temperature, in celsius, times 100 (i.e. 500 == 5 degrees C). If the die was unable to read the temperature, value will be 0xffff.

rollState: number = PixelRollStateValues.unknown

Current roll state.

rssi: number = 0

The RSSI value, in dBm.

timeMs: number = 0

Firmware time in ms for when the data was gathered.

type: number = MessageTypeValues.telemetry

Type of the message.

vCoilTimes50: number = 0

The measured coil voltage multiplied by 50.

voltageTimes50: number = 0

The measured battery voltage multiplied by 50.