2019-06-24 21:03:58 -04:00
|
|
|
menu "Example Configuration"
|
|
|
|
|
|
|
|
choice EXAMPLE_USE_IO_TYPE
|
|
|
|
prompt "I/O Capability"
|
|
|
|
default BLE_SM_IO_CAP_NO_IO
|
|
|
|
help
|
|
|
|
I/O capability of device.
|
|
|
|
|
|
|
|
config BLE_SM_IO_CAP_DISP_ONLY
|
|
|
|
bool "DISPLAY ONLY"
|
|
|
|
config BLE_SM_IO_CAP_DISP_YES_NO
|
|
|
|
bool "DISPLAY YESNO"
|
|
|
|
config BLE_SM_IO_CAP_KEYBOARD_ONLY
|
|
|
|
bool "KEYBOARD ONLY"
|
|
|
|
config BLE_SM_IO_CAP_NO_IO
|
|
|
|
bool "Just works"
|
|
|
|
config BLE_SM_IO_CAP_KEYBOARD_DISP
|
|
|
|
bool "Both KEYBOARD & DISPLAY"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config EXAMPLE_IO_TYPE
|
|
|
|
int
|
|
|
|
default 0 if BLE_SM_IO_CAP_DISP_ONLY
|
|
|
|
default 1 if BLE_SM_IO_CAP_DISP_YES_NO
|
|
|
|
default 2 if BLE_SM_IO_CAP_KEYBOARD_ONLY
|
|
|
|
default 3 if BLE_SM_IO_CAP_NO_IO
|
|
|
|
default 4 if BLE_SM_IO_CAP_KEYBOARD_DISP
|
|
|
|
|
|
|
|
config EXAMPLE_BONDING
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
prompt "Use Bonding"
|
|
|
|
help
|
|
|
|
Use this option to enable/disable bonding.
|
|
|
|
|
|
|
|
config EXAMPLE_MITM
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
prompt "MITM security"
|
|
|
|
help
|
|
|
|
Use this option to enable/disable MITM security.
|
|
|
|
|
|
|
|
config EXAMPLE_USE_SC
|
|
|
|
bool
|
|
|
|
depends on BT_NIMBLE_SM_SC
|
|
|
|
default n
|
|
|
|
prompt "Use Secure Connection feature"
|
|
|
|
help
|
|
|
|
Use this option to enable/disable Security Manager Secure Connection 4.2 feature.
|
|
|
|
|
2021-12-06 04:38:11 -05:00
|
|
|
config EXAMPLE_EXTENDED_ADV
|
|
|
|
bool
|
2023-02-16 09:26:41 -05:00
|
|
|
depends on SOC_BLE_50_SUPPORTED
|
2021-12-06 04:38:11 -05:00
|
|
|
default y if SOC_ESP_NIMBLE_CONTROLLER
|
2023-02-16 09:26:41 -05:00
|
|
|
select BT_NIMBLE_EXT_ADV
|
2021-12-06 04:38:11 -05:00
|
|
|
prompt "Enable Extended Adv"
|
|
|
|
help
|
|
|
|
Use this option to enable extended advertising in the example
|
|
|
|
|
2022-07-06 00:36:32 -04:00
|
|
|
config EXAMPLE_RANDOM_ADDR
|
|
|
|
bool
|
|
|
|
prompt "Advertise RANDOM Address"
|
|
|
|
help
|
|
|
|
Use this option to advertise a random address instead of public address
|
2022-11-02 09:04:47 -04:00
|
|
|
|
|
|
|
config EXAMPLE_ENCRYPTION
|
|
|
|
bool
|
|
|
|
prompt "Enable Link Encryption"
|
|
|
|
help
|
|
|
|
This adds Encrypted Read and Write permissions in the custom GATT server.
|
2023-03-20 06:50:09 -04:00
|
|
|
|
|
|
|
config EXAMPLE_RESOLVE_PEER_ADDR
|
|
|
|
bool
|
|
|
|
prompt "Enable resolving peer address"
|
|
|
|
help
|
|
|
|
Use this option to enable resolving peer's address.
|
|
|
|
|
2019-06-24 21:03:58 -04:00
|
|
|
endmenu
|