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/RemoteATCommandRequest.h@0:837e6c48e90d, 2015-10-22 (annotated)
- Committer:
- yangcq88517
- Date:
- Thu Oct 22 12:28:26 2015 +0000
- Revision:
- 0:837e6c48e90d
- Child:
- 6:5f31ddc17239
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_RemoteATCommandRequest |
yangcq88517 | 0:837e6c48e90d | 2 | #define UK_AC_HERTS_SMARTLAB_XBEE_RemoteATCommandRequest |
yangcq88517 | 0:837e6c48e90d | 3 | |
yangcq88517 | 0:837e6c48e90d | 4 | #include "TxBase.h" |
yangcq88517 | 0:837e6c48e90d | 5 | #include "ICommandRequest.h" |
yangcq88517 | 0:837e6c48e90d | 6 | |
yangcq88517 | 0:837e6c48e90d | 7 | class RemoteATCommandRequest : public TxBase, public ICommandRequest |
yangcq88517 | 0:837e6c48e90d | 8 | { |
yangcq88517 | 0:837e6c48e90d | 9 | |
yangcq88517 | 0:837e6c48e90d | 10 | public: |
yangcq88517 | 0:837e6c48e90d | 11 | //0x17 |
yangcq88517 | 0:837e6c48e90d | 12 | //FrameID; |
yangcq88517 | 0:837e6c48e90d | 13 | //RemoteDevice |
yangcq88517 | 0:837e6c48e90d | 14 | //Remote Command Options |
yangcq88517 | 0:837e6c48e90d | 15 | //AT_Command |
yangcq88517 | 0:837e6c48e90d | 16 | //Parameter_Value |
yangcq88517 | 0:837e6c48e90d | 17 | |
yangcq88517 | 0:837e6c48e90d | 18 | /// <summary> |
yangcq88517 | 0:837e6c48e90d | 19 | /// |
yangcq88517 | 0:837e6c48e90d | 20 | /// </summary> |
yangcq88517 | 0:837e6c48e90d | 21 | /// <param name="FrameID"></param> |
yangcq88517 | 0:837e6c48e90d | 22 | /// <param name="RemoteDevice"></param> |
yangcq88517 | 0:837e6c48e90d | 23 | /// <param name="options">RemoteCommandOptions</param> |
yangcq88517 | 0:837e6c48e90d | 24 | /// <param name="AT_Command"></param> |
yangcq88517 | 0:837e6c48e90d | 25 | /// <param name="Parameter_Value">this can be null</param> |
yangcq88517 | 0:837e6c48e90d | 26 | RemoteATCommandRequest(char frameID, Address * remoteAddress, const char * command, OptionsBase * transmitOptions, const char * parameter=NULL, int parameterOffset=0, int parameterLength=0); |
yangcq88517 | 0:837e6c48e90d | 27 | |
yangcq88517 | 0:837e6c48e90d | 28 | void setTransmitOptions(OptionsBase * transmitOptions); |
yangcq88517 | 0:837e6c48e90d | 29 | |
yangcq88517 | 0:837e6c48e90d | 30 | virtual void setAppleChanges(bool appleChanges); |
yangcq88517 | 0:837e6c48e90d | 31 | |
yangcq88517 | 0:837e6c48e90d | 32 | virtual void setCommand(const char * command); |
yangcq88517 | 0:837e6c48e90d | 33 | |
yangcq88517 | 0:837e6c48e90d | 34 | virtual void setParameter(const char * parameter, int offset, int length); |
yangcq88517 | 0:837e6c48e90d | 35 | |
yangcq88517 | 0:837e6c48e90d | 36 | void setRemoteAddress(Address * remoteAddress); |
yangcq88517 | 0:837e6c48e90d | 37 | }; |
yangcq88517 | 0:837e6c48e90d | 38 | |
yangcq88517 | 0:837e6c48e90d | 39 | #endif |