projects
/
platform
/
upstream
/
bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c277ff8
)
shared/bass: Add Write Without Response property to the CP characteristic
author
Iulia Tanasescu
<iulia.tanasescu@nxp.com>
Mon, 29 May 2023 08:46:49 +0000
(11:46 +0300)
committer
Ayush Garg
<ayush.garg@samsung.com>
Fri, 5 Jan 2024 13:34:03 +0000
(19:04 +0530)
This adds the Write Without Response property to the Broadcast Audio
Scan Control Point characteristic, which is mandatory according to
specification.
src/shared/bass.c
patch
|
blob
|
history
diff --git
a/src/shared/bass.c
b/src/shared/bass.c
index fd4f28ac577f7ebc5e21e1160434c379c9984a4b..8906ca1efb059f8aee37b8cf1c8998fdbc3aab2e 100644
(file)
--- a/
src/shared/bass.c
+++ b/
src/shared/bass.c
@@
-567,7
+567,8
@@
static void bass_new(struct bt_bass_db *bdb)
gatt_db_service_add_characteristic(bdb->service,
&uuid,
BT_ATT_PERM_WRITE,
- BT_GATT_CHRC_PROP_WRITE,
+ BT_GATT_CHRC_PROP_WRITE |
+ BT_GATT_CHRC_PROP_WRITE_WITHOUT_RESP,
NULL, bass_bcast_audio_scan_cp_write,
bdb);