---
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 {
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
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
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
---
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
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
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
---
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
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
---
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
@@
---
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
---
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
---
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
---
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
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
---
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
---
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
---
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
---
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,
---
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
---
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
---
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
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
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
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
---
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
---
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
---
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
---
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,
---
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
---
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:
---
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
---
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
---
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
---
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,
---
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
---
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
---
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:
---
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
---
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
---
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
---
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:
---
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
---
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)
---
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
---
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)
---
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
---
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
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
---
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
+++
---
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
---
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
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
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
---
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
+++ 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
---
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
---
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,
---
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
---
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
---
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
---
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,
---
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)
---
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
---
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
---
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:
---
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
---
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)
---
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
---
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)
---
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)
---
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,
---
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)
---
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;
}
---
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
---
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
---
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
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
---
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
+++
---
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
+++
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
---
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
+++
---
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
---
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
---
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
+++
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
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
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.
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
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
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
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
---
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
+++
---
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
+++
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
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
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
---
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
---
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
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 - 100 of 391 matches
Mail list logo