Function esp_idf_sys::esp_wifi_force_wakeup_release

source ยท
pub unsafe extern "C" fn esp_wifi_force_wakeup_release() -> esp_err_t
Expand description

@brief Release extra reference of Wi-Fi radio. Wi-Fi go to sleep state(RF closed) if no more use of radio.

@attention Please pair the use of esp_wifi_force_wakeup_acquire with esp_wifi_force_wakeup_release.

@return

  • ESP_OK: succeed
  • ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
  • ESP_ERR_WIFI_NOT_STARTED: WiFi is not started by esp_wifi_start