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