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.
Request/RemoteIODetectionConfigRequest.h@0:837e6c48e90d, 2015-10-22 (annotated)
- Committer:
- yangcq88517
- Date:
- Thu Oct 22 12:28:26 2015 +0000
- Revision:
- 0:837e6c48e90d
- Child:
- 4:a0f1fba6c2fb
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_RemoteIODetectionConfigRequest |
yangcq88517 | 0:837e6c48e90d | 2 | #define UK_AC_HERTS_SMARTLAB_XBEE_RemoteIODetectionConfigRequest |
yangcq88517 | 0:837e6c48e90d | 3 | |
yangcq88517 | 0:837e6c48e90d | 4 | #include "Pin.h" |
yangcq88517 | 0:837e6c48e90d | 5 | #include "ATCommands.h" |
yangcq88517 | 0:837e6c48e90d | 6 | #include "RemoteATCommandRequest.h" |
yangcq88517 | 0:837e6c48e90d | 7 | |
yangcq88517 | 0:837e6c48e90d | 8 | class RemoteIODetectionConfigRequest : public RemoteATCommandRequest |
yangcq88517 | 0:837e6c48e90d | 9 | { |
yangcq88517 | 0:837e6c48e90d | 10 | public: |
yangcq88517 | 0:837e6c48e90d | 11 | RemoteIODetectionConfigRequest(char frameID, Address * remoteAddress, Pin * pins, int size) |
yangcq88517 | 0:837e6c48e90d | 12 | : RemoteATCommandRequest(frameID, remoteAddress, ATCommands::Digital_IO_Change_Detection, &RemoteCommandOptions::ApplyChanges, Pin::IOChangeDetectionConfiguration(pins, size), 0, 2) |
yangcq88517 | 0:837e6c48e90d | 13 | { } |
yangcq88517 | 0:837e6c48e90d | 14 | }; |
yangcq88517 | 0:837e6c48e90d | 15 | |
yangcq88517 | 0:837e6c48e90d | 16 | #endif |