Master Implementation of WANOT

Dependencies:   SX1276Lib mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers MasterSetUp.h Source File

MasterSetUp.h

00001 #ifndef _MASTERSETUP_H_
00002 #define _MASTERSETUP_H_
00003 
00004 #include"WANOT.h"
00005 
00006 typedef enum {
00007     sendBeacon = 0,
00008     Wait_for_RTS,
00009     Send_CTS,
00010     Wait_for_JoinReq,
00011     Send_JoinAccept,
00012     AckDone,
00013     Wait_for_Ack,
00014     Slave_Not_Found
00015 } MasterSetUpStates;
00016 
00017 typedef enum {
00018     msgRTS = 0x11,
00019     msgCTS = 0x12,
00020     msgJoinReq = 0x13,
00021     msgJoinAccept = 0x14,
00022     msgAck = 0x15
00023 
00024 } msgType;
00025 
00026 void MasterSetUp();
00027 
00028 
00029 #endif