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.
Options/Tx16TransmitOptions.h
- Committer:
- yangcq88517
- Date:
- 2015-10-22
- Revision:
- 0:837e6c48e90d
- Child:
- 4:a0f1fba6c2fb
File content as of revision 0:837e6c48e90d:
#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