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

Options/Tx16TransmitOptions.h

Committer:
yangcq88517
Date:
2015-11-14
Revision:
6:5f31ddc17239
Parent:
4:a0f1fba6c2fb

File content as of revision 6:5f31ddc17239:

#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(unsigned 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