hfp-hf: Enhance HFP Hands-Free profile support
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
- v2 Latest12 patches 1 replyApplied
- v112 patches 1 replySuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | audio/hfp-hf: Add HFP HF server and SDP recordprofiles/ | +253 | 1 reply | |
| 2/12 | audio/hfp-hf: Add MediaEndpoint for HFP codecsMakefile.plugins profiles/ profiles/ +3 more | +686 | 0 replies | |
| 3/12 | client/player: Add MediaEndpoints for HFP HF codecsclient/ | +16 | 0 replies | |
| 4/12 | shared/hfp: Add hangup all calls supportsrc/ src/ | +50 | 0 replies | |
| 5/12 | audio/hfp-hf: Add hangup all calls supportprofiles/ | +15 | 0 replies | |
| 6/12 | shared/hfp: Add send tones supportsrc/ src/ | +21 | 0 replies | |
| 7/12 | audio/hfp-hf: Add Send Tones supportprofiles/ | +21 | 0 replies | |
| 8/12 | client/telephony: Add Send Tones menu entryclient/ | +47 | 0 replies | |
| 9/12 | audio/hfp-hf: Add multi calls supportprofiles/ | +142 | 0 replies | |
| 10/12 | client/telephony: Add multi calls supportclient/ | +190 | 0 replies | |
| 11/12 | shared/hfp: Add codecs supportsrc/ src/ | +166 | 0 replies | |
| 12/12 | audio/hfp-hf: Add codecs supportprofiles/ | +152 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH BlueZ v2 00/12] hfp-hf: Enhance HFP Hands-Free profile support
This series enhanced the HFP Hands-Free (HF) role support in BlueZ:
- Registration:
- Register the HFP HF profile with an SDP record so BlueZ is discoverable/connectable as a Hands-Free device.
- Audio path:
- Register a MediaEndpoint1 per supported HFP codec and wire up MediaTransport creation/configuration so SCO audio is exposed through the standard Media API instead of a bespoke interface.
- Extend bluetoothctl (client/player) with matching menu entries to select/manage the HFP HF MediaEndpoints.
- Codec negotiation:
- Implement AT+BAC / +BCS handling in shared/hfp so the supported codec list is advertised during SLC setup and codec selection from the AG is honored (or renegotiated when unavailable).
- Multi-call handling:
- Implement SwapCalls, ReleaseAndAnswer, ReleaseAndSwap and HoldAndAnswer on org.bluez.Telephony1, plus corresponding bluetoothctl menu entries.
- Add support for releasing all calls except waiting ones (including multiparty calls), both in shared/hfp and audio/hfp-hf.
- DTMF:
- Add AT+VTS-based Send Tones support in shared/hfp and audio/hfp-hf, with a bluetoothctl menu entry to trigger it.
New related PipeWire BlueZ backend draft can be found at:
https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/2978
v1->v2: Fix make distcheck
Frédéric Danis (12):
audio/hfp-hf: Add HFP HF server and SDP record audio/hfp-hf: Add MediaEndpoint for HFP codecs client/player: Add MediaEndpoints for HFP HF codecs shared/hfp: Add hangup all calls support audio/hfp-hf: Add hangup all calls support shared/hfp: Add send tones support audio/hfp-hf: Add Send Tones support client/telephony: Add Send Tones menu entry audio/hfp-hf: Add multi calls support client/telephony: Add multi calls support shared/hfp: Add codecs support audio/hfp-hf: Add codecs support
Makefile.plugins | 6 +- client/player.c | 18 +- client/telephony.c | 237 +++++++++ profiles/audio/hfp-hf.c | 979 +++++++++++++++++++++++++++++++++++++ profiles/audio/hfp-hf.h | 26 + profiles/audio/media.c | 76 +++ profiles/audio/media.h | 6 + profiles/audio/transport.c | 158 ++++++ src/shared/hfp.c | 229 ++++++++- src/shared/hfp.h | 13 + 10 files changed, 1740 insertions(+), 8 deletions(-) create mode 100644 profiles/audio/hfp-hf.h
Signature · 1 line
2.43.0