From df7f8cdfcf17bc4c26c0bdf912f6839a7b09a515 Mon Sep 17 00:00:00 2001 From: Hasnain Virk Date: Wed, 3 Apr 2019 10:27:30 +0300 Subject: [PATCH] CREG can handle lac/ci/lat AT+CREG command can also provide information regarding lac/ci/lat etc so we should set the mode correctly in cellular properties structure. --- .../cellular/framework/targets/QUECTEL/EC2X/QUECTEL_EC2X.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/cellular/framework/targets/QUECTEL/EC2X/QUECTEL_EC2X.cpp b/features/cellular/framework/targets/QUECTEL/EC2X/QUECTEL_EC2X.cpp index acee078bbc..09c4424929 100644 --- a/features/cellular/framework/targets/QUECTEL/EC2X/QUECTEL_EC2X.cpp +++ b/features/cellular/framework/targets/QUECTEL/EC2X/QUECTEL_EC2X.cpp @@ -28,7 +28,7 @@ using namespace events; static const intptr_t cellular_properties[AT_CellularBase::PROPERTY_MAX] = { AT_CellularNetwork::RegistrationModeLAC, // C_EREG AT_CellularNetwork::RegistrationModeLAC, // C_GREG - AT_CellularNetwork::RegistrationModeEnable, // C_REG + AT_CellularNetwork::RegistrationModeLAC, // C_REG 1, // AT_CGSN_WITH_TYPE 1, // AT_CGDATA 0, // AT_CGAUTH