Greg Smith wrote:
Additionally, and this is the important part, I want to resume listening for a new connection. So I call pppapi_listen() again at the end of my link status callback function (which happens to look /a lot/ like Sylvain's example in ppp.txt :-) ).

Coming back to the original post, you must *not* call API functions from tcpip_thread. Maybe this is your problem. I think the callback is called from tcpip_thread, so by blocking on a semaphore effectively blocks the whole stack.

The API functions are meant to get you into the tcpip_thread to call things. If you already *are* in this thread, call 'ppp_listen()' instead.


Simon
_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to