Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 783192e

Browse files
committed
Merge branch 'Release/v1.20' into Dev
2 parents f2e04fb + 58398d3 commit 783192e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

esp32/mods/modlte.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1349,6 +1349,11 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_1(lte_ue_coverage_obj, lte_ue_coverage);
13491349
STATIC mp_obj_t lte_reset(mp_obj_t self_in) {
13501350
lte_check_init();
13511351
lte_disconnect(self_in);
1352+
if (!lte_push_at_command("AT+CFUN=0", LTE_RX_TIMEOUT_MAX_MS)) {
1353+
mp_hal_delay_ms(LTE_RX_TIMEOUT_MIN_MS);
1354+
lte_push_at_command("AT+CFUN=0", LTE_RX_TIMEOUT_MAX_MS);
1355+
}
1356+
mp_hal_delay_ms(LTE_RX_TIMEOUT_MIN_MS);
13521357
lte_push_at_command("AT^RESET", LTE_RX_TIMEOUT_MAX_MS);
13531358
lteppp_set_state(E_LTE_IDLE);
13541359
mp_hal_delay_ms(LTE_RX_TIMEOUT_MIN_MS);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy