summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-05-19 21:36:01 -0700
committerKeith Packard <keithp@keithp.com>2017-05-19 21:36:01 -0700
commite37f9719745b7fba5bfb1b1517ce7b70efa7a3a2 (patch)
treea9adc28f362765a70c68fe4d8c185bbdc869dff2
parent6e3b7206f9ab2f76089553d7c881a96e0204a4a3 (diff)
altos/telebt-v3.0: Add send_packet command
Useful for doing host-based RF protocols. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/telebt-v3.0/Makefile1
-rw-r--r--src/telebt-v3.0/ao_telebt.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/telebt-v3.0/Makefile b/src/telebt-v3.0/Makefile
index 40d1f6e4..4636c046 100644
--- a/src/telebt-v3.0/Makefile
+++ b/src/telebt-v3.0/Makefile
@@ -55,6 +55,7 @@ ALTOS_SRC = \
ao_convert_volt.c \
ao_packet_master.c \
ao_packet.c \
+ ao_send_packet.c \
ao_monitor.c \
$(PROFILE) \
$(SAMPLE_PROFILE) \
diff --git a/src/telebt-v3.0/ao_telebt.c b/src/telebt-v3.0/ao_telebt.c
index 8775d993..63633c90 100644
--- a/src/telebt-v3.0/ao_telebt.c
+++ b/src/telebt-v3.0/ao_telebt.c
@@ -23,6 +23,7 @@
#include <ao_profile.h>
#include <ao_btm.h>
#include <ao_lco_cmd.h>
+#include <ao_send_packet.h>
#if HAS_SAMPLE_PROFILE
#include <ao_sample_profile.h>
#endif
@@ -53,6 +54,7 @@ main(void)
ao_radio_init();
ao_packet_master_init();
ao_monitor_init();
+ ao_send_packet_init();
ao_config_init();