1.1.13.6 WDRV_WINC_DHCPSGatewaySet

C

WDRV_WINC_STATUS WDRV_WINC_DHCPSGatewaySet
(
    DRV_HANDLE handle,
    WDRV_WINC_DHCPS_IDX poolIdx,
    WDRV_WINC_IPV4_ADDR *pGWAddr
)

Description

Configures the default gateway IP address of a DHCP server pool.

Precondition

WDRV_WINC_Initialize must have been called.

WDRV_WINC_Open must have been called to obtain a valid handle.

Parameters

ParametersDescription
handleClient handle obtained by a call to WDRV_WINC_Open.
poolIdxPool index to set state on.
pGWAddrPointer to gateway IP address.

Returns

  • WDRV_WINC_STATUS_OK - The DHCP server gateways was set.

  • 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.