Skip to content

Commit 1f26899

Browse files
Thalleykartben
authored andcommitted
Bluetooth: TBS: Ensure sending notifications
The existing implemented only attempted to send all notifications, but if host was out of ATT TX buffers the notifications would fail and the client may miss out on important information, and would be a spec violation. This commit refactors notificatios in TBS so that they are always sent. Signed-off-by: Emil Gydesen <[email protected]>
1 parent b72deba commit 1f26899

File tree

4 files changed

+802
-119
lines changed

4 files changed

+802
-119
lines changed

subsys/bluetooth/audio/Kconfig.tbs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@ config BT_TBS_MAX_SCHEME_LIST_LENGTH
5252
help
5353
Sets the maximum length of the URI scheme list.
5454

55+
config BT_TBS_LOCK_TIMEOUT
56+
int "Milliseconds of timeout when handling concurrent operations"
57+
range 0 1000
58+
default 10
59+
help
60+
The number of milliseconds that the TBS implementation will maximum wait before rejecting
61+
an write request if another is already in progress in another thread.
62+
5563
endif # BT_TBS
5664

5765

0 commit comments

Comments
 (0)