![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Coordinator code
Dependencies: EthernetInterface WebSocketClient mbed-rtos mbed
Xbee.h
- Committer:
- vinbel93
- Date:
- 2016-02-18
- Revision:
- 0:4cb87eb1f914
File content as of revision 0:4cb87eb1f914:
#include "mbed.h" #include <string> #pragma once #define START_BYTE 0x7E bool readPacket(Serial* pc, Serial* xbee, char* output); void setPanId(Serial* xbee, unsigned long long panId); char checksum(char* frame, int begin, int end); void parse(char* buffer, int size, char* output);