summaryrefslogtreecommitdiff
path: root/src/core/ao.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ao.h')
-rw-r--r--src/core/ao.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/ao.h b/src/core/ao.h
index 54018b37..fa873efe 100644
--- a/src/core/ao.h
+++ b/src/core/ao.h
@@ -529,6 +529,11 @@ ao_radio_recv_abort(void);
void
ao_radio_test(uint8_t on);
+typedef int16_t (*ao_radio_fill_func)(uint8_t *buffer, int16_t len);
+
+void
+ao_radio_send_lots(ao_radio_fill_func fill);
+
/*
* Compute the packet length as follows:
*
@@ -712,6 +717,11 @@ struct ao_config {
#define AO_IGNITE_MODE_APOGEE 1
#define AO_IGNITE_MODE_MAIN 2
+#define AO_RADIO_ENABLE_CORE 1
+#define AO_RADIO_ENABLE_APRS 2
+#define AO_RADIO_DISABLE_TELEMETRY 4
+#define AO_RADIO_DISABLE_RDF 8
+
#define AO_PAD_ORIENTATION_ANTENNA_UP 0
#define AO_PAD_ORIENTATION_ANTENNA_DOWN 1