PPP does not detect modem disconnection

vinimac
Posts: 12
Joined: Sun May 06, 2018 1:04 pm

PPP does not detect modem disconnection

Postby vinimac » Thu Nov 07, 2019 4:49 pm

Hi all,

I am simulating a signal loss by removing the antenna from the modem and I keep sending packets to a server using TCP socket. After remove the antenna, the function lwip_send() wont fail and error number is not set too.

I was expecting TCP layer to detect the lack of TCP ACK or PPP should have some timeout?

I am running Lwip 2.0 from ESP32 SDK .
/--------------
commit 3bf56cdd178e8b237121a8fa07862f484db68541
Merge: ba51e9fb5 d41d70b8e
Author: Angus Gratton <angus@espressif.com>
Date: Tue May 21 14:56:34 2019 +0800
/-------------

User avatar
gunar.kroeger
Posts: 90
Joined: Fri Jul 27, 2018 6:48 pm

Re: PPP does not detect modem disconnection

Postby gunar.kroeger » Fri Nov 08, 2019 8:10 pm

We see this issue on esp-idf-v3.3 aswell.
there are a few issues opened on github regarding pppos disconnection and reconnection problems but no official answer yet /:

https://github.com/espressif/esp-idf/is ... 3Aopen+ppp
"Running was invented in 1612 by Thomas Running when he tried to walk twice at the same time."

Who is online

Users browsing this forum: enelson1000, MSN [Bot] and 26 guests