mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
synced 2025-11-08 22:53:19 +00:00
Adding "completeInfo" on device get.
This commit is contained in:
@@ -42,6 +42,9 @@ namespace OpenWifi {
|
||||
Poco::JSON::Object CSInfo;
|
||||
CS.to_json(CSInfo);
|
||||
Answer.set("connectionInfo",CSInfo);
|
||||
Poco::JSON::Object HCInfo;
|
||||
HC.to_json(HCInfo);
|
||||
Answer.set("healthCheckInfo",HCInfo);
|
||||
Poco::JSON::Parser P;
|
||||
auto StatsInfo = P.parse(Stats).extract<Poco::JSON::Object::Ptr>();
|
||||
Answer.set("statsInfo",StatsInfo);
|
||||
|
||||
Reference in New Issue
Block a user