A libery to connect to telegesis zigbee module. Bassed on implemtation of XBEE
Fork of xbee_lib by
Diff: telegesis.h
- Revision:
- 8:4682155753ec
- Parent:
- 7:45511c3d2950
- Child:
- 9:c8e4339ccc29
--- a/telegesis.h Sun Oct 13 09:46:49 2013 +0000 +++ b/telegesis.h Sun Oct 13 10:00:23 2013 +0000 @@ -29,41 +29,47 @@ * @param numchar Number of characters to read. If 0, will use the size of data_buf. */ void RecieveData(char*, int); - /** Resets the Xbee. + /** Read data from zigbee */ int ATI(); - /** + /** + * */ int PingOut(); - /** + /** Sends a ping to Coo */ int PanScan(); - /** + /** Scan the Pan for nodes */ int Establish_Network(); /** */ int JoinNetwork(); - /** + /** Join a pan */ int ScanNetwork(); - /** + /** Scan network */ int NetworkInfo(); - /** + /** Give info on what role the modem has in the network */ void UniCast(char *adr,char *payload); - /** + /** Sends data using the ascii mode */ void UniCastb(char *adr,char *payload, char payloadSize); + /** Sends data using the binary mode + */ void Reset(); unsigned long hexToLong(const char *hex); - + /** converts a string to a long + */ unsigned int hexToInt(const char *hex) + /** convertes a string to a int + */ int EUI64; char Devicetype[3];