2020-02-24 04:01 AM
Hi!
I generated a basic LWIP project for NUCLEO-F429ZI board.
I implemented the void ethernetif_notify_conn_changed(struct netif *netif) -function in main.c.
LWIP_NETIF_STATUS_CALLBACK and LWIP_NETIF_LINK_CALLBACK are 1.
The "__weak void ethernetif_notify_conn_changed(struct netif *netif)" implementation in ethernetif.c are commented out.
When I start the project, I can ping the board. But when I disconnect and reconnect the ethernet cable, the link change not detected.
The "ethernetif_notify_conn_changed" function never executed.
Can anyone help me?
Thanks!
PS.: Sorry my weak english!