Hi Sylvain,

Ok I followed your suggestions and it works nicely. I just call ppp_close and don’t delete the thread. When I want to reconnect I call ppp_reopen and it simply changes the netif interface to match the new ip. I also removed the sys_msleep(1) and added a semaphore to the uart rx interrupt.

Regards,

Nick

-----Original Message----- From: Sylvain Rochet
Sent: Wednesday, February 20, 2013 7:05 AM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] PPP new Stack

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to