diff options
author | Jeff Hatch <Jeff.Hatch@multitech.com> | 2018-06-22 11:00:48 -0500 |
---|---|---|
committer | Jeff Hatch <Jeff.Hatch@multitech.com> | 2018-06-22 11:00:48 -0500 |
commit | 5d78c924aab3cbb35f09c911534d2c2ce763457e (patch) | |
tree | 0032e7d82ae6235c6516c2621a13ddc8ad2a36fb /src/MTS_IO_CellularRadio.cpp | |
parent | c8d7d6c4e60bb46766031342955b53afd9c3bc7e (diff) | |
download | libmts-io-5d78c924aab3cbb35f09c911534d2c2ce763457e.tar.gz libmts-io-5d78c924aab3cbb35f09c911534d2c2ce763457e.tar.bz2 libmts-io-5d78c924aab3cbb35f09c911534d2c2ce763457e.zip |
Add support for LE910-EU1 radio1.0.10
Diffstat (limited to 'src/MTS_IO_CellularRadio.cpp')
-rw-r--r-- | src/MTS_IO_CellularRadio.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/MTS_IO_CellularRadio.cpp b/src/MTS_IO_CellularRadio.cpp index 569f8fc..1842c23 100644 --- a/src/MTS_IO_CellularRadio.cpp +++ b/src/MTS_IO_CellularRadio.cpp @@ -323,6 +323,9 @@ CellularRadio::CODE CellularRadio::convertModelToMtsShortCode(const std::string& } else if (sModel.find("LE910-EUG") == 0) { sCode = "LEU1"; eCode = SUCCESS; + } else if (sModel.find("LE910-EU1") == 0) { + sCode = "LEU1"; + eCode = SUCCESS; } else if (sModel.find("GE910") == 0) { sCode = "G3"; eCode = SUCCESS; @@ -392,6 +395,9 @@ CellularRadio::CODE CellularRadio::convertModelToType(const std::string& sModel, } else if (sModel.find("LE910-EUG") == 0) { sType = VALUE_TYPE_LTE; eCode = SUCCESS; + } else if (sModel.find("LE910-EU1") == 0) { + sType = VALUE_TYPE_LTE; + eCode = SUCCESS; } else if (sModel.find("ME910C1-NA") == 0) { sType = VALUE_TYPE_LTE; eCode = SUCCESS; @@ -1585,6 +1591,8 @@ std::string CellularRadio::extractModelFromResult(const std::string& sResult) { sModel = "LE910-SVG"; } else if(sResult.find("LE910-EUG") != std::string::npos) { sModel = "LE910-EUG"; + } else if(sResult.find("LE910-EU1") != std::string::npos) { + sModel = "LE910-EU1"; } else if(sResult.find("GE910") != std::string::npos) { sModel = "GE910"; } else if(sResult.find("DE910-DUAL") != std::string::npos) { |