обновил сбор статистики, теперь он выполняется отдельно от загрузки состояния и может работать на FULL RATE. К тому же, статистика доступна только на SCPC модеме

This commit is contained in:
2025-04-03 15:26:03 +03:00
parent a204c4002b
commit 70a2257255
3 changed files with 32 additions and 22 deletions

View File

@@ -72,6 +72,7 @@ namespace api_driver {
void executeInApi(const std::function<void(TSID sid)> &callback);
#ifdef MODEM_IS_SCPC
std::string getLoggingStatisticsSettings();
void setLoggingStatisticsSettings(boost::property_tree::ptree &pt);
@@ -84,6 +85,7 @@ namespace api_driver {
* @param maxItems
*/
void readLoggingStatistics(std::vector<uint8_t>& out, int timeStart = -1, int timeEnd = -1, bool ordering = false, int maxItems = -1);
#endif
static std::string loadSysInfo();