esp-idf/examples/protocols/static_ip/main/Kconfig.projbuild

82 lines
2.5 KiB
Plaintext

menu "Example Configuration"
config EXAMPLE_WIFI_SSID
string "WiFi SSID"
default "myssid"
help
SSID (network name) for the example to connect to.
config EXAMPLE_WIFI_PASSWORD
string "WiFi Password"
default "mypassword"
help
WiFi password (WPA or WPA2) for the example to use.
config EXAMPLE_MAXIMUM_RETRY
int "Maximum retry"
default 5
help
Set the Maximum retry to avoid station reconnecting to the AP unlimited when the AP is really inexistent.
config EXAMPLE_STATIC_IP_ADDR
string "Static IP address"
default "192.168.4.2"
help
Set static IP address.
config EXAMPLE_STATIC_NETMASK_ADDR
string "Static netmask address"
default "255.255.255.0"
help
Set static netmask address.
config EXAMPLE_STATIC_GW_ADDR
string "Static gateway address"
default "192.168.4.1"
help
Set static gateway address.
choice EXAMPLE_STATIC_DNS_SERVER
prompt "Choose DNS server"
default EXAMPLE_STATIC_DNS_AUTO
help
Select auto to make gateway address as DNS server or manual to input your DNS server
config EXAMPLE_STATIC_DNS_AUTO
bool "Use gateway address as DNS server"
help
Set DNS server the same as gateway address
config EXAMPLE_STATIC_DNS_MANUAL
bool "Set manual value as DNS server"
help
Set DNS server with you want
endchoice
config EXAMPLE_STATIC_DNS_SERVER_MAIN
string "Main DNS server address"
default "192.168.4.1"
depends on EXAMPLE_STATIC_DNS_MANUAL
help
Set main DNS server address.
config EXAMPLE_STATIC_DNS_SERVER_BACKUP
string "Backup DNS server address"
default "192.168.4.1"
depends on EXAMPLE_STATIC_DNS_MANUAL
help
Set backup DNS server address. It can be same with the main DNS server address or leave empty.
config EXAMPLE_STATIC_DNS_RESOLVE_TEST
bool "Enable DNS resolve test"
default n
help
Enable it and configure EXAMPLE_STATIC_RESOLVE_DOMAIN to resolve DNS domain name
config EXAMPLE_STATIC_RESOLVE_DOMAIN
string "Domain name to resolve"
default "www.espressif.com"
depends on EXAMPLE_STATIC_DNS_RESOLVE_TEST
help
Set domain name for DNS test
endmenu