diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-07-16 15:50:41 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-07-17 22:43:40 -0400 |
commit | 6701b7babc68cb8090a9d16105bd3876025aa0e8 (patch) | |
tree | 11ef4aeb7db0de9fb36b9913865bfedf5c59eaec /app/Kconfig | |
parent | 0321c490b5d0d087e76c06185a2940420cf7ab4c (diff) |
Working BT settings.
Diffstat (limited to 'app/Kconfig')
-rw-r--r-- | app/Kconfig | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/app/Kconfig b/app/Kconfig index 8ae10ad..c2a753f 100644 --- a/app/Kconfig +++ b/app/Kconfig @@ -40,6 +40,8 @@ menuconfig ZMK_BLE select BT_PERIPHERAL select BT_GATT_DIS select BT_GATT_BAS + select SETTINGS + select BT_SETTINGS if ZMK_BLE @@ -47,6 +49,9 @@ config ZMK_BLE_INIT_PRIORITY int "Init Priority" default 50 +config SYSTEM_WORKQUEUE_STACK_SIZE + default 2048 + # HID GATT notifications sent this way are *not* picked up by Linux, and possibly others. config BT_GATT_NOTIFY_MULTIPLE default n @@ -58,16 +63,6 @@ config ZMK_BLE_PASSKEY_ENTRY bool "Experimental: Requiring typing passkey from host to pair BLE connection" default n -# Incresed stack due to settings API usage -# CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 -# -# CONFIG_BT_SETTINGS=y -# CONFIG_FLASH=y -# CONFIG_FLASH_PAGE_LAYOUT=y -# CONFIG_FLASH_MAP=y -# CONFIG_NVS=y -# CONFIG_SETTINGS=y - endif endmenu @@ -97,6 +92,13 @@ config ZMK_SPLIT_BLE_ROLE_CENTRAL select BT_CENTRAL select BT_GATT_CLIENT +if ZMK_SPLIT_BLE_ROLE_CENTRAL + +config BT_MAX_CONN + default 2 + +endif + config ZMK_SPLIT_BLE_ROLE_PERIPHERAL bool "Peripheral" |