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

Revision:
0:837e6c48e90d
Child:
4:a0f1fba6c2fb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Options/Tx16TransmitOptions.h	Thu Oct 22 12:28:26 2015 +0000
@@ -0,0 +1,40 @@
+#ifndef UK_AC_HERTS_SMARTLAB_XBEE_Tx16TransmitOptions
+#define UK_AC_HERTS_SMARTLAB_XBEE_Tx16TransmitOptions
+
+#include "OptionsBase.h"
+
+class Tx16TransmitOptions : public OptionsBase
+{
+
+    //0x01 - Disable retries and route repair
+    //0x02 - Force a long header to precede this packet
+    //0x04 - Disable Sending of long header
+    //0x08 - Invoke Traceroute
+
+public:
+    static Tx16TransmitOptions ForceLongHeader;
+
+    static Tx16TransmitOptions DisableLongHeader;
+
+    static Tx16TransmitOptions InvokeTraceroute;
+
+    Tx16TransmitOptions();
+    
+    Tx16TransmitOptions(char value);
+
+    Tx16TransmitOptions(bool disable_retries_and_route_repair, bool force_long_header, bool disable_long_header, bool invoke_traceroute);
+
+    bool getForceLongHeader();
+
+    void setForceLongHeader(bool status);
+
+    bool getDisableLongHeader();
+
+    void setDisableLongHeader(bool status);
+
+    bool getInvokeTraceroute();
+
+    void setInvokeTraceroute(bool status);
+};
+
+#endif
\ No newline at end of file