| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- 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 y
- 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_WAIT_FOR_IP
- bool "run DHCP and wait for IP"
- default y
- config EXAMPLE_CONNECT_TAPIF_IP_ADDR
- string "Static IP address"
- default "192.168.5.100"
- depends on EXAMPLE_CONNECT_IPV4 && !EXAMPLE_CONNECT_WAIT_FOR_IP
- help
- Set static IP address.
- config EXAMPLE_CONNECT_TAPIF_NETMASK
- string "Static netmask address"
- default "255.255.255.0"
- depends on EXAMPLE_CONNECT_IPV4 && !EXAMPLE_CONNECT_WAIT_FOR_IP
- help
- Set static netmask address.
- config EXAMPLE_CONNECT_TAPIF_GW
- string "Static gateway address"
- default "192.168.5.1"
- depends on EXAMPLE_CONNECT_IPV4 && !EXAMPLE_CONNECT_WAIT_FOR_IP
- 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
|