diff options
author | Harsh Sharma <harsh.sharma@multitech.com> | 2020-01-06 13:06:41 -0600 |
---|---|---|
committer | Harsh Sharma <harsh.sharma@multitech.com> | 2020-01-06 13:06:41 -0600 |
commit | 68c0c5ed8ad7c733743de1afc5deb9de862d60f3 (patch) | |
tree | 317b59f77c0a9ce117f65debec3f3b8ebdce2a86 /include/Device/Device.h | |
parent | 50a0344597edd0f4ae90ebee2fdf4e3160c572c8 (diff) | |
download | mts-io-sysfs-68c0c5ed8ad7c733743de1afc5deb9de862d60f3.tar.gz mts-io-sysfs-68c0c5ed8ad7c733743de1afc5deb9de862d60f3.tar.bz2 mts-io-sysfs-68c0c5ed8ad7c733743de1afc5deb9de862d60f3.zip |
Changed radio capability to be based on has_radio file
Diffstat (limited to 'include/Device/Device.h')
-rw-r--r-- | include/Device/Device.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/Device/Device.h b/include/Device/Device.h index b7cbeaf..946221b 100644 --- a/include/Device/Device.h +++ b/include/Device/Device.h @@ -7,9 +7,7 @@ class Device { private: - bool hasRadio; bool verbose ; - uint8_t radioTryCount; bool isRoot; rapidjson::Document capabilities; rapidjson::Document deviceInfo; @@ -55,6 +53,11 @@ class Device { void printJson(); void printVersion (std::string name); void printUsage(std::string program); + void setupLora15(std::string fileData, const char * dir_name); + void setupLoraG16(std::string fileData, const char * dir_name); + void setupLoraG64(std::string fileData, const char * dir_name); + void setupGpiob(std::string fileData, const char * dir_name); + void setupMfser(std::string fileData, const char * dir_name); void show(std::string program); void showTrigger(std::string name); void store(std::string name, std::string value); @@ -62,8 +65,6 @@ 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(); }; |