summaryrefslogtreecommitdiffstats
path: root/firmware/export/iap.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/iap.h')
-rw-r--r--firmware/export/iap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/iap.h b/firmware/export/iap.h
index e945d0c979..d00e5f398a 100644
--- a/firmware/export/iap.h
+++ b/firmware/export/iap.h
@@ -20,6 +20,9 @@
#ifndef __IAP_H__
#define __IAP_H__
+#define RX_BUFLEN 260
+#define TX_BUFLEN 128
+
extern int iap_getc(unsigned char x);
extern void iap_write_pkt(unsigned char data, int len);
extern void iap_setup(int ratenum);
@@ -27,5 +30,7 @@ extern void iap_bitrate_set(int ratenum);
extern void iap_periodic(void);
extern void iap_handlepkt(void);
extern void iap_track_changed(void *ignored);
+extern void iap_send_pkt(const unsigned char * data, int len);
+extern unsigned char serbuf[RX_BUFLEN];
#endif