[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] PPPoS: Question regarding reconnect after connection lo
From: |
Sylvain Rochet |
Subject: |
Re: [lwip-users] PPPoS: Question regarding reconnect after connection lost |
Date: |
Thu, 11 May 2017 18:47:27 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hi Axel,
On Thu, May 11, 2017 at 07:55:44PM +0800, Axel Lin wrote:
>
> Hi Sylvain,
>
> In practice, it usually has application code sending data while PPP
> disconnect. I use netconn API + FreeRTOS, so I have a thread keep
> sending data to internet.
>
> While PPP re-connect there is a period I need to send AT commands and
> calling ppp_connect(), is there any thing I need to take care for my
> application code while PPP discconect and re-connect?
No, if PPP is disconnected IP output packets are tossed[1].
Sylvain
[1]
http://git.savannah.gnu.org/cgit/lwip.git/tree/src/netif/ppp/ppp.c?id=4171f39a72ed15cb394f7cb9b909c5b3a2068580#n505
signature.asc
Description: Digital signature