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.

Dependencies:   BufferedArray

Dependents:   MBEDminiproject

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?

UserRevisionLine numberNew contents of line
yangcq88517 0:837e6c48e90d 1 #ifndef UK_AC_HERTS_SMARTLAB_XBEE_ZigBeeExplicitTxRequest
yangcq88517 0:837e6c48e90d 2 #define UK_AC_HERTS_SMARTLAB_XBEE_ZigBeeExplicitTxRequest
yangcq88517 0:837e6c48e90d 3
yangcq88517 0:837e6c48e90d 4 #include "TxBase.h"
yangcq88517 0:837e6c48e90d 5 #include "IPayloadRequest.h"
yangcq88517 0:837e6c48e90d 6 #include "ExplicitAddress.h"
yangcq88517 0:837e6c48e90d 7
yangcq88517 0:837e6c48e90d 8 class ZigBeeExplicitTxRequest : public TxBase, public IPayloadRequest
yangcq88517 0:837e6c48e90d 9 {
yangcq88517 0:837e6c48e90d 10
yangcq88517 0:837e6c48e90d 11 public:
yangcq88517 0:837e6c48e90d 12 //0x11
yangcq88517 0:837e6c48e90d 13 //FrameID;
yangcq88517 0:837e6c48e90d 14 //ExplicitRemoteDevice
yangcq88517 0:837e6c48e90d 15 //Source Endpoint
yangcq88517 0:837e6c48e90d 16 //Destination Endpoint
yangcq88517 0:837e6c48e90d 17 //Cluster ID
yangcq88517 0:837e6c48e90d 18 //Profile ID
yangcq88517 0:837e6c48e90d 19 //Broadcast_Radius;
yangcq88517 0:837e6c48e90d 20 //TransmitOptions;
yangcq88517 0:837e6c48e90d 21 //RF_Data;
yangcq88517 0:837e6c48e90d 22 ZigBeeExplicitTxRequest(char frameID, ExplicitAddress * remoteAddress, OptionsBase * transmitOptions, const char * payload, int offset, int length);
yangcq88517 0:837e6c48e90d 23
yangcq88517 0:837e6c48e90d 24 virtual void setPayload(const char * data, int offset, int length);
yangcq88517 0:837e6c48e90d 25
yangcq88517 0:837e6c48e90d 26 virtual void setTransmitOptions(OptionsBase * transmitOptions);
yangcq88517 0:837e6c48e90d 27
yangcq88517 0:837e6c48e90d 28 virtual void setRemoteAddress(Address * remoteAddress);
yangcq88517 0:837e6c48e90d 29
yangcq88517 0:837e6c48e90d 30 void setRemoteAddress(ExplicitAddress * remoteAddress);
yangcq88517 0:837e6c48e90d 31
yangcq88517 0:837e6c48e90d 32 void setBroadcastRadius(char broadcastRadius);
yangcq88517 0:837e6c48e90d 33
yangcq88517 0:837e6c48e90d 34 };
yangcq88517 0:837e6c48e90d 35
yangcq88517 0:837e6c48e90d 36 #endif