Slave Implementation of WANOT Slave

Dependencies:   SX1276Lib mbed-src

Revision:
0:80ebf9b1dd4f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SlaveSetUp.h	Mon May 23 22:28:07 2016 +0000
@@ -0,0 +1,30 @@
+#ifndef SLAVESETUP_H_
+#define SLAVESETUP_H_
+
+#include "WANOT.h"
+
+typedef enum {
+    Wait_for_Beacon = 0,
+    Send_RTS,
+    Send_JoinReq,
+    Send_ACK,
+    Wait_for_CTS,
+    Wait_for_JoinAccept,
+    Rx_Init,
+    Phy_CS, //CSMA
+    Virtual_CS,
+    Channel_Busy
+
+} SlaveSetUpStates;
+
+typedef enum {
+    msgRTS = 0x11,
+    msgCTS = 0x12,
+    msgJoinReq = 0x13,
+    msgJoinAccept = 0x14,
+    msgAck = 0x15
+
+} msgType;
+
+void SlaveSetUp();
+#endif
\ No newline at end of file