A libery to connect to telegesis zigbee module. Bassed on implemtation of XBEE
Fork of xbee_lib by
Diff: telegesis.h
- Revision:
- 30:f9cdb6f62586
- Parent:
- 29:6711180763b6
- Child:
- 31:c59bc92a047e
diff -r 6711180763b6 -r f9cdb6f62586 telegesis.h --- a/telegesis.h Thu Jun 05 17:10:37 2014 +0000 +++ b/telegesis.h Fri Nov 28 09:28:26 2014 +0000 @@ -118,6 +118,15 @@ char Devicetype[4]; /** Gives type of HW */ + char PanNumber[5]; + /** Gives number on current PAN of HW + */ + int PanChan; + /* channel nummer on pan + */ + int PansNear[5]; + /* Gives pannumber af those near + */ char HWType[15]; /** incomming data */ @@ -172,13 +181,15 @@ private: uint8_t b; int SeqNumber; - + char tmpstr[30]; // buffer for incoming RX packets. holds only the api specific frame data, starting after the api id byte and prior to checksum RawSerial _zbee; bool wait4Offline(); bool wait4JPAN(); bool wait4str(char *p); + char *list[ZdataSize]; + size_t comma_parse ( char *line, char *list[], size_t size ); }; #endif