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

Request/IOCDetectionConfigRequest.h

Committer:
yangcq88517
Date:
2015-11-14
Revision:
6:5f31ddc17239
Parent:
4:a0f1fba6c2fb

File content as of revision 6:5f31ddc17239:

#ifndef UK_AC_HERTS_SMARTLAB_XBEE_IOCDetectionConfigRequest
#define UK_AC_HERTS_SMARTLAB_XBEE_IOCDetectionConfigRequest

#include "Pin.h"
#include "ATCommands.h"
#include "ATCommandRequest.h"

class IOCDetectionConfigRequest : public ATCommandRequest
{
public:
    IOCDetectionConfigRequest(unsigned  char frameID, Pin ** pins, int size)
        : ATCommandRequest(frameID, ATCommands::Digital_IO_Change_Detection, Pin::IOChangeDetectionConfiguration(pins, size), 0, 2)
    { }
};

#endif