summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2020-07-31 16:36:08 -0500
committerJeff Hatch <jhatch@multitech.com>2020-07-31 16:36:08 -0500
commit79925bf7853896834ace6788b9bc7d6edcd78301 (patch)
treebfa564dbbb7314780fe55290500c4c9174a7d287
parentb1c7aa03e55059c848b9d74a6c30f57affd32b5d (diff)
parent7ad3dbe2667f660f4133ea0747b3f61495f7de01 (diff)
downloadlibmts-io-79925bf7853896834ace6788b9bc7d6edcd78301.tar.gz
libmts-io-79925bf7853896834ace6788b9bc7d6edcd78301.tar.bz2
libmts-io-79925bf7853896834ace6788b9bc7d6edcd78301.zip
Merge branch 'sk/GP-759-L4N1-delta-fwu' into 'master'
[GP-759] Delta Radio Firmware Upgrade support for L4N1 See merge request !32
-rw-r--r--include/mts/MTS_IO_LE910C4NFRadio.h1
-rw-r--r--src/MTS_IO_LE910C4NFRadio.cpp4
-rw-r--r--src/MTS_IO_TelitRadio.cpp2
3 files changed, 6 insertions, 1 deletions
diff --git a/include/mts/MTS_IO_LE910C4NFRadio.h b/include/mts/MTS_IO_LE910C4NFRadio.h
index dfd0a0f..afd1c24 100644
--- a/include/mts/MTS_IO_LE910C4NFRadio.h
+++ b/include/mts/MTS_IO_LE910C4NFRadio.h
@@ -39,6 +39,7 @@ namespace MTS {
virtual CODE getActiveFirmware(std::string& sFwId);
protected:
+ FOTA_GROUP getFotaGroup() override;
private:
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;
+}
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";