From 86e572b513259e1f7164dd4e4b0f490c870bfc30 Mon Sep 17 00:00:00 2001 From: Jeff Hatch Date: Tue, 2 Apr 2019 09:40:39 -0500 Subject: Fix some Radio Status values for MNG2 radio --- src/MTS_IO_CellularRadio.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3