XBee API operation library for mbed
Diff: SmartLabXBeeCore/Options/OptionsBase.h
- Revision:
- 8:4da2ac03e35e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SmartLabXBeeCore/Options/OptionsBase.h Wed Mar 30 19:58:48 2016 +0000 @@ -0,0 +1,24 @@ +#ifndef UK_AC_HERTS_SMARTLAB_XBEE_OptionsBase +#define UK_AC_HERTS_SMARTLAB_XBEE_OptionsBase + +class OptionsBase +{ +protected : + unsigned char value; +public: + OptionsBase(); + + OptionsBase(unsigned char option); + + static OptionsBase * DEFAULT; + + static OptionsBase * DisableRetriesRouteRepair; + + bool getDisableRetriesRouteRepair(); + + void setDisableRetriesRouteRepair(bool status); + + unsigned char getValue(); +}; + +#endif \ No newline at end of file