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:
2:700dc65ca3b1
Parent:
0:837e6c48e90d
Child:
6:5f31ddc17239
--- a/Helper/IOSampleDecoder.h	Thu Oct 22 20:02:11 2015 +0000
+++ b/Helper/IOSampleDecoder.h	Thu Oct 22 22:22:12 2015 +0000
@@ -8,12 +8,15 @@
 
 class IOSampleDecoder
 {
+private:
+    static IOSamples * samples;
+
 public :
     // return the lenght of io ample
-    static int XBeeSamplesParse(IOSamples * samples, const char * IOSamplePayload, int offset = 0);
+    static IOSamples * XBeeSamplesParse(const char * IOSamplePayload, int offset = 0);
 
     // return the lenght of io ample
-    static int ZigBeeSamplesParse(IOSamples * samples, const char * IOSamplePayload, int offset = 0);
+    static IOSamples * ZigBeeSamplesParse(const char * IOSamplePayload, int offset = 0);
 };
 
 #endif
\ No newline at end of file