Message ID | 20230301153322.12555-2-iulia.tanasescu@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add initial BASS support | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
This is an automated email and please do not reply to this email. Dear Submitter, Thank you for submitting the patches to the linux bluetooth mailing list. While preparing the CI tests, the patches you submitted couldn't be applied to the current HEAD of the repository. ----- Output ----- error: patch failed: src/shared/bap.c:108 error: src/shared/bap.c: patch does not apply hint: Use 'git am --show-current-patch' to see the failed patch Please resolve the issue and submit the patches again. --- Regards, Linux Bluetooth
Hi Iulia, On Wed, Mar 1, 2023 at 7:41 AM iulia-tanasescu <iulia.tanasescu@nxp.com> wrote: > > Added BASS and Audio Announcement UUIDs, added OCF for > BIG Create Sync. > > --- > lib/hci.h | 2 ++ > lib/uuid.h | 7 +++++++ > 2 files changed, 9 insertions(+) > > diff --git a/lib/hci.h b/lib/hci.h > index 50f385c1e..d01e6f8ee 100644 > --- a/lib/hci.h > +++ b/lib/hci.h > @@ -1731,6 +1731,8 @@ typedef struct { > } __attribute__ ((packed)) le_set_address_resolution_enable_cp; > #define LE_SET_ADDRESS_RESOLUTION_ENABLE_CP_SIZE 1 > > +#define OCF_LE_BIG_CREATE_SYNC 0x006B We shouldn't be generating HCI commands directly from userspace, instead we use the so called ISO socket with address set to 00:00:00:00:00:00, see isotest for a reference: https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/tools/isotest.rst#n180 https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/tools/isotest.c#n379 > /* Vendor specific commands */ > #define OGF_VENDOR_CMD 0x3f > > diff --git a/lib/uuid.h b/lib/uuid.h > index 84ff46cd8..a6bbc3770 100644 > --- a/lib/uuid.h > +++ b/lib/uuid.h > @@ -164,6 +164,13 @@ extern "C" { > #define ASE_SOURCE_UUID 0x2bc5 > #define ASE_CP_UUID 0x2bc6 > > +#define BASS_UUID 0x184f > +#define BCST_AUDIO_SCAN_CP_UUID 0x2bc7 > +#define BCST_RECV_STATE_UUID 0x2bc8 It is probably a good idea to start with adding support to decode these on btmon: https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/monitor/att.c#n2475 > + > +#define BCST_AUDIO_ANNOUNCEMENT_SERVICE_UUID 0x1852 > +#define BASIC_AUDIO_ANNOUNCEMENT_SERVICE_UUID 0x1851 > + > #define VCS_UUID 0x1844 > #define VOL_OFFSET_CS_UUID 0x1845 > #define AUDIO_INPUT_CS_UUID 0x1843 > -- > 2.34.1
diff --git a/lib/hci.h b/lib/hci.h index 50f385c1e..d01e6f8ee 100644 --- a/lib/hci.h +++ b/lib/hci.h @@ -1731,6 +1731,8 @@ typedef struct { } __attribute__ ((packed)) le_set_address_resolution_enable_cp; #define LE_SET_ADDRESS_RESOLUTION_ENABLE_CP_SIZE 1 +#define OCF_LE_BIG_CREATE_SYNC 0x006B + /* Vendor specific commands */ #define OGF_VENDOR_CMD 0x3f diff --git a/lib/uuid.h b/lib/uuid.h index 84ff46cd8..a6bbc3770 100644 --- a/lib/uuid.h +++ b/lib/uuid.h @@ -164,6 +164,13 @@ extern "C" { #define ASE_SOURCE_UUID 0x2bc5 #define ASE_CP_UUID 0x2bc6 +#define BASS_UUID 0x184f +#define BCST_AUDIO_SCAN_CP_UUID 0x2bc7 +#define BCST_RECV_STATE_UUID 0x2bc8 + +#define BCST_AUDIO_ANNOUNCEMENT_SERVICE_UUID 0x1852 +#define BASIC_AUDIO_ANNOUNCEMENT_SERVICE_UUID 0x1851 + #define VCS_UUID 0x1844 #define VOL_OFFSET_CS_UUID 0x1845 #define AUDIO_INPUT_CS_UUID 0x1843