-struct ao_telemetry_constant {
- uint16_t serial; /* 0 */
- uint16_t tick; /* 2 */
- uint8_t type; /* 4 */
- uint8_t device; /* 5 device type */
- uint16_t flight; /* 6 flight number */
- int16_t ground_accel; /* 8 average ground accelerometer (TM only) */
- int16_t ground_pres; /* 10 average ground barometer */
- int16_t accel_plus_g; /* 12 +1g accelerometer calibration value (TM only) */
- int16_t accel_minus_g; /* 14 -1g accelermeter calibration value (TM only) */
- char callsign[AO_MAX_CALLSIGN]; /* 16 identity */
- /* 24 */
+#define AO_TELEMETRY_CONFIGURATION 0x04
+
+struct ao_telemetry_configuration {
+ uint16_t serial; /* 0 */
+ uint16_t tick; /* 2 */
+ uint8_t type; /* 4 */
+
+ uint8_t device; /* 5 device type */
+ uint16_t flight; /* 6 flight number */
+ uint8_t config_major; /* 8 Config major version */
+ uint8_t config_minor; /* 9 Config minor version */
+ uint16_t main_deploy; /* 10 Main deploy alt in meters */
+ uint32_t flight_log_max; /* 12 Maximum flight log size in bytes */
+ char callsign[AO_MAX_CALLSIGN]; /* 16 Radio operator identity */
+ char version[AO_MAX_VERSION]; /* 24 Software version */
+ /* 32 */