68 lines
1.6 KiB
Text
68 lines
1.6 KiB
Text
menu "Example Configuration"
|
|
|
|
config WIFI_SSID
|
|
string "WiFi SSID"
|
|
default "myssid"
|
|
help
|
|
SSID (network name) for the example to connect to.
|
|
|
|
config WIFI_PASSWORD
|
|
string "WiFi Password"
|
|
default "mypassword"
|
|
help
|
|
WiFi password (WPA or WPA2) for the example to use.
|
|
|
|
choice SCAN_METHOD
|
|
prompt "scan method"
|
|
default WIFI_FAST_SCAN
|
|
help
|
|
scan method for the esp32 to use
|
|
|
|
config WIFI_FAST_SCAN
|
|
bool "fast"
|
|
config WIFI_ALL_CHANNEL_SCAN
|
|
bool "all"
|
|
endchoice
|
|
|
|
choice SORT_METHOD
|
|
prompt "sort method"
|
|
default WIFI_CONNECT_AP_BY_SIGNAL
|
|
help
|
|
sort method for the esp32 to use
|
|
|
|
config WIFI_CONNECT_AP_BY_SIGNAL
|
|
bool "rssi"
|
|
config WIFI_CONNECT_AP_BY_SECURITY
|
|
bool "authmode"
|
|
endchoice
|
|
|
|
config FAST_SCAN_THRESHOLD
|
|
bool "fast scan threshold"
|
|
default y
|
|
help
|
|
wifi fast scan threshold
|
|
|
|
config FAST_SCAN_MINIMUM_SIGNAL
|
|
int "fast scan minimum rssi"
|
|
depends on FAST_SCAN_THRESHOLD
|
|
range -127 0
|
|
default -127
|
|
help
|
|
rssi is use to measure the signal
|
|
|
|
choice FAST_SCAN_WEAKEST_AUTHMODE
|
|
prompt "fast scan weakest authmode"
|
|
depends on FAST_SCAN_THRESHOLD
|
|
default EXAMPLE_OPEN
|
|
|
|
config EXAMPLE_OPEN
|
|
bool "open"
|
|
config EXAMPLE_WEP
|
|
bool "wep"
|
|
config EXAMPLE_WPA
|
|
bool "wpa"
|
|
config EXAMPLE_WPA2
|
|
bool "wpa2"
|
|
endchoice
|
|
|
|
endmenu
|