About esp-idf wifi config
Posted: Wed Dec 08, 2021 1:58 pm
In the wifi softap example, I saw this code:
https://docs.espressif.com/projects/esp ... i_config_t,
the function esp_err_tesp_wifi_set_config "creates esp_netif object with default WiFi access point config, attaches the netif to wifi and registers default wifi handlers." The question is: if this api creates the netif with the default config, when it is called, is it neccesary to call the next two lines?
according to the esp-idf documentation the function esp_err_tesp_wifi_set_config "creates esp_netif object with default WiFi access point config, attaches the netif to wifi and registers default wifi handlers." The question is: if this api creates the netif with the default config, when it is called, is it neccesary to call the next two lines?