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.
Diff: Request/ZigBeeExplicitTxRequest.h
- Revision:
- 0:837e6c48e90d
- Child:
- 6:5f31ddc17239
diff -r 000000000000 -r 837e6c48e90d Request/ZigBeeExplicitTxRequest.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Request/ZigBeeExplicitTxRequest.h Thu Oct 22 12:28:26 2015 +0000 @@ -0,0 +1,36 @@ +#ifndef UK_AC_HERTS_SMARTLAB_XBEE_ZigBeeExplicitTxRequest +#define UK_AC_HERTS_SMARTLAB_XBEE_ZigBeeExplicitTxRequest + +#include "TxBase.h" +#include "IPayloadRequest.h" +#include "ExplicitAddress.h" + +class ZigBeeExplicitTxRequest : public TxBase, public IPayloadRequest +{ + +public: + //0x11 + //FrameID; + //ExplicitRemoteDevice + //Source Endpoint + //Destination Endpoint + //Cluster ID + //Profile ID + //Broadcast_Radius; + //TransmitOptions; + //RF_Data; + ZigBeeExplicitTxRequest(char frameID, ExplicitAddress * remoteAddress, OptionsBase * transmitOptions, const char * payload, int offset, int length); + + virtual void setPayload(const char * data, int offset, int length); + + virtual void setTransmitOptions(OptionsBase * transmitOptions); + + virtual void setRemoteAddress(Address * remoteAddress); + + void setRemoteAddress(ExplicitAddress * remoteAddress); + + void setBroadcastRadius(char broadcastRadius); + +}; + +#endif \ No newline at end of file