Add ble connection interval support
Signed-off-by: Luigi311 <luigi311.lg@gmail.com>
This commit is contained in:
parent
486174fc41
commit
7443a917cb
1 changed files with 24 additions and 3 deletions
27
app/Kconfig
27
app/Kconfig
|
@ -142,6 +142,30 @@ config ZMK_BLE_PASSKEY_ENTRY
|
|||
bool "Experimental: Requiring typing passkey from host to pair BLE connection"
|
||||
default n
|
||||
|
||||
config BT_GAP_AUTO_UPDATE_CONN_PARAMS
|
||||
bool "Automatic Update of Connection Parameters"
|
||||
default y
|
||||
|
||||
config BT_GAP_PERIPHERAL_PREF_PARAMS
|
||||
bool "Configure peripheral preferred connection parameters"
|
||||
default y
|
||||
|
||||
config BT_PERIPHERAL_PREF_MIN_INT
|
||||
int "Peripheral preferred minimum connection interval in 1.25ms units"
|
||||
default 6
|
||||
|
||||
config BT_PERIPHERAL_PREF_MAX_INT
|
||||
int "Peripheral preferred maximum connection interval in 1.25ms units"
|
||||
default 12
|
||||
|
||||
config BT_PERIPHERAL_PREF_SLAVE_LATENCY
|
||||
int "Peripheral preferred slave latency in Connection Intervals"
|
||||
default 30
|
||||
|
||||
config BT_PERIPHERAL_PREF_TIMEOUT
|
||||
int "Peripheral preferred supervision timeout in 10ms units"
|
||||
default 400
|
||||
|
||||
#ZMK_BLE
|
||||
endif
|
||||
|
||||
|
@ -211,9 +235,6 @@ config BT_MAX_PAIRED
|
|||
config BT_MAX_CONN
|
||||
default 1
|
||||
|
||||
config BT_GAP_AUTO_UPDATE_CONN_PARAMS
|
||||
default n
|
||||
|
||||
#!ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue