Function esp_idf_hal::sys::esp_wifi_force_wakeup_acquire

source ยท
pub unsafe extern "C" fn esp_wifi_force_wakeup_acquire() -> i32
Expand description

@brief Request extra reference of Wi-Fi radio. Wi-Fi keep active state(RF opened) to be able to receive packets.

@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