A libery to connect to telegesis zigbee module. Bassed on implemtation of XBEE
Fork of xbee_lib by
Diff: telegesis.h
- Revision:
- 20:070dc2050052
- Parent:
- 19:78f44233a12f
- Child:
- 21:9c5b72a64495
diff -r 78f44233a12f -r 070dc2050052 telegesis.h --- a/telegesis.h Fri Oct 18 17:42:24 2013 +0000 +++ b/telegesis.h Sat Oct 19 18:47:59 2013 +0000 @@ -73,6 +73,9 @@ /** Join a pan */ int JoinNetwork(); + /** Leave a Pan + */ + int LeaveNetwork(); /** * Scan network */ @@ -104,7 +107,7 @@ int EUI64; /** COO or FBB */ - char Devicetype[3]; + char Devicetype[4]; /** Gives type of HW */ char HWType[15]; @@ -125,6 +128,8 @@ uint8_t PacketAck; int channel, NodeID, EPID,framesize, PanOnline; + char NetNodeID[17]; //a remote node + char NetInfo; //indication that network info is ready /** */ uint8_t ErrorCode; @@ -157,6 +162,9 @@ Serial _zbee; bool wait4OK(); + bool wait4Offline(); + bool wait4JPAN(); + bool wait4str(char *p); }; #endif