From 03299da706c0f8b3a9fc8565d980a253eeab82e5 Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Fri, 10 Jan 2020 15:02:23 -0600 Subject: Bug fix: device info list declaration and valid directory check --- include/Device/Device.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include') 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 capabilityList; - static std::map 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 deviceInfoList; static const std::regex apFilters; static const std::regex lora15Filters; -- cgit v1.2.3