Hi David, seems that I've found the issue: I was calling the esp_netif_new and esp_modem_netif_setup esp_netif_config_t cfg = ESP_NETIF_DEFAULT_PPP(); esp_netif = esp_netif_new(&cfg); assert(esp_netif); modem_netif_adapter = esp_modem_netif_setup(dte); esp_modem_netif_set_default_handlers(modem_neti...
What other interfaces you use? During the provisioning I need to init also the wifi in order to use the espressif provided provisioning api. This made me doubt so I did the cyclic connection/disconnection code in an already provisioned device that has the same issue but no other internet interfaces...
Hi David, yes, the error seems to be the same of the linked githup report. I'm not able to share a minimal project in short time because the project I'm working on is quite big. the connection disconnection phase is managed by a state machine and my deinit logic is esp_modem_stop_ppp( dte ); esp_eve...
I don't understand how the modem deinit can affect the LWIP part. However, for us it would be really bad to have to do it because at that moment the user is doing the provisioning with a smartphone APP which is already slow enough, making him wait another 20/30 seconds for the modem to switch on and...
Sorry, I missed to write that before esp_modem_free_netif_adapter() that call the three netif function you use ( esp_modem_netif_clear_default_handlers(modem_netif_adapter); esp_modem_netif_teardown(modem_netif_adapter); esp_netif_destroy(esp_netif); ) I also call: esp_modem_stop_ppp(dte) . I don't ...
Sorry, I missed that before the esp_modem_free_netif_adapter() i call the esp_modem_stop_ppp( dte ) . the code seems to be the same except that I do not deinit the dce and dte: ESP_ERROR_CHECK_WITHOUT_ABORT(dce->deinit(dce)); ESP_ERROR_CHECK_WITHOUT_ABORT(dte->deinit(dte)); Can you reconnect to the ...
Hi in my company we developed an IOT device that use the ESP32 and a Quectel modem. The internet connection part is based on the PPP example of the idf version that we are using: the v4.3 . All works fine until a disconnection event, we are not able to perform a clean re-connection to the internet w...