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/XBeeTx64Request.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_XBeeTx64Request |
yangcq88517 | 0:837e6c48e90d | 2 | #define UK_AC_HERTS_SMARTLAB_XBEE_XBeeTx64Request |
yangcq88517 | 0:837e6c48e90d | 3 | |
yangcq88517 | 0:837e6c48e90d | 4 | #include "TxBase.h" |
yangcq88517 | 0:837e6c48e90d | 5 | #include "IPayloadRequest.h" |
yangcq88517 | 0:837e6c48e90d | 6 | |
yangcq88517 | 0:837e6c48e90d | 7 | class XBeeTx64Request : public TxBase, public IPayloadRequest |
yangcq88517 | 0:837e6c48e90d | 8 | { |
yangcq88517 | 0:837e6c48e90d | 9 | |
yangcq88517 | 0:837e6c48e90d | 10 | public: |
yangcq88517 | 0:837e6c48e90d | 11 | XBeeTx64Request(char frameID, Address * remoteAddress, OptionsBase * transmitOptions, const char * payload, int offset, int length); |
yangcq88517 | 0:837e6c48e90d | 12 | |
yangcq88517 | 0:837e6c48e90d | 13 | virtual void setPayload(const char * data, int offset, int length); |
yangcq88517 | 0:837e6c48e90d | 14 | |
yangcq88517 | 0:837e6c48e90d | 15 | virtual void setTransmitOptions(OptionsBase * transmitOptions); |
yangcq88517 | 0:837e6c48e90d | 16 | |
yangcq88517 | 0:837e6c48e90d | 17 | /// <summary> |
yangcq88517 | 0:837e6c48e90d | 18 | /// the ieee 64 bit address is ignored |
yangcq88517 | 0:837e6c48e90d | 19 | /// </summary> |
yangcq88517 | 0:837e6c48e90d | 20 | /// <param name="networkAddress"></param> |
yangcq88517 | 0:837e6c48e90d | 21 | virtual void setRemoteAddress(Address * remoteAddress); |
yangcq88517 | 0:837e6c48e90d | 22 | }; |
yangcq88517 | 0:837e6c48e90d | 23 | |
yangcq88517 | 0:837e6c48e90d | 24 | #endif |