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.
Helper/IOSampleDecoder.h@0:837e6c48e90d, 2015-10-22 (annotated)
- Committer:
- yangcq88517
- Date:
- Thu Oct 22 12:28:26 2015 +0000
- Revision:
- 0:837e6c48e90d
- Child:
- 2:700dc65ca3b1
initial upload
Who changed what in which revision?
User | Revision | Line number | New 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 | 0:837e6c48e90d | 11 | public : |
yangcq88517 | 0:837e6c48e90d | 12 | // return the lenght of io ample |
yangcq88517 | 0:837e6c48e90d | 13 | static int XBeeSamplesParse(IOSamples * samples, const char * IOSamplePayload, int offset = 0); |
yangcq88517 | 0:837e6c48e90d | 14 | |
yangcq88517 | 0:837e6c48e90d | 15 | // return the lenght of io ample |
yangcq88517 | 0:837e6c48e90d | 16 | static int ZigBeeSamplesParse(IOSamples * samples, const char * IOSamplePayload, int offset = 0); |
yangcq88517 | 0:837e6c48e90d | 17 | }; |
yangcq88517 | 0:837e6c48e90d | 18 | |
yangcq88517 | 0:837e6c48e90d | 19 | #endif |