|
From: | Sandra Gilge |
Subject: | [lwip-users] DHCP usage |
Date: | Fri, 5 Jun 2015 10:37:00 +0200 |
Hallo, The IP configuration in our embedded system is reconfigurable by the user during runtime. The user can also switch on DHCP or switch it off and use a static IP address. What is the correct way to switch DHCP off. Do I have to call netifapi_dhcp_stop(), when switching off DHCP? I tried this, but I could not see a DHCP message on wireshark. This is how it works right now: Any configuration change: netifapi_netif_set_down() DHCP switched off: netifapi_netif_set_addr() netifapi_netif_set_up() DHCP switched on: netifapi_dhcp_start() wait up to 7 secs for DHCP_BOUND Best regards, Sandra |
[Prev in Thread] | Current Thread | [Next in Thread] |