1.1.23.2 WDRV_WINC_SNTPStaticSet

C

WDRV_WINC_STATUS WDRV_WINC_SNTPStaticSet
(
    DRV_HANDLE handle,
    bool enabled
)

Description

Configures the NTP configuration mode to either DHCP or Static.

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.
enabledFlag indicating if the NTP configuration mode should be DHCP or Static.

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.