Coordinator code

Dependencies:   EthernetInterface WebSocketClient mbed-rtos mbed

Revision:
0:4cb87eb1f914
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Xbee.h	Thu Feb 18 13:21:58 2016 +0000
@@ -0,0 +1,11 @@
+#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);