A libery to connect to telegesis zigbee module. Bassed on implemtation of XBEE

Fork of xbee_lib by Tristan Hughes

xbee.h

Committer:
tristanjph
Date:
2012-08-28
Revision:
0:2656fb225c5d
Child:
1:c3d9bdcb0b03

File content as of revision 0:2656fb225c5d:

#include "mbed.h"


class xbee {
private:
    PinName _tx;
    PinName _rx;
public:
    xbee(PinName _tx, PinName _rx);
    ~xbee();
    int ConfigMode();
    int GetSerial();
    int SetKey();
    int WriteSettings();
    int ExitConfigMode();
    int SendData();
    
    int serial_no[8];
    int security_key[16]; 
    char sendData[202];
};