Aktualizr
C++ SOTA Client
src
libaktualizr
telemetry
telemetryconfig.h
1
#ifndef TELEMETRY_TELEMETRY_CONFIG_H_
2
#define TELEMETRY_TELEMETRY_CONFIG_H_
3
4
#include <boost/property_tree/ptree_fwd.hpp>
5
6
struct
TelemetryConfig
{
7
/**
8
* Report device network information: IP address, hostname, MAC address
9
*/
10
bool
report_network
{
true
};
11
bool
report_config{
true
};
12
13
void
updateFromPropertyTree(
const
boost::property_tree::ptree& pt);
14
void
writeToStream(std::ostream& out_stream)
const
;
15
};
16
17
#endif // TELEMETRY_TELEMETRY_CONFIG_H_
TelemetryConfig::report_network
bool report_network
Report device network information: IP address, hostname, MAC address.
Definition:
telemetryconfig.h:10
TelemetryConfig
Definition:
telemetryconfig.h:6
Generated by
1.8.16