diff mbox series

[BlueZ,1/2] lib: Add BASS UUIDs and auxiliary defines

Message ID 20230301134207.10924-2-iulia.tanasescu@nxp.com
State New
Headers show
Series Add initial BASS support | expand

Commit Message

Iulia Tanasescu March 1, 2023, 1:42 p.m. UTC
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(+)

Comments

Paul Menzel March 1, 2023, 4:01 p.m. UTC | #1
Dear Iulia,


Am 01.03.23 um 14:42 schrieb iulia-tanasescu:

Please spell your name like Iulia Tanasescu:

     git config --global user.name "Iulia Tanasescu"

> Added BASS and Audio Announcement UUIDs, added OCF for
> BIG Create Sync.

Please use imperative mood [1], and mention the source for the numbers.


Kind regards,

Paul


[1]: https://cbea.ms/git-commit/

> ---
>   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
> +
>   /* 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
diff mbox series

Patch

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