Function esp_idf_svc::sys::esp_netif_create_default_wifi_nan

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

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

@note The API creates esp_netif object with default WiFi station config, attaches the netif to wifi and registers wifi handlers to the default event loop. (Note that the default event loop needs to be created prior to calling this API)

@return pointer to esp-netif instance