|
From: | massimiliano cialdi |
Subject: | Re: [lwip-users] how to set the link up |
Date: | Wed, 5 Jul 2017 17:25:58 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 |
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. 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 ? |
[Prev in Thread] | Current Thread | [Next in Thread] |