esp_wifi_get_config() function
Get configuration of specified interface
Arguments
conf
station or soft-AP configuration
Return value
- ESP_OK: succeed - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init - ESP_ERR_INVALID_ARG: invalid argument - ESP_ERR_WIFI_IF: invalid interface
Examples
esp_wifi_get_config() is referenced by 5 libraries and example projects: