OVMS3-idf/examples/wifi/scan/main/Kconfig.projbuild

69 lines
1.9 KiB
Plaintext
Raw Normal View History

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