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 Bluetooth communication
part and by letting external application (i.e. oFono) take in charge
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
Fred
Frédéric Danis (8):
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
Makefile.am | 17 +-
audio/headset.c | 1583 ++--------------------------------
audio/headset.h | 14 +-
audio/manager.c | 390 +--------
audio/media.c | 9 +-
audio/telephony-dummy.c | 433 ---------
audio/telephony-maemo5.c | 2104 --------------------------------------------
audio/telephony-maemo6.c | 2201 ----------------------------------------------
audio/telephony-ofono.c | 1638 ----------------------------------
audio/telephony.c | 968 ++++++++++++++++++++
audio/telephony.h | 198 +----
audio/transport.c | 10 +
audio/unix.c | 2 +
doc/assigned-numbers.txt | 1 +
doc/audio-api.txt | 166 ++--
15 files changed, 1155 insertions(+), 8579 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