diff mbox series

[1/2] shared/util: Add CAS, HAS, TMAS and PBAS UUIDs

Message ID 20230127113504.134109-1-marcin.kraglak@telink-semi.com
State Superseded
Headers show
Series [1/2] shared/util: Add CAS, HAS, TMAS and PBAS UUIDs | expand

Commit Message

Marcin Kraglak Jan. 27, 2023, 11:35 a.m. UTC
Add UUIDs for: Common Audio service, Hearing Aid service,
TMAS service and Public Broadcast Announcement service.
---
 src/shared/util.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Comments

Luiz Augusto von Dentz Jan. 27, 2023, 8:11 p.m. UTC | #1
Hi Marcin,

On Fri, Jan 27, 2023 at 3:42 AM Marcin Kraglak
<marcin.kraglak@telink-semi.com> wrote:
>
> Add UUIDs for: Common Audio service, Hearing Aid service,
> TMAS service and Public Broadcast Announcement service.
> ---
>  src/shared/util.c | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/src/shared/util.c b/src/shared/util.c
> index 69abfba31..1ff9c56fc 100644
> --- a/src/shared/util.c
> +++ b/src/shared/util.c
> @@ -447,7 +447,11 @@ static const struct {
>         { 0x1850, "Published Audio Capabilities"                },
>         { 0x1851, "Basic Audio Announcement"                    },
>         { 0x1852, "Broadcast Audio Announcement"                },
> -       /* 0x1853 to 0x27ff undefined */
> +       { 0x1853, "Common Audio"                                },
> +       { 0x1854, "Hearing Aid"                                 },
> +       { 0x1855, "TMAS"                                        },

We don't use the abbreviation here, so it should be Telephony and Media Audio

> +       { 0x1856, "Public Broadcast Announcement"               },
> +       /* 0x1857 to 0x27ff undefined */
>         { 0x2800, "Primary Service"                             },
>         { 0x2801, "Secondary Service"                           },
>         { 0x2802, "Include"                                     },
> @@ -681,6 +685,7 @@ static const struct {
>         { 0x2b29, "Client Supported Features"                   },
>         { 0x2b2A, "Database Hash"                               },
>         { 0x2b3a, "Server Supported Features"                   },
> +       { 0x2b51, "TMAP Role"                                   },

Ditto.

>         { 0x2b77, "Audio Input State"                           },
>         { 0x2b78, "Gain Settings Attribute"                     },
>         { 0x2b79, "Audio Input Type"                            },
> @@ -751,6 +756,9 @@ static const struct {
>         { 0x2bcc, "Source Audio Locations"                      },
>         { 0x2bcd, "Available Audio Contexts"                    },
>         { 0x2bce, "Supported Audio Contexts"                    },
> +       { 0x2bda, "Hearing Aid Features"                        },
> +       { 0x2bdb, "Hearing Aid Preset Control Point"            },
> +       { 0x2bdc, "Active Preset Index"                         },
>         /* vendor defined */
>         { 0xfeff, "GN Netcom"                                   },
>         { 0xfefe, "GN ReSound A/S"                              },
> --
> 2.39.0
>
diff mbox series

Patch

diff --git a/src/shared/util.c b/src/shared/util.c
index 69abfba31..1ff9c56fc 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -447,7 +447,11 @@  static const struct {
 	{ 0x1850, "Published Audio Capabilities"		},
 	{ 0x1851, "Basic Audio Announcement"			},
 	{ 0x1852, "Broadcast Audio Announcement"		},
-	/* 0x1853 to 0x27ff undefined */
+	{ 0x1853, "Common Audio"				},
+	{ 0x1854, "Hearing Aid"					},
+	{ 0x1855, "TMAS"					},
+	{ 0x1856, "Public Broadcast Announcement"		},
+	/* 0x1857 to 0x27ff undefined */
 	{ 0x2800, "Primary Service"				},
 	{ 0x2801, "Secondary Service"				},
 	{ 0x2802, "Include"					},
@@ -681,6 +685,7 @@  static const struct {
 	{ 0x2b29, "Client Supported Features"			},
 	{ 0x2b2A, "Database Hash"				},
 	{ 0x2b3a, "Server Supported Features"			},
+	{ 0x2b51, "TMAP Role"					},
 	{ 0x2b77, "Audio Input State"				},
 	{ 0x2b78, "Gain Settings Attribute"			},
 	{ 0x2b79, "Audio Input Type"				},
@@ -751,6 +756,9 @@  static const struct {
 	{ 0x2bcc, "Source Audio Locations"			},
 	{ 0x2bcd, "Available Audio Contexts"			},
 	{ 0x2bce, "Supported Audio Contexts"			},
+	{ 0x2bda, "Hearing Aid Features"			},
+	{ 0x2bdb, "Hearing Aid Preset Control Point"		},
+	{ 0x2bdc, "Active Preset Index"				},
 	/* vendor defined */
 	{ 0xfeff, "GN Netcom"					},
 	{ 0xfefe, "GN ReSound A/S"				},