diff options
author | Harsh Sharma <harsh.sharma@multitech.com> | 2020-01-02 15:37:04 -0600 |
---|---|---|
committer | Harsh Sharma <harsh.sharma@multitech.com> | 2020-01-02 15:37:04 -0600 |
commit | 50a0344597edd0f4ae90ebee2fdf4e3160c572c8 (patch) | |
tree | 569d7242c0a77f226c93bb42faab32da19535896 /include | |
parent | 92bd4453f1db67a5250afb6316afe8c3fc2f36b3 (diff) | |
download | mts-io-sysfs-50a0344597edd0f4ae90ebee2fdf4e3160c572c8.tar.gz mts-io-sysfs-50a0344597edd0f4ae90ebee2fdf4e3160c572c8.tar.bz2 mts-io-sysfs-50a0344597edd0f4ae90ebee2fdf4e3160c572c8.zip |
Added capability radio retry with a retry count and sleep timer
Diffstat (limited to 'include')
-rw-r--r-- | include/Device/Device.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/Device/Device.h b/include/Device/Device.h index 1c6f77e..b7cbeaf 100644 --- a/include/Device/Device.h +++ b/include/Device/Device.h @@ -7,7 +7,9 @@ class Device { private: - bool verbose = false; + bool hasRadio; + bool verbose ; + uint8_t radioTryCount; bool isRoot; rapidjson::Document capabilities; rapidjson::Document deviceInfo; @@ -60,6 +62,8 @@ class Device { std::string toCamelCase(const char * d_name); void Verbose(bool val); bool Verbose(); + void RadioTryCount(uint8_t val); + uint8_t RadioTryCount(); void writeJson(); }; |