Switch between Wi-Fi AP and STA

Aeronautic
Posts: 15
Joined: Thu Jan 02, 2020 12:07 am

Switch between Wi-Fi AP and STA

Postby Aeronautic » Thu Jul 09, 2020 1:11 pm

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)

Who is online

Users browsing this forum: No registered users and 234 guests