altos: Allow telemetry, rdf and APRS to be individually controlled
[fw/altos] / src / core / ao.h
index 54018b371a058d60ba888b8020c45bbbda41d70f..fa873efeba12b49f67c754677d0c4baa7c529e74 100644 (file)
@@ -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