APP4 S5

Dependencies:   mbed-rtos mbed

Revision:
1:5fc0c0996264
Parent:
0:5999fed1929b
Child:
2:fdb34827d964
--- a/radio.h	Wed Oct 11 18:47:32 2017 +0000
+++ b/radio.h	Wed Oct 11 18:57:19 2017 +0000
@@ -0,0 +1,26 @@
+
+#define HEADER_DELIMITER 0b01010101
+
+#define HEADER_START 0b11111110
+
+#define FOOTER_END 0b11111110
+
+#define MAX_MESSAGE_LENGTH 80
+
+typedef byte char;
+
+typedef struct {
+    byte preambule;
+    byte start;
+    byte options;
+    byte length;
+    byte[MAX_MESSAGE_LENGTH] data;
+    byte control;
+    byte end;
+} radio_message_t;
+
+// Private
+
+
+
+// API
\ No newline at end of file