Aktualizr
C++ SOTA Client
telemetryconfig.cc
1 #include "telemetry/telemetryconfig.h"
2 
3 #include <boost/log/trivial.hpp>
4 
5 #include "utilities/config_utils.h"
6 
7 void TelemetryConfig::updateFromPropertyTree(const boost::property_tree::ptree& pt) {
8  CopyFromConfig(report_network, "report_network", pt);
9 }
10 
11 void TelemetryConfig::writeToStream(std::ostream& out_stream) const {
12  writeOption(out_stream, report_network, "report_network");
13 }
bool report_network
Report device network information: IP address, hostname, MAC address.