FreeRTOS: Wi-Fi Management Library
Return to main page ↑
WIFI_SetPMMode

Set the Wi-Fi power management mode.

const void * pvOptionValue );
Parameters
[in]xPMModeType- Power mode type.
[in]pvOptionValue- A buffer containing the value of the option to set depends on the mode type example - beacon interval in sec
Returns
eWiFiSuccess if the power mode was successfully configured, failure code otherwise.
WIFIPMMode_t
WIFIPMMode_t
Wi-Fi device power management modes.
Definition: iot_wifi.h:93
WIFI_SetPMMode
WIFIReturnCode_t WIFI_SetPMMode(WIFIPMMode_t xPMModeType, const void *pvOptionValue)
Set the Wi-Fi power management mode.
WIFIReturnCode_t
WIFIReturnCode_t
Return code denoting API status.
Definition: iot_wifi.h:50