Function esp_idf_sys::esp_wifi_set_storage

source ยท
pub unsafe extern "C" fn esp_wifi_set_storage(
    storage: wifi_storage_t,
) -> esp_err_t
Expand description

@brief Set the WiFi API configuration storage type

@attention 1. The default value is WIFI_STORAGE_FLASH

@param storage : storage type

@return

  • ESP_OK: succeed
  • ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
  • ESP_ERR_INVALID_ARG: invalid argument