Select one of the symbols to view example projects that use it.
 
Outline
#include "esp_netif.h"
_g_esp_netif_inherent_sta_config
_g_esp_netif_soft_ap_ip
_g_esp_netif_inherent_ap_config
_g_esp_netif_inherent_eth_config
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/esp_netif/esp_netif_defaults.c
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2015-2023 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #include "esp_netif.h" // // Purpose of this module is to provide // - general esp-netif definitions of default objects for STA, AP, ETH // - default init / create functions for basic default interfaces // // // Default configuration of common interfaces, such as STA, AP, ETH // const esp_netif_inherent_config_t _g_esp_netif_inherent_sta_config = ESP_NETIF_INHERENT_DEFAULT_WIFI_STA(); #ifdef CONFIG_ESP_WIFI_SOFTAP_SUPPORT const esp_netif_ip_info_t _g_esp_netif_soft_ap_ip = { .ip = { .addr = ESP_IP4TOADDR( 192, 168, 4, 1) }, .gw = { .addr = ESP_IP4TOADDR( 192, 168, 4, 1) }, .netmask = { .addr = ESP_IP4TOADDR( 255, 255, 255, 0) }, }{...}; const esp_netif_inherent_config_t _g_esp_netif_inherent_ap_config = ESP_NETIF_INHERENT_DEFAULT_WIFI_AP();/* ... */ #endif #ifdef CONFIG_ESP_WIFI_NAN_ENABLE const esp_netif_inherent_config_t _g_esp_netif_inherent_nan_config = ESP_NETIF_INHERENT_DEFAULT_WIFI_NAN(); #endif const esp_netif_inherent_config_t _g_esp_netif_inherent_eth_config = ESP_NETIF_INHERENT_DEFAULT_ETH(); #ifdef CONFIG_PPP_SUPPORT const esp_netif_inherent_config_t _g_esp_netif_inherent_ppp_config = ESP_NETIF_INHERENT_DEFAULT_PPP(); #endif
Details