ConOpSys V2970
P004.07
ANVILEX control operating system
|
DHCP (IPv4) related functions This is a DHCP client for the lwIP TCP/IP stack. It aims to conform with RFC 2131 and RFC 2132.
Options: DHCP_COARSE_TIMER_SECS (recommended 60 which is a minute) DHCP_FINE_TIMER_MSECS (recommended 500 which equals TCP coarse timer)
dhcp_start() starts a DHCP client instance which configures the interface by obtaining an IP address lease and maintaining it.
Use dhcp_release() to end the lease and use dhcp_stop() to remove the DHCP client.