Re: [PATCH_v3] plugins: Update new at_util_sim_state_query_new() prototype use

2012-04-17 Thread Guillaume Zajac
Hi All, On 17/04/2012 16:49, Guillaume Zajac wrote: --- plugins/alcatel.c |3 ++- plugins/mbm.c |2 +- plugins/samsung.c |3 ++- plugins/speedup.c |3 ++- plugins/zte.c |3 ++- 5 files changed, 9 insertions(+), 5 deletions(-) Please ignore this one. Kind

[PATCH_v3] plugins: Update new at_util_sim_state_query_new() prototype use

2012-04-17 Thread Guillaume Zajac
--- plugins/alcatel.c |3 ++- plugins/mbm.c |2 +- plugins/samsung.c |3 ++- plugins/speedup.c |3 ++- plugins/zte.c |3 ++- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/plugins/alcatel.c b/plugins/alcatel.c index fd0e4ec..8005170 100644 --- a/plugins/

[PATCH 2/2] plugins: Update new at_util_sim_state_query_new() prototype use

2012-04-17 Thread Guillaume Zajac
--- plugins/alcatel.c |3 ++- plugins/mbm.c |2 +- plugins/samsung.c |3 ++- plugins/speedup.c |3 ++- plugins/zte.c |3 ++- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/plugins/alcatel.c b/plugins/alcatel.c index fd0e4ec..8005170 100644 --- a/plugins/

[PATCH 0/2] Tweak at_util_sim_state_query_new() function

2012-04-17 Thread Guillaume Zajac
Hi all, First patch improves at_util_sim_state_query_new() function. A user data destroyer can be now specifed. Second is just updating the plugins that are using this function. Kind regards, Guillaume Guillaume Zajac (2): atutil: Add destroyer in at_util_sim_state_query_new prototype plugin

[PATCH 1/2] atutil: Add destroyer in at_util_sim_state_query_new prototype

2012-04-17 Thread Guillaume Zajac
--- drivers/atmodem/atutil.c |8 +++- drivers/atmodem/atutil.h |3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/atmodem/atutil.c b/drivers/atmodem/atutil.c index 0c6aab4..7c46dc5 100644 --- a/drivers/atmodem/atutil.c +++ b/drivers/atmodem/atutil.c @@ -45,6

Re: [PATCH v2] Speedup: Use speedup specific driver for ussd

2012-04-17 Thread Denis Kenzior
Hi Nicolas, On 04/17/2012 07:17 AM, Nicolas Bertrand wrote: > --- > plugins/speedup.c |5 ++--- > 1 files changed, 2 insertions(+), 3 deletions(-) > Patch has been applied, thanks. Regards, -Denis ___ ofono mailing list ofono@ofono.org http://lis

Re: [PATCH_v2] atmodem: Poll SIM state after having entered PIN

2012-04-17 Thread Denis Kenzior
Hi Guillaume, >> Who owns the cbd data in this case? Are we not leaking that here? >> > > Yes, we are. I see 2 options here: > a- Tweaking current at_util_sim_state_query_new(GAtChat *chat, > guint interval, guint num_times, > at_util_sim_inserted_c

[PATCH v2] Speedup: Use speedup specific driver for ussd

2012-04-17 Thread Nicolas Bertrand
--- plugins/speedup.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/speedup.c b/plugins/speedup.c index ca6ed13..0261f49 100644 --- a/plugins/speedup.c +++ b/plugins/speedup.c @@ -2,7 +2,7 @@ * * oFono - Open Source Telephony * - * Copyright (C) 2008-

Re: [PATCH_v2] atmodem: Poll SIM state after having entered PIN

2012-04-17 Thread Guillaume Zajac
Hi Marcel, On 17/04/2012 11:36, Marcel Holtmann wrote: Hi Guillaume, Some modems use SIM notification to check SIM state. If not do some poll using atutil helper. --- drivers/atmodem/sim.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/d

Re: [PATCH_v2] atmodem: Poll SIM state after having entered PIN

2012-04-17 Thread Marcel Holtmann
Hi Guillaume, > Some modems use SIM notification to check SIM state. > If not do some poll using atutil helper. > --- > drivers/atmodem/sim.c | 28 > 1 files changed, 28 insertions(+), 0 deletions(-) > > diff --git a/drivers/atmodem/sim.c b/drivers/atmodem/sim.c >

[PATCH_v2] atmodem: Poll SIM state after having entered PIN

2012-04-17 Thread Guillaume Zajac
Some modems use SIM notification to check SIM state. If not do some poll using atutil helper. --- drivers/atmodem/sim.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/drivers/atmodem/sim.c b/drivers/atmodem/sim.c index c51b1d4..269079a 100644 -

Re: [PATCH] atmodem: Do some polling on at_pin_query

2012-04-17 Thread Guillaume Zajac
Hi Denis, On 16/04/2012 16:15, Denis Kenzior wrote: Hi Guillaume, On 04/16/2012 03:06 AM, Guillaume Zajac wrote: Hi Denis, On 12/04/2012 21:36, Denis Kenzior wrote: Hi Guillaume, On 04/12/2012 09:28 AM, Guillaume Zajac wrote: For some modem like ZTE MF180/190, we need to do some polling to