1.1.10.2 WDRV_WINC_PowerSaveManualSleep Function

WDRV_WINC_STATUS WDRV_WINC_PowerSaveManualSleep (

DRV_HANDLE handle, uint32_t sleepTime

)

C

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

Param

Description

handle

Client handle obtained by a call to WDRV_WINC_Open.

sleepTime

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