shared/bass: Add Write Without Response property to the CP characteristic
authorIulia Tanasescu <iulia.tanasescu@nxp.com>
Mon, 29 May 2023 08:46:49 +0000 (11:46 +0300)
committerAyush 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

index fd4f28ac577f7ebc5e21e1160434c379c9984a4b..8906ca1efb059f8aee37b8cf1c8998fdbc3aab2e 100644 (file)
@@ -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);