summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2019-04-02 09:40:39 -0500
committerJeff Hatch <jhatch@multitech.com>2019-04-02 09:40:39 -0500
commit86e572b513259e1f7164dd4e4b0f490c870bfc30 (patch)
treece1bc981ea46af123a46c3828f6887a649fa39fa /src
parentaa8ffb828e1c6ae0becbab05edf9be53373ba783 (diff)
downloadlibmts-io-1.0.18.tar.gz
libmts-io-1.0.18.tar.bz2
libmts-io-1.0.18.zip
Fix some Radio Status values for MNG2 radio1.0.18
Diffstat (limited to 'src')
-rw-r--r--src/MTS_IO_CellularRadio.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/MTS_IO_CellularRadio.cpp b/src/MTS_IO_CellularRadio.cpp
index 3510b43..f89e673 100644
--- a/src/MTS_IO_CellularRadio.cpp
+++ b/src/MTS_IO_CellularRadio.cpp
@@ -1082,7 +1082,9 @@ CellularRadio::CODE CellularRadio::getNetworkStatus(Json::Value& jData) {
if(MTS::Text::parse(iValue, vParts[13]) && convertActiveBandToString((ACTIVEBAND)iValue, sValue) == SUCCESS) {
jData[KEY_ABND] = sValue;
}
- } else if(vParts.size() >= WCDMA_NETWORK_FORMAT) {
+ // IN003567 ME910C1 radios have some odd behavior with regards to WCDMA. The ordering of the fields from #RFSTS are
+ // the same as LTE up to the 16th field (for ME901C1-WW anyway). Drop into LTE parsing for ME910C1-WW.
+ } else if((vParts.size() >= WCDMA_NETWORK_FORMAT) && (m_sName.find("ME910C1-WW") == std::string::npos)) {
Json::Value jDebug;
//Parse as WCDMA Network Format