summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/MTS_IO_CellularRadio.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/MTS_IO_CellularRadio.cpp b/src/MTS_IO_CellularRadio.cpp
index 6df92e0..6f45da4 100644
--- a/src/MTS_IO_CellularRadio.cpp
+++ b/src/MTS_IO_CellularRadio.cpp
@@ -741,7 +741,8 @@ ICellularRadio::CODE CellularRadio::getRegistration(REGISTRATION& eRegistration)
std::string sResp;
// LE910C1-NS is an LE910, so we stop the scan after the 0.
- if (m_sName.find("LE910") != std::string::npos) {
+ // NOTE: Eventually this may need to be changed to try all three of CREG, CGREG, and CEREG
+ if ((m_sName.find("LE910") != std::string::npos) || (m_sName.find("ME910") != std::string::npos)) {
// use AT+CGREG instead for LE910 models
sCmd = "AT+CGREG?";
sResp = "+CGREG: ";