[PATCH] modem:Add powered watches on modem.

2011-01-31 Thread Guillaume Zajac
--- src/modem.c | 47 +++ src/ofono.h |7 +++ 2 files changed, 54 insertions(+), 0 deletions(-) diff --git a/src/modem.c b/src/modem.c index 8e243d8..4e026cf 100644 --- a/src/modem.c +++ b/src/modem.c @@ -77,6 +77,7 @@ struct ofono_modem {

Re: [PATCH -v2 5/7] dun_gw: Add DUN server plugin for oFono

2011-02-08 Thread Guillaume Zajac
Hi Gustavo, Thanks for clarification. Kind regards, Guillaume On 07/02/2011 19:19, Gustavo F. Padovan wrote: Hi Guillaume, * Guillaume Zajacguillaume.za...@linux.intel.com [2011-02-07 10:21:58 +0100]: Hi Padovan, One comment below. Kind regards, Guillaume On 04/02/2011 22:46, Gustavo

Re: [PATCH -v2 6/7] emulator: Implement dialing up for DUN

2011-02-08 Thread Guillaume Zajac
Hi Gustavo, On 04/02/2011 22:46, Gustavo F. Padovan wrote: It handles client ATD*99# request and then initiate the PPP negotiation. IP forward through the new ppp interface is not done yet. Initially based on patches from Zhenhua Zhangzhenhua.zh...@intel.com --- src/emulator.c | 123

Re: [PATCH 2/2] emulator: add dialing support

2011-02-17 Thread Guillaume Zajac
Hi Gustavo, On 16/02/2011 22:41, Gustavo F. Padovan wrote: It handles client ATD*99# request and then initiate the PPP negotiation. IP forward through the new ppp interface is not done yet. Initially based on patches from Zhenhua Zhangzhenhua.zh...@intel.com --- src/emulator.c | 113

[PATCH] test-server:Add test of PPP disconnect reason

2011-02-17 Thread Guillaume Zajac
--- gatchat/test-server.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/gatchat/test-server.c b/gatchat/test-server.c index e574d64..c0a5a4d 100644 --- a/gatchat/test-server.c +++ b/gatchat/test-server.c @@ -137,6 +137,12 @@ static void

Re: [PATCH] test-server:Add test of PPP disconnect reason

2011-02-17 Thread Guillaume Zajac
Hi Denis, On 17/02/2011 17:14, Denis Kenzior wrote: Hi Guillaume, On 02/17/2011 07:48 AM, Guillaume Zajac wrote: --- gatchat/test-server.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/gatchat/test-server.c b/gatchat/test-server.c index e574d64..c0a5a4d

Re: [PATCH] test-server:Add test of PPP disconnect reason

2011-02-17 Thread Guillaume Zajac
Hi Denis, On 17/02/2011 17:50, Denis Kenzior wrote: Hi Guillaume, On 02/17/2011 10:37 AM, Guillaume Zajac wrote: Hi Denis, On 17/02/2011 17:14, Denis Kenzior wrote: Hi Guillaume, On 02/17/2011 07:48 AM, Guillaume Zajac wrote: --- gatchat/test-server.c |6 ++ 1 files changed

[PATCH] test-server:Add test of PPP disconnect reason to avoid crash

2011-02-17 Thread Guillaume Zajac
--- gatchat/test-server.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/gatchat/test-server.c b/gatchat/test-server.c index e574d64..28bad1d 100644 --- a/gatchat/test-server.c +++ b/gatchat/test-server.c @@ -137,6 +137,12 @@ static void

[PATCH 0/4] Fix PPP server crash in using gsmdial

2011-02-23 Thread Guillaume Zajac
Hi, This set of patch will avoid a crash whenever you try to launch gsmdial and test-server without being root. Kind regards, Guillaume Guillaume Zajac (4): PPP:Add new function declarations for using resume callback PPP:Add new function definitions for using resume callback test

[PATCH 2/4] PPP:Add new function definitions for using resume callback

2011-02-23 Thread Guillaume Zajac
--- gatchat/gathdlc.c | 40 gatchat/gatppp.c | 14 +- 2 files changed, 53 insertions(+), 1 deletions(-) diff --git a/gatchat/gathdlc.c b/gatchat/gathdlc.c index dd11043..62d08f4 100644 --- a/gatchat/gathdlc.c +++ b/gatchat/gathdlc.c @@

[PATCH 1/4] PPP:Add new function declarations for using resume callback

2011-02-23 Thread Guillaume Zajac
--- gatchat/gat.h |1 + gatchat/gathdlc.h |7 +++ gatchat/gatppp.h |2 ++ 3 files changed, 10 insertions(+), 0 deletions(-) diff --git a/gatchat/gat.h b/gatchat/gat.h index ddf8695..77ea402 100644 --- a/gatchat/gat.h +++ b/gatchat/gat.h @@ -29,6 +29,7 @@ extern C { #endif

[PATCH 3/4] test-server:Remove root user test and add resume CB registration

2011-02-23 Thread Guillaume Zajac
--- gatchat/test-server.c | 21 - 1 files changed, 16 insertions(+), 5 deletions(-) diff --git a/gatchat/test-server.c b/gatchat/test-server.c index 28bad1d..f9bd9fa 100644 --- a/gatchat/test-server.c +++ b/gatchat/test-server.c @@ -128,6 +128,16 @@ static void

[PATCH 4/4] gsmdial:Remove root user test

2011-02-23 Thread Guillaume Zajac
--- gatchat/gsmdial.c | 15 ++- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gatchat/gsmdial.c b/gatchat/gsmdial.c index c2bcf73..8c0b91f 100644 --- a/gatchat/gsmdial.c +++ b/gatchat/gsmdial.c @@ -250,11 +250,6 @@ static void ppp_connect(const char *iface, const

[PATCH] dun_gw: Fix automatic GIOChannel closing when a bluetooth connection is attempted.

2011-03-11 Thread Guillaume Zajac
--- plugins/dun_gw.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/plugins/dun_gw.c b/plugins/dun_gw.c index 53edc74..3bc4836 100644 --- a/plugins/dun_gw.c +++ b/plugins/dun_gw.c @@ -101,7 +101,7 @@ static void dun_gw_connect_cb(GIOChannel *io, GError *err, gpointer

[PATCH 0/6] PPP suspend mechanism implementation

2011-03-15 Thread Guillaume Zajac
This set of patch will make hdlc layer detecting +...+...+ character to suspend PPP server and resume AT server: either for receiving ATH (implemented in one other future patch) either for receiving ATO (implemented in a future 2nd set of patch) Guillaume Zajac (6): gat: add GAtSuspendFunc CB

[PATCH 1/6] gat: add GAtSuspendFunc CB typedef

2011-03-15 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

[PATCH 2/6] gathdlc: add prototype to set suspend function.

2011-03-15 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

[PATCH 4/6] gatppp: add prototype to set ppp suspend function.

2011-03-15 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

[PATCH 5/6] gatppp: add g_at_ppp_set_suspend_function() definition.

2011-03-15 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,

[PATCH 3/6] gathdlc: add mechanism to detect ppp suspension from DUN client.

2011-03-15 Thread Guillaume Zajac
--- gatchat/gathdlc.c | 58 + 1 files changed, 58 insertions(+), 0 deletions(-) diff --git a/gatchat/gathdlc.c b/gatchat/gathdlc.c index 6c39e6c..38606b8 100644 --- a/gatchat/gathdlc.c +++ b/gatchat/gathdlc.c @@ -66,6 +66,10 @@ struct

[PATCH 6/6] emulator: add ppp_suspend implementation and registration.

2011-03-15 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 20a575f..5179ea9 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -99,6 +99,15 @@ static void ppp_disconnect(GAtPPPDisconnectReason reason, gpointer

[PATCH] emulator: fix some indentation issues

2011-03-15 Thread Guillaume Zajac
--- src/emulator.c | 116 1 files changed, 58 insertions(+), 58 deletions(-) diff --git a/src/emulator.c b/src/emulator.c index 20a575f..c84f0a9 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -73,108 +73,108 @@ static void

Re: [PATCH 3/6] gathdlc: add mechanism to detect ppp suspension from DUN client.

2011-03-21 Thread Guillaume Zajac
Hi Denis, On 17/03/2011 21:13, Denis Kenzior wrote: Hi Guillaume, On 03/15/2011 04:19 AM, Guillaume Zajac wrote: --- gatchat/gathdlc.c | 58 + 1 files changed, 58 insertions(+), 0 deletions(-) http://en.wikipedia.org/wiki

Re: [PATCH 3/6] gathdlc: add mechanism to detect ppp suspension from DUN client.

2011-03-22 Thread Guillaume Zajac
Hi Denis, On 21/03/2011 19:57, Denis Kenzior wrote: Hi Guillaume, On 03/21/2011 09:17 AM, Guillaume Zajac wrote: Hi Denis, On 17/03/2011 21:13, Denis Kenzior wrote: Hi Guillaume, On 03/15/2011 04:19 AM, Guillaume Zajac wrote: --- gatchat/gathdlc.c | 58

[PATCH v2 0/6] Time Independent Escape Sequence implementation

2011-03-22 Thread Guillaume Zajac
This set of patch will implement the escape sequence detection implementation: pause +++ pause The pause length is fixed by the guard timeouts. The length to detect +++ sequence is fixed by the escape time. Guillaume Zajac (6): gat: add GAtSuspendFunc CB typedef gathdlc: add

[PATCH 2/6] gathdlc: add g_at_hdlc_set_suspend_function() prototype

2011-03-22 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

[PATCH 3/6] gathdlc: add mechansim to detect '+++' escape sequence

2011-03-22 Thread Guillaume Zajac
--- gatchat/gathdlc.c | 114 + 1 files changed, 114 insertions(+), 0 deletions(-) diff --git a/gatchat/gathdlc.c b/gatchat/gathdlc.c index 7c45454..21e4533 100644 --- a/gatchat/gathdlc.c +++ b/gatchat/gathdlc.c @@ -50,6 +50,13 @@ #define

[PATCH 1/6] gat: add GAtSuspendFunc CB typedef

2011-03-22 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

[PATCH 5/6] gatppp: add g_at_ppp_set_suspend_function() definition

2011-03-22 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,

[PATCH 6/6] emulator: add ppp_suspend() CB and register it

2011-03-22 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 c84f0a9..c1ceb36 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -99,6 +99,15 @@ static void ppp_disconnect(GAtPPPDisconnectReason reason, gpointer

[PATCH] emulator: add AT hook_control_cb() CB and register it

2011-03-24 Thread Guillaume Zajac
--- src/emulator.c | 44 +--- 1 files changed, 41 insertions(+), 3 deletions(-) diff --git a/src/emulator.c b/src/emulator.c index c84f0a9..586c7ec 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -177,6 +177,41 @@ error:

[PATCH 03/18] gathdlc: add mechansim to detect '+++' escape sequence

2011-03-25 Thread Guillaume Zajac
--- gatchat/gathdlc.c | 114 + 1 files changed, 114 insertions(+), 0 deletions(-) diff --git a/gatchat/gathdlc.c b/gatchat/gathdlc.c index 7c45454..21e4533 100644 --- a/gatchat/gathdlc.c +++ b/gatchat/gathdlc.c @@ -50,6 +50,13 @@ #define

[PATCH 02/18] gathdlc: add g_at_hdlc_set_suspend_function() prototype

2011-03-25 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

[PATCH 04/18] gatppp: add g_at_ppp_set_suspend_function() prototype

2011-03-25 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

[PATCH 05/18] gatppp: add g_at_ppp_set_suspend_function() definition

2011-03-25 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,

[PATCH 06/18] emulator: add ppp_suspend() CB and register it

2011-03-25 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 c84f0a9..c1ceb36 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -99,6 +99,15 @@ static void ppp_disconnect(GAtPPPDisconnectReason reason, gpointer

[PATCH 08/18] gathdlc: add g_at_resume_hdlc() prototype.

2011-03-25 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..9719816 100644 --- a/gatchat/gathdlc.h +++ b/gatchat/gathdlc.h @@ -60,6 +60,8 @@ void g_at_hdlc_set_no_carrier_detect(GAtHDLC *hdlc, gboolean

[PATCH 07/18] emulator: add AT hook_control_cb() and register it

2011-03-25 Thread Guillaume Zajac
--- src/emulator.c | 44 +--- 1 files changed, 41 insertions(+), 3 deletions(-) diff --git a/src/emulator.c b/src/emulator.c index c1ceb36..e1b078d 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -187,6 +187,41 @@ error:

[PATCH 09/18] gathdlc: add g_at_hdlc_resume() definition.

2011-03-25 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 21e4533..16d803d 100644 --- a/gatchat/gathdlc.c +++ b/gatchat/gathdlc.c @@ -617,3 +617,28 @@ void

[PATCH 10/18] gatppp: add g_at_ppp_resume() prototype

2011-03-25 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 7835d1f..71e0afe 100644 --- a/gatchat/gatppp.h +++ b/gatchat/gatppp.h @@ -77,6 +77,8 @@ void g_at_ppp_set_recording(GAtPPP *ppp, const char *filename); void

[PATCH 11/18] gatppp: add g_at_ppp_resume() definition.

2011-03-25 Thread Guillaume Zajac
--- gatchat/gatppp.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c index 9df6b8e..29271e4 100644 --- a/gatchat/gatppp.c +++ b/gatchat/gatppp.c @@ -537,6 +537,22 @@ void g_at_ppp_set_server_info(GAtPPP *ppp, const char

[PATCH 12/18] emulator: add AT online_data_state_cb() and register it

2011-03-25 Thread Guillaume Zajac
--- src/emulator.c | 46 ++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/src/emulator.c b/src/emulator.c index e1b078d..220d0b5 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -222,6 +222,51 @@ error:

[PATCH 13/18] gathdlc: add prototype to suspend gathdlc externally

2011-03-25 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 9719816..e5a5c29 100644 --- a/gatchat/gathdlc.h +++ b/gatchat/gathdlc.h @@ -62,6 +62,8 @@ void g_at_hdlc_set_suspend_function(GAtHDLC *hdlc, GAtSuspendFunc

[PATCH 14/18] gathdlc: add g_at_hdlc_suspend() definition

2011-03-25 Thread Guillaume Zajac
--- gatchat/gathdlc.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/gatchat/gathdlc.c b/gatchat/gathdlc.c index 16d803d..90de4e9 100644 --- a/gatchat/gathdlc.c +++ b/gatchat/gathdlc.c @@ -642,3 +642,16 @@ void g_at_hdlc_resume(GAtHDLC *hdlc)

[PATCH 15/18] gatppp: add prototype to suspend ppp server externally

2011-03-25 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 71e0afe..61ffb4a 100644 --- a/gatchat/gatppp.h +++ b/gatchat/gatppp.h @@ -64,6 +64,7 @@ void g_at_ppp_set_debug(GAtPPP *ppp, GAtDebugFunc func, gpointer

[PATCH 16/18] gatppp: add g_at_ppp_suspend() definition

2011-03-25 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 29271e4..27b7e96 100644 --- a/gatchat/gatppp.c +++ b/gatchat/gatppp.c @@ -484,6 +484,14 @@ void g_at_ppp_shutdown(GAtPPP *ppp)

[PATCH 18/18] gsmdial: implement mechanism to send +++ - ATO0 - +++ - ATH0

2011-03-25 Thread Guillaume Zajac
--- gatchat/gsmdial.c | 164 1 files changed, 138 insertions(+), 26 deletions(-) diff --git a/gatchat/gsmdial.c b/gatchat/gsmdial.c index 92a7ff2..f1b485e 100644 --- a/gatchat/gsmdial.c +++ b/gatchat/gsmdial.c @@ -40,6 +40,8 @@ #define

[PATCH 17/18] gsmdial: add new option to test sending escape sequence

2011-03-25 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

Re: [PATCH] emulator: add AT hook_control_cb() CB and register it

2011-03-30 Thread Guillaume Zajac
Hi Denis, On 30/03/2011 05:49, Denis Kenzior wrote: Hi Guillaume, On 03/24/2011 05:25 AM, Guillaume Zajac wrote: --- src/emulator.c | 44 +--- 1 files changed, 41 insertions(+), 3 deletions(-) diff --git a/src/emulator.c b/src/emulator.c index

[PATCH] doc: add data-call.txt

2011-03-30 Thread Guillaume Zajac
--- doc/data-call.txt | 47 +++ 1 files changed, 47 insertions(+), 0 deletions(-) create mode 100644 doc/data-call.txt diff --git a/doc/data-call.txt b/doc/data-call.txt new file mode 100644 index 000..f407560 --- /dev/null +++

[PATCHv2] doc: add dialup-overview.txt

2011-03-30 Thread Guillaume Zajac
--- doc/dialup-overview.txt | 47 +++ 1 files changed, 47 insertions(+), 0 deletions(-) create mode 100644 doc/dialup-overview.txt diff --git a/doc/dialup-overview.txt b/doc/dialup-overview.txt new file mode 100644 index 000..f407560 ---

Re: [PATCH 03/18] gathdlc: add mechansim to detect '+++' escape sequence

2011-03-31 Thread Guillaume Zajac
Hi Denis, On 30/03/2011 22:52, Denis Kenzior wrote: Hi Guillaume, On 03/25/2011 10:25 AM, Guillaume Zajac wrote: --- gatchat/gathdlc.c | 114 + 1 files changed, 114 insertions(+), 0 deletions(-) diff --git a/gatchat/gathdlc.c b/gatchat

Re: [PATCH 18/18] gsmdial: implement mechanism to send +++ - ATO0 - +++ - ATH0

2011-03-31 Thread Guillaume Zajac
Hi Denis, On 30/03/2011 22:59, Denis Kenzior wrote: Hi Guillaume, On 03/25/2011 10:25 AM, Guillaume Zajac wrote: --- gatchat/gsmdial.c | 164 1 files changed, 138 insertions(+), 26 deletions(-) diff --git a/gatchat/gsmdial.c b/gatchat

Re: [PATCH 03/18] gathdlc: add mechansim to detect '+++' escape sequence

2011-03-31 Thread Guillaume Zajac
Hi Denis, On 31/03/2011 17:25, Denis Kenzior wrote: Hi Guillaume, +suspend: +/* + * If the suspend timeout still exists, + * delete it. + */ +if (hdlc-suspend_timeout 0) +g_source_remove(hdlc-suspend_timeout); + +/* + * Restart the counter and reset the

[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

[PATCH v3 00/26] Escape Sequence Dectection implementation

2011-04-01 Thread Guillaume Zajac
+++ pause escape sequence - gsmdial controls only the time interval between escape sequence and ATO0/ATHO. - emulator: rework ATH0 and ATO0 callbacks, add switch on emulator type to register AT callbacks. Kind regards, Guillaume Guillaume Zajac (26): gat: add

[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

[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,

[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

[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

[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

[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,

[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)

[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

[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

[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:

[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

[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)

[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

[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 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 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 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)

[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 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

[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 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

[PATCH 0/4] Request Private Network creation to ConnMan

2011-04-22 Thread Guillaume Zajac
Hi, This set of patch allow to enable a data call from DUN client to DUN server. DUN server is a Ubuntu computer running with BlueZ, ConnMan and oFono. ConnMan will use default available interface to connect to Internet. DUN client can open an Internet page and browse it. Guillaume Zajac (4

[PATCH 2/4] emulator: add routine to request/release private network from ConnMan

2011-04-22 Thread Guillaume Zajac
--- include/emulator.h | 10 +++ src/emulator.c | 75 +++- 2 files changed, 78 insertions(+), 7 deletions(-) diff --git a/include/emulator.h b/include/emulator.h index 5cd894b..29abf55 100644 --- a/include/emulator.h +++

[PATCH 3/4] connman: add plugin in oFono to request request/release private network

2011-04-22 Thread Guillaume Zajac
--- plugins/connman.c | 239 + 1 files changed, 239 insertions(+), 0 deletions(-) create mode 100644 plugins/connman.c diff --git a/plugins/connman.c b/plugins/connman.c new file mode 100644 index 000..eec0940 --- /dev/null +++

[PATCH_v2 0/4] Request private petwork creation to ConnMan

2011-04-22 Thread Guillaume Zajac
Hi, This new version contains some fixes of some typos into plugins/connman.c: - in dun_emulator_watch() missing some brackets - in connman_init(), multiple return and unused variable err. Guillaume Zajac (4): gatppp: Add new contructor to use external fd emulator: add

[PATCH_v2 2/4] emulator: add routine to request/release private network from ConnMan

2011-04-22 Thread Guillaume Zajac
--- include/emulator.h | 10 +++ src/emulator.c | 75 +++- 2 files changed, 78 insertions(+), 7 deletions(-) diff --git a/include/emulator.h b/include/emulator.h index 5cd894b..29abf55 100644 --- a/include/emulator.h +++

[PATCH_v2 1/4] gatppp: Add new contructor to use external fd

2011-04-22 Thread Guillaume Zajac
--- gatchat/gatppp.c | 43 --- gatchat/gatppp.h |2 ++ gatchat/ppp.h |2 +- gatchat/ppp_net.c | 46 -- 4 files changed, 71 insertions(+), 22 deletions(-) diff --git a/gatchat/gatppp.c

[PATCH_v2 4/4] Makefile: add connman plugin build

2011-04-22 Thread Guillaume Zajac
--- Makefile.am |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/Makefile.am b/Makefile.am index 2886b5d..86f5662 100644 --- a/Makefile.am +++ b/Makefile.am @@ -339,6 +339,9 @@ builtin_sources += plugins/hfp_ag.c plugins/bluetooth.h builtin_modules += dun_gw

[PATCH_v2 3/4] connman: add plugin in oFono to request request/release private network

2011-04-22 Thread Guillaume Zajac
--- plugins/connman.c | 235 + 1 files changed, 235 insertions(+), 0 deletions(-) create mode 100644 plugins/connman.c diff --git a/plugins/connman.c b/plugins/connman.c new file mode 100644 index 000..8a33d84 --- /dev/null +++

Re: [PATCH_v2 1/4] gatppp: Add new contructor to use external fd

2011-04-28 Thread Guillaume Zajac
Hi Denis, On 27/04/2011 05:20, Denis Kenzior wrote: Hi Guillaume, On 04/22/2011 07:06 AM, Guillaume Zajac wrote: --- gatchat/gatppp.c | 43 --- gatchat/gatppp.h |2 ++ gatchat/ppp.h |2 +- gatchat/ppp_net.c | 46

Re: [PATCH_v2 2/4] emulator: add routine to request/release private network from ConnMan

2011-04-28 Thread Guillaume Zajac
Hi Denis, On 27/04/2011 05:25, Denis Kenzior wrote: Hi Guillaume, On 04/22/2011 07:06 AM, Guillaume Zajac wrote: --- include/emulator.h | 10 +++ src/emulator.c | 75 +++- 2 files changed, 78 insertions(+), 7 deletions(-) diff

Re: [PATCH_v2 1/4] gatppp: Add new contructor to use external fd

2011-04-28 Thread Guillaume Zajac
Hi Denis, On 28/04/2011 16:44, Denis Kenzior wrote: Hi Guillaume, -if (ppp_net_set_mtu(ppp-net, ppp-mtu) == FALSE) -DBG(ppp, Unable to set MTU); +/* + * If we have opened the tun interface locally, + * we have to set a MTU value. + */ So I don't agree with this.

Re: [PATCH_v2 2/4] emulator: add routine to request/release private network from ConnMan

2011-04-29 Thread Guillaume Zajac
Hi Denis, On 28/04/2011 21:39, Denis Kenzior wrote: Hi Guillaume, On 04/28/2011 08:29 AM, Guillaume Zajac wrote: Hi Denis, On 27/04/2011 05:25, Denis Kenzior wrote: Hi Guillaume, On 04/22/2011 07:06 AM, Guillaume Zajac wrote: +typedef void (*network_request)(struct ofono_error *, int

Re: [PATCH_v2 1/4] gatppp: Add new contructor to use external fd

2011-04-29 Thread Guillaume Zajac
Hi Denis, On 28/04/2011 21:41, Denis Kenzior wrote: Hi Guillaume, +/* create a channel for reading and writing to this interface */ +channel = g_io_channel_unix_new(fd); +} There's a small problem of symmetry here. If IPCP is established correctly, then the fd will

Re: [PATCH_v2 1/4] gatppp: Add new contructor to use external fd

2011-04-29 Thread Guillaume Zajac
Hi again Denis, On 29/04/2011 15:12, Guillaume Zajac wrote: Hi Denis, On 28/04/2011 21:41, Denis Kenzior wrote: Hi Guillaume, +/* create a channel for reading and writing to this interface */ +channel = g_io_channel_unix_new(fd); +} There's a small problem of symmetry

Re: [PATCH_v2 2/4] emulator: add routine to request/release private network from ConnMan

2011-04-29 Thread Guillaume Zajac
Hi Denis, On 29/04/2011 10:59, Denis Kenzior wrote: Hi Guillaume, struct emulator_network_provision_driver{ char *name; (void)(*get_settings)(struct emulator_network **out_en); You will probably need to make this async, and allow cancellation, since there can be multiple

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

2011-05-03 Thread Guillaume Zajac
--- include/emulator.h | 18 +++ src/emulator.c | 83 +++ 2 files changed, 81 insertions(+), 20 deletions(-) diff --git a/include/emulator.h b/include/emulator.h index 5cd894b..a7fc23b 100644 --- a/include/emulator.h +++

[PATCH_v3 3/3] connman: add plugin in oFono to request request/release private network

2011-05-03 Thread Guillaume Zajac
--- Makefile.am |3 + plugins/connman.c | 255 + 2 files changed, 258 insertions(+), 0 deletions(-) create mode 100644 plugins/connman.c diff --git a/Makefile.am b/Makefile.am index a413a47..37f9468 100644 --- a/Makefile.am +++

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

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

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

[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

[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

[PATCH_v4 0/8] Escape sequence test implementation

2011-05-04 Thread Guillaume Zajac
Guillaume Zajac (8): gathdlc: delete read/write handler in hdlc_suspend and add public suspend function for testing ppp_net: add ppp_net_suspend_interface() function gatppp: add function to set ppp_suspend() and proxy function to call ppp_net_suspend_interface() gatppp: add public suspend

  1   2   3   4   >