Re: [PATCH v3 4/4] ifxmodem: emergency number list support

2011-04-01 Thread Marcel Holtmann
Hi Jeevaka, > + /* Enable emergency number list notification */ > + g_at_chat_send(vd->chat, "AT+XLEMA=1", none_prefix, NULL, NULL, NULL); > + > ofono_voicecall_register(vc); > + > + g_at_chat_send(vd->chat, "AT+XLEMA?", xlema_prefix, xlema_read, vc, > +

Re: [HELP] How To Access Audio Gateway Features using Ofono ?

2011-04-01 Thread Denis Kenzior
Hi Milan, On 04/01/2011 07:10 AM, milan.satpa...@accenture.com wrote: > Hi, > > > > I am currently using ofono to write a hands free application using the > D-bus APIs. I assume you're writing a car-kit role connecting to a mobile phone... > > I have a need to access certain remote device f

Re: Motorola Modem H24 gprs connection

2011-04-01 Thread Denis Kenzior
Hi Christophe, Gentle reminder not to top-post on this mailing list. On 04/01/2011 02:00 AM, Ostermann, Christophe wrote: > Hi Denis, > > Thank you for this quick answer. > > Yes H24 modem expects some raw data in this mode (after having created a > TCP or UDP socket). > > This modem must als

[PATCH v3 4/4] ifxmodem: emergency number list support

2011-04-01 Thread Jeevaka Badrappan
--- drivers/ifxmodem/voicecall.c | 99 ++ 1 files changed, 99 insertions(+), 0 deletions(-) diff --git a/drivers/ifxmodem/voicecall.c b/drivers/ifxmodem/voicecall.c index 87a48e6..0841165 100644 --- a/drivers/ifxmodem/voicecall.c +++ b/drivers/ifxmodem/vo

[PATCH v3 3/4] voicecall: network emergency number list support

2011-04-01 Thread Jeevaka Badrappan
--- src/voicecall.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/voicecall.c b/src/voicecall.c index d7d8424..42ff6dc 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -2162,6 +2162,13 @@ check: set_new_ecc(vc); } +void ofono_voicecall_en_list_n

[PATCH v3 2/4] voicecall: refactor emergency number list handling

2011-04-01 Thread Jeevaka Badrappan
--- src/voicecall.c | 135 --- 1 files changed, 68 insertions(+), 67 deletions(-) diff --git a/src/voicecall.c b/src/voicecall.c index b1d5586..d7d8424 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -46,8 +46,9 @@ struct ofono_voicecall

[PATCH v3 0/4] Support for emergency number list from network/modem

2011-04-01 Thread Jeevaka Badrappan
Hi, Following set of patch adds the emergency number list update from the network/modem. Upon emergency number list update from modem, ofono core will be updated which will result in dbus property change signal as well. With this patch, even if the emergency number list maintained in ofono matche

[PATCH v3 1/4] include: Add ofono_voicecall_en_list_notify api

2011-04-01 Thread Jeevaka Badrappan
--- include/voicecall.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/voicecall.h b/include/voicecall.h index 5e6da02..73eee26 100644 --- a/include/voicecall.h +++ b/include/voicecall.h @@ -140,6 +140,9 @@ struct ofono_voicecall_driver {

[PATCH] emulator: add AT+CMEE support for HFP

2011-04-01 Thread Olivier Guiter
--- src/emulator.c | 59 +++- 1 files changed, 58 insertions(+), 1 deletions(-) diff --git a/src/emulator.c b/src/emulator.c index c84f0a9..24897b4 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -29,6 +29,7 @@ #include #include "ofon

[HELP] How To Access Audio Gateway Features using Ofono ?

2011-04-01 Thread milan.satpathy
Hi, I am currently using ofono to write a hands free application using the D-bus APIs. I have a need to access certain remote device features available with Ofono (e.g. the battery charge or the voice recognition status). I am not able to find any suitable d-bus APIs to achieve this. Please sugg

[PATCH v3 26/26] gsmdial: implement test sequence +++-ATO0-+++-ATH0

2011-04-01 Thread Guillaume Zajac
--- gatchat/gsmdial.c | 78 + 1 files changed, 78 insertions(+), 0 deletions(-) diff --git a/gatchat/gsmdial.c b/gatchat/gsmdial.c index 92a7ff2..7e6eec9 100644 --- a/gatchat/gsmdial.c +++ b/gatchat/gsmdial.c @@ -238,6 +238,76 @@ static gboole

[PATCH v3 25/26] gatchat: add g_at_chat_send_escape_sequence() definition

2011-04-01 Thread Guillaume Zajac
--- gatchat/gatchat.c | 32 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/gatchat/gatchat.c b/gatchat/gatchat.c index 546bd68..ae276eb 100644 --- a/gatchat/gatchat.c +++ b/gatchat/gatchat.c @@ -41,6 +41,9 @@ #define COMMAND_FLAG_EXPECT_PDU

[PATCH v3 23/26] gsmdial: add new option to test sending escape sequence

2011-04-01 Thread Guillaume Zajac
--- gatchat/gsmdial.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/gatchat/gsmdial.c b/gatchat/gsmdial.c index a10e7cb..92a7ff2 100644 --- a/gatchat/gsmdial.c +++ b/gatchat/gsmdial.c @@ -57,6 +57,7 @@ static gchar *option_username = NULL; static gchar *option_passwor

[PATCH v3 24/26] gatchat: add g_at_chat_send_escape_sequence() prototype

2011-04-01 Thread Guillaume Zajac
--- gatchat/gatchat.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/gatchat/gatchat.h b/gatchat/gatchat.h index eb82daa..326ebe2 100644 --- a/gatchat/gatchat.h +++ b/gatchat/gatchat.h @@ -132,6 +132,8 @@ guint g_at_chat_send_and_expect_short_prompt(GAtChat *chat, const

[PATCH v3 22/26] emulator: add dun_ato_cb() and register it

2011-04-01 Thread Guillaume Zajac
--- src/emulator.c | 54 ++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/src/emulator.c b/src/emulator.c index f375c9e..7280030 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -235,6 +235,59 @@ error: return; }

[PATCH v3 21/26] gatppp: add g_at_ppp_resume() definition.

2011-04-01 Thread Guillaume Zajac
--- gatchat/gatppp.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c index 5f005fe..6dfd965 100644 --- a/gatchat/gatppp.c +++ b/gatchat/gatppp.c @@ -493,6 +493,23 @@ void g_at_ppp_suspend(GAtPPP *ppp) g_at_hdlc_s

[PATCH v3 20/26] gatppp: add g_at_ppp_resume() prototype

2011-04-01 Thread Guillaume Zajac
--- gatchat/gatppp.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/gatchat/gatppp.h b/gatchat/gatppp.h index e4e9f5f..fbf55b9 100644 --- a/gatchat/gatppp.h +++ b/gatchat/gatppp.h @@ -65,6 +65,7 @@ void g_at_ppp_set_suspend_function(GAtPPP *ppp, GAtSuspendFunc func,

[PATCH v3 17/26] gathdlc: add g_at_hdlc_resume() definition

2011-04-01 Thread Guillaume Zajac
--- gatchat/gathdlc.c | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/gatchat/gathdlc.c b/gatchat/gathdlc.c index 37f2539..816da34 100644 --- a/gatchat/gathdlc.c +++ b/gatchat/gathdlc.c @@ -604,3 +604,28 @@ void g_at_hdlc_suspend(GAtHDLC *hdlc)

[PATCH v3 19/26] ppp_net: add ppp_net_resume_interface() definition

2011-04-01 Thread Guillaume Zajac
--- gatchat/ppp_net.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/gatchat/ppp_net.c b/gatchat/ppp_net.c index 9abf590..6ace16b 100644 --- a/gatchat/ppp_net.c +++ b/gatchat/ppp_net.c @@ -205,3 +205,13 @@ void ppp_net_suspend_interface(struct ppp_net *net)

[PATCH v3 18/26] ppp: add ppp_net_resume_interface() prototype

2011-04-01 Thread Guillaume Zajac
--- gatchat/ppp.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/gatchat/ppp.h b/gatchat/ppp.h index 22809d8..ae96e42 100644 --- a/gatchat/ppp.h +++ b/gatchat/ppp.h @@ -108,6 +108,7 @@ void ppp_net_process_packet(struct ppp_net *net, const guint8 *packet); void ppp_net_

[PATCH v3 13/26] gatppp: add g_at_ppp_suspend() definition

2011-04-01 Thread Guillaume Zajac
--- gatchat/gatppp.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c index 9df6b8e..5f005fe 100644 --- a/gatchat/gatppp.c +++ b/gatchat/gatppp.c @@ -484,6 +484,15 @@ void g_at_ppp_shutdown(GAtPPP *ppp) pppcp_signal_close(

[PATCH v3 16/26] gathdlc: add g_at_hdlc_resume() prototype

2011-04-01 Thread Guillaume Zajac
--- gatchat/gathdlc.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/gatchat/gathdlc.h b/gatchat/gathdlc.h index 556e383..e82b33e 100644 --- a/gatchat/gathdlc.h +++ b/gatchat/gathdlc.h @@ -61,6 +61,7 @@ void g_at_hdlc_set_suspend_function(GAtHDLC *hdlc, GAtSuspendFunc fu

[PATCH v3 15/26] emulator: add dun_ath_cb() and register it

2011-04-01 Thread Guillaume Zajac
--- src/emulator.c | 60 ++- 1 files changed, 58 insertions(+), 2 deletions(-) diff --git a/src/emulator.c b/src/emulator.c index ededf9d..f375c9e 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -188,6 +188,53 @@ error: g_at_server

[PATCH v3 14/26] emulator: add ppp_suspend() CB and register it

2011-04-01 Thread Guillaume Zajac
--- src/emulator.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/emulator.c b/src/emulator.c index c84f0a9..ededf9d 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -99,6 +99,16 @@ static void ppp_disconnect(GAtPPPDisconnectReason reason, gpointer user

[PATCH v3 12/26] gatppp: add g_at_ppp_suspend() prototype

2011-04-01 Thread Guillaume Zajac
--- gatchat/gatppp.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/gatchat/gatppp.h b/gatchat/gatppp.h index 7835d1f..e4e9f5f 100644 --- a/gatchat/gatppp.h +++ b/gatchat/gatppp.h @@ -64,6 +64,7 @@ void g_at_ppp_set_debug(GAtPPP *ppp, GAtDebugFunc func, gpointer user_dat

[PATCH v3 10/26] ppp: add ppp_net_suspend_interface() prototype

2011-04-01 Thread Guillaume Zajac
--- gatchat/ppp.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/gatchat/ppp.h b/gatchat/ppp.h index d2786d7..22809d8 100644 --- a/gatchat/ppp.h +++ b/gatchat/ppp.h @@ -107,6 +107,7 @@ const char *ppp_net_get_interface(struct ppp_net *net); void ppp_net_process_packet(st

[PATCH v3 11/26] ppp_net: add ppp_net_suspend_interface() definition

2011-04-01 Thread Guillaume Zajac
--- gatchat/ppp_net.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/gatchat/ppp_net.c b/gatchat/ppp_net.c index 1a6cdf7..9abf590 100644 --- a/gatchat/ppp_net.c +++ b/gatchat/ppp_net.c @@ -196,3 +196,12 @@ void ppp_net_free(struct ppp_net *net) g_free(net-

[PATCH v3 09/26] gathdlc: add g_at_hdlc_suspend() definition

2011-04-01 Thread Guillaume Zajac
--- gatchat/gathdlc.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/gatchat/gathdlc.c b/gatchat/gathdlc.c index db4ad5a..37f2539 100644 --- a/gatchat/gathdlc.c +++ b/gatchat/gathdlc.c @@ -595,3 +595,12 @@ void g_at_hdlc_set_no_carrier_detect(GAtHDLC *hdlc, gbool

[PATCH v3 08/26] gathdlc: add g_at_hdlc_suspend() prototype

2011-04-01 Thread Guillaume Zajac
--- gatchat/gathdlc.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/gatchat/gathdlc.h b/gatchat/gathdlc.h index 158f27f..556e383 100644 --- a/gatchat/gathdlc.h +++ b/gatchat/gathdlc.h @@ -60,6 +60,8 @@ void g_at_hdlc_set_no_carrier_detect(GAtHDLC *hdlc, gboolean detect

[PATCH v3 07/26] gatppp: add g_at_ppp_set_suspend_function() definition

2011-04-01 Thread Guillaume Zajac
--- gatchat/gatppp.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c index 993b5ea..9df6b8e 100644 --- a/gatchat/gatppp.c +++ b/gatchat/gatppp.c @@ -467,6 +467,14 @@ void g_at_ppp_set_debug(GAtPPP *ppp, GAtDebugFunc func, gpointe

[PATCH v3 06/26] gatppp: add g_at_ppp_set_suspend_function() prototype

2011-04-01 Thread Guillaume Zajac
--- gatchat/gatppp.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/gatchat/gatppp.h b/gatchat/gatppp.h index fb5de4c..7835d1f 100644 --- a/gatchat/gatppp.h +++ b/gatchat/gatppp.h @@ -61,6 +61,8 @@ void g_at_ppp_set_connect_function(GAtPPP *ppp, GAtPPPConnectFunc callba

[PATCH v3 05/26] gathdlc: add mechansim to detect '+++' escape sequence

2011-04-01 Thread Guillaume Zajac
--- gatchat/gathdlc.c | 92 + 1 files changed, 92 insertions(+), 0 deletions(-) diff --git a/gatchat/gathdlc.c b/gatchat/gathdlc.c index 7c45454..db4ad5a 100644 --- a/gatchat/gathdlc.c +++ b/gatchat/gathdlc.c @@ -50,6 +50,8 @@ #define HDLC_

[PATCH v3 03/26] gatio: add g_at_io_drain_ring_buffer() definition

2011-04-01 Thread Guillaume Zajac
--- gatchat/gatio.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/gatchat/gatio.c b/gatchat/gatio.c index 2778260..f679cd0 100644 --- a/gatchat/gatio.c +++ b/gatchat/gatio.c @@ -387,3 +387,8 @@ void g_at_io_set_write_done(GAtIO *io, GAtDisconnectFunc func, i

[PATCH v3 04/26] gathdlc: add g_at_hdlc_set_suspend_function() prototype

2011-04-01 Thread Guillaume Zajac
--- gatchat/gathdlc.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/gatchat/gathdlc.h b/gatchat/gathdlc.h index 95c389e..158f27f 100644 --- a/gatchat/gathdlc.h +++ b/gatchat/gathdlc.h @@ -57,6 +57,9 @@ GAtIO *g_at_hdlc_get_io(GAtHDLC *hdlc); void g_at_hdlc_set_no_ca

[PATCH v3 00/26] Escape Sequence Dectection implementation

2011-04-01 Thread Guillaume Zajac
Hi, This set of patches is an update of the previous one. The main diff are: - Rework Escape Sequence detection mechanism: * we don't need a timeout to detect the 3 '+' GUARD_TIMEOUTS only is enough. * Be sure g_source timeout is deleted a

[PATCH v3 02/26] gatio: add prototype to drain GAtIO read buffer

2011-04-01 Thread Guillaume Zajac
--- gatchat/gatio.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/gatchat/gatio.h b/gatchat/gatio.h index ca9618f..16dd621 100644 --- a/gatchat/gatio.h +++ b/gatchat/gatio.h @@ -52,6 +52,8 @@ gboolean g_at_io_set_write_handler(GAtIO *io, GAtIOWriteFunc write_handler,

[PATCH v3 01/26] gat: add GAtSuspendFunc CB typedef

2011-04-01 Thread Guillaume Zajac
--- gatchat/gat.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/gatchat/gat.h b/gatchat/gat.h index ddf8695..f067389 100644 --- a/gatchat/gat.h +++ b/gatchat/gat.h @@ -32,6 +32,7 @@ typedef void (*GAtDisconnectFunc)(gpointer user_data); typedef void (*GAtReceiveFunc)(co

RE: Motorola Modem H24 gprs connection

2011-04-01 Thread Ostermann, Christophe
Hi Denis, Thank you for this quick answer. Yes H24 modem expects some raw data in this mode (after having created a TCP or UDP socket). This modem must also support standard way of sending data through ppp. I will start by using this mode. I ve tried but unfortunately AT+CGDATA is not recognize