Re: [PATCH_v3 2/3] emulator: add drivers to request/release private network from ConnMan

2011-05-04 Thread Denis Kenzior
Hi Guillaume, On 05/03/2011 09:44 AM, Guillaume Zajac wrote: > --- > include/emulator.h | 18 +++ > src/emulator.c | 83 +++ > 2 files changed, 81 insertions(+), 20 deletions(-) Please remember to separate patches according to direc

Re: [PATCH_v3 1/3] gatppp: Add new contructor to use external fd

2011-05-04 Thread Denis Kenzior
Hi Guillaume, On 05/03/2011 09:44 AM, Guillaume Zajac wrote: > --- > gatchat/gatppp.c | 48 ++--- > gatchat/gatppp.h |1 + > gatchat/ppp.h |2 +- > gatchat/ppp_net.c | 55 +--- > 4 files chan

Re: [PATCH 2/4] gprs: Add new external APIs to create, activate and remove a PDP context

2011-05-04 Thread Denis Kenzior
Hi Philippe, On 05/04/2011 12:26 PM, Philippe Nunes wrote: > --- > include/gprs.h | 16 > src/gprs.c | 234 > +++- > 2 files changed, 246 insertions(+), 4 deletions(-) > > diff --git a/include/gprs.h b/include/gprs.h > index 157a6f

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

2011-05-04 Thread Denis Kenzior
Hi Frédéric, On 05/02/2011 10:48 AM, Frédéric Dalleau wrote: > 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=

[PATCH 4/4] gprs: Add a host route for STK context type.

2011-05-04 Thread Philippe Nunes
--- src/gprs.c | 51 --- 1 files changed, 28 insertions(+), 23 deletions(-) diff --git a/src/gprs.c b/src/gprs.c index 2b88324..9618d7a 100644 --- a/src/gprs.c +++ b/src/gprs.c @@ -141,8 +141,8 @@ struct pri_context { unsigned int id;

[PATCH 3/4] stk: Use gprs APIs to create, activate and remove a dedicated PDP context

2011-05-04 Thread Philippe Nunes
--- src/stk.c | 132 +--- 1 files changed, 116 insertions(+), 16 deletions(-) diff --git a/src/stk.c b/src/stk.c index dec0439..fe74cb5 100644 --- a/src/stk.c +++ b/src/stk.c @@ -85,6 +85,7 @@ struct ofono_stk { struct stk_channel_d

[PATCH 1/4] gprs: Add 'stk' gprs context type

2011-05-04 Thread Philippe Nunes
--- include/gprs-context.h |1 + src/gprs.c |7 +++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/include/gprs-context.h b/include/gprs-context.h index f82fcaa..e7976a1 100644 --- a/include/gprs-context.h +++ b/include/gprs-context.h @@ -46,6 +46,7 @@ enum

[PATCH 2/4] gprs: Add new external APIs to create, activate and remove a PDP context

2011-05-04 Thread Philippe Nunes
--- include/gprs.h | 16 src/gprs.c | 234 +++- 2 files changed, 246 insertions(+), 4 deletions(-) diff --git a/include/gprs.h b/include/gprs.h index 157a6f9..0bb37f7 100644 --- a/include/gprs.h +++ b/include/gprs.h @@ -36,6 +36,10 @

[PATCH 0/4] Introduce new gprs APIs to setup STK PDP context

2011-05-04 Thread Philippe Nunes
New APIs are introduced in the gprs atom in order to setup a PDP context directly from the stk atom. In order to privatize the PDP context created from STK, a new PDP context type ('stk') is introduced. By registering a callback, the STK atom is notified when the dedicated PDP context is activat

[PATCH V2 1/3] stkutil.c: Send at least the data currently available

2011-05-04 Thread Philippe Nunes
--- src/stkutil.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/stkutil.c b/src/stkutil.c index 7299fb5..ee59841 100644 --- a/src/stkutil.c +++ b/src/stkutil.c @@ -5655,7 +5655,8 @@ static gboolean build_receive_data(struct stk_tlv_builder *builder, const

[PATCH V2 3/3] stk: Introduce BIP command handlers

2011-05-04 Thread Philippe Nunes
--- src/stk.c | 425 - 1 files changed, 424 insertions(+), 1 deletions(-) diff --git a/src/stk.c b/src/stk.c index 8214b65..dec0439 100644 --- a/src/stk.c +++ b/src/stk.c @@ -41,6 +41,7 @@ #include "smsutil.h" #include "stkutil.h" #i

[PATCH V2 2/3] stk: Clear 'respond_on_exit' flag after sending the terminal response

2011-05-04 Thread Philippe Nunes
--- src/stk.c | 27 ++- 1 files changed, 2 insertions(+), 25 deletions(-) diff --git a/src/stk.c b/src/stk.c index c86cbfb..8214b65 100644 --- a/src/stk.c +++ b/src/stk.c @@ -128,6 +128,7 @@ static int stk_respond(struct ofono_stk *stk, struct stk_response *rsp,

RE: Dedug Log for Huawei EC168C

2011-05-04 Thread Aygon, Bertrand
Hi, >PFA, the debug log with AT commands > >I am still getting a timeout on enable-modem operation > >and list-modem gives following o/p > >$ ./list-modems >[ /huawei0 ] >Features = >Emergency = 0 >Powered = 0 >Lockdown = 0 >Interfaces = >Online = 0 > >Regards, >Rajesh We

Re: Dedug Log for Huawei EC168C

2011-05-04 Thread Olivier Guiter
On 05/04/2011 06:04 PM, rajeshkumar s.a wrote: rules ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1412", ENV{OFONO_IFACE_NUM}=="00", ENV{OFONO_HUAWEI_TYPE}="Modem" ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1412", ENV{OFONO_IFACE_NUM}=="02", ENV{OFONO_HUAWEI_TYPE}="Pcui" ATTRS{idVendor}=="12d1

Re: Dedug Log for Huawei EC168C

2011-05-04 Thread rajeshkumar s.a
rules ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1412", ENV{OFONO_IFACE_NUM}=="00", ENV{OFONO_HUAWEI_TYPE}="Modem" ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1412", ENV{OFONO_IFACE_NUM}=="02", ENV{OFONO_HUAWEI_TYPE}="Pcui" ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1412", ENV{OFONO_IFACE_NUM}=="

Re: Dedug Log for Huawei EC168C

2011-05-04 Thread rajeshkumar s.a
How do I get the proper ofono_interface_num ? (n00b ques) rajesh On Wed, May 4, 2011 at 9:26 PM, Olivier Guiter < olivier.gui...@linux.intel.com> wrote: > On 05/04/2011 05:35 PM, rajeshkumar s.a wrote: > > PFA, the debug log with AT commands > > I am still getting a timeout on enable-modem oper

Re: Dedug Log for Huawei EC168C

2011-05-04 Thread Olivier Guiter
On 05/04/2011 05:35 PM, rajeshkumar s.a wrote: PFA, the debug log with AT commands I am still getting a timeout on enable-modem operation and list-modem gives following o/p $ ./list-modems [ /huawei0 ] Features = Emergency = 0 Powered = 0 Lockdown = 0 Interfaces = Onlin

[PATCH_v4 6/8] gsmdial: add new option to test escape sequence

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

[PATCH_v4 8/8] gsmdial: add ATH0 command test

2011-05-04 Thread Guillaume Zajac
--- gatchat/gsmdial.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/gatchat/gsmdial.c b/gatchat/gsmdial.c index 31bb910..7c8ba47 100644 --- a/gatchat/gsmdial.c +++ b/gatchat/gsmdial.c @@ -238,9 +238,19 @@ static gboolean execute(const char *cmd) return

[PATCH_v4 7/8] emulator: add dun_ath_cb() and register it

2011-05-04 Thread Guillaume Zajac
--- src/emulator.c | 59 ++- 1 files changed, 57 insertions(+), 2 deletions(-) diff --git a/src/emulator.c b/src/emulator.c index 5963ffb..e389387 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -193,6 +193,53 @@ error: g_at_server

[PATCH_v4 5/8] emulator: add suspend_ppp() definition and and register it into GAtPPP

2011-05-04 Thread Guillaume Zajac
--- src/emulator.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/emulator.c b/src/emulator.c index 9055909..5963ffb 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -105,6 +105,15 @@ static void ppp_disconnect(GAtPPPDisconnectReason reason, gpointer use

[PATCH_v4 4/8] gatppp: add public suspend function for testing

2011-05-04 Thread Guillaume Zajac
--- gatchat/gatppp.c | 35 +++ gatchat/gatppp.h |1 + 2 files changed, 36 insertions(+), 0 deletions(-) diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c index c776811..67f0a28 100644 --- a/gatchat/gatppp.c +++ b/gatchat/gatppp.c @@ -46,6 +46,9 @@ #define PPP

[PATCH_v4 3/8] gatppp: add function to set ppp_suspend() and proxy function to call ppp_net_suspend_interface()

2011-05-04 Thread Guillaume Zajac
--- gatchat/gatppp.c | 24 gatchat/gatppp.h |2 ++ 2 files changed, 26 insertions(+), 0 deletions(-) diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c index 993b5ea..c776811 100644 --- a/gatchat/gatppp.c +++ b/gatchat/gatppp.c @@ -76,6 +76,8 @@ struct _GAtPPP {

[PATCH_v4 0/8] Escape sequence test implementation

2011-05-04 Thread Guillaume Zajac
Hi all, After set of patches has been applied, you can test it in launching: sudo src/ofonod -nd '*' (with phonesim enabled and online) sudo gsmdial -i xxx.xxx.xxx.xxx -p -b -e This will establish a PPP connection and terminate it using "+++" escape sequence and ATH0 command. Change log f

[PATCH_v4 2/8] ppp_net: add ppp_net_suspend_interface() function

2011-05-04 Thread Guillaume Zajac
--- gatchat/ppp.h |1 + gatchat/ppp_net.c |9 + 2 files changed, 10 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_n

[PATCH_v4 1/8] gathdlc: delete read/write handler in hdlc_suspend and add public suspend function for testing

2011-05-04 Thread Guillaume Zajac
--- gatchat/gathdlc.c | 12 gatchat/gathdlc.h |2 ++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/gatchat/gathdlc.c b/gatchat/gathdlc.c index e3ab7ec..7989bd7 100644 --- a/gatchat/gathdlc.c +++ b/gatchat/gathdlc.c @@ -166,6 +166,9 @@ static gboolean hdlc_suspe

Dedug Log for Huawei EC168C

2011-05-04 Thread rajeshkumar s.a
PFA, the debug log with AT commands I am still getting a timeout on enable-modem operation and list-modem gives following o/p $ ./list-modems [ /huawei0 ] Features = Emergency = 0 Powered = 0 Lockdown = 0 Interfaces = Online = 0 Regards, Rajesh debug_log_2 Description:

Debug log

2011-05-04 Thread rajeshkumar s.a
PFA, the debug log I am getting a timeout error when I do a ./enable-modem on Huawei datacard (EC168C) Regards, Rajesh debug_log Description: Binary data ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono

Re: Ofono cross compiling for ARM

2011-05-04 Thread andrzej zaborowski
Hi Yuruvaj, On 4 May 2011 11:07, Yuvaraj Ragupathi wrote: > I want to cross compile the ofono for ARM target. > > So i executed configure file with following arguments > > > #./configure --host=arm > --libdir=/usr/lib/madde/linux-i686/sysroots/meego-core-armv7l-madde-sysroot-1.1.2-fs/usr/lib > --

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

2011-05-04 Thread Guillaume Zajac
Hi Denis, On 02/05/2011 14:26, Denis Kenzior wrote: Hi Guillaume, On 04/01/2011 03:56 AM, Guillaume Zajac wrote: --- 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/gat

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

2011-05-04 Thread Guillaume Zajac
Hi Denis, On 02/05/2011 14:24, Denis Kenzior wrote: Hi Guillaume, On 04/01/2011 03:56 AM, Guillaume Zajac wrote: --- 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/g

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

2011-05-04 Thread Guillaume Zajac
Hi Denis, On 02/05/2011 14:22, Denis Kenzior wrote: Hi Guillaume, @@ -197,6 +257,29 @@ out: if (hdlc->destroyed) g_free(hdlc); + + /* +* If there were no data pause for GUARD_TIMEOUTS ms, +* we try again to check it. +*/ + if (!hdlc-

Ofono cross compiling for ARM

2011-05-04 Thread Yuvaraj Ragupathi
Hi Guys, I want to cross compile the ofono for ARM target. So i executed configure file with following arguments #./configure --host=arm --libdir=/usr/lib/madde/linux-i686/sysroots/meego-core-armv7l-madde-sysroot-1.1.2-fs/usr/lib --prefix=/home/$myname/Desktop/ofono_For_ARM/binaries --included