linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v16 00/14] Add org.bluez.Telephony interface
@ 2012-08-01  9:08 Frédéric Danis
  2012-08-01  9:08 ` [PATCH v16 01/14] doc: Add telephony interface documents Frédéric Danis
                   ` (13 more replies)
  0 siblings, 14 replies; 16+ messages in thread
From: Frédéric Danis @ 2012-08-01  9:08 UTC (permalink / raw)
  To: linux-bluetooth

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:
- patch 1 and 2: remove UUID property from NewConnection method of TelephonyAgent
- patch 2:
  - rename headset_slc_complete() to headset_profile_connection_complete()
  - rename telephony_get_ready_state() to telephony_is_ready()
  - change return type of parse_properties() to gboolean
  - ref/unref GIOChannel used in telephony_device structure
  - fix parameter type of hs_dev_disconnect_cb()
  - manage dbus error first in hs_newconnection_reply()
  - use sdp_uuid_cmp() instead of sdp_uuid16_cmp() in get_record_cb()
  - if sdp service search is in progress, cancel it in telephony_device_disconnect()
  - merge register_interface() into telephony_adapter_init()
  - merge unregister_interface() into telephony_adapter_exit()
  - set connecting_uuid to NULL when going to disconnected state in headset_set_state()
- patch 3: remove rfcomm in headset structure as it is now managed in telephony.c
    this imply to unref tmp_rfcomm after call of telephony_device_connecting()
- patch 9:
  - rename connecting_path to connecting_transport_path in headset structure
  - set connecting_transport_path to NULL when going to disconnected state in
    headset_set_state()
- patch 10:
  - rename rfcomm to tmp_rfcomm in gateway structure as it is now managed
    in telephony.c
    this imply to unref tmp_rfcomm after call of telephony_device_connecting()
  - rename connecting_path to connecting_transport_path in gateway structure
  - set connecting_uuid and connecting_transport_path to NULL when going to
    disconnected state in gateway_close()
  - fix parameter type of ag_dev_disconnect_cb()
  - manage dbus error first in ag_newconnection_reply()
- patch 11:
  - rename rfcomm to tmp_rfcomm in connecting_device structure
    this tmp_rfcomm should be unrefed after call of telephony_device_connecting()
  - fix parameter type of client_dev_disconnect_cb()
  - manage dbus error first in client_newconnection_reply()

Frédéric Danis (14):
  doc: Add telephony interface documents
  audio: Move telephony drivers to D-Bus interface
  audio: Simplify org.bluez.Headset
  audio: Remove dummy telephony driver
  audio: Remove maemo5 telephony driver
  audio: Remove maemo6 telephony driver
  audio: Remove oFono telephony 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
  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

 Makefile.am                    |   19 +-
 audio/audio.conf               |    7 -
 audio/device.h                 |    1 +
 audio/gateway.c                |  436 +++-----
 audio/gateway.h                |    8 +
 audio/headset.c                | 1844 ++++-----------------------------
 audio/headset.h                |   16 +-
 audio/manager.c                |  628 +-----------
 audio/manager.h                |    4 -
 audio/media.c                  |   34 +
 audio/telephony-dummy.c        |  447 --------
 audio/telephony-maemo5.c       | 2105 --------------------------------------
 audio/telephony-maemo6.c       | 2200 ----------------------------------------
 audio/telephony-ofono.c        | 1637 ------------------------------
 audio/telephony.c              | 1634 +++++++++++++++++++++++++++++
 audio/telephony.h              |  205 +---
 audio/transport.c              |  117 ++-
 doc/assigned-numbers.txt       |    2 +
 doc/audio-api.txt              |  232 ++---
 doc/audio-telephony-design.txt |  106 ++
 doc/hfp-api.txt                |   46 -
 doc/media-api.txt              |   19 +-
 src/adapter.c                  |   15 +-
 src/adapter.h                  |    1 +
 24 files changed, 2349 insertions(+), 9414 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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-08-01 22:34 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-01  9:08 [PATCH v16 00/14] Add org.bluez.Telephony interface Frédéric Danis
2012-08-01  9:08 ` [PATCH v16 01/14] doc: Add telephony interface documents Frédéric Danis
2012-08-01 22:34   ` Marcel Holtmann
2012-08-01  9:08 ` [PATCH v16 02/14] audio: Move telephony drivers to D-Bus interface Frédéric Danis
2012-08-01  9:08 ` [PATCH v16 03/14] audio: Simplify org.bluez.Headset Frédéric Danis
2012-08-01  9:08 ` [PATCH v16 04/14] audio: Remove dummy telephony driver Frédéric Danis
2012-08-01  9:08 ` [PATCH v16 05/14] audio: Remove maemo5 " Frédéric Danis
2012-08-01  9:08 ` [PATCH v16 06/14] audio: Remove maemo6 " Frédéric Danis
2012-08-01  9:08 ` [PATCH v16 07/14] audio: Remove oFono " Frédéric Danis
2012-08-01  9:08 ` [PATCH v16 08/14] audio: Move HFP/HSP AG servers to telephony.c Frédéric Danis
2012-08-01  9:08 ` [PATCH v16 09/14] audio: Send transport path to telephony agent Frédéric Danis
2012-08-01  9:08 ` [PATCH v16 10/14] audio: Move HFP HF server to telephony.c Frédéric Danis
2012-08-01  9:08 ` [PATCH v16 11/14] audio: Add DUN GW to org.bluez.Telephony Frédéric Danis
2012-08-01  9:08 ` [PATCH v16 12/14] audio: Add SAP " Frédéric Danis
2012-08-01  9:08 ` [PATCH v16 13/14] adapter: Add API to get fast connectable mode Frédéric Danis
2012-08-01  9:08 ` [PATCH v16 14/14] audio: Add fast connectable to telephony interface Frédéric Danis

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).