esp_wifi_set_storage() function
Set the WiFi API configuration storage type @attention 1. The default value is WIFI_STORAGE_FLASH
Return value
- ESP_OK: succeed - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init - ESP_ERR_INVALID_ARG: invalid argument
Examples
esp_wifi_set_storage() is referenced by 16 libraries and example projects: