The dhcp_disable function permanently disables the Dynamic Host Configuration at runtime. To enable the DHCP client again, you must restart the system. With RLARM v4.11 and newer, it is possible to restart a DHCP client. The client must first be disabled with dhcp_disable function, and then re-enabled with dhcp_init function. The dhcp_disable function is in the RL-TCPnet library. The prototype is defined in rtl.h. Note - You can use the function only when the DHCP Client is already enabled in the net_config.c configuration file.
|