mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-18 10:31:09 +00:00
ESP-NETIF: easier creation for WiFi interfaces with custom parameters
Closes https://github.com/espressif/esp-idf/issues/4611 Closes IDFGH-2523
This commit is contained in:
@@ -81,6 +81,18 @@ esp_netif_t* esp_netif_create_default_wifi_ap(void);
|
||||
*/
|
||||
esp_netif_t* esp_netif_create_default_wifi_sta(void);
|
||||
|
||||
/**
|
||||
* @brief Creates esp_netif WiFi object based on the custom configuration.
|
||||
*
|
||||
* @attention This API DOES NOT register default handlers!
|
||||
*
|
||||
* @param[in] wifi_if type of wifi interface
|
||||
* @param[in] esp_netif_config inherent esp-netif configuration pointer
|
||||
*
|
||||
* @return pointer to esp-netif instance
|
||||
*/
|
||||
esp_netif_t* esp_netif_create_wifi(wifi_interface_t wifi_if, esp_netif_inherent_config_t *esp_netif_config);
|
||||
|
||||
/**
|
||||
* @brief Creates default STA and AP network interfaces for esp-mesh.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user