summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-11-07 14:33:39 -0600
committerJohn Klug <john.klug@multitech.com>2018-11-07 14:33:39 -0600
commitc6b2972d1102e7986c9d188119b06aef11caa41c (patch)
tree0be9884b1ff56490826faf5a148ed5f3cf77dbf1 /src
parent2140f3948e70254ed70b0d543cb03e18564ec4f3 (diff)
downloadlibmts-io-c6b2972d1102e7986c9d188119b06aef11caa41c.tar.gz
libmts-io-c6b2972d1102e7986c9d188119b06aef11caa41c.tar.bz2
libmts-io-c6b2972d1102e7986c9d188119b06aef11caa41c.zip
Add myself to libs group -- jklug1.0.13
Diffstat (limited to 'src')
-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: ";