1.1.18.3 WDRV_WINC_SystemTimeSetCurrent

Function

WDRV_WINC_STATUS WDRV_WINC_SystemTimeSetCurrent
(
DRV_HANDLE handle,
uint32_t curTime
)

Summary

Sets the current system time on the WINC.

Description

Configures the system time to the UTC value 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.

curTime - The current UTC time (epoch 01/01/1970).

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.