So you have a task to manage link status an another to manage DHCP?

I have to make possible to change ip address or switch between static and dynamic ip without reboot.
I noticed that when the board has a DHCP assigned IP and the link goes down, the board do not change ip or switch in auto ip.

So I'm going to setup a task to poll PHY link status (and speed, to switch on/off speed led), and another task to manage ip assignment. These task should be under application layer.
I do not know if it's a good idea.

best regards
Max

On 05/07/2017 16:40, Noam Weissman wrote:
Hi Sylvian,

THANKS for pointing this out !!!. 

I am using the code I sent for several years and was not aware of that :-(

The base code was taken from ST example !!

I could not find netifapi_netif_set_link_up ... did you mean netifapi_netif_set_up ?



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

Reply via email to