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 Tx16TransmitOptions.h Source File

Tx16TransmitOptions.h

00001 #ifndef UK_AC_HERTS_SMARTLAB_XBEE_Tx16TransmitOptions
00002 #define UK_AC_HERTS_SMARTLAB_XBEE_Tx16TransmitOptions
00003 
00004 #include "OptionsBase.h"
00005 
00006 class Tx16TransmitOptions : public OptionsBase
00007 {
00008 
00009     //0x01 - Disable retries and route repair
00010     //0x02 - Force a long header to precede this packet
00011     //0x04 - Disable Sending of long header
00012     //0x08 - Invoke Traceroute
00013 
00014 public:
00015     static Tx16TransmitOptions * ForceLongHeader;
00016 
00017     static Tx16TransmitOptions * DisableLongHeader;
00018 
00019     static Tx16TransmitOptions * InvokeTraceroute;
00020 
00021     Tx16TransmitOptions();
00022     
00023     Tx16TransmitOptions(unsigned char value);
00024 
00025     Tx16TransmitOptions(bool disable_retries_and_route_repair, bool force_long_header, bool disable_long_header, bool invoke_traceroute);
00026 
00027     bool getForceLongHeader();
00028 
00029     void setForceLongHeader(bool status);
00030 
00031     bool getDisableLongHeader();
00032 
00033     void setDisableLongHeader(bool status);
00034 
00035     bool getInvokeTraceroute();
00036 
00037     void setInvokeTraceroute(bool status);
00038 };
00039 
00040 #endif