2023-08-29 04:49:49 -04:00
|
|
|
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
|
2023-07-31 06:02:07 -04:00
|
|
|
|
|
|
|
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
|
2023-08-29 04:49:49 -04:00
|
|
|
endmenu
|