@@ -150,6 +150,9 @@ struct bt_voice {
#define BT_ISO_QOS_BIG_UNSET 0xff
#define BT_ISO_QOS_BIS_UNSET 0xff
+#define BT_ISO_QOS_GROUP_UNSET 0xff
+#define BT_ISO_QOS_STREAM_UNSET 0xff
+
struct bt_iso_io_qos {
uint32_t interval;
uint16_t latency;
@@ -186,6 +189,12 @@ struct bt_iso_bcast_qos {
uint16_t timeout;
};
+#define BASE_MAX_LENGTH 248 /* (HCI_MAX_PER_AD_LENGTH - EIR_SERVICE_DATA_LENGTH) */
+struct bt_iso_base {
+ uint8_t base_len;
+ uint8_t base[BASE_MAX_LENGTH];
+};
+
struct bt_iso_qos {
union {
struct bt_iso_ucast_qos ucast;
@@ -102,6 +102,8 @@ struct mgmt_rp_read_index_list {
#define MGMT_SETTING_WIDEBAND_SPEECH BIT(17)
#define MGMT_SETTING_CIS_CENTRAL BIT(18)
#define MGMT_SETTING_CIS_PERIPHERAL BIT(19)
+#define MGMT_SETTING_ISO_BROADCASTER BIT(20)
+#define MGMT_SETTING_ISO_SYNC_RECEIVER BIT(21)
#define MGMT_OP_READ_INFO 0x0004
struct mgmt_rp_read_info {
@@ -157,6 +157,9 @@ extern "C" {
#define PAC_SOURCE_UUID "00002bcb-0000-1000-8000-00805f9b34fb"
#define PAC_SOURCE_LOC_CHRC_UUID 0x2bcc
+#define BROADCAST_AUDIO_ANNOUNCEMENT_SERVICE 0x1852
+#define BROADCAST_AUDIO_ANNOUNCEMENT_SERVICE_UUID "00001852-0000-1000-8000-00805f9b34fb"
+
#define PAC_CONTEXT 0x2bcd
#define PAC_SUPPORTED_CONTEXT 0x2bce
From: Silviu Florian Barbulescu <silviu.barbulescu@nxp.com> This adds macro definitions for BAP broadcast source support. --- lib/bluetooth.h | 9 +++++++++ lib/mgmt.h | 2 ++ lib/uuid.h | 3 +++ 3 files changed, 14 insertions(+)