Code: Select all
esp_netif_init();
esp_netif_obj * station = esp_netif_create_default_wifi_sta();
esp_netif_obj * ap = esp_netif_create_default_wifi_ap();
I expect something like that:
Code: Select all
esp_netif_obj * ap = esp_netif_get_default_wifi_ap();
esp_netif_obj * ap = esp_netif_get(TCPIP_ADAPTER_IF_STA);