@CHIP-RTOS C Library V2.00 - TCP/IP API
DHCP_use
Set/Reset DHCP usage on the Ethernet interface. int DHCP_use ( unsigned char dhcp_use ); Parameters
dhcp_use
- 0: do not use DHCP, 1: Use DHCP.
Return Value
- 0: success
non-zero: DHCP not available in this RTOS version.
Comments
- This entry becomes valid only after rebooting the system or after
calling the
Reconfigure_ethernet
library function.
If DHCP is changed from 1 to 0 then a new IP address, subnet mask
and gateway should be set with either the
prompt commands
or the Set_IPConfig
library call.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|