houss red
/
Master_F
Master Implementation of WANOT
Diff: MasterSetUp.h
- Revision:
- 0:8b449140caa2
diff -r 000000000000 -r 8b449140caa2 MasterSetUp.h --- /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