From 1d1bce468358ffeab903877b1c492db28d15ab49 Mon Sep 17 00:00:00 2001 From: Serhii Kostiuk Date: Tue, 28 Jul 2020 14:32:37 +0300 Subject: [GP-759] Added delta radio firmware upgrade support for Telit LE910C4-NF --- src/MTS_IO_LE910C4NFRadio.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/MTS_IO_LE910C4NFRadio.cpp b/src/MTS_IO_LE910C4NFRadio.cpp index 4c7f5a3..770a2c4 100644 --- a/src/MTS_IO_LE910C4NFRadio.cpp +++ b/src/MTS_IO_LE910C4NFRadio.cpp @@ -124,3 +124,7 @@ CellularRadio::CODE LE910C4NFRadio::getActiveFirmware(std::string& sFwId) { return SUCCESS; } + +TelitRadio::FOTA_GROUP LE910C4NFRadio::getFotaGroup() { + return VALUE_GROUP_B; +} -- cgit v1.2.3 From 7ad3dbe2667f660f4133ea0747b3f61495f7de01 Mon Sep 17 00:00:00 2001 From: Serhii Kostiuk Date: Tue, 28 Jul 2020 16:49:09 +0300 Subject: [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. --- src/MTS_IO_TelitRadio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 vBailStrings{ ICellularRadio::RSP_CONNECT, ICellularRadio::RSP_ERROR }; - const int dTimeout = 1000; //ms + const int dTimeout = 10000; //ms std::string sCommand, sResult; sCommand = "AT#OTAUPW"; -- cgit v1.2.3