Kconfig.projbuild 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. menu "Example Configuration"
  2. choice EXAMPLE_USE_IO_TYPE
  3. prompt "I/O Capability"
  4. default BLE_SM_IO_CAP_NO_IO
  5. help
  6. I/O capability of device.
  7. config BLE_SM_IO_CAP_DISP_ONLY
  8. bool "DISPLAY ONLY"
  9. config BLE_SM_IO_CAP_DISP_YES_NO
  10. bool "DISPLAY YESNO"
  11. config BLE_SM_IO_CAP_KEYBOARD_ONLY
  12. bool "KEYBOARD ONLY"
  13. config BLE_SM_IO_CAP_NO_IO
  14. bool "Just works"
  15. config BLE_SM_IO_CAP_KEYBOARD_DISP
  16. bool "Both KEYBOARD & DISPLAY"
  17. endchoice
  18. config EXAMPLE_IO_TYPE
  19. int
  20. default 0 if BLE_SM_IO_CAP_DISP_ONLY
  21. default 1 if BLE_SM_IO_CAP_DISP_YES_NO
  22. default 2 if BLE_SM_IO_CAP_KEYBOARD_ONLY
  23. default 3 if BLE_SM_IO_CAP_NO_IO
  24. default 4 if BLE_SM_IO_CAP_KEYBOARD_DISP
  25. config EXAMPLE_BONDING
  26. bool
  27. default n
  28. prompt "Use Bonding"
  29. help
  30. Use this option to enable/disable bonding.
  31. config EXAMPLE_MITM
  32. bool
  33. default n
  34. prompt "MITM security"
  35. help
  36. Use this option to enable/disable MITM security.
  37. config EXAMPLE_USE_SC
  38. bool
  39. depends on BT_NIMBLE_SM_SC
  40. default n
  41. prompt "Use Secure Connection feature"
  42. help
  43. Use this option to enable/disable Security Manager Secure Connection 4.2 feature.
  44. config EXAMPLE_EXTENDED_ADV
  45. bool
  46. default y if SOC_ESP_NIMBLE_CONTROLLER
  47. prompt "Enable Extended Adv"
  48. help
  49. Use this option to enable extended advertising in the example
  50. config EXAMPLE_RANDOM_ADDR
  51. bool
  52. prompt "Advertise RANDOM Address"
  53. help
  54. Use this option to advertise a random address instead of public address
  55. endmenu