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/IOCDetectionConfigRequest.h@6:5f31ddc17239, 2015-11-14 (annotated)
- Committer:
- yangcq88517
- Date:
- Sat Nov 14 16:42:36 2015 +0000
- Revision:
- 6:5f31ddc17239
- Parent:
- 4:a0f1fba6c2fb
change to unsigned char array
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
yangcq88517 | 0:837e6c48e90d | 1 | #ifndef UK_AC_HERTS_SMARTLAB_XBEE_IOCDetectionConfigRequest |
yangcq88517 | 0:837e6c48e90d | 2 | #define UK_AC_HERTS_SMARTLAB_XBEE_IOCDetectionConfigRequest |
yangcq88517 | 0:837e6c48e90d | 3 | |
yangcq88517 | 0:837e6c48e90d | 4 | #include "Pin.h" |
yangcq88517 | 0:837e6c48e90d | 5 | #include "ATCommands.h" |
yangcq88517 | 0:837e6c48e90d | 6 | #include "ATCommandRequest.h" |
yangcq88517 | 0:837e6c48e90d | 7 | |
yangcq88517 | 0:837e6c48e90d | 8 | class IOCDetectionConfigRequest : public ATCommandRequest |
yangcq88517 | 0:837e6c48e90d | 9 | { |
yangcq88517 | 0:837e6c48e90d | 10 | public: |
yangcq88517 | 6:5f31ddc17239 | 11 | IOCDetectionConfigRequest(unsigned char frameID, Pin ** pins, int size) |
yangcq88517 | 0:837e6c48e90d | 12 | : ATCommandRequest(frameID, ATCommands::Digital_IO_Change_Detection, Pin::IOChangeDetectionConfiguration(pins, size), 0, 2) |
yangcq88517 | 0:837e6c48e90d | 13 | { } |
yangcq88517 | 0:837e6c48e90d | 14 | }; |
yangcq88517 | 0:837e6c48e90d | 15 | |
yangcq88517 | 0:837e6c48e90d | 16 | #endif |