A libery to connect to telegesis zigbee module. Bassed on implemtation of XBEE
Fork of xbee_lib by
Diff: telegesis.h
- Revision:
- 14:dcf2390f89e2
- Parent:
- 12:debf76f0c0bf
- Child:
- 16:65c47cf83467
--- a/telegesis.h Tue Oct 15 14:10:08 2013 +0000 +++ b/telegesis.h Fri Oct 18 06:18:20 2013 +0000 @@ -6,8 +6,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 @@ -126,6 +124,8 @@ private: + + uint8_t _pos; // last byte read uint8_t b;