добавление обновлений OTA для TDMA терминала
This commit is contained in:
@@ -1377,6 +1377,15 @@ void api_driver::ApiDriver::executeInApi(const std::function<void(TSID sid)>& ca
|
||||
BOOST_LOG_TRIVIAL(error) << "ApiDriver::executeInApi(): failed to exec with error: " << e.what();
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef MODEM_IS_TDMA
|
||||
std::string api_driver::ApiDriver::getOtaFileLocation() const {
|
||||
device_state s{};
|
||||
daemon->getState(nullptr, nullptr, &s);
|
||||
return s.cur_image;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef MODEM_IS_SCPC
|
||||
std::string api_driver::ApiDriver::getLoggingStatisticsSettings() {
|
||||
return this->daemon->statsLogs.getSettings();
|
||||
|
Reference in New Issue
Block a user