www.beck-ipc.com

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

See Also

    Example                

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