www.beck-ipc.com

@CHIP-RTOS C Library V2.06 - TCP/IP API


Dev_Wait_DHCP_Complete

Waits for completion of IP configuration process by DHCP ("Dynamic Host Configuration Protocol ").  

int Dev_Wait_DHCP_Complete(DevUserDriver far * DriverInfo,
                           unsigned int time_s,
                           int * errorcode);

Parameters

DriverInfo

Pointer to user driver information.

time_s

Timeout seconds.   This value will depend on the DHCP server used.   A minimum value of 15 seconds is recommended.

errorcode

Output parameter:  Failure code, 0 on success.

Return Value

0: success
-1: See reported errorcode .

See Also

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.

Related Topics

Example - User's receiver task

Supported since or modified in @CHIP-RTOS version

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

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


End of document