summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2020-07-28 16:49:09 +0300
committerSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2020-07-28 16:49:09 +0300
commit7ad3dbe2667f660f4133ea0747b3f61495f7de01 (patch)
treebfa564dbbb7314780fe55290500c4c9174a7d287 /src
parent1d1bce468358ffeab903877b1c492db28d15ab49 (diff)
downloadlibmts-io-7ad3dbe2667f660f4133ea0747b3f61495f7de01.tar.gz
libmts-io-7ad3dbe2667f660f4133ea0747b3f61495f7de01.tar.bz2
libmts-io-7ad3dbe2667f660f4133ea0747b3f61495f7de01.zip
[GP-759] Delta Radio Firmware Upgrade support for L4N1
Increased the maximum delay for AT#OTAUPW response to 10 seconds. In some cases 1 second is too short for the radio to start accepting the injected firmware.
Diffstat (limited to 'src')
-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 457dfdc..1f5f4cf 100644
--- a/src/MTS_IO_TelitRadio.cpp
+++ b/src/MTS_IO_TelitRadio.cpp
@@ -987,7 +987,7 @@ ICellularRadio::CODE TelitRadio::fumoWriteGroupsABD(int fd, ICellularRadio::Upda
ICellularRadio::CODE TelitRadio::startFotaWriteABD() {
const std::vector<std::string> vBailStrings{ ICellularRadio::RSP_CONNECT, ICellularRadio::RSP_ERROR };
- const int dTimeout = 1000; //ms
+ const int dTimeout = 10000; //ms
std::string sCommand, sResult;
sCommand = "AT#OTAUPW";