2017-09-28 08:17:06 +00:00
|
|
|
menu "Example Configuration"
|
|
|
|
|
2019-05-09 14:43:06 +00:00
|
|
|
config EXAMPLE_WIFI_SSID
|
2019-01-25 16:10:53 +00:00
|
|
|
string "WiFi SSID"
|
|
|
|
default "myssid"
|
|
|
|
help
|
|
|
|
SSID (network name) for the example to connect to.
|
2017-09-28 08:17:06 +00:00
|
|
|
|
2019-05-09 14:43:06 +00:00
|
|
|
config EXAMPLE_WIFI_PASSWORD
|
2019-01-25 16:10:53 +00:00
|
|
|
string "WiFi Password"
|
|
|
|
default "mypassword"
|
|
|
|
help
|
|
|
|
WiFi password (WPA or WPA2) for the example to use.
|
2017-09-28 08:17:06 +00:00
|
|
|
|
2019-05-09 14:43:06 +00:00
|
|
|
choice EXAMPLE_SCAN_METHOD
|
2019-01-25 16:10:53 +00:00
|
|
|
prompt "scan method"
|
2019-05-09 14:43:06 +00:00
|
|
|
default EXAMPLE_WIFI_FAST_SCAN
|
2019-01-25 16:10:53 +00:00
|
|
|
help
|
|
|
|
scan method for the esp32 to use
|
2017-09-28 08:17:06 +00:00
|
|
|
|
2019-05-09 14:43:06 +00:00
|
|
|
config EXAMPLE_WIFI_FAST_SCAN
|
2019-01-25 16:10:53 +00:00
|
|
|
bool "fast"
|
2019-05-09 14:43:06 +00:00
|
|
|
config EXAMPLE_WIFI_ALL_CHANNEL_SCAN
|
2019-01-25 16:10:53 +00:00
|
|
|
bool "all"
|
|
|
|
endchoice
|
2017-09-28 08:17:06 +00:00
|
|
|
|
2019-05-09 14:43:06 +00:00
|
|
|
choice EXAMPLE_SORT_METHOD
|
2019-01-25 16:10:53 +00:00
|
|
|
prompt "sort method"
|
2019-05-09 14:43:06 +00:00
|
|
|
default EXAMPLE_WIFI_CONNECT_AP_BY_SIGNAL
|
2019-01-25 16:10:53 +00:00
|
|
|
help
|
|
|
|
sort method for the esp32 to use
|
2017-09-28 08:17:06 +00:00
|
|
|
|
2019-05-09 14:43:06 +00:00
|
|
|
config EXAMPLE_WIFI_CONNECT_AP_BY_SIGNAL
|
2019-01-25 16:10:53 +00:00
|
|
|
bool "rssi"
|
2019-05-09 14:43:06 +00:00
|
|
|
config EXAMPLE_WIFI_CONNECT_AP_BY_SECURITY
|
2019-01-25 16:10:53 +00:00
|
|
|
bool "authmode"
|
|
|
|
endchoice
|
2017-09-28 08:17:06 +00:00
|
|
|
|
2019-05-09 14:43:06 +00:00
|
|
|
config EXAMPLE_FAST_SCAN_THRESHOLD
|
2019-01-25 16:10:53 +00:00
|
|
|
bool "fast scan threshold"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
wifi fast scan threshold
|
2017-09-28 08:17:06 +00:00
|
|
|
|
2019-05-09 14:43:06 +00:00
|
|
|
config EXAMPLE_FAST_SCAN_MINIMUM_SIGNAL
|
2019-01-25 16:10:53 +00:00
|
|
|
int "fast scan minimum rssi"
|
2019-05-09 14:43:06 +00:00
|
|
|
depends on EXAMPLE_FAST_SCAN_THRESHOLD
|
2019-01-25 16:10:53 +00:00
|
|
|
range -127 0
|
|
|
|
default -127
|
|
|
|
help
|
|
|
|
rssi is use to measure the signal
|
2017-09-28 08:17:06 +00:00
|
|
|
|
2019-05-09 14:43:06 +00:00
|
|
|
choice EXAMPLE_FAST_SCAN_WEAKEST_AUTHMODE
|
2019-01-25 16:10:53 +00:00
|
|
|
prompt "fast scan weakest authmode"
|
2019-05-09 14:43:06 +00:00
|
|
|
depends on EXAMPLE_FAST_SCAN_THRESHOLD
|
|
|
|
default EXAMPLE_FAST_SCAN_WEAKEST_AUTHMODE_OPEN
|
2017-09-28 08:17:06 +00:00
|
|
|
|
2019-05-09 14:43:06 +00:00
|
|
|
config EXAMPLE_FAST_SCAN_WEAKEST_AUTHMODE_OPEN
|
2019-01-25 16:10:53 +00:00
|
|
|
bool "open"
|
2019-05-09 14:43:06 +00:00
|
|
|
config EXAMPLE_FAST_SCAN_WEAKEST_AUTHMODE_WEP
|
2019-01-25 16:10:53 +00:00
|
|
|
bool "wep"
|
2019-05-09 14:43:06 +00:00
|
|
|
config EXAMPLE_FAST_SCAN_WEAKEST_AUTHMODE_WPA
|
2019-01-25 16:10:53 +00:00
|
|
|
bool "wpa"
|
2019-05-09 14:43:06 +00:00
|
|
|
config EXAMPLE_FAST_SCAN_WEAKEST_AUTHMODE_WPA2
|
2019-01-25 16:10:53 +00:00
|
|
|
bool "wpa2"
|
|
|
|
endchoice
|
2017-09-28 08:17:06 +00:00
|
|
|
|
|
|
|
endmenu
|