diff --git a/GsmWithGnss.c b/GsmWithGnss.c index 933ef01..c18c502 100644 --- a/GsmWithGnss.c +++ b/GsmWithGnss.c @@ -18,14 +18,16 @@ bool isRtc = false; void GsmWithGnss_Urc(tGsmWithGnss *env, tAtBuffer *buff) { if (AtBufferBeginWithStatic(buff, "SRING: ")) { - SocketSocketGsm_UrcProcessor_SRING(&env->socketGsm, buff); + SocketSocketGsm_UrcProcessor_SRING(&env->socketGsm, buff); return; } if (AtBufferBeginWithStatic(buff, "NO CARRIER")) { - SocketSocketGsm_UrcProcessor_NO_CARRIER(&env->socketGsm, buff); + env->isDisconnect = true; + +// SocketSocketGsm_UrcProcessor_NO_CARRIER(&env->socketGsm, buff); return; }