Bluetooth: BAP: Modify unicast client callbacks to slist
Modify the BAP unicast client callback structure to be a linked list. The purpose of this is to have multiple listeners of the unicast client changes and notifications. This is needed for the CAP initiatior. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
9109cfe346
commit
e7e7386352
4 changed files with 239 additions and 130 deletions
|
@ -349,7 +349,7 @@ static void endpoint_cb(struct bt_conn *conn, enum bt_audio_dir dir, struct bt_b
|
|||
}
|
||||
}
|
||||
|
||||
static const struct bt_bap_unicast_client_cb unicast_client_cbs = {
|
||||
static struct bt_bap_unicast_client_cb unicast_client_cbs = {
|
||||
.discover = discover_cb,
|
||||
.pac_record = pac_record_cb,
|
||||
.endpoint = endpoint_cb,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue