summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHarsh Sharma <harsh.sharma@multitech.com>2020-01-10 15:02:23 -0600
committerHarsh Sharma <harsh.sharma@multitech.com>2020-01-10 15:02:23 -0600
commit03299da706c0f8b3a9fc8565d980a253eeab82e5 (patch)
tree60be759cea607dacbce48fb4572c8fa999480bf5 /include
parentbfc20a0ee14c841c75eeb6878dc5e3eced7d8e2d (diff)
downloadmts-io-sysfs-03299da706c0f8b3a9fc8565d980a253eeab82e5.tar.gz
mts-io-sysfs-03299da706c0f8b3a9fc8565d980a253eeab82e5.tar.bz2
mts-io-sysfs-03299da706c0f8b3a9fc8565d980a253eeab82e5.zip
Bug fix: device info list declaration and valid directory check
Diffstat (limited to 'include')
-rw-r--r--include/Device/Device.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/Device/Device.h b/include/Device/Device.h
index f04be48..ee75285 100644
--- a/include/Device/Device.h
+++ b/include/Device/Device.h
@@ -17,9 +17,7 @@ class Device {
rapidjson::Document::AllocatorType& alloc = deviceInfo.GetAllocator();
rapidjson::Document::AllocatorType& accessoryCardsAlloc = accessoryCards.GetAllocator();
static std::map<std::string, bool> capabilityList;
- static std::map<std::string, std::string> deviceInfoList = {{"deviceId", ""},{"hardwareVersion", ""},
- {"imei", ""},{"macAddress", "00:00:00:00:00:00"},{"macBluetooth", "00:00:00:00:00:00"},
- {"macWifi", "00:00:00:00:00:00"},{"productId", ""},{"uuid", ""},{"vendorId", ""}};
+ static std::map<std::string, std::string> deviceInfoList;
static const std::regex apFilters;
static const std::regex lora15Filters;