1.2.10.1 WDRV_WINC_PowerSaveGetMode Function

C

WDRV_WINC_PS_MODE WDRV_WINC_PowerSaveGetMode(DRV_HANDLE handle)

Summary

Returns the current power save mode.

Description

Returns to the caller the current power save mode in use by the WINC.

Precondition

WDRV_WINC_Initialize should have been called. WDRV_WINC_Open should have been called to obtain a valid handle.

Parameters

ParamDescription
handleClient handle obtained by a call to WDRV_WINC_Open.

Returns

WDRV_WINC_PS_MODE_INVALID - An error occurred.

Other WDRV_WINC_PS_MODE value - Current power save mode.

Remarks

None.