client/btpclient: Add BAP/ASCS/PACS support for auto-pts BAP tests
Status from this message: This series was applied to bluetooth/bluez.git (master)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest8 patches 0 repliesApplied
- v28 patches 1 replySuperseded
- v18 patches 1 replySuperseded
Changes in v3 from the cover letter
- Rename too long commit title for Patch 7
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | client/btpclient: Add BTP_EV_BAP_ASE_FOUND supportclient/ client/ client/ +2 more | +136 | 0 replies | |
| 2/8 | client/btpclient: Get Codec capabilities on ASE replyMakefile.tools client/ src/ | +104 | 0 replies | |
| 3/8 | client/btpclient: Add ASCS BTP supportMakefile.tools client/ client/ +7 more | +1262 | 0 replies | |
| 4/8 | client/btpclient: Add BTP_OP_PACS_SET_LOCATION supportMakefile.tools client/ client/ +3 more | +149 | 0 replies | |
| 5/8 | client/btpclient: Add BTP_OP_BAP_SEND supportclient/ client/ src/ | +65 | 0 replies | |
| 6/8 | client/btpclient: Add ASCS support for BAP/UCL/STR/* testsclient/ client/ client/ +4 more | +869 | 0 replies | |
| 7/8 | client/btpclient: CIG/CIS assignment based on Client/Server roleclient/ client/ | +127 | 0 replies | |
| 8/8 | client/btpclient: Add stream auto acquire for BAP/USR/STR/* testsclient/ client/ client/ +2 more | +189 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH BlueZ v3 0/8] client/btpclient: Add BAP/ASCS/PACS support for auto-pts BAP tests
This series extends btpclient with support for the BAP, ASCS, and PACS BTP services required to pass the auto-pts Basic Audio Profile test suites (BAP/UCL/*, BAP/USR/*).
- Patch 1 adds BTP_EV_BAP_ASE_FOUND, needed by BAP/UCL/SCC/BV-004-C and BAP/UCL/SCC/BV-019-C.
- Patch 2 fetches Codec capabilities when replying to an ASE.
- Patch 3 introduces ASCS BTP support: audio endpoints are registered via the VENDOR service's ASCS setup command, and the SelectProperties() D-Bus reply is postponed until auto-pts has requested the ASE and PACS characteristic values, allowing BAP/UCL/SCC/* tests to pass.
- Patch 4 adds BTP_OP_PACS_SET_LOCATION support to store the expected location for a local endpoint.
- Patch 5 adds BTP_OP_BAP_SEND support.
- Patch 6 extends ASCS support to cover the BAP/UCL/STR/* tests.
- Patch 7 fixes CIG/CIS id assignment to be deferred and based on the Unicast Client/Server role, matching what auto-pts expects (0/0 for Client tests, 1/1 for Server tests) instead of eagerly assigning CIG 0 to every discovered ASE.
- Patch 8 adds automatic stream acquisition and data sending for the BAP/USR/STR/* tests.
Together these patches allow btpclient to pass the BAP/UCL and BAP/USR auto-pts test suites.
v1->v2:
- Fix incremental build for Patch 5
- Fix stream connection when transport interface is created after auto-pts requests enabling ASEv2->v3:
- Rename too long commit title for Patch 7
Frédéric Danis (8):
client/btpclient: Add BTP_EV_BAP_ASE_FOUND support client/btpclient: Get Codec capabilities on ASE reply client/btpclient: Add ASCS BTP support client/btpclient: Add BTP_OP_PACS_SET_LOCATION support client/btpclient: Add BTP_OP_BAP_SEND support client/btpclient: Add ASCS support for BAP/UCL/STR/* tests client/btpclient: CIG/CIS assignment based on Client/Server role client/btpclient: Add stream auto acquire for BAP/USR/STR/* tests
Makefile.tools | 7 +- client/btpclient/ascs.c | 1649 ++++++++++++++++++++++++++++++++++ client/btpclient/ascs.h | 21 + client/btpclient/bap.c | 381 ++++++++ client/btpclient/bap.h | 4 + client/btpclient/btpclient.c | 194 +++- client/btpclient/btpclient.h | 36 + client/btpclient/core.c | 75 +- client/btpclient/gap.c | 3 - client/btpclient/pacs.c | 107 +++ client/btpclient/pacs.h | 13 + client/btpclient/vendor.c | 103 +++ client/btpclient/vendor.h | 13 + src/shared/btp.h | 156 ++++ 14 files changed, 2752 insertions(+), 10 deletions(-) create mode 100644 client/btpclient/ascs.c create mode 100644 client/btpclient/ascs.h create mode 100644 client/btpclient/pacs.c create mode 100644 client/btpclient/pacs.h create mode 100644 client/btpclient/vendor.c create mode 100644 client/btpclient/vendor.h
Signature · 1 line
2.43.0