From e12c0c551f457ec924c5898d45a0069dbe5633dd Mon Sep 17 00:00:00 2001 From: cfif Date: Thu, 12 Dec 2024 17:43:52 +0300 Subject: [PATCH] Fix --- GsmWithGnss.c | 4 ++-- GsmWithGnss.h | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/GsmWithGnss.c b/GsmWithGnss.c index 74f20a9..6394ffa 100644 --- a/GsmWithGnss.c +++ b/GsmWithGnss.c @@ -17,6 +17,7 @@ bool isRtc = false; void GsmWithGnss_Urc(tGsmWithGnss *env, tAtBuffer *buff) { +#ifdef UVEOS_ADD_TELEMATICA if (AtBufferBeginWithStatic(buff, "SRING: ")) { SocketSocketGsm_UrcProcessor_SRING(&env->socketGsm, buff); @@ -27,10 +28,9 @@ void GsmWithGnss_Urc(tGsmWithGnss *env, tAtBuffer *buff) { env->isDisconnect = true; -// SocketSocketGsm_UrcProcessor_NO_CARRIER(&env->socketGsm, buff); - return; } +#endif if (AtBufferBeginWithStatic(buff, "#ECALLEV:2,0")) { env->urc.msdSuccess = true; diff --git a/GsmWithGnss.h b/GsmWithGnss.h index ae9b961..5ca1de2 100644 --- a/GsmWithGnss.h +++ b/GsmWithGnss.h @@ -78,11 +78,12 @@ typedef struct { // char bufLogHexString[260]; bool isNav; + +#ifdef UVEOS_ADD_TELEMATICA bool isDisconnect; - uint8_t codeResultOpen; - tSocketGsm socketGsm; +#endif bool isRtcACP;