summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/MTS_IO_CellularRadio.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/MTS_IO_CellularRadio.cpp b/src/MTS_IO_CellularRadio.cpp
index f2b4826..786510d 100644
--- a/src/MTS_IO_CellularRadio.cpp
+++ b/src/MTS_IO_CellularRadio.cpp
@@ -1015,7 +1015,8 @@ CellularRadio::CODE CellularRadio::getNetworkStatus(Json::Value& jData) {
// LE910 radios have a bug where issuing AT#RFSTS with a locked SIM
// will cause the radio to stop responding until a radio power cycle
// Telit Support Portal Case #5069697
- if (m_sName.find("LE910-") != std::string::npos) {
+ // LE910C1-NS is an LE910, so we stop the scan after the 0.
+ if (m_sName.find("LE910") != std::string::npos) {
sCmd = "AT+CPIN?";
sResult = sendCommand(sCmd);
if (sResult.find("+CPIN:") == std::string::npos) {
@@ -1277,7 +1278,8 @@ CellularRadio::CODE CellularRadio::getRegistration(REGISTRATION& eRegistration)
std::string sCmd;
std::string sResp;
- if (m_sName.find("LE910-") != std::string::npos) {
+ // LE910C1-NS is an LE910, so we stop the scan after the 0.
+ if (m_sName.find("LE910") != std::string::npos) {
// use AT+CGREG instead for LE910 models
sCmd = "AT+CGREG?";
sResp = "+CGREG: ";