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: [RFC v8 0/9] Add org.bluez.Telephony interface
Date: Thu, 19 Jan 2012 15:24:31 +0100	[thread overview]
Message-ID: <1326983080-10927-1-git-send-email-frederic.danis@linux.intel.com> (raw)

Hello,

This set of patches replaces telephony drivers for HeadSet/HandsFree
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 RFC :
  - update telephony.c to support multiple roles (headset.c and gateway.c)
Patch 1:
  - remove experimental flag for org.bluez.Telephony interface
  - fix Device property type of TelephonyAgent and send it upon connection
  - remove HS roles, will be integrated in patch 9
  - add watcher on agent disconnection in telephony.c
Patch 2:
  - remove deprecated APIs (IsConnected, IsPlaying and Play) of org.bluez.Headset interface
  - remove useless methods from org.bluez.HeadsetGateway
New patch 9:
  - move HFP HF server from audio/manager.c to audio/telephony.c
  - update audio/gateway.c to reflect this change and use new interface

Fred

Frédéric Danis (9):
  audio: Move tel drivers to DBus interface
  audio: Simplify org.bluez.Headset
  audio: Remove dummy tel driver
  audio: Remove maemo5 tel driver
  audio: Remove maemo6 tel driver
  audio: Remove oFono tel driver
  audio: Move HFP/HSP AG servers to telephony.c
  audio: Send transport path to telephony agent
  audio: Move HFP HF server to telephony.c

 Makefile.am                    |   17 +-
 audio/device.h                 |    1 +
 audio/gateway.c                |  392 ++------
 audio/gateway.h                |    8 +
 audio/headset.c                | 1728 ++------------------------------
 audio/headset.h                |   16 +-
 audio/manager.c                |  534 +----------
 audio/media.c                  |   18 +-
 audio/telephony-dummy.c        |  433 --------
 audio/telephony-maemo5.c       | 2104 --------------------------------------
 audio/telephony-maemo6.c       | 2201 ----------------------------------------
 audio/telephony-ofono.c        | 1638 ------------------------------
 audio/telephony.c              | 1185 +++++++++++++++++++++
 audio/telephony.h              |  196 +----
 audio/transport.c              |  114 ++-
 audio/unix.c                   |    2 +
 doc/assigned-numbers.txt       |    1 +
 doc/audio-api.txt              |  244 ++---
 doc/audio-telephony-design.txt |   91 ++
 doc/hfp-api.txt                |   48 -
 doc/media-api.txt              |   15 +-
 21 files changed, 1690 insertions(+), 9296 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


             reply	other threads:[~2012-01-19 14:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-19 14:24 Frédéric Danis [this message]
2012-01-19 14:24 ` [RFC v8 1/9] audio: Move tel drivers to DBus interface Frédéric Danis
2012-01-19 14:24 ` [RFC v8 2/9] audio: Simplify org.bluez.Headset Frédéric Danis
2012-01-19 14:24 ` [RFC v8 3/9] audio: Remove dummy tel driver Frédéric Danis
2012-01-19 14:24 ` [RFC v8 4/9] audio: Remove maemo5 " Frédéric Danis
2012-01-19 14:24 ` [RFC v8 5/9] audio: Remove maemo6 " Frédéric Danis
2012-01-19 14:24 ` [RFC v8 6/9] audio: Remove oFono " Frédéric Danis
2012-01-19 14:24 ` [RFC v8 7/9] audio: Move HFP/HSP AG servers to telephony.c Frédéric Danis
2012-01-19 14:24 ` [RFC v8 8/9] audio: Send transport path to telephony agent Frédéric Danis
2012-01-19 14:24 ` [RFC v8 9/9] audio: Move HFP HF server to telephony.c 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=1326983080-10927-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).