mirror of
https://github.com/Telecominfraproject/wlan-cloud-analytics.git
synced 2026-01-27 10:22:33 +00:00
Adding options for returning statistics and points.
This commit is contained in:
@@ -201,6 +201,9 @@ namespace OpenWifi {
|
||||
std::ofstream of("msg"+std::to_string(f++)+".json", std::ios_base::trunc );
|
||||
of << OO.str();
|
||||
*/
|
||||
|
||||
|
||||
|
||||
return ReturnObject(*Answer);
|
||||
}
|
||||
}
|
||||
@@ -167,7 +167,7 @@ namespace OpenWifi::AnalyticsObjects {
|
||||
field_to_json(Obj,"inactive",inactive);
|
||||
field_to_json(Obj,"tx_rate",tx_rate);
|
||||
field_to_json(Obj,"rx_rate",rx_rate);
|
||||
field_to_json(Obj,"tidstats",tidstats);
|
||||
// field_to_json(Obj, "tidstats", tidstats);
|
||||
field_to_json(Obj,"tx_bytes_bw",tx_bytes_bw);
|
||||
field_to_json(Obj,"rx_bytes_bw",rx_bytes_bw);
|
||||
field_to_json(Obj,"tx_packets_bw",tx_packets_bw);
|
||||
@@ -192,7 +192,7 @@ namespace OpenWifi::AnalyticsObjects {
|
||||
field_from_json(Obj,"inactive",inactive);
|
||||
field_from_json(Obj,"tx_rate",tx_rate);
|
||||
field_from_json(Obj,"rx_rate",rx_rate);
|
||||
field_from_json(Obj,"tidstats",tidstats);
|
||||
// field_from_json(Obj,"tidstats",tidstats);
|
||||
field_from_json(Obj,"tx_bytes_bw",tx_bytes_bw);
|
||||
field_from_json(Obj,"rx_bytes_bw",rx_bytes_bw);
|
||||
field_from_json(Obj,"tx_packets_bw",tx_packets_bw);
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user