summaryrefslogtreecommitdiff
path: root/app/Kconfig
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-12-03 16:04:48 -0500
committerPete Johanson <peter@peterjohanson.com>2021-01-15 13:50:36 -0500
commita5c39dfa76eeebd09568ce959cd3dd088498ad3f (patch)
treef153f6571dbeacfb48f2344fec48cb0b7ebcfa71 /app/Kconfig
parent4aa78a6f8d2742e1407f78c50a0cf93e194447a4 (diff)
fix(ble): Perform GATT notifies from dedicated queue.
* Zephyr BT stack frees TX buffers from system workqueue, and to avoid blocking waiting to allocate, perform notify from a dedicated queue.
Diffstat (limited to 'app/Kconfig')
-rw-r--r--app/Kconfig18
1 files changed, 17 insertions, 1 deletions
diff --git a/app/Kconfig b/app/Kconfig
index 65abf7a..7602b9b 100644
--- a/app/Kconfig
+++ b/app/Kconfig
@@ -41,7 +41,7 @@ config USB_NUMOF_EP_WRITE_RETRIES
#ZMK_USB
endif
-config ZMK_BLE
+menuconfig ZMK_BLE
bool "BLE (HID over GATT)"
select BT
select BT_SMP
@@ -58,6 +58,22 @@ if ZMK_BLE
config SYSTEM_WORKQUEUE_STACK_SIZE
default 2048
+config ZMK_BLE_THREAD_STACK_SIZE
+ int "BLE notify thread stack size"
+ default 512
+
+config ZMK_BLE_THREAD_PRIORITY
+ int "BLE notify thread priority"
+ default 5
+
+config ZMK_BLE_KEYBOARD_REPORT_QUEUE_SIZE
+ int "Max number of keyboard HID reports to queue for sending over BLE"
+ default 20
+
+config ZMK_BLE_CONSUMER_REPORT_QUEUE_SIZE
+ int "Max number of consumer HID reports to queue for sending over BLE"
+ default 5
+
config ZMK_BLE_CLEAR_BONDS_ON_START
bool "Configuration that clears all bond information from the keyboard on startup."
default n