XBee API operation library for mbed

Revision:
0:415f4b1b988e
Child:
2:723cccd7659a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/XBeeAPI.h	Thu Oct 22 12:32:36 2015 +0000
@@ -0,0 +1,25 @@
+#ifndef UK_AC_HERTS_SMARTLAB_XBEE_API
+#define UK_AC_HERTS_SMARTLAB_XBEE_API
+
+#include "mbed.h"
+#include "SerialData.h"
+#include "CoreAPI.h"
+
+class XBeeAPI: public CoreAPI
+{
+private:
+    SerialData * serialData;
+
+public:
+    XBeeAPI(PinName tx, PinName rx);
+
+    XBeeAPI(PinName tx, PinName rx, bool isEscape);
+
+    XBeeAPI(PinName tx, PinName rx, int baudRate, bool isEscape);
+
+    XBeeAPI(ISerial * serial, bool isEscape);
+    
+    ~XBeeAPI();
+};
+
+#endif
\ No newline at end of file