Kconfig.projbuild 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. menu "Example Configuration"
  2. config WIFI_SSID
  3. string "WiFi SSID"
  4. default "myssid"
  5. help
  6. SSID (network name) for the example to connect to.
  7. config WIFI_PASSWORD
  8. string "WiFi Password"
  9. default "mypassword"
  10. help
  11. WiFi password (WPA or WPA2) for the example to use.
  12. choice SCAN_METHOD
  13. prompt "scan method"
  14. default WIFI_FAST_SCAN
  15. help
  16. scan method for the esp32 to use
  17. config WIFI_FAST_SCAN
  18. bool "fast"
  19. config WIFI_ALL_CHANNEL_SCAN
  20. bool "all"
  21. endchoice
  22. choice SORT_METHOD
  23. prompt "sort method"
  24. default WIFI_CONNECT_AP_BY_SIGNAL
  25. help
  26. sort method for the esp32 to use
  27. config WIFI_CONNECT_AP_BY_SIGNAL
  28. bool "rssi"
  29. config WIFI_CONNECT_AP_BY_SECURITY
  30. bool "authmode"
  31. endchoice
  32. config FAST_SCAN_THRESHOLD
  33. bool "fast scan threshold"
  34. default y
  35. help
  36. wifi fast scan threshold
  37. config FAST_SCAN_MINIMUM_SIGNAL
  38. int "fast scan minimum rssi"
  39. depends on FAST_SCAN_THRESHOLD
  40. range -127 0
  41. default -127
  42. help
  43. rssi is use to measure the signal
  44. choice FAST_SCAN_WEAKEST_AUTHMODE
  45. prompt "fast scan weakest authmode"
  46. depends on FAST_SCAN_THRESHOLD
  47. default EXAMPLE_OPEN
  48. config EXAMPLE_OPEN
  49. bool "open"
  50. config EXAMPLE_WEP
  51. bool "wep"
  52. config EXAMPLE_WPA
  53. bool "wpa"
  54. config EXAMPLE_WPA2
  55. bool "wpa2"
  56. endchoice
  57. endmenu