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/TransmitOptions.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_TransmitOptions #define UK_AC_HERTS_SMARTLAB_XBEE_TransmitOptions #include "OptionsBase.h" class TransmitOptions : public OptionsBase { //Default = 0x00; //Disable_Retries_Route_Repair = 0x01; //Enable_APS = 0x20; //Use_Extended_Timeout = 0x40; public: TransmitOptions(); TransmitOptions(unsigned char option); TransmitOptions(bool disable_retries_and_route_repair, bool enable_APS_encryption, bool use_extended_transmission_timeout); static TransmitOptions * EnableAPS; static TransmitOptions * UseExtendedTimeout; bool getEnableAPS(); void setEnableAPS(bool status); bool getUseExtendedTimeout(); void setUseExtendedTimeout(bool status); }; #endif