summaryrefslogtreecommitdiff
path: root/src/core/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-12-06 10:12:11 -0800
committerKeith Packard <keithp@keithp.com>2012-12-06 10:12:11 -0800
commitc1e6fa32b856b91afa355cd272d2d7287d3ccca1 (patch)
treedbe7060fd93e28d1633d71998b706e3db7d9d0a4 /src/core/ao.h
parent51ef826372f466f44901c4c609ed6a987d30fda4 (diff)
altos: Hook APRS up to the radio
This adds an arbitrary-length packet writing function to the radio code. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao.h')
-rw-r--r--src/core/ao.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/ao.h b/src/core/ao.h
index 54018b37..d6e27707 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:
*