mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-11-01 19:17:47 +00:00
Adding device type registry
This commit is contained in:
@@ -57,6 +57,7 @@ namespace OpenWifi {
|
|||||||
auto O = P.parse(DeviceTypes).extract<Poco::JSON::Array::Ptr>();
|
auto O = P.parse(DeviceTypes).extract<Poco::JSON::Array::Ptr>();
|
||||||
for(const auto &i:*O) {
|
for(const auto &i:*O) {
|
||||||
DeviceTypes_.insert(i.toString());
|
DeviceTypes_.insert(i.toString());
|
||||||
|
std::cout << "Cached: " << i.toString() << std::endl;
|
||||||
}
|
}
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user