1.1.6.2 WDRV_WINC_DHCPSPoolAddressSet

Function

WDRV_WINC_STATUS WDRV_WINC_DHCPSPoolAddressSet
(
DRV_HANDLE handle,
WDRV_WINC_DHCPS_IDX poolIdx,
WDRV_WINC_IPV4_ADDR *pStartAddr
)

Summary

Sets the DHCP server pool start address.

Description

Configures the starting IP address of the selected DHCP server pool.

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.

poolIdx - Pool index to set state on.

pStartAddr - Pointer to starting IP address.

Returns

WDRV_WINC_STATUS_OK - A scan was initiated.

WDRV_WINC_STATUS_NOT_OPEN - The driver instance is not open.

WDRV_WINC_STATUS_REQUEST_ERROR - The request to the WINC was rejected.

WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.

Remarks

None.