Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP
Fork of SystemManagement by
Libs/XbeeManager/XbeeManager.h
- Committer:
- pspatel321
- Date:
- 2015-01-06
- Revision:
- 33:6bc82b6b62e5
- Child:
- 34:18bcf276d3bf
File content as of revision 33:6bc82b6b62e5:
#ifndef XBEE_MANAGER_H #define XBEE_MANAGER_H #include "mbed.h" #include "CAN-xbee.h" class XbeeManager { public: XbeeManager(CANxbee* x1, CANxbee* x2); bool send(CANMessage &msg); bool receive(CANMessage &msg); unsigned int counterX1in; unsigned int counterX2in; unsigned int counterX1out; unsigned int counterX2out; private: bool alternate; CANxbee* x1; CANxbee* x2; CANMessage extra; bool extraAvail; }; #endif