mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
correct modem sleep API description
This commit is contained in:
parent
17200f484e
commit
6e9070b6d9
@ -428,24 +428,24 @@ esp_err_t esp_wifi_scan_get_ap_records(uint16_t *number, wifi_ap_record_t *ap_re
|
||||
esp_err_t esp_wifi_sta_get_ap_info(wifi_ap_record_t *ap_info);
|
||||
|
||||
/**
|
||||
* @brief Set current power save type
|
||||
* @brief Set current WiFi power save type
|
||||
*
|
||||
* @attention Default power save type is WIFI_PS_NONE.
|
||||
* @attention Default power save type is WIFI_PS_MIN_MODEM.
|
||||
*
|
||||
* @param type power save type
|
||||
*
|
||||
* @return ESP_ERR_NOT_SUPPORTED: not supported yet
|
||||
* @return ESP_OK: succeed
|
||||
*/
|
||||
esp_err_t esp_wifi_set_ps(wifi_ps_type_t type);
|
||||
|
||||
/**
|
||||
* @brief Get current power save type
|
||||
* @brief Get current WiFi power save type
|
||||
*
|
||||
* @attention Default power save type is WIFI_PS_NONE.
|
||||
* @attention Default power save type is WIFI_PS_MIN_MODEM.
|
||||
*
|
||||
* @param[out] type: store current power save type
|
||||
*
|
||||
* @return ESP_ERR_NOT_SUPPORTED: not supported yet
|
||||
* @return ESP_OK: succeed
|
||||
*/
|
||||
esp_err_t esp_wifi_get_ps(wifi_ps_type_t *type);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user