summaryrefslogtreecommitdiff
path: root/src/product
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-07-29 16:22:23 -0700
committerKeith Packard <keithp@keithp.com>2012-07-29 16:22:23 -0700
commit59588ba34159b27c02e1a886b46497ecfa0cf4d3 (patch)
treee90de318e3c1f261adbf304fce0ab9b47c64b2ee /src/product
parent52e920bc7a98edf5c6f2ad0bd59d581011dcd5c9 (diff)
Add ability to re-play telemetry through TeleDongle
This adds a new command to TeleDongle to send arbitrary data, and then creates a new tool, 'ao-send-telem' that replays existing telemetry files through TeleDongle. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/product')
-rw-r--r--src/product/Makefile.teledongle1
-rw-r--r--src/product/ao_teledongle.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/product/Makefile.teledongle b/src/product/Makefile.teledongle
index 5105b567..3101b777 100644
--- a/src/product/Makefile.teledongle
+++ b/src/product/Makefile.teledongle
@@ -43,6 +43,7 @@ CC1111_SRC = \
ao_packet.c \
ao_packet_master.c \
ao_radio.c \
+ ao_send_packet.c \
ao_romconfig.c \
ao_string.c \
ao_timer.c \
diff --git a/src/product/ao_teledongle.c b/src/product/ao_teledongle.c
index 0c829e97..25ebe73e 100644
--- a/src/product/ao_teledongle.c
+++ b/src/product/ao_teledongle.c
@@ -16,6 +16,7 @@
*/
#include "ao.h"
+#include <ao_send_packet.h>
void
main(void)
@@ -32,6 +33,7 @@ main(void)
ao_rssi_init(AO_LED_RED);
ao_radio_init();
ao_packet_master_init();
+ ao_send_packet_init();
#if HAS_DBG
ao_dbg_init();
#endif