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

Helper/IOSampleDecoder.h

Committer:
yangcq88517
Date:
2015-10-22
Revision:
0:837e6c48e90d
Child:
2:700dc65ca3b1

File content as of revision 0:837e6c48e90d:

#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