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

TransmitOptions.h

00001 #ifndef UK_AC_HERTS_SMARTLAB_XBEE_TransmitOptions
00002 #define UK_AC_HERTS_SMARTLAB_XBEE_TransmitOptions
00003 
00004 #include "OptionsBase.h"
00005 
00006 class TransmitOptions : public OptionsBase
00007 {
00008     //Default = 0x00;
00009     //Disable_Retries_Route_Repair = 0x01;
00010     //Enable_APS = 0x20;
00011     //Use_Extended_Timeout = 0x40;
00012 
00013 public:
00014     TransmitOptions();
00015     
00016     TransmitOptions(unsigned char option);
00017 
00018     TransmitOptions(bool disable_retries_and_route_repair, bool enable_APS_encryption, bool use_extended_transmission_timeout);
00019 
00020     static TransmitOptions * EnableAPS;
00021 
00022     static TransmitOptions * UseExtendedTimeout;
00023     
00024     bool getEnableAPS();
00025 
00026     void setEnableAPS(bool status);
00027 
00028     bool getUseExtendedTimeout();
00029 
00030     void setUseExtendedTimeout(bool status);
00031 };
00032 
00033 #endif