[PATCH v2 0/6] phonesim: Add call status UI

2011-05-02 Thread Nicolas Bertrand
This patch introduce a new tab call in phonesim UI in order to display calls informationsi (id, number, status, name and direction). The interface to send CSSU and CSSI notification is now dynamic based on the type of current calls. Fix some coding-style violations. Nicolas Bertrand (6):

[PATCH v2 2/6] control: Update UI using call status

2011-05-02 Thread Nicolas Bertrand
--- src/control.cpp | 40 +++- src/control.h |5 + 2 files changed, 40 insertions(+), 5 deletions(-) diff --git a/src/control.cpp b/src/control.cpp index 645219c..1e71593 100644 --- a/src/control.cpp +++ b/src/control.cpp @@ -134,6 +134,32 @@

[PATCH v2 3/6] hardwaremanipulator: add callmanagement method

2011-05-02 Thread Nicolas Bertrand
--- src/hardwaremanipulator.cpp |4 src/hardwaremanipulator.h |2 ++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/hardwaremanipulator.cpp b/src/hardwaremanipulator.cpp index c7bbe6a..909ce2a 100644 --- a/src/hardwaremanipulator.cpp +++

[PATCH v2 1/6] callmanager: Add signal on call status change

2011-05-02 Thread Nicolas Bertrand
--- src/callmanager.cpp | 22 ++ src/callmanager.h |3 +++ 2 files changed, 25 insertions(+), 0 deletions(-) diff --git a/src/callmanager.cpp b/src/callmanager.cpp index 585a3ac..0ede2ad 100644 --- a/src/callmanager.cpp +++ b/src/callmanager.cpp @@ -149,6 +149,8 @@

[PATCH v2 4/6] phonesim: Connect call status signal

2011-05-02 Thread Nicolas Bertrand
--- src/phonesim.cpp |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/phonesim.cpp b/src/phonesim.cpp index a822cd9..6b45cf6 100644 --- a/src/phonesim.cpp +++ b/src/phonesim.cpp @@ -528,6 +528,8 @@ SimRules::SimRules( int fd, QObject *p, const QString filename,

[PATCH v2 5/6] controlbase.ui: Add call mangement tab

2011-05-02 Thread Nicolas Bertrand
--- src/controlbase.ui | 61 1 files changed, 61 insertions(+), 0 deletions(-) diff --git a/src/controlbase.ui b/src/controlbase.ui index cfadfe8..41c6d12 100644 --- a/src/controlbase.ui +++ b/src/controlbase.ui @@ -1458,6 +1458,67 @@ p, li

[PATCH v2 6/6] control: Update call view

2011-05-02 Thread Nicolas Bertrand
--- src/control.cpp | 100 +-- src/control.h |3 +- 2 files changed, 91 insertions(+), 12 deletions(-) diff --git a/src/control.cpp b/src/control.cpp index 1e71593..a9b2fd5 100644 --- a/src/control.cpp +++ b/src/control.cpp @@ -136,14

Re: Using ofono in C

2011-05-02 Thread Marcel Holtmann
Hi Artem, I am looking for some examples how to use ofono in C. I need something lightweight without using thinks like Qt so ofono might be run on low end devices like wifi routers. you can use oFono directly via the libdbus C binding. It is pretty lightweight. An example would be

[PATCH 1/7] voicecall: Fix variable initialization

2011-05-02 Thread Frédéric Dalleau
--- src/voicecall.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/voicecall.c b/src/voicecall.c index 3e66004..4564a65 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -2600,6 +2600,7 @@ static void emulator_generic_cb(const struct ofono_error *error, void

[PATCH 0/7] Add CHLD support to HFP profile

2011-05-02 Thread Frédéric Dalleau
This patch adds CHLD support to HFP profile. AT+CHLD=0 uses release_all_held and set_udub AT+CHLD=1 uses release_all_active AT+CHLD=2 uses hold_all_active AT+CHLD=3 uses create_multiparty AT+CHLD=4 uses transfer AT+CHLD=1X uses release_specific AT+CHLD=2X uses private_chat Best regards!

[PATCH 2/7] voicecall: add +CHLD support for HFP emulator

2011-05-02 Thread Frédéric Dalleau
--- src/voicecall.c | 70 +++ 1 files changed, 70 insertions(+), 0 deletions(-) diff --git a/src/voicecall.c b/src/voicecall.c index 4564a65..3507f33 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -2417,6 +2417,10 @@ static void

[PATCH 4/7] voicecall: add +CHLD=3 support for HFP emulator

2011-05-02 Thread Frédéric Dalleau
--- src/voicecall.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/src/voicecall.c b/src/voicecall.c index 9225de9..b420071 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -2788,6 +2788,13 @@ static void emulator_chld_cb(struct ofono_emulator *em,

[PATCH 3/7] voicecall: add +CHLD=0 support for HFP emulator

2011-05-02 Thread Frédéric Dalleau
--- src/voicecall.c | 25 - 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/src/voicecall.c b/src/voicecall.c index 3507f33..9225de9 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -2758,6 +2758,22 @@ static void emulator_chld_cb(struct

[PATCH 6/7] voicecall: add +CHLD=1X support for HFP emulator

2011-05-02 Thread Frédéric Dalleau
--- src/voicecall.c | 22 -- 1 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/voicecall.c b/src/voicecall.c index 3fe590d..432c739 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -2803,9 +2803,19 @@ static void emulator_chld_cb(struct ofono_emulator

[PATCH 7/7] voicecall: add +CHLD=2X support for HFP emulator

2011-05-02 Thread Frédéric Dalleau
--- src/voicecall.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/voicecall.c b/src/voicecall.c index 432c739..69cd238 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -2815,6 +2815,15 @@ static void emulator_chld_cb(struct ofono_emulator *em,