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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Tx64TransmitOptions.h Source File

Tx64TransmitOptions.h

00001 #ifndef UK_AC_HERTS_SMARTLAB_XBEE_Tx64TransmitOptions
00002 #define UK_AC_HERTS_SMARTLAB_XBEE_Tx64TransmitOptions
00003 
00004 #include "OptionsBase.h"
00005 
00006 class Tx64TransmitOptions : public OptionsBase
00007 {
00008     //0x01 - Disable retries and route repair (XTEND and XBEE)
00009     //0x02 - Don't repeat this packet (not implemented)
00010     //0x04 - Send packet with Broadcast Pan ID (XBEE only)
00011     //0x08 - Invoke Traceroute (XTEND version 8030 only)
00012     //0x10 (XB868DP) If the packet would be delayed due to duty cycle then purge it. All other bits must be set to 0
00013 public:
00014     Tx64TransmitOptions();
00015 
00016     Tx64TransmitOptions(unsigned char vlaue);
00017 
00018     Tx64TransmitOptions(bool disable_retries_and_route_repair, bool donot_repeat_packet, bool send_packet_with_broadcast_PanID, bool invoke_traceroute, bool purge_packet_if_delayed_due_to_duty_cycle);
00019 
00020     static Tx64TransmitOptions * DonotRepeatPacket;
00021 
00022     static Tx64TransmitOptions * SendPacketWithBroadcastPanID;
00023 
00024     static Tx64TransmitOptions * InvokeTraceroute;
00025 
00026     static Tx64TransmitOptions * PurgePacketWhenDelayed;
00027 
00028     bool getDonotRepeatPacket();
00029 
00030     void setDonotRepeatPacket(bool status);
00031 
00032     bool getSendPacketWithBroadcastPanID();
00033 
00034     void setSendPacketWithBroadcastPanID(bool status);
00035 
00036     bool getInvokeTraceroute();
00037 
00038     void setInvokeTraceroute(bool status);
00039 
00040     bool getPurgePacketWhenDelayed();
00041 
00042     void setPurgePacketWhenDelayed(bool status);
00043 };
00044 
00045 #endif