Re: How to answer an incoming call

2010-02-01 Thread Zhenhua Zhang
On 02/02/2010 02:14 PM, Sun, Yijin wrote: Hi, Now i can use the modem to dial my phone and it can be connected. When I call the modem by my phone, I can’t find the path /voicecall01 which has the function answer(). How can I make the path activated to use the answer() Did you power your mo

How to answer an incoming call

2010-02-01 Thread Sun, Yijin
Hi, Now i can use the modem to dial my phone and it can be connected. When I call the modem by my phone, I can't find the path /voicecall01 which has the function answer(). How can I make the path activated to use the answer()? Thanks jasper ___ ofono m

Re: [RFC] [PATCH 0/2] HFP AG integration with PulseAudio

2010-02-01 Thread Zhenhua Zhang
Hi Jprvita, On 02/02/2010 01:09 AM, João Paulo Rechi Vita wrote: 2010/1/29 João Paulo Rechi Vita: Hi all, I'm trying to add support for the Handsfree Gateway role Gustavo just added to BlueZ and oFono. The BlueZ patches can be found on [1] and [2] and the oFono part was just merged upstrea

Re: [RFC] [PATCH 0/2] HFP AG integration with PulseAudio

2010-02-01 Thread Zhenhua Zhang
Hi Jprvita, On 02/02/2010 01:09 AM, João Paulo Rechi Vita wrote: 2010/1/29 João Paulo Rechi Vita: Hi all, I'm trying to add support for the Handsfree Gateway role Gustavo just added to BlueZ and oFono. The BlueZ patches can be found on [1] and [2] and the oFono part was just merged upstrea

Re: [PATCH 1/2] Fix: Username and Password must be set after context is created.

2010-02-01 Thread Marcel Holtmann
Hi Denis, > > > > And we might wanna check if MBM cards behave similar and ensure that > > > > STE and MBM cards use a similar code flow. > > > > > > When testing this EIAAUW fails if there are no prior PDP context on the > > > modem. Most likely this is the case with the MBM module as well, but I

RE: [PATCH 2/2] Fix: Check if interface exists before creating it.

2010-02-01 Thread Marcel Holtmann
Hi Sjur, > >> diff --git a/drivers/stemodem/gprs-context.c > >> b/drivers/stemodem/gprs-context.c index c178fb6..79e697b 100644 > >> --- a/drivers/stemodem/gprs-context.c > >> +++ b/drivers/stemodem/gprs-context.c > >> @@ -187,9 +187,11 @@ static gboolean caif_if_create(const char > >>*interfa

Re: [PATCH 1/2] Fix: Username and Password must be set after context is created.

2010-02-01 Thread Denis Kenzior
Hi Marcel, > > > And we might wanna check if MBM cards behave similar and ensure that > > > STE and MBM cards use a similar code flow. > > > > When testing this EIAAUW fails if there are no prior PDP context on the > > modem. Most likely this is the case with the MBM module as well, but I > > have

RE: [PATCH 1/2] Fix: Username and Password must be set after context is created.

2010-02-01 Thread Marcel Holtmann
Hi Sjur, > >>len = sprintf(buf, "AT+CGDCONT=%u,\"IP\"", ctx->cid); > >> > >>if (ctx->apn) > >>snprintf(buf + len, sizeof(buf) - len - 3, ",\"%s\"", > >> ctx->apn); > >> > >> + /* Set username and password. Must be done after context creation */ > >> + len = strlen(buf);

[PATCH] hfp: create modem for new devices paired on runtime

2010-02-01 Thread Gustavo F. Padovan
It listens the Paired property to create a modem to the recently paired devices. --- plugins/hfp.c | 56 +++- 1 files changed, 55 insertions(+), 1 deletions(-) diff --git a/plugins/hfp.c b/plugins/hfp.c index 0e2e359..05d79cb 100644 --- a/plug

[PATCH] hfp: create modem for new devices paired on runtime

2010-02-01 Thread Gustavo F. Padovan
It listens the Paired property to create a modem to the recently paired devices. --- plugins/hfp.c | 68 - 1 files changed, 67 insertions(+), 1 deletions(-) diff --git a/plugins/hfp.c b/plugins/hfp.c index 0e2e359..92b6be4 100644 --- a/plu

Re: [PATCH] hfp: create modem for new devices paired on runtime

2010-02-01 Thread Denis Kenzior
Hi Gustavo, > It listens the Paired property to create a modem to the recently paired > devices. > --- > plugins/hfp.c | 60 > - 1 files changed, > 59 insertions(+), 1 deletions(-) > > diff --git a/plugins/hfp.c b/plugins/hfp.c > index

[PATCH] hfp: create modem for new devices paired on runtime

2010-02-01 Thread Gustavo F. Padovan
It listens the Paired property to create a modem to the recently paired devices. --- plugins/hfp.c | 60 - 1 files changed, 59 insertions(+), 1 deletions(-) diff --git a/plugins/hfp.c b/plugins/hfp.c index 0e2e359..2141078 100644 --- a/plu

Re: [RFC] [PATCH 0/2] HFP AG integration with PulseAudio

2010-02-01 Thread João Paulo Rechi Vita
2010/1/29 João Paulo Rechi Vita : > Hi all, > > I'm trying to add support for the Handsfree Gateway role Gustavo just added > to BlueZ and oFono. The BlueZ patches can be found on [1] and [2] and the > oFono part was just merged upstream. > > But when it comes to integrate them with Pulse, I'm gett

Re: [PATCH 1/2] Fix: Username and Password must be set after context is created.

2010-02-01 Thread Marcel Holtmann
Hi Sjur, > diff --git a/drivers/stemodem/gprs-context.c b/drivers/stemodem/gprs-context.c > index 6743aba..c178fb6 100644 > --- a/drivers/stemodem/gprs-context.c > +++ b/drivers/stemodem/gprs-context.c > @@ -416,7 +416,7 @@ static void ste_gprs_activate_primary(struct > ofono_gprs_context *gc, >

Re: [PATCH 2/2] Fix: Check if interface exists before creating it.

2010-02-01 Thread Marcel Holtmann
Hi Sjur, > diff --git a/drivers/stemodem/gprs-context.c b/drivers/stemodem/gprs-context.c > index c178fb6..79e697b 100644 > --- a/drivers/stemodem/gprs-context.c > +++ b/drivers/stemodem/gprs-context.c > @@ -187,9 +187,11 @@ static gboolean caif_if_create(const char *interface, > unsigned int con

[PATCH 2/2] Fix: Check if interface exists before creating it.

2010-02-01 Thread sjur . brandeland
From: Sjur Brændeland --- drivers/stemodem/gprs-context.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/stemodem/gprs-context.c b/drivers/stemodem/gprs-context.c index c178fb6..79e697b 100644 --- a/drivers/stemodem/gprs-context.c +++ b/drivers/stemodem/g

[PATCH 1/2] Fix: Username and Password must be set after context is created.

2010-02-01 Thread sjur . brandeland
From: Sjur Brændeland --- drivers/stemodem/gprs-context.c | 14 ++ 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/stemodem/gprs-context.c b/drivers/stemodem/gprs-context.c index 6743aba..c178fb6 100644 --- a/drivers/stemodem/gprs-context.c +++ b/drivers/stem