UDP Server not receiving when connecting cable after power-on
Hi,
I have an UDP Server on a STM32F407Disc1. It works very good, but when 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.
My UDP Server is initiated before the while(1) loop, and I have MX_LWIP_Process() inside this while.
I have also added LWIP_NETIF_LINK_CALLBACK 1 to lwipopts.h and ethernetif_set_link(&gnetif) inside my MX_LWIP_Process function.
Where's the problem? The link status (if connected or not) is detected.
Thanks a lot!
Kind regards.
