mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
60 lines
1.9 KiB
Plaintext
60 lines
1.9 KiB
Plaintext
menu "Example Connection Configuration"
|
|
|
|
config EXAMPLE_CONNECT_LWIP_TAPIF
|
|
bool "connect using lwip to linux tap interface"
|
|
depends on IDF_TARGET_LINUX && ESP_NETIF_TCPIP_LWIP
|
|
default n
|
|
|
|
if EXAMPLE_CONNECT_LWIP_TAPIF
|
|
config EXAMPLE_CONNECT_IPV4
|
|
bool
|
|
depends on LWIP_IPV4
|
|
default y
|
|
|
|
config EXAMPLE_CONNECT_IPV6
|
|
bool "Obtain IPv6 address"
|
|
depends on LWIP_IPV6
|
|
default y
|
|
help
|
|
Set to true to setup link local address and wait until it's valid
|
|
|
|
config EXAMPLE_CONNECT_TAPIF_IP_ADDR
|
|
string "Static IP address"
|
|
default "192.168.5.100"
|
|
depends on EXAMPLE_CONNECT_IPV4
|
|
help
|
|
Set static IP address.
|
|
|
|
config EXAMPLE_CONNECT_TAPIF_NETMASK
|
|
string "Static netmask address"
|
|
default "255.255.255.0"
|
|
depends on EXAMPLE_CONNECT_IPV4
|
|
help
|
|
Set static netmask address.
|
|
|
|
config EXAMPLE_CONNECT_TAPIF_GW
|
|
string "Static gateway address"
|
|
default "192.168.5.1"
|
|
depends on EXAMPLE_CONNECT_IPV4
|
|
help
|
|
Set static gateway address.
|
|
|
|
config EXAMPLE_CONNECT_TAPIF_OUT_LOSS
|
|
int "Percentage of packets to be dropped on transmission"
|
|
default 0
|
|
range 0 100
|
|
help
|
|
Set non-zero number simulate packet loss when sending data.
|
|
Number represents probability between 0 and 100%
|
|
|
|
config EXAMPLE_CONNECT_TAPIF_IN_LOSS
|
|
int "Percentage of packets to be dropped on reception"
|
|
default 0
|
|
range 0 100
|
|
help
|
|
Set non-zero number simulate packet loss when receiving data.
|
|
Number represents probability between 0 and 100%
|
|
endif
|
|
|
|
endmenu
|