linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Frédéric Danis" <frederic.danis@linux.intel.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH v18 00/16] Add org.bluez.Telephony interface
Date: Thu, 23 Aug 2012 16:38:49 +0200	[thread overview]
Message-ID: <1345732745-28706-1-git-send-email-frederic.danis@linux.intel.com> (raw)

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

-- 
1.7.9.5


             reply	other threads:[~2012-08-23 14:38 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-23 14:38 Frédéric Danis [this message]
2012-08-23 14:38 ` [PATCH v18 01/16] doc: Add telephony interface design document Frédéric Danis
2012-08-23 14:38 ` [PATCH v18 02/16] doc: Add telephony interface to audio-api.txt Frédéric Danis
2012-08-23 14:38 ` [PATCH v18 03/16] doc: Add HSP HS channel to assigned numbers Frédéric Danis
2012-08-23 14:38 ` [PATCH v18 04/16] audio: Remove telephony driver from headset.c Frédéric Danis
2012-08-23 14:38 ` [PATCH v18 05/16] audio: Remove dummy telephony driver Frédéric Danis
2012-08-23 14:38 ` [PATCH v18 06/16] audio: Remove maemo5 " Frédéric Danis
2012-08-23 14:38 ` [PATCH v18 07/16] audio: Remove maemo6 " Frédéric Danis
2012-08-23 14:38 ` [PATCH v18 08/16] audio: Remove oFono " Frédéric Danis
2012-08-23 14:38 ` [PATCH v18 09/16] audio: Add org.bluez.Telephony interface Frédéric Danis
2012-08-23 14:38 ` [PATCH v18 10/16] audio: Add headset audio properties to MediaTransport Frédéric Danis
2012-08-23 14:39 ` [PATCH v18 11/16] audio: Move HFP/HSP AG servers to telephony.c Frédéric Danis
2012-08-23 14:39 ` [PATCH v18 12/16] audio: Move HFP HF server " Frédéric Danis
2012-08-23 14:39 ` [PATCH v18 13/16] audio: Add DUN GW to org.bluez.Telephony Frédéric Danis
2012-08-23 14:39 ` [PATCH v18 14/16] audio: Add SAP " Frédéric Danis
2012-08-23 14:39 ` [PATCH v18 15/16] adapter: Add API to get fast connectable mode Frédéric Danis
2012-08-23 14:39 ` [PATCH v18 16/16] audio: Add fast connectable to telephony interface Frédéric Danis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1345732745-28706-1-git-send-email-frederic.danis@linux.intel.com \
    --to=frederic.danis@linux.intel.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).