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 0/2] Add org.bluez.Telephony interface
Date: Tue, 22 Nov 2011 15:01:22 +0100	[thread overview]
Message-ID: <1321970484-10208-1-git-send-email-frederic.danis@linux.intel.com> (raw)

Hello,

I am working on this set of patches.

Replace telephony drivers for HeadSet/HandsFree Profiles by a new DBus
interface (org.bluez.Telephony).
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.


First patch add the new org.bluez.Telephony interface and remove
functions related to AT parsing from audio/headset.c.

Second patch remove the telephony drivers (dummy, maemo5, maemo6
and ofono), functions used by telephony drivers and no more needed
methods of org.bluez.Headset interface.


What I would like to do to continue is:
- move rfcomm servers from audio/manager.c to audio/telephony.c, so
servers are started only when a telephony agent is registered. This
should also replace audio/gateway.c.
- pass MediaTransport object in NewConnection method so telephony agent
will be able to set NREC and ringtone, which can in turn notify Pulse
Audio of property changed.


Any comments appreciated

Regards

Fred

Frédéric Danis (2):
  audio: Move tel drivers to DBus interface
  audio: Remove tel drivers

 Makefile.am              |   17 +-
 audio/headset.c          | 1517 +-------------------------------
 audio/headset.h          |    7 +-
 audio/manager.c          |    4 +-
 audio/telephony-dummy.c  |  433 ---------
 audio/telephony-maemo5.c | 2104 --------------------------------------------
 audio/telephony-maemo6.c | 2201 ----------------------------------------------
 audio/telephony-ofono.c  | 1638 ----------------------------------
 audio/telephony.c        |  494 +++++++++++
 audio/telephony.h        |  196 +----
 audio/transport.c        |   10 +
 audio/unix.c             |    2 +
 doc/audio-api.txt        |   99 +++
 13 files changed, 631 insertions(+), 8091 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


             reply	other threads:[~2011-11-22 14:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-22 14:01 Frédéric Danis [this message]
2011-11-22 14:01 ` [RFC 1/2] audio: Move tel drivers to DBus interface Frédéric Danis
2011-11-22 14:22   ` Johan Hedberg
2011-11-22 14:15 ` [RFC 0/2] Add org.bluez.Telephony interface Andrei Emeltchenko
2011-11-22 15:58   ` Frederic Danis
2011-11-22 16:41     ` Claudio Takahasi
2011-11-23  9:58       ` Frederic Danis
2011-11-23 11:06         ` Anderson Lizardo
2011-11-24 15:26           ` Frederic Danis
2011-11-24 15:54             ` Anderson Lizardo
2011-11-24  6:46               ` Denis Kenzior

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=1321970484-10208-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).