From a8294ed666c80a2fe96b9b77355bbf35d32ee87f Mon Sep 17 00:00:00 2001 From: korolev Date: Tue, 17 Dec 2024 16:35:37 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=B8=D0=BD=D0=B8=D1=86=D0=B8=D0=B0=D0=BB=D0=B8?= =?UTF-8?q?=D0=B7=D0=B0=D1=86=D0=B8=D1=8F=20=D0=BC=D0=BE=D0=B4=D0=B5=D0=BC?= =?UTF-8?q?=D0=B0=20=D0=B4=D0=BB=D1=8F=20=D0=9A=D0=B0=D0=B7=D0=B0=D1=85?= =?UTF-8?q?=D1=81=D1=82=D0=B0=D0=BD=D0=B0=20=D0=BF=D1=80=D0=B8=20=D1=81?= =?UTF-8?q?=D1=82=D0=B0=D1=80=D1=82=D0=B5=20=D0=B2=D0=BA=D0=BB=D1=8E=D1=87?= =?UTF-8?q?=D0=B0=D1=8E=D1=82=D1=81=D1=8FGSM=20Digital=20Cellular=20System?= =?UTF-8?q?s,=20GERAN=20only?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit затем UTRAN only затем 3GPP Systems (GERAN and UTRAN and E-UTRAN) --- GsmWithGnss_GnssOps.c | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/GsmWithGnss_GnssOps.c b/GsmWithGnss_GnssOps.c index 92e4a2f..199da2e 100644 --- a/GsmWithGnss_GnssOps.c +++ b/GsmWithGnss_GnssOps.c @@ -35,25 +35,22 @@ AtCommandResult GsmWithGnssInitGnss(tGsmWithGnss *env) { AT_INOKR(AtGsmTelitLe910_Gnss_ReStartReceiver(&env->gsmAt, 1)); SystemDelayMs(200); AT_INOKR(AtGsmTelitLe910_SIMCardDetect(&env->gsmAt)); + SystemDelayMs(200); - AT_INOKR(AtGsmTelitLe910_GnssEcallOnlyMode(&env->gsmAt,1)); -// SystemDelayMs(200); AT_INOKR(AtGsmSms_DeleteAll(&env->gsmAt)); SystemDelayMs(200); GsmWithGnss_ActivateRMCPort(&env->gsmAt); + SystemDelayMs(3000); + AtGsm_OperatorSelectionDeregister(&env->gsmAt); + SystemDelayMs(1000); + AT_INOKR(GsmWithGnss_SelectStandartNetwork(&env->gsmAt, 12)); + SystemDelayMs(1000); + AT_INOKR(GsmWithGnss_SelectStandartNetwork(&env->gsmAt, 22)); SystemDelayMs(1000); -// AT_INOKR(GsmWithGnss_SelectStandartNetwork(&env->gsmAt, 29)); /// - -// SystemDelayMs(3000); -// AT_INOKR(GsmWithGnss_SelectStandartNetwork(&env->gsmAt, 12)); -// SystemDelayMs(3000); -// AT_INOKR(GsmWithGnss_SelectStandartNetwork(&env->gsmAt, 22)); -// SystemDelayMs(3000); -// AT_INOKR(GsmWithGnss_SelectStandartNetwork(&env->gsmAt, 25)); - SystemDelayMs(3000); AT_INOKR(GsmWithGnss_SelectStandartNetwork(&env->gsmAt, 25)); - SystemDelayMs(3000); + SystemDelayMs(1000); + AT_INOKR(AtGsmTelitLe910_GnssEcallOnlyMode(&env->gsmAt,0)); return AT_OK; - } void AtGsm_Gsnss_NavData_Incorrect(tGsmWithGnss *env) {