Page 1 of 1

Switch between Wi-Fi AP and STA

Posted: Thu Jul 09, 2020 1:11 pm
by Aeronautic
Lastest api has added esp_netif_create_default_wifi_sta() and esp_netif_create_default_wifi_ap() functions.
I am wandering which should I call if I change STA to AP on run time (eg start with STA but when its un available, switch to AP, or start with AP and switch to STA if user set credentials)