The API creates esp_netif object with default WiFi access point config, attaches the netif to wifi and registers wifi handlers to the default event loop. This API uses assert() to check for potential errors, so it could abort the program. (Note that the default event loop needs to be created prior to calling this API)
Examples
esp_netif_create_default_wifi_ap() is referenced by 8 libraries and example projects: