Skip to content

Instantly share code, notes, and snippets.

Avatar

arty artyLee

  • Particle
  • Shenzhen
View GitHub Profile
View bg77.diff
diff --git a/hal/network/ncp_client/quectel/quectel_ncp_client.cpp b/hal/network/ncp_client/quectel/quectel_ncp_client.cpp
index 5d00e50eb..51b8aec6a 100644
--- a/hal/network/ncp_client/quectel/quectel_ncp_client.cpp
+++ b/hal/network/ncp_client/quectel/quectel_ncp_client.cpp
@@ -630,8 +630,8 @@ int QuectelNcpClient::getCellularGlobalIdentity(CellularGlobalIdentity* cgi) {
// Fill in LAC and Cell ID based on current RAT, prefer PSD and EPS
// fallback to CSD
CHECK_PARSER_OK(parser_.execCommand("AT+CEREG?"));
- CHECK_PARSER_OK(parser_.execCommand("AT+CGREG?"));
- CHECK_PARSER_OK(parser_.execCommand("AT+CREG?"));