www.beck-ipc.com

@CHIP-RTOS C Library V2.06 - 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.

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3
    V1.00V1.00V1.00V0.90

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document