Function esp_idf_sys::esp_wifi_get_config
source ยท pub unsafe extern "C" fn esp_wifi_get_config(
interface: wifi_interface_t,
conf: *mut wifi_config_t,
) -> esp_err_t
Expand description
@brief Get configuration of specified interface
@param interface interface @param[out] conf station or soft-AP configuration
@return
- 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