1.1.7.1 WDRV_WINC_DNSServerAddressSet

Function

WDRV_WINC_STATUS WDRV_WINC_DNSServerAddressSet
(
DRV_HANDLE handle,
uint8_t numServers,
WDRV_WINC_IP_MULTI_TYPE_ADDRESS *pServerAddr
)

Summary

Sets a list of DNS servers to be used in manual DNS server configuration.

Description

Configures the system to use the DNS servers specified.

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.

numServers - Number of servers to set.

pServerAddr - Pointer to list of server addresses and types.

Returns

WDRV_WINC_STATUS_OK - The request has been accepted.

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.