summaryrefslogtreecommitdiff
path: root/ao-tools/lib/cc-telemetry.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-05-01 18:12:41 -0700
committerKeith Packard <keithp@keithp.com>2012-05-01 18:12:41 -0700
commit69feb1e3d94a028d04529edb015654bafd06353b (patch)
tree50e61697b1cd0bd943b2c853bddfee1c1bfcad94 /ao-tools/lib/cc-telemetry.h
parent8b08095b3d41e21684a10bddfb54431019da5af6 (diff)
ao-tools: Add GPS and rssi printing to ao-telem
This prints all of the basic telemetrum messages now. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/lib/cc-telemetry.h')
-rw-r--r--ao-tools/lib/cc-telemetry.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ao-tools/lib/cc-telemetry.h b/ao-tools/lib/cc-telemetry.h
index 5a66b971..71f6844d 100644
--- a/ao-tools/lib/cc-telemetry.h
+++ b/ao-tools/lib/cc-telemetry.h
@@ -29,7 +29,9 @@ struct ao_telemetry_generic {
uint16_t tick; /* 2 */
uint8_t type; /* 4 */
uint8_t payload[27]; /* 5 */
- /* 32 */
+ uint8_t rssi; /* 32 */
+ uint8_t status; /* 33 */
+ /* 34 */
};
#define AO_TELEMETRY_SENSOR_TELEMETRUM 0x01