1.2.10.2 WDRV_WINC_PowerSaveManualSleep Function

C

WDRV_WINC_STATUS WDRV_WINC_PowerSaveManualSleep
(
DRV_HANDLE handle,
uint32_t sleepTime
)

Summary

Manual sleep power save operation.

Description

If the current power save mode is WDRV_WINC_PS_MODE_MANUAL the WINC can be placed into low power mode by requesting sleep.

Precondition

WDRV_WINC_Initialize should have been called. WDRV_WINC_Open should have been called to obtain a valid handle. Power save mode must be WDRV_WINC_PS_MODE_MANUAL

Parameters

ParamDescription
handleClient handle obtained by a call to WDRV_WINC_Open.
sleepTimeSleep period specified in milli-seconds.

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.