Home/Hardware/GX5s/Telemetry & clock
Data

Telemetry, offline queue and clock

What the GX5s reports, how it keeps telemetry on its 1 GB SD NAND when offline, and how it keeps time.

Telemetry goes to the broker when it is reachable, otherwise to the SD NAND queue with an RTC timestamp; network time corrects the RTC Telemetry broker reachable MQTT offline SD NAND + RTC timestamp RTC ← network time · UTC

Telemetry

Published over MQTT under device/<id>/<location>/telemetry. Each message carries:

  • Supply and LiPo voltage.
  • Acceleration and board temperature; rotation rate while ignition is on.
  • The latest GNSS fix: position, speed, course and satellites.

Driving events (accelerate, brake, left, right, harsh) are published separately under event.

Offline queue

When the broker can't be reached, telemetry is written to the board's 1 GB SD NAND with an RTC timestamp instead of being lost. The NAND is powered and mounted only for each write.

Clock

  • The PCF8563 real-time clock sets the system clock at boot.
  • It is rewritten from network time on every connect.
  • All timestamps are UTC.

Source: firmware decisions (ADR 0001) in the gx5s repository.