Page 1 of 1

Netif with wifi in APSTA mode

Posted: Tue Jun 27, 2023 2:45 am
by ecktello
Hello all,

I'm configuring wifi to be in APSTA mode to run a webserver. One question I have is when I use esp_netif_init(), can I use esp_netif_create_default_wifi_sta() and esp_netif_create_default_wifi_ap() in sequence to have the netif interface automatically configured, or do I have to handle the netif configuration manually? If I have to do it manually, what would I need to configure?