UDP communication does not work if the cable is plugged in after initialization
Hi,
I have an UDP Server on a STM32H743ZI. It works very good only if the ethernet cable is already connected when I power on the board.
However, if I connect the cable after powering on the board, UDP Server does not receive any message.
FreeRTOS is used on my project and I have added LWIP_NETIF_LINK_CALLBACK 1 to lwipopts.h but I never go in callback function even if I connect/disconnect the ehernet cable.
Where's the problem?
what should I add to detect the cable connection?
Thanks a lot!
Kind regards.
