Function esp_idf_sys::esp_netif_create_default_wifi_ap

source ยท
pub unsafe extern "C" fn esp_netif_create_default_wifi_ap() -> *mut esp_netif_t
Expand description

@brief Creates default WIFI AP. In case of any init error this API aborts.

@note 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)

@return pointer to esp-netif instance