summaryrefslogtreecommitdiff
path: root/src/Device/Device.cpp
diff options
context:
space:
mode:
authorMike Nicholson <mike.nicholson@multitech.com>2020-08-28 17:35:33 -0500
committerMike Nicholson <mike.nicholson@multitech.com>2020-08-28 17:35:33 -0500
commitc730b023549d32899e2831ac6ca03ce91d34201a (patch)
tree72d9f5e4d7c0430c3b84c9d0fd9e67edfa2925cc /src/Device/Device.cpp
parentc5abeaec92af0135c624eb6b804d096c4162ac30 (diff)
downloadmts-io-sysfs-c730b023549d32899e2831ac6ca03ce91d34201a.tar.gz
mts-io-sysfs-c730b023549d32899e2831ac6ca03ce91d34201a.tar.bz2
mts-io-sysfs-c730b023549d32899e2831ac6ca03ce91d34201a.zip
Add supercap capablility initialization
Diffstat (limited to 'src/Device/Device.cpp')
-rw-r--r--src/Device/Device.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Device/Device.cpp b/src/Device/Device.cpp
index 6c589a5..129cb14 100644
--- a/src/Device/Device.cpp
+++ b/src/Device/Device.cpp
@@ -32,7 +32,7 @@ std::map<std::string, bool> Device::capabilityList = {{"adc", false},{"battery",
{"cell", false},{"cellWwan", false},{"din", false},{"dout", false},{"externalSerialPort", false},
{"gpio", false},{"gps", false},{"lora", false},{"loraNetworkServer", false},
{"nodeRed", false},{"rs232", false},{"rs422", false},{"rs485", false},{"serial", false},
- {"wifi", false}};
+ {"supercap", false},{"wifi", false}};
std::map<std::string, std::string> Device::deviceInfoList = {{"deviceId", ""},{"hardwareVersion", ""},
{"imei", ""},{"macAddress", "00:00:00:00:00:00"},{"macBluetooth", "00:00:00:00:00:00"},
@@ -392,4 +392,4 @@ void Device::writeJson() {
} else {
os << buffer.GetString();
}
-} \ No newline at end of file
+}