Adding device type registry

This commit is contained in:
stephb9959
2022-02-23 17:04:09 -08:00
parent 6bf952cba0
commit 1cd2c5f6ba

View File

@@ -57,6 +57,7 @@ namespace OpenWifi {
auto O = P.parse(DeviceTypes).extract<Poco::JSON::Array::Ptr>();
for(const auto &i:*O) {
DeviceTypes_.insert(i.toString());
std::cout << "Cached: " << i.toString() << std::endl;
}
} catch (...) {