Re: context activation quickly after context deactivation fails

2012-09-07 Thread Cedric Jehasse
Hi Dennis, > Can you change: > + g_at_chat_register(chat, "NO CARRIER", no_carrier_notify, > + FALSE, gc, NULL); > > to read: > > + g_at_chat_register(gcd->chat, "NO CARRIER", no_carrier_notify, > + FALSE, gc, NULL); > it's w

Re: context activation quickly after context deactivation fails

2012-09-06 Thread Denis Kenzior
Hi Cedric, On 09/06/2012 09:09 AM, Cedric Jehasse wrote: Hi Denis, with the patch i don't get a reply when deactivating the context. From the on it's not possible to activate the context, because the operation is still in progress. This is a log of the deactivation: Jan 1 03:13:05 ofonod[6856

Re: context activation quickly after context deactivation fails

2012-09-06 Thread Cedric Jehasse
Hi Denis, with the patch i don't get a reply when deactivating the context. From the on it's not possible to activate the context, because the operation is still in progress. This is a log of the deactivation: Jan 1 03:13:05 ofonod[6856]: drivers/atmodem/gprs-context.c:at_gprs_deactivate_primary

Re: context activation quickly after context deactivation fails

2012-09-05 Thread Denis Kenzior
Hi Cedric, On 09/03/2012 07:50 AM, Cedric Jehasse wrote: Hi, When i want to change a Property (eg. APN) of an Active ConnectionContext. I first deactivate the context, wait for a reply then set the property and re-activate the context. The problem is i'm already trying to re-activate the contex

context activation quickly after context deactivation fails

2012-09-03 Thread Cedric Jehasse
Hi, When i want to change a Property (eg. APN) of an Active ConnectionContext. I first deactivate the context, wait for a reply then set the property and re-activate the context. The problem is i'm already trying to re-activate the context, before oFono gets a "NO CARRIER" from the modem. oFono tr