XBee and XBee-PRO ZigBee RF modules provide cost-effective wireless connectivity to electronic devices. They are interoperable with other ZigBee PRO feature set devices, including devices from other vendors.

Dependencies:   BufferedArray

Dependents:   MBEDminiproject

Revision:
0:837e6c48e90d
Child:
2:700dc65ca3b1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Helper/IOSampleDecoder.h	Thu Oct 22 12:28:26 2015 +0000
@@ -0,0 +1,19 @@
+#ifndef UK_AC_HERTS_SMARTLAB_XBEE_IOSampleDecoder
+#define UK_AC_HERTS_SMARTLAB_XBEE_IOSampleDecoder
+
+#include "mbed.h"
+#include "IOSamples.h"
+#include "XBeePins.h"
+#include "ZigBeePins.h"
+
+class IOSampleDecoder
+{
+public :
+    // return the lenght of io ample
+    static int XBeeSamplesParse(IOSamples * samples, const char * IOSamplePayload, int offset = 0);
+
+    // return the lenght of io ample
+    static int ZigBeeSamplesParse(IOSamples * samples, const char * IOSamplePayload, int offset = 0);
+};
+
+#endif
\ No newline at end of file