Function esp_idf_hal::sys::esp_wifi_deinit_internal

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

@brief Deinitialize Wi-Fi Driver Free resource for WiFi driver, such as WiFi control structure, RX/TX buffer, WiFi NVS structure among others.

For the most part, you need not call this function directly. It gets called from esp_wifi_deinit().

This function may be called, if you call esp_wifi_init_internal to initialize WiFi driver.

@return

  • ESP_OK: succeed
  • others: refer to error code esp_err.h