From 50a0344597edd0f4ae90ebee2fdf4e3160c572c8 Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Thu, 2 Jan 2020 15:37:04 -0600 Subject: Added capability radio retry with a retry count and sleep timer --- include/Device/Device.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include') 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(); }; -- cgit v1.2.3