Skip to content

Add org.bluez.Telephony interface

Frédéric Danis linux-bluetooth 19 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v18 Latest16 patches 0 repliesNew
  2. v1715 patches 5 repliesSuperseded
  3. v6 RFC posting 2/212 patches 0 repliesSuperseded
Earlier versions · 16
VersionPostedPatchesRepliesStatus
v1614 patches1 replySuperseded
v1514 patches7 repliesSuperseded
v1414 patches0 repliesSuperseded
v1314 patches5 repliesSuperseded
v1213 patches4 repliesSuperseded
v1112 patches2 repliesSuperseded
v1012 patches1 replySuperseded
v99 patches0 repliesSuperseded
v8 RFC9 patches0 repliesSuperseded
v7 RFC8 patches2 repliesSuperseded
v6 RFC posting 1/28 patches2 repliesSuperseded
v5 RFC8 patches8 repliesSuperseded
v4 RFC6 patches2 repliesSuperseded
v3 RFC6 patches2 repliesSuperseded
v2 RFC3 of 4 patches0 repliesSuperseded
v1 RFC1 of 2 patches0 repliesSuperseded

Patches in v18 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16doc: Add telephony interface design documentMakefile.am doc/audio-telephony-design.txt+319 -10 replies
2/16doc: Add telephony interface to audio-api.txtdoc/audio-api.txt+155 -00 replies
3/16doc: Add HSP HS channel to assigned numbersdoc/assigned-numbers.txt+1 -00 replies
4/16audio: Remove telephony driver from headset.c.gitignore Makefile.am audio/audio.conf +3 more+51 -18450 replies
5/16audio: Remove dummy telephony driveraudio/telephony-dummy.c+0 -4470 replies
6/16audio: Remove maemo5 telephony driveraudio/telephony-maemo5.c+0 -21050 replies
7/16audio: Remove maemo6 telephony driveraudio/telephony-maemo6.c+0 -22000 replies
8/16audio: Remove oFono telephony driveraudio/telephony-ofono.c+0 -16370 replies
9/16audio: Add org.bluez.Telephony interfaceMakefile.am audio/headset.c audio/headset.h +3 more+877 -450 replies
10/16audio: Add headset audio properties to MediaTransportaudio/headset.c audio/headset.h audio/transport.c +1 more+335 -90 replies
11/16audio: Move HFP/HSP AG servers to telephony.caudio/headset.c audio/headset.h audio/manager.c +2 more+332 -4240 replies
12/16audio: Move HFP HF server to telephony.caudio/device.h audio/gateway.c audio/gateway.h +3 more+446 -5490 replies
13/16audio: Add DUN GW to org.bluez.Telephonyaudio/telephony.c+324 -70 replies
14/16audio: Add SAP GW to org.bluez.Telephonyaudio/telephony.c doc/assigned-numbers.txt+72 -10 replies
15/16adapter: Add API to get fast connectable modesrc/adapter.c src/adapter.h+15 -10 replies
16/16audio: Add fast connectable to telephony interfaceaudio/manager.c audio/manager.h audio/telephony.c +1 more+132 -240 replies

Reviews trailers per patch

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

Read the v18 thread

Cover letter [PATCH v18 00/16] Add org.bluez.Telephony interface

Hello,

This set of patches replaces telephony drivers for HeadSet, HandsFree, DUN and SAP Profiles by a new DBus interface (org.bluez.Telephony).

This will simplify BlueZ code by focusing on the Bluetooth communication part and by letting the external application (i.e. oFono) take charge of the Telephony tasks (AT parsing and modem specific code, which can be removed from BlueZ code). So, it becomes simpler, easier to maintain and debug.

External applications, which should implement AT parsing and telephony part of Headset or Handsfree Profiles, will have to register a telephony agent using this new interface.

Any comments appreciated.

Regards

PS: Since latest Patch set:
- Split patch 1 between telephony interface design and update of audio-api.txt
- Update design to remove reference of MediaTransport in telephony agent.
This is replaced by a new TelephonyConnection interface which should be implemented by telephony agent and returned on NewConnection method call.
- Move all patches removing telephony drivers and code related to them in headset.c at beginning of patch set (patches 4 to 8), this should simplify code review.

Frédéric Danis (16):
doc: Add telephony interface design document
doc: Add telephony interface to audio-api.txt
doc: Add HSP HS channel to assigned numbers
audio: Remove telephony driver from headset.c
audio: Remove dummy telephony driver
audio: Remove maemo5 telephony driver
audio: Remove maemo6 telephony driver
audio: Remove oFono telephony driver
audio: Add org.bluez.Telephony interface
audio: Add headset audio properties to MediaTransport
audio: Move HFP/HSP AG servers to telephony.c
audio: Move HFP HF server to telephony.c
audio: Add DUN GW to org.bluez.Telephony
audio: Add SAP GW to org.bluez.Telephony
adapter: Add API to get fast connectable mode
audio: Add fast connectable to telephony interface

 .gitignore                     |    1 -
 Makefile.am                    |   19 +-
 audio/audio.conf               |    7 -
 audio/device.h                 |    1 +
 audio/gateway.c                |  487 ++++-----
 audio/gateway.h                |    7 +
 audio/headset.c                | 1976 ++++++++----------------------------
 audio/headset.h                |   28 +-
 audio/manager.c                |  628 +-----------
 audio/manager.h                |    4 -
 audio/telephony-dummy.c        |  447 --------
 audio/telephony-maemo5.c       | 2105 --------------------------------------
 audio/telephony-maemo6.c       | 2200 ----------------------------------------
 audio/telephony-ofono.c        | 1637 ------------------------------
 audio/telephony.c              | 1705 +++++++++++++++++++++++++++++++
 audio/telephony.h              |  202 +---
 audio/transport.c              |   94 +-
 doc/assigned-numbers.txt       |    2 +
 doc/audio-api.txt              |  296 +++---
 doc/audio-telephony-design.txt |  318 ++++++
 doc/hfp-api.txt                |   46 -
 doc/media-api.txt              |   12 +
 src/adapter.c                  |   15 +-
 src/adapter.h                  |    1 +
 24 files changed, 3001 insertions(+), 9237 deletions(-)
 delete mode 100644 audio/telephony-dummy.c
 delete mode 100644 audio/telephony-maemo5.c
 delete mode 100644 audio/telephony-maemo6.c
 delete mode 100644 audio/telephony-ofono.c
 create mode 100644 audio/telephony.c
 create mode 100644 doc/audio-telephony-design.txt
Signature · 1 line
1.7.9.5