summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2020-07-22 09:55:55 +0300
committerSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2020-07-22 10:21:09 +0300
commitbeb3f36c5dcc70beed900859d6426dc74e4bccc8 (patch)
tree90e162e6cf2c6a1d3b890a5483c9f77a000ced09
parentb9a5e7ab27ad313b95fe6642f08e230091efef0f (diff)
downloadlibmts-io-beb3f36c5dcc70beed900859d6426dc74e4bccc8.tar.gz
libmts-io-beb3f36c5dcc70beed900859d6426dc74e4bccc8.tar.bz2
libmts-io-beb3f36c5dcc70beed900859d6426dc74e4bccc8.zip
Telit Delta Radio Firmware Upgrade support - libmts-io implementation
During testing it was discovered that the radio is detached for 4 minutes 40 seconds while the upgrade is in progress. This was too close to the time limit of 5 minutes set before. This commit increases attach timeout to 6 minutes to be on the safe side.
-rw-r--r--src/MTS_IO_TelitRadio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MTS_IO_TelitRadio.cpp b/src/MTS_IO_TelitRadio.cpp
index 8c7e174..457dfdc 100644
--- a/src/MTS_IO_TelitRadio.cpp
+++ b/src/MTS_IO_TelitRadio.cpp
@@ -1013,7 +1013,7 @@ ICellularRadio::CODE TelitRadio::abortFotaWriteABD() {
}
ICellularRadio::CODE TelitRadio::fumoWaitUpgradeFinished(ICellularRadio::UpdateCb& stepCb) {
- const uint32_t duAttachTimeout = 300000; // wait for 300 seconds for the radio to attach
+ const uint32_t duAttachTimeout = 6 * 60 * 1000;// wait for 6 minutes for the radio to attach
const uint32_t duUrcTimeout = 60 * 1000; // wait for 1 minutes for the next URC message
const std::string sFotaUrcPrefix = "#OTAEV:"; // prefix for the URC notification messages
const std::string sFotaUrcEndSuccess = "Module Upgraded To New Fw";