XBee API operation library for mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers RemoteIODetectionConfigRequest.h Source File

RemoteIODetectionConfigRequest.h

00001 #ifndef UK_AC_HERTS_SMARTLAB_XBEE_RemoteIODetectionConfigRequest
00002 #define UK_AC_HERTS_SMARTLAB_XBEE_RemoteIODetectionConfigRequest
00003 
00004 #include "Pin.h"
00005 #include "ATCommands.h"
00006 #include "RemoteATCommandRequest.h"
00007 
00008 class RemoteIODetectionConfigRequest : public RemoteATCommandRequest
00009 {
00010 public:
00011     RemoteIODetectionConfigRequest(unsigned  char frameID, Address * remoteAddress, Pin ** pins, int size)
00012         : RemoteATCommandRequest(frameID, remoteAddress, ATCommands::Digital_IO_Change_Detection, RemoteCommandOptions::ApplyChanges, Pin::IOChangeDetectionConfiguration(pins, size), 0, 2)
00013     { }
00014 };
00015 
00016 #endif