Skip to content

Commit

Permalink
bap: Parse BIG handle at endpoint config
Browse files Browse the repository at this point in the history
This adds support to parse the "BIG" key in bcast qos parser, at
endpoint configuration.
  • Loading branch information
iulia-tanasescu authored and Vudentz committed Jan 30, 2024
1 parent e98bbe3 commit 2aecc09
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion profiles/audio/bap.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2022 Intel Corporation. All rights reserved.
* Copyright 2023 NXP
* Copyright 2023-2024 NXP
*
*
*/
Expand Down Expand Up @@ -610,6 +610,11 @@ static int setup_parse_bcast_qos(struct bap_setup *setup, const char *key,
return -EINVAL;

dbus_message_iter_get_basic(iter, &qos->bcast.encryption);
} else if (!strcasecmp(key, "BIG")) {
if (var != DBUS_TYPE_BYTE)
return -EINVAL;

dbus_message_iter_get_basic(iter, &qos->bcast.big);
} else if (!strcasecmp(key, "Options")) {
if (var != DBUS_TYPE_BYTE)
return -EINVAL;
Expand Down

0 comments on commit 2aecc09

Please sign in to comment.