обновил сбор статистики, теперь он выполняется отдельно от загрузки состояния и может работать на FULL RATE. К тому же, статистика доступна только на SCPC модеме
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user