XBee API operation library for mbed

Committer:
yangcq88517
Date:
Wed Mar 30 19:58:48 2016 +0000
Revision:
8:4da2ac03e35e
put every thing together and documentation bug fix

Who changed what in which revision?

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