Bluetooth: CAP: Add reference to the set member for CAP discover

Since the CSIP API expects a set member struct for nearly all
functionality, the reference to the full set member (along with
the CAS specific CSIS) should be given to the application.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2024-05-15 14:08:48 +02:00 committed by Johan Hedberg
commit f58ac3476f
17 changed files with 59 additions and 15 deletions

View file

@ -98,6 +98,7 @@ static struct bt_bap_lc3_preset unicast_preset_48_2_1 =
BT_AUDIO_CONTEXT_TYPE_MEDIA);
static void cap_discovery_complete_cb(struct bt_conn *conn, int err,
const struct bt_csip_set_coordinator_set_member *member,
const struct bt_csip_set_coordinator_csis_inst *csis_inst)
{
if (err != 0) {