[PATCH v6 16/16] dundee: Add Bluetooth DUN driver

2012-04-02 Thread Daniel Wagner
From: Daniel Wagner --- Makefile.am|6 +- dundee/bluetooth.c | 290 dundee/dundee.h|4 + dundee/main.c |2 + 4 files changed, 299 insertions(+), 3 deletions(-) create mode 100644 dundee/bluetooth.c diff --git a/

[PATCH v6 15/16] dundee: Add PPP handling code to device

2012-04-02 Thread Daniel Wagner
From: Daniel Wagner --- Makefile.am |2 +- dundee/device.c | 244 ++- 2 files changed, 243 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 20026d2..b2487ff 100644 --- a/Makefile.am +++ b/Makefile.am @@ -671,

[PATCH v6 14/16] dundee: Add device D-Bus interface

2012-04-02 Thread Daniel Wagner
From: Daniel Wagner --- dundee/device.c | 221 +++ dundee/dundee.h |1 + 2 files changed, 222 insertions(+) diff --git a/dundee/device.c b/dundee/device.c index 6f2a7ea..038bcc2 100644 --- a/dundee/device.c +++ b/dundee/device.c @@ -36,11

[PATCH v6 13/16] dundee: Add driver helper functions

2012-04-02 Thread Daniel Wagner
From: Daniel Wagner --- dundee/device.c | 18 ++ dundee/dundee.h |5 + 2 files changed, 23 insertions(+) diff --git a/dundee/device.c b/dundee/device.c index bac8ead..6f2a7ea 100644 --- a/dundee/device.c +++ b/dundee/device.c @@ -41,6 +41,7 @@ struct dundee_device {

[PATCH v6 12/16] dundee: Add device un/register

2012-04-02 Thread Daniel Wagner
From: Daniel Wagner --- dundee/device.c | 69 ++- dundee/dundee.h | 21 + 2 files changed, 89 insertions(+), 1 deletion(-) diff --git a/dundee/device.c b/dundee/device.c index 1b89e97..bac8ead 100644 --- a/dundee/device.c +

[PATCH v6 11/16] dundee: Add callback helpers

2012-04-02 Thread Daniel Wagner
From: Daniel Wagner --- dundee/dundee.h | 44 1 file changed, 44 insertions(+) diff --git a/dundee/dundee.h b/dundee/dundee.h index 4fe801b..01edd53 100644 --- a/dundee/dundee.h +++ b/dundee/dundee.h @@ -28,6 +28,50 @@ void __dundee_exit(void);

[PATCH v6 10/16] dundee: Manager append devices

2012-04-02 Thread Daniel Wagner
From: Daniel Wagner --- dundee/manager.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/dundee/manager.c b/dundee/manager.c index 9ffe5c0..58a5804 100644 --- a/dundee/manager.c +++ b/dundee/manager.c @@ -30,6 +30,26 @@ #include "dundee.h" +static void append_d

[PATCH v6 09/16] dundee: Add skeleton implementation for device

2012-04-02 Thread Daniel Wagner
From: Daniel Wagner --- Makefile.am |2 +- dundee/device.c | 100 +++ dundee/dundee.h | 15 + dundee/main.c |4 ++- 4 files changed, 119 insertions(+), 2 deletions(-) create mode 100644 dundee/device.c diff --git a/Ma

[PATCH v6 08/16] dundee: Add Manager interface

2012-04-02 Thread Daniel Wagner
From: Daniel Wagner --- Makefile.am |3 +- dundee/dundee.h |6 dundee/main.c|9 ++--- dundee/manager.c | 97 ++ 4 files changed, 108 insertions(+), 7 deletions(-) create mode 100644 dundee/manager.c diff --git a/M

[PATCH v6 06/16] dundee: Add D-Bus configuration file

2012-04-02 Thread Daniel Wagner
From: Daniel Wagner --- Makefile.am|6 ++ dundee/dundee.conf | 23 +++ 2 files changed, 29 insertions(+) create mode 100644 dundee/dundee.conf diff --git a/Makefile.am b/Makefile.am index fb0de75..ad61106 100644 --- a/Makefile.am +++ b/Makefile.am @@ -677,

[PATCH v6 07/16] dundee: Add systemd configuration file

2012-04-02 Thread Daniel Wagner
From: Daniel Wagner --- Makefile.am |6 ++ configure.ac |3 ++- dundee/dundee.service.in | 11 +++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 dundee/dundee.service.in diff --git a/Makefile.am b/Makefile.am index ad61106..f

[PATCH v6 05/16] dundee: Add D-Bus error messages

2012-04-02 Thread Daniel Wagner
From: Daniel Wagner --- Makefile.am |2 +- dundee/dbus.c | 45 + dundee/dundee.h |3 +++ 3 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 dundee/dbus.c diff --git a/Makefile.am b/Makefile.am index 36ad8e0..fb0de75 1

[PATCH v6 03/16] dundee: Add test scripts

2012-04-02 Thread Daniel Wagner
From: Daniel Wagner --- test/dundee-connect| 20 + test/dundee-disconnect | 20 + test/monitor-dundee| 109 3 files changed, 149 insertions(+) create mode 100755 test/dundee-connect create mode 100755 test/dundee-dis

[PATCH v6 04/16] dundee: Add skeleton implementation

2012-04-02 Thread Daniel Wagner
From: Daniel Wagner --- Makefile.am | 12 +++ bootstrap-configure |1 + configure.ac|4 + dundee/dundee.h | 46 ++ dundee/main.c | 255 +++ 5 files changed, 318 insertions(+) create mode 100644 dundee

[PATCH v6 02/16] dundee: Add documentation

2012-04-02 Thread Daniel Wagner
From: Daniel Wagner --- doc/dundee-api.txt | 76 1 file changed, 76 insertions(+) create mode 100644 doc/dundee-api.txt diff --git a/doc/dundee-api.txt b/doc/dundee-api.txt new file mode 100644 index 000..9f4cfe6 --- /dev/null +++ b/do

[PATCH v6 00/16] Add DUN support

2012-04-02 Thread Daniel Wagner
From: Daniel Wagner Hi, for what it is worth, here is an rebased version. I haven't changed anything in the code. Some packaging updates such as including the header file into the distro etc. Also fixed the systemd service file installation. Changes v6: - Distro building fixes - Use dundee i

[PATCH v6 01/16] bluetooth: Add Serial interface definition

2012-04-02 Thread Daniel Wagner
From: Daniel Wagner --- plugins/bluetooth.h |1 + 1 file changed, 1 insertion(+) diff --git a/plugins/bluetooth.h b/plugins/bluetooth.h index daa1873..4fc16ad 100644 --- a/plugins/bluetooth.h +++ b/plugins/bluetooth.h @@ -27,6 +27,7 @@ #defineBLUEZ_ADAPTER_INTERFACE BLUEZ_S

[RFC v3 12/12] hfp_ag: Update supported features

2012-04-02 Thread Frédéric Danis
Add ECNR (Echo Cancelation/Noise Reduction) and Inband Ringtone capabilities to supported features in HFP AG SDP record --- plugins/hfp_ag.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/plugins/hfp_ag.c b/plugins/hfp_ag.c index c12068a..52a8f83 100644 --- a/plugins/h

[RFC v3 11/12] emulator: Add AT+VGS support

2012-04-02 Thread Frédéric Danis
--- src/emulator.c | 81 1 files changed, 81 insertions(+), 0 deletions(-) diff --git a/src/emulator.c b/src/emulator.c index a976a13..0ae86e0 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -57,6 +57,8 @@ struct ofono_emulator {

[RFC v3 09/12] emulator: Add +BSIR support

2012-04-02 Thread Frédéric Danis
--- src/emulator.c | 58 1 files changed, 58 insertions(+), 0 deletions(-) diff --git a/src/emulator.c b/src/emulator.c index c5ec105..0760c79 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -54,6 +54,7 @@ struct ofono_emulator {

[RFC v3 08/12] emulator: Add AT+NREC support

2012-04-02 Thread Frédéric Danis
--- src/emulator.c | 120 1 files changed, 120 insertions(+), 0 deletions(-) diff --git a/src/emulator.c b/src/emulator.c index dc3c10d..c5ec105 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -33,6 +33,7 @@ #include "common.h" #incl

[RFC v3 07/12] hfp_ag: Add media transport support

2012-04-02 Thread Frédéric Danis
--- plugins/hfp_ag.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/plugins/hfp_ag.c b/plugins/hfp_ag.c index ea9c112..c12068a 100644 --- a/plugins/hfp_ag.c +++ b/plugins/hfp_ag.c @@ -82,6 +82,7 @@ static DBusMessage *hfp_ag_agent_new_connection(DBusConnection *conn,

[RFC v3 06/12] emulator: Add audio transport set

2012-04-02 Thread Frédéric Danis
--- src/emulator.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/emulator.c b/src/emulator.c index e7c7d41..dc3c10d 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -52,6 +52,7 @@ struct ofono_emulator { gboolean clip; gboolean ccwa;

[RFC v3 10/12] emulator: Add AT+VGM support

2012-04-02 Thread Frédéric Danis
--- src/emulator.c | 81 1 files changed, 81 insertions(+), 0 deletions(-) diff --git a/src/emulator.c b/src/emulator.c index 0760c79..a976a13 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -55,6 +55,8 @@ struct ofono_emulator {

[RFC v3 05/12] include: Add audio transport set API

2012-04-02 Thread Frédéric Danis
--- include/emulator.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/emulator.h b/include/emulator.h index 5cd894b..4b78667 100644 --- a/include/emulator.h +++ b/include/emulator.h @@ -72,6 +72,9 @@ struct ofono_emulator *ofono_emulator_create(struct ofono_mod

[RFC v3 04/12] bluetooth: Add org.bluez.MediaTransport interface

2012-04-02 Thread Frédéric Danis
--- plugins/bluetooth.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/plugins/bluetooth.h b/plugins/bluetooth.h index f81fc99..ee3c71e 100644 --- a/plugins/bluetooth.h +++ b/plugins/bluetooth.h @@ -30,6 +30,7 @@ #defineBLUEZ_SERVICE_INTERFACE BLUEZ_SERVI

[RFC v3 03/12] hfp_ag: Update to org.bluez.Telephony interface

2012-04-02 Thread Frédéric Danis
Bluez moves agent registration from a per device interface to a per adapter interface. Update hfp_ag modem emulator to reflect this change. --- plugins/hfp_ag.c | 126 -- 1 files changed, 56 insertions(+), 70 deletions(-) diff --git a/plugins/h

[RFC v3 02/12] hfp_hf: Update to org.bluez.Telephony interface

2012-04-02 Thread Frédéric Danis
Bluez moves agent registration from a per device interface to a per adapter interface. Update hfp_hf modem to reflect this change. --- plugins/hfp_hf.c | 165 - 1 files changed, 62 insertions(+), 103 deletions(-) diff --git a/plugins/hfp_hf.c b

[RFC v3 00/12] org.bluez.Telephony interface integration

2012-04-02 Thread Frédéric Danis
Those patches integrates the future org.bluez.Telephony interface into oFono for HFP HF and HFP AG plugins. For HFP AG plugin, the bluetooth rfcomm server is replaced by a Telephony Agent registered to org.bluez.Telephony. For HFP HF plugin, RegisterAgent call of org.bluez.HandsfreeGateway is repl

[RFC v3 01/12] bluetooth: Add org.bluez.Telephony helpers

2012-04-02 Thread Frédéric Danis
Add function to register/unregister Telephony agent to BlueZ --- plugins/bluetooth.c | 199 +++ plugins/bluetooth.h | 14 2 files changed, 213 insertions(+), 0 deletions(-) diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c index dbf79eb