diff mbox series

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

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

Checks

Context Check Description
tedd_an/pre-ci_am success Success
tedd_an/CheckPatch success CheckPatch PASS
tedd_an/GitLint success Gitlint PASS
tedd_an/BuildEll success Build ELL PASS
tedd_an/BluezMake success Bluez Make PASS
tedd_an/MakeCheck success Bluez Make Check PASS
tedd_an/MakeDistcheck success Make Distcheck PASS
tedd_an/CheckValgrind success Check Valgrind PASS
tedd_an/CheckSmatch success CheckSparse PASS
tedd_an/bluezmakeextell success Make External ELL PASS
tedd_an/IncrementalBuild success Incremental Build PASS
tedd_an/ScanBuild success Scan Build PASS

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

bluez.test.bot@gmail.com Jan. 27, 2023, 1:29 p.m. UTC | #1
This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=716204

---Test result---

Test Summary:
CheckPatch                    PASS      0.86 seconds
GitLint                       PASS      0.47 seconds
BuildEll                      PASS      27.10 seconds
BluezMake                     PASS      744.08 seconds
MakeCheck                     PASS      11.42 seconds
MakeDistcheck                 PASS      146.04 seconds
CheckValgrind                 PASS      237.78 seconds
CheckSmatch                   PASS      316.33 seconds
bluezmakeextell               PASS      95.14 seconds
IncrementalBuild              PASS      1217.19 seconds
ScanBuild                     PASS      985.60 seconds



---
Regards,
Linux Bluetooth
Luiz Augusto von Dentz Jan. 27, 2023, 8:11 p.m. UTC | #2
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"				},