summaryrefslogtreecommitdiff
path: root/src/MTS_IO_ICellularRadio.cpp
diff options
context:
space:
mode:
authorSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2019-11-22 12:49:11 +0200
committerSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2019-11-22 15:16:30 +0200
commit8dfb7d7bdcd06cd50e501d3e84d86de7cba2f2a5 (patch)
treed08672713f41ac9538e4b1085b9aa17f9d16a28b /src/MTS_IO_ICellularRadio.cpp
parent7e44d14074eef23a8532f3e1070cdd51779428b1 (diff)
downloadlibmts-io-8dfb7d7bdcd06cd50e501d3e84d86de7cba2f2a5.tar.gz
libmts-io-8dfb7d7bdcd06cd50e501d3e84d86de7cba2f2a5.tar.bz2
libmts-io-8dfb7d7bdcd06cd50e501d3e84d86de7cba2f2a5.zip
[GP-359][MTX-3072] mPower Edge: LVW3 radio support
Added LVW3 radio support to the libmts-io.
Diffstat (limited to 'src/MTS_IO_ICellularRadio.cpp')
-rw-r--r--src/MTS_IO_ICellularRadio.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/MTS_IO_ICellularRadio.cpp b/src/MTS_IO_ICellularRadio.cpp
index 4e7809e..89318ef 100644
--- a/src/MTS_IO_ICellularRadio.cpp
+++ b/src/MTS_IO_ICellularRadio.cpp
@@ -154,6 +154,9 @@ MTS::IO::ICellularRadio::CODE MTS::IO::ICellularRadio::convertModelToMtsShortCod
} else if (sModel.find("LE910-SVG") == 0) {
sCode = "LVW2";
eCode = SUCCESS;
+ } else if (sModel.find("LE910-SV1") == 0) {
+ sCode = "LVW3";
+ eCode = SUCCESS;
} else if (sModel.find("LE910C1-NS") == 0) {
sCode = "LSP3";
eCode = SUCCESS;
@@ -268,6 +271,9 @@ MTS::IO::ICellularRadio::CODE MTS::IO::ICellularRadio::convertModelToType(const
} else if (sModel.find("LE910-SVG") == 0) {
sType = VALUE_TYPE_LTE;
eCode = SUCCESS;
+ } else if (sModel.find("LE910-SV1") == 0) {
+ sType = VALUE_TYPE_LTE;
+ eCode = SUCCESS;
} else if (sModel.find("LE910-EUG") == 0) {
sType = VALUE_TYPE_LTE;
eCode = SUCCESS;
@@ -433,6 +439,8 @@ std::string MTS::IO::ICellularRadio::extractModelFromResult(const std::string& s
sModel = "ME910C1-WW";
} else if(sResult.find("LE910-SVG") != std::string::npos) {
sModel = "LE910-SVG";
+ } else if(sResult.find("LE910-SV1") != std::string::npos) {
+ sModel = "LE910-SV1";
} else if(sResult.find("LE910-EUG") != std::string::npos) {
sModel = "LE910-EUG";
} else if(sResult.find("LE910C4-EU") != std::string::npos) {