A libery to connect to telegesis zigbee module. Bassed on implemtation of XBEE
Fork of xbee_lib by
Diff: telegesis.cpp
- Revision:
- 35:4dec73b3e5a0
- Parent:
- 34:1b57f1110d59
--- a/telegesis.cpp Thu Mar 05 20:46:05 2015 +0000 +++ b/telegesis.cpp Mon Jun 01 20:20:25 2015 +0000 @@ -392,6 +392,7 @@ strcpy(Devicetype,list[0]); AktuelPan.channel=atoi(list[1]); strncpy(AktuelPan.PID,list[3],4); + // AktuelPan.PID[4]=0; } if (strstr(_responseFrameString,"ACK")) { // PacketAck=1; @@ -417,6 +418,7 @@ strcpy(Devicetype,list[0]); AktuelPan.channel=atoi(list[1]); strcpy(AktuelPan.PID,list[2]); + // AktuelPan.PID[4]=0; PanOnline=1; } }