Function esp_idf_svc::hal::sys::esp_wifi_force_wakeup_release

source ยท
pub unsafe extern "C" fn esp_wifi_force_wakeup_release() -> i32
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