From dbd7ec304fee1cf47b9f8579c4c17003b23e32b8 Mon Sep 17 00:00:00 2001 From: payton Date: Tue, 25 Jul 2023 11:34:12 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=85=BC=E5=AE=B9eg915q=E6=B3=A8=E7=BD=91?= =?UTF-8?q?=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../application/source/sf_app/code/source/4gMng/sf_eg91_sim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/application/source/sf_app/code/source/4gMng/sf_eg91_sim.c b/code/application/source/sf_app/code/source/4gMng/sf_eg91_sim.c index 968a2c531..c0e587f81 100644 --- a/code/application/source/sf_app/code/source/4gMng/sf_eg91_sim.c +++ b/code/application/source/sf_app/code/source/4gMng/sf_eg91_sim.c @@ -3335,7 +3335,7 @@ SINT32 sf_net_regist_manual(void) sf_test_code_err(eNetRegLocation, "+CGREG: 0,2"); #endif - if((strstr((const char *)gsmPara, "+CGREG: 0,1") != NULL) || (strstr((const char *)gsmPara, "+CGREG: 0,5") != NULL)) + if((strstr((const char *)gsmPara, "+CGREG: 2,1") != NULL) || (strstr((const char *)gsmPara, "+CGREG: 0,1") != NULL) || (strstr((const char *)gsmPara, "+CGREG: 0,5") != NULL)) { if(PWR_ON_TIME_SYNC == sf_poweron_type_get()) { @@ -3976,7 +3976,7 @@ SINT32 sf_auto_net_reg(void) #endif - if((strstr((const char *)gsmPara, "+CGREG: 0,1") != NULL) || (strstr((const char *)gsmPara, "+CGREG: 0,5") != NULL)) + if((strstr((const char *)gsmPara, "+CGREG: 2,1") != NULL) || (strstr((const char *)gsmPara, "+CGREG: 0,1") != NULL) || (strstr((const char *)gsmPara, "+CGREG: 0,5") != NULL)) { eNetRegLocation = QUECTEL_NETREG_QNWINFO; strcpy((char *)gsmPara, "AT+QNWINFO\r");