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

Committer:
yangcq88517
Date:
Thu Oct 22 22:22:12 2015 +0000
Revision:
2:700dc65ca3b1
Parent:
0:837e6c48e90d
Child:
6:5f31ddc17239
IO sample bug fix

Who changed what in which revision?

UserRevisionLine numberNew contents of line
yangcq88517 0:837e6c48e90d 1 #ifndef UK_AC_HERTS_SMARTLAB_XBEE_IOSampleDecoder
yangcq88517 0:837e6c48e90d 2 #define UK_AC_HERTS_SMARTLAB_XBEE_IOSampleDecoder
yangcq88517 0:837e6c48e90d 3
yangcq88517 0:837e6c48e90d 4 #include "mbed.h"
yangcq88517 0:837e6c48e90d 5 #include "IOSamples.h"
yangcq88517 0:837e6c48e90d 6 #include "XBeePins.h"
yangcq88517 0:837e6c48e90d 7 #include "ZigBeePins.h"
yangcq88517 0:837e6c48e90d 8
yangcq88517 0:837e6c48e90d 9 class IOSampleDecoder
yangcq88517 0:837e6c48e90d 10 {
yangcq88517 2:700dc65ca3b1 11 private:
yangcq88517 2:700dc65ca3b1 12 static IOSamples * samples;
yangcq88517 2:700dc65ca3b1 13
yangcq88517 0:837e6c48e90d 14 public :
yangcq88517 0:837e6c48e90d 15 // return the lenght of io ample
yangcq88517 2:700dc65ca3b1 16 static IOSamples * XBeeSamplesParse(const char * IOSamplePayload, int offset = 0);
yangcq88517 0:837e6c48e90d 17
yangcq88517 0:837e6c48e90d 18 // return the lenght of io ample
yangcq88517 2:700dc65ca3b1 19 static IOSamples * ZigBeeSamplesParse(const char * IOSamplePayload, int offset = 0);
yangcq88517 0:837e6c48e90d 20 };
yangcq88517 0:837e6c48e90d 21
yangcq88517 0:837e6c48e90d 22 #endif