mirror of
https://github.com/Telecominfraproject/wlan-cloud-analytics.git
synced 2026-01-27 10:22:33 +00:00
Adding band to SSIDTP
This commit is contained in:
@@ -138,11 +138,12 @@ namespace OpenWifi {
|
||||
Answer.set("points",Outer);
|
||||
|
||||
|
||||
static int f=0;
|
||||
/* static int f=0;
|
||||
std::ostringstream OO;
|
||||
Answer.stringify(OO);
|
||||
std::ofstream of("msg"+std::to_string(f++)+".json", std::ios_base::trunc );
|
||||
of << OO.str();
|
||||
*/
|
||||
return ReturnObject(Answer);
|
||||
}
|
||||
}
|
||||
@@ -384,6 +384,8 @@ namespace OpenWifi::RESTAPI_utils {
|
||||
inline void field_from_json(const Poco::JSON::Object::Ptr &Obj, const char *Field, int64_t &Value) {
|
||||
if(Obj->isObject(Field)) {
|
||||
Value = Obj->get(Field);
|
||||
} else {
|
||||
std::cout << "Field: " << Field << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user