Master Implementation of WANOT

Dependencies:   SX1276Lib mbed

MasterSetUp.h

Committer:
semsem
Date:
2016-05-23
Revision:
0:8b449140caa2

File content as of revision 0:8b449140caa2:

#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