Hi Fabian, Thank you very much. Please, could give me more details? I'm using netconn API.
Thanks to the previous answers. With regards, am85 you can use netif_set_status_callback() to establish a function that will be called when the interface goes up (i.e. indicated that DHCP has finished). And then just call netifapi_dhcp_start(). I then use a task that waits for a semaphore that gets triggered in the interface-up function if dhcp was completed and times out otherwise, so I can fall-back to a fixed IP when DHCP is not reachable (AUTOIP is not feasable in my enivornment). regards, Fabian _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users -- View this message in context: http://old.nabble.com/DHCP-Client-%28urgent%29-tp29582482p29590426.html Sent from the lwip-users mailing list archive at Nabble.com. _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
