Aktualizr
C++ SOTA Client
src
libaktualizr
telemetry
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
}
TelemetryConfig::report_network
bool report_network
Report device network information: IP address, hostname, MAC address.
Definition:
telemetryconfig.h:10
Generated by
1.8.14