2017-09-28 04:17:06 -04:00
|
|
|
menu "Example Configuration"
|
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
config WIFI_SSID
|
|
|
|
string "WiFi SSID"
|
|
|
|
default "myssid"
|
|
|
|
help
|
|
|
|
SSID (network name) for the example to connect to.
|
2017-09-28 04:17:06 -04:00
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
config WIFI_PASSWORD
|
|
|
|
string "WiFi Password"
|
|
|
|
default "mypassword"
|
|
|
|
help
|
|
|
|
WiFi password (WPA or WPA2) for the example to use.
|
2017-09-28 04:17:06 -04:00
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
choice SCAN_METHOD
|
|
|
|
prompt "scan method"
|
|
|
|
default WIFI_FAST_SCAN
|
|
|
|
help
|
|
|
|
scan method for the esp32 to use
|
2017-09-28 04:17:06 -04:00
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
config WIFI_FAST_SCAN
|
|
|
|
bool "fast"
|
|
|
|
config WIFI_ALL_CHANNEL_SCAN
|
|
|
|
bool "all"
|
|
|
|
endchoice
|
2017-09-28 04:17:06 -04:00
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
choice SORT_METHOD
|
|
|
|
prompt "sort method"
|
|
|
|
default WIFI_CONNECT_AP_BY_SIGNAL
|
|
|
|
help
|
|
|
|
sort method for the esp32 to use
|
2017-09-28 04:17:06 -04:00
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
config WIFI_CONNECT_AP_BY_SIGNAL
|
|
|
|
bool "rssi"
|
|
|
|
config WIFI_CONNECT_AP_BY_SECURITY
|
|
|
|
bool "authmode"
|
|
|
|
endchoice
|
2017-09-28 04:17:06 -04:00
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
config FAST_SCAN_THRESHOLD
|
|
|
|
bool "fast scan threshold"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
wifi fast scan threshold
|
2017-09-28 04:17:06 -04:00
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
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
|
2017-09-28 04:17:06 -04:00
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
choice FAST_SCAN_WEAKEST_AUTHMODE
|
|
|
|
prompt "fast scan weakest authmode"
|
|
|
|
depends on FAST_SCAN_THRESHOLD
|
|
|
|
default EXAMPLE_OPEN
|
2017-09-28 04:17:06 -04:00
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
config EXAMPLE_OPEN
|
|
|
|
bool "open"
|
|
|
|
config EXAMPLE_WEP
|
|
|
|
bool "wep"
|
|
|
|
config EXAMPLE_WPA
|
|
|
|
bool "wpa"
|
|
|
|
config EXAMPLE_WPA2
|
|
|
|
bool "wpa2"
|
|
|
|
endchoice
|
2017-09-28 04:17:06 -04:00
|
|
|
|
|
|
|
endmenu
|