Skip to content

Add local TMAS & GMAS servers

Pauli Virtanen linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11lib: move VCS, TMAS, GMAS uuid strings to uuid.hlib/bluetooth/uuid.h profiles/audio/bap.c profiles/audio/vcp.c+3 -51 reply
2/11shared/tester: check size before trying debug printsrc/shared/tester.c+1 -10 replies
3/11shared/tmap, gmap: add macros for feature names and listingsrc/shared/gmap.h src/shared/tmap.h+59 -10 replies
4/11bap: use tmap/gmap macros for listing featuresprofiles/audio/bap.c+8 -240 replies
5/11shared/tmap: deactivate service if setting Role to 0src/shared/tmap.c+10 -40 replies
6/11shared/gmap: deactivate service or remove feature chrc if role removedsrc/shared/gmap.c+43 -140 replies
7/11test-tmap: test removing and adding roleunit/test-tmap.c+15 -00 replies
8/11test-gmap: test removing, adding, and changing roleunit/test-gmap.c+64 -250 replies
9/11media: parse SupportedFeatures from registered MediaEndpointsprofiles/audio/media.c+156 -40 replies
10/11tmap: remove service on device removeprofiles/audio/tmap.c+2 -00 replies
11/11gmap: remove service on device removeprofiles/audio/gmap.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH BlueZ 00/11] Add local TMAS & GMAS servers

Parse TMAS and GMAS features to expose from
MediaEndpoint::SupportedFeatures

Improve handling of changing TMAP & GMAP features: set the service inactive when there is no Role set. For GMAP, we must also remove the feature chrc if a role is unset.

Also do some minor cleanup.

Pipewire side:
https://gitlab.freedesktop.org/pvir/pipewire/-/commits/tmap-features

Pauli Virtanen (11):
lib: move VCS, TMAS, GMAS uuid strings to uuid.h shared/tester: check size before trying debug print shared/tmap, gmap: add macros for feature names and listing
bap: use tmap/gmap macros for listing features shared/tmap: deactivate service if setting Role to 0 shared/gmap: deactivate service or remove feature chrc if role removed
test-tmap: test removing and adding role
test-gmap: test removing, adding, and changing role
media: parse SupportedFeatures from registered MediaEndpoints
tmap: remove service on device remove
gmap: remove service on device remove

 lib/bluetooth/uuid.h   |   3 +
 profiles/audio/bap.c   |  36 +++-------
 profiles/audio/gmap.c  |   2 +
 profiles/audio/media.c | 160 +++++++++++++++++++++++++++++++++++++++--
 profiles/audio/tmap.c  |   2 +
 profiles/audio/vcp.c   |   1 -
 src/shared/gmap.c      |  57 +++++++++++----
 src/shared/gmap.h      |  45 +++++++++++-
 src/shared/tester.c    |   2 +-
 src/shared/tmap.c      |  14 ++--
 src/shared/tmap.h      |  15 ++++
 unit/test-gmap.c       |  89 ++++++++++++++++-------
 unit/test-tmap.c       |  15 ++++
 13 files changed, 363 insertions(+), 78 deletions(-)
Signature · 1 line
2.51.1