mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-19 20:45:18 -05:00
feat(bt): Add new experimental Kconfig setting.
* In order to have an easy way to test and phase in BT changes, add a new `ZMK_BLE_EXPERIMENTAL_FEATURES` Kconfig setting.
This commit is contained in:
committed by
Pete Johanson
parent
17a6f0b128
commit
0ab6a0ad11
20
app/Kconfig
20
app/Kconfig
@@ -142,6 +142,21 @@ menuconfig ZMK_BLE
|
||||
|
||||
if ZMK_BLE
|
||||
|
||||
config ZMK_BLE_EXPERIMENTAL_FEATURES
|
||||
bool "Experimental: Enable experimental/advanced BLE settings/features"
|
||||
select ZMK_BLE_PASSKEY_ENTRY
|
||||
select BT_GATT_AUTO_SEC_REQ
|
||||
select BT_SMP_ALLOW_UNAUTH_OVERWRITE
|
||||
help
|
||||
Enables a combination of settings that are planned to be default in future versions of ZMK.
|
||||
This includes changes to timing on BLE pairing initation, BT Secure Connection passkey entry,
|
||||
and allowing overwrite of keys from previously paired hosts.
|
||||
|
||||
config ZMK_BLE_PASSKEY_ENTRY
|
||||
bool "Require passkey entry on the keyboard to complete pairing"
|
||||
default n
|
||||
select RING_BUFFER
|
||||
|
||||
# BT_TINYCRYPT_ECC is required for BT_SMP_SC_PAIR_ONLY when using HCI
|
||||
config BT_TINYCRYPT_ECC
|
||||
default y if BT_HCI && !BT_CTLR
|
||||
@@ -189,11 +204,6 @@ config BT_GATT_AUTO_SEC_REQ
|
||||
config BT_DEVICE_APPEARANCE
|
||||
default 961
|
||||
|
||||
config ZMK_BLE_PASSKEY_ENTRY
|
||||
bool "Require passkey entry on the keyboard to complete pairing"
|
||||
default n
|
||||
select RING_BUFFER
|
||||
|
||||
config BT_PERIPHERAL_PREF_MIN_INT
|
||||
default 6
|
||||
|
||||
|
||||
Reference in New Issue
Block a user