Master Implementation of WANOT

Dependencies:   SX1276Lib mbed

Revision:
0:8b449140caa2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MasterSetUp.h	Mon May 23 22:25:40 2016 +0000
@@ -0,0 +1,29 @@
+#ifndef _MASTERSETUP_H_
+#define _MASTERSETUP_H_
+
+#include"WANOT.h"
+
+typedef enum {
+    sendBeacon = 0,
+    Wait_for_RTS,
+    Send_CTS,
+    Wait_for_JoinReq,
+    Send_JoinAccept,
+    AckDone,
+    Wait_for_Ack,
+    Slave_Not_Found
+} MasterSetUpStates;
+
+typedef enum {
+    msgRTS = 0x11,
+    msgCTS = 0x12,
+    msgJoinReq = 0x13,
+    msgJoinAccept = 0x14,
+    msgAck = 0x15
+
+} msgType;
+
+void MasterSetUp();
+
+
+#endif
\ No newline at end of file