Kconfig.projbuild 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. menu "Example Configuration"
  2. config EXAMPLE_USE_SEC_1
  3. bool
  4. default y
  5. prompt "Use Security Version 1"
  6. help
  7. Security version 1 used Curve25519 key exchange for establishing
  8. secure session between device and client during provisioning
  9. config EXAMPLE_USE_POP
  10. bool
  11. depends on EXAMPLE_USE_SEC_1
  12. default y
  13. prompt "Use proof-of-possession"
  14. help
  15. Proof-of-possession can be optionally used to prove that the device is indeed
  16. in possession of the user who is provisioning the device. This proof-of-possession
  17. is internally used to generate the shared secret through key exchange.
  18. config EXAMPLE_POP
  19. string "Proof-of-possession"
  20. default "abcd1234"
  21. depends on EXAMPLE_USE_POP
  22. config EXAMPLE_RESET_PROVISIONED
  23. bool
  24. default n
  25. prompt "Reset provisioned status of the device"
  26. help
  27. This erases the NVS to reset provisioned status of the device on every reboot.
  28. Provisioned status is determined by the Wi-Fi STA configuration, saved on the NVS.
  29. config EXAMPLE_AP_RECONN_ATTEMPTS
  30. int "Maximum AP connection attempts"
  31. default 5
  32. help
  33. Set the maximum connection attempts to perform when connecting to a Wi-Fi AP.
  34. endmenu