> Can i call tcpip_callback() from my application thread ? Is that what
you mean?


Yes, you can and should do that.  I use this in my interrupt code:
   err_t tmp = tcpip_callback_with_block( s_HandlePhyInterrupt, NULL,
0);

Then s_HandlePhyInterrupt() is called from the tcpip thread.

Other ways to have your callback called from the tcpip thread also work.

Marty

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

Reply via email to