mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
menu "HID Example Configuration"
|
|
config EXAMPLE_SSP_ENABLED
|
|
bool "Secure Simple Pairing"
|
|
depends on BT_CLASSIC_ENABLED
|
|
default y
|
|
help
|
|
This enables the Secure Simple Pairing. If disable this option,
|
|
Bluedroid will only support Legacy Pairing
|
|
|
|
choice EXAMPLE_HID_DEVICE_ROLE
|
|
prompt "HID Device Role"
|
|
depends on BT_NIMBLE_ENABLED
|
|
default EXAMPLE_MEDIA_ENABLE
|
|
help
|
|
Three Supported Roles for Device
|
|
- Media Device
|
|
- Keyboard
|
|
- Mouse
|
|
|
|
config EXAMPLE_MEDIA_ENABLE
|
|
select BT_NIMBLE_HID_SERVICE
|
|
bool "Enable Media Device"
|
|
|
|
config EXAMPLE_KBD_ENABLE
|
|
select BT_NIMBLE_HID_SERVICE
|
|
bool "Enable Keyboard Device"
|
|
|
|
config EXAMPLE_MOUSE_ENABLE
|
|
select BT_NIMBLE_HID_SERVICE
|
|
bool "Enable Mouse Device"
|
|
endchoice
|
|
|
|
config EXAMPLE_HID_DEVICE_ROLE
|
|
int
|
|
default 1 if EXAMPLE_MEDIA_ENABLE
|
|
default 2 if EXAMPLE_KBD_ENABLE
|
|
default 3 if EXAMPLE_MOUSE_ENABLE
|
|
endmenu
|