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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers IOSampleDecoder.h Source File

IOSampleDecoder.h

00001 #ifndef UK_AC_HERTS_SMARTLAB_XBEE_IOSampleDecoder
00002 #define UK_AC_HERTS_SMARTLAB_XBEE_IOSampleDecoder
00003 
00004 #include "mbed.h"
00005 #include "IOSamples.h"
00006 #include "XBeePins.h"
00007 #include "ZigBeePins.h"
00008 
00009 class IOSampleDecoder
00010 {
00011 private:
00012     static IOSamples * samples;
00013 
00014 public :
00015     // return the lenght of io ample
00016     static IOSamples * XBeeSamplesParse(const unsigned  char * IOSamplePayload, int offset = 0);
00017 
00018     // return the lenght of io ample
00019     static IOSamples * ZigBeeSamplesParse(const unsigned  char * IOSamplePayload, int offset = 0);
00020 };
00021 
00022 #endif