Function esp_idf_hal::sys::esp_wifi_restore

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

@brief Restore WiFi stack persistent settings to default values

This function will reset settings made using the following APIs:

  • esp_wifi_set_bandwidth,
  • esp_wifi_set_protocol,
  • esp_wifi_set_config related
  • esp_wifi_set_mode

@return

  • ESP_OK: succeed
  • ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init