Kconfig.projbuild 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. depends on SOC_BLE_50_SUPPORTED
  47. default y if SOC_ESP_NIMBLE_CONTROLLER
  48. select BT_NIMBLE_EXT_ADV
  49. prompt "Enable Extended Adv"
  50. help
  51. Use this option to enable extended advertising in the example.
  52. If this option is disabled, ensure config BT_NIMBLE_EXT_ADV is
  53. also disabled from Nimble stack menuconfig
  54. config EXAMPLE_RANDOM_ADDR
  55. bool
  56. prompt "Advertise RANDOM Address"
  57. help
  58. Use this option to advertise a random address instead of public address
  59. config EXAMPLE_ENCRYPTION
  60. bool
  61. prompt "Enable Link Encryption"
  62. help
  63. This adds Encrypted Read and Write permissions in the custom GATT server.
  64. config EXAMPLE_RESOLVE_PEER_ADDR
  65. bool
  66. prompt "Enable resolving peer address"
  67. help
  68. Use this option to enable resolving peer's address.
  69. endmenu