A libery to connect to telegesis zigbee module. Bassed on implemtation of XBEE
Fork of xbee_lib by
Diff: telegesis.h
- Revision:
- 16:65c47cf83467
- Parent:
- 13:1b557befdeff
- Parent:
- 14:dcf2390f89e2
- Child:
- 17:5a3f81b10a61
diff -r 1b557befdeff -r 65c47cf83467 telegesis.h --- a/telegesis.h Thu Oct 17 14:39:52 2013 +0000 +++ b/telegesis.h Fri Oct 18 08:59:47 2013 +0000 @@ -26,8 +26,6 @@ /** Zigbee interface class for configuring, sending and recieving data using an telegesis zigbee */ #define START_BYTE 0x7e #define ESCAPE 0x7d -#define CR 0x0D -#define LF 0x0A #define MAX_FRAME_DATA_SIZE 110 class zigbee @@ -146,6 +144,8 @@ private: + + uint8_t _pos; // last byte read uint8_t b;