mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-20 16:46:17 +08:00
feat(esp8266): add esp_wifi_ps_lock api
This commit is contained in:
@ -260,6 +260,17 @@ esp_err_t esp_smartconfig_internal_start(const smartconfig_start_config_t* confi
|
||||
*/
|
||||
esp_err_t esp_smartconfig_internal_stop(void);
|
||||
|
||||
/**
|
||||
* @brief Stop close RF when station connect to ap.
|
||||
*/
|
||||
void esp_wifi_ps_lock(void);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Do normal sleep when station connect to ap.
|
||||
*/
|
||||
void esp_wifi_ps_unlock(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user