1.1.12.4 WDRV_WINC_NetIfIPAutoConfModeSet

Function

WDRV_WINC_STATUS WDRV_WINC_NetIfIPAutoConfModeSet
(
DRV_HANDLE handle,
WDRV_WINC_NETIF_IDX ifIdx,
WDRV_WINC_NETIF_AAC_TYPE aacMode
)

Summary

Set IP address auto-configuration mode.

Description

Sets how the IP address of the network interface can be assigned.

Precondition

WDRV_WINC_Initialize should have been called. WDRV_WINC_Open should have been called to obtain a valid handle.

Parameters

handle - Client handle obtained by a call to WDRV_WINC_Open.

ifIdx - Interface index.

aacMode - Auto-assignment configuration mode.

Returns

WDRV_WINC_STATUS_OK - Callback registered.

WDRV_WINC_STATUS_NOT_OPEN - The driver instance is not open.

WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.

WDRV_WINC_STATUS_REQUEST_ERROR - The request to the WINC was rejected.

Remarks

None.