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.
Diff: Request/RemoteIODetectionConfigRequest.h
- Revision:
- 0:837e6c48e90d
- Child:
- 4:a0f1fba6c2fb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Request/RemoteIODetectionConfigRequest.h Thu Oct 22 12:28:26 2015 +0000 @@ -0,0 +1,16 @@ +#ifndef UK_AC_HERTS_SMARTLAB_XBEE_RemoteIODetectionConfigRequest +#define UK_AC_HERTS_SMARTLAB_XBEE_RemoteIODetectionConfigRequest + +#include "Pin.h" +#include "ATCommands.h" +#include "RemoteATCommandRequest.h" + +class RemoteIODetectionConfigRequest : public RemoteATCommandRequest +{ +public: + RemoteIODetectionConfigRequest(char frameID, Address * remoteAddress, Pin * pins, int size) + : RemoteATCommandRequest(frameID, remoteAddress, ATCommands::Digital_IO_Change_Detection, &RemoteCommandOptions::ApplyChanges, Pin::IOChangeDetectionConfiguration(pins, size), 0, 2) + { } +}; + +#endif \ No newline at end of file