Function esp_idf_svc::sys::esp_wifi_set_storage
source ยท pub unsafe extern "C" fn esp_wifi_set_storage(storage: u32) -> i32
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