RE: [PATCH] Ingnore the offline operation of the blocked device

2010-08-26 Thread Xu, Martin
Hi Marcel: The patch is used to fix the Blocked MeeGo issue, BMC #3719 (http://bugs.meego.com/show_bug.cgi?id=3719). Could you please have a look at it. Thanks! ___ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman

[PATCH] Ingnore the offline operation of the blocked device

2010-08-26 Thread ying . an . deng
From: Martin Xu --- src/device.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/device.c b/src/device.c index e782bb5..7bd9e47 100644 --- a/src/device.c +++ b/src/device.c @@ -1340,6 +1340,9 @@ static void set_offlinemode(struct connman_element *element, gpointer

RE: [PATCH proxy-manual] connman manual proxy support

2010-08-26 Thread Vijayan, Priya
Sorry wrong mail. -Original Message- From: connman-boun...@connman.net [mailto:connman-boun...@connman.net] On Behalf Of Vijayan, Priya Sent: Thursday, August 26, 2010 3:38 PM To: connman@connman.net; Marcel Holtmann Subject: RE: [PATCH proxy-manual] connman manual proxy support That mak

RE: [PATCH proxy-manual] connman manual proxy support

2010-08-26 Thread Vijayan, Priya
That makes it easy.dont have to type ;) -Original Message- From: connman-boun...@connman.net [mailto:connman-boun...@connman.net] On Behalf Of David Woodhouse Sent: Thursday, August 26, 2010 3:29 PM To: Marcel Holtmann Cc: connman@connman.net Subject: Re: [PATCH proxy-manual] connman manu

Re: [PATCH proxy-manual] connman manual proxy support

2010-08-26 Thread David Woodhouse
On Thu, 2010-08-26 at 16:21 +0200, Marcel Holtmann wrote: > Hi David, > > > > the following patches implement manual proxy support for connman. > > > The last patch (5) implements a plugin for setting up the proxy > > > settings in gconf (for legacy apps). > > > > In gconf for which user? Or for

Re: [PATCH proxy-manual] connman manual proxy support

2010-08-26 Thread Marcel Holtmann
Hi David, > > the following patches implement manual proxy support for connman. > > The last patch (5) implements a plugin for setting up the proxy > > settings in gconf (for legacy apps). > > In gconf for which user? Or for which user and which value of $DISPLAY, > since I think that matters too

Re: [PATCH proxy-manual] connman manual proxy support

2010-08-26 Thread Jukka Rissanen
On 26 August 2010 16:48, David Woodhouse wrote: > On Thu, 2010-08-26 at 15:22 +0200, jukka.rissa...@nokia.com wrote: >> the following patches implement manual proxy support for connman. >> The last patch (5) implements a plugin for setting up the proxy >> settings in gconf (for legacy apps). > > I

[ofono-refactor-v2 PATCH 04/17] ofono: log more of the errors

2010-08-26 Thread Pekka . Pessi
From: Pekka Pessi --- plugins/ofono.c | 32 +++- 1 files changed, 27 insertions(+), 5 deletions(-) diff --git a/plugins/ofono.c b/plugins/ofono.c index 69121e2..5ac77f5 100644 --- a/plugins/ofono.c +++ b/plugins/ofono.c @@ -92,8 +92,8 @@ static void set_property_re

[ofono-refactor-v2 PATCH 01/17] device: remove stale pointer from network

2010-08-26 Thread Pekka . Pessi
From: Pekka Pessi --- src/device.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/device.c b/src/device.c index e782bb5..93da00b 100644 --- a/src/device.c +++ b/src/device.c @@ -696,6 +696,8 @@ static void unregister_network(gpointer data) connman_element

[ofono-refactor-v2 PATCH 16/17] ofono: use Modem Online property

2010-08-26 Thread Pekka . Pessi
From: Pekka Pessi Modem Online property gets controlled with the cellular device Powered property. As the oFono plugin needs to get the Powered state from the device it gets created when the SIM is ready. The GPRS networks get added after ConnMan can access the GPRS interface. As a side effect

[ofono-refactor-v2 PATCH 17/17] ofono: use new oFono GPRS interfaces

2010-08-26 Thread Pekka . Pessi
From: Pekka Pessi The plugin keeps now a hash table for networks. The improved oFono GPRS interface (ConnectionManager) relay the complete network information in ContextAdded signal and in GetContexts reply. A connman_network is immediately created for each Internet context. The kludge used to

[ofono-refactor-v2 PATCH 11/17] ofono: fix pending_network_is_available()

2010-08-26 Thread Pekka . Pessi
From: Pekka Pessi connman_network_get_device() returns NULL if network has been removed. --- plugins/ofono.c | 26 +++--- 1 files changed, 3 insertions(+), 23 deletions(-) diff --git a/plugins/ofono.c b/plugins/ofono.c index 46b26d0..d84c7b6 100644 --- a/plugins/ofono.c ++

[ofono-refactor-v2 PATCH 08/17] ofono: do not strdup in get_ident()

2010-08-26 Thread Pekka . Pessi
From: Pekka Pessi Fix leak if network creation fails. --- plugins/ofono.c |6 +- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/plugins/ofono.c b/plugins/ofono.c index 9ad8708..76759b4 100644 --- a/plugins/ofono.c +++ b/plugins/ofono.c @@ -252,7 +252,7 @@ static char *get

[ofono-refactor-v2 PATCH 07/17] ofono: refactor dbus calls

2010-08-26 Thread Pekka . Pessi
From: Pekka Pessi Use call_ofono() wrapper. --- plugins/ofono.c | 267 --- 1 files changed, 75 insertions(+), 192 deletions(-) diff --git a/plugins/ofono.c b/plugins/ofono.c index e5d4187..9ad8708 100644 --- a/plugins/ofono.c +++ b/plugins/of

[ofono-refactor-v2 PATCH 12/17] ofono: refactor pri_context_changed handler

2010-08-26 Thread Pekka . Pessi
From: Pekka Pessi Do not use pending_network outside pri_context_changed. --- plugins/ofono.c | 78 +++--- 1 files changed, 39 insertions(+), 39 deletions(-) diff --git a/plugins/ofono.c b/plugins/ofono.c index d84c7b6..def33b6 100644 --- a/plug

[ofono-refactor-v2 PATCH 09/17] ofono: fix add_network()

2010-08-26 Thread Pekka . Pessi
From: Pekka Pessi Protect against duplication, remove leak. --- plugins/ofono.c | 19 --- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/plugins/ofono.c b/plugins/ofono.c index 76759b4..c92f360 100644 --- a/plugins/ofono.c +++ b/plugins/ofono.c @@ -654,18 +654,

[ofono-refactor-v2 PATCH 15/17] device: add connman_device_get_ident()

2010-08-26 Thread Pekka . Pessi
From: Pekka Pessi Expose former core function __connman_device_get_ident(). --- include/device.h |1 + src/connman.h|1 - src/device.c |2 +- src/network.c|2 +- src/service.c|2 +- 5 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/device.

[ofono-refactor-v2 PATCH 02/17] service: don't keep ref to a removed network

2010-08-26 Thread Pekka . Pessi
From: Pekka Pessi --- src/service.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/service.c b/src/service.c index eb467a0..ca4cfb4 100644 --- a/src/service.c +++ b/src/service.c @@ -3644,6 +3644,12 @@ void __connman_service_remove_from_network(struct connman_

[ofono-refactor-v2 PATCH 10/17] ofono: don't reuse identifier pending_network

2010-08-26 Thread Pekka . Pessi
From: Pekka Pessi --- plugins/ofono.c | 16 +++- 1 files changed, 7 insertions(+), 9 deletions(-) diff --git a/plugins/ofono.c b/plugins/ofono.c index c92f360..46b26d0 100644 --- a/plugins/ofono.c +++ b/plugins/ofono.c @@ -496,8 +496,7 @@ static int network_probe(struct connman_ne

[ofono-refactor-v2 PATCH 13/17] ofono: refactor sim

2010-08-26 Thread Pekka . Pessi
From: Pekka Pessi MCC and MNC are no more propagated to the service. --- plugins/ofono.c | 48 1 files changed, 4 insertions(+), 44 deletions(-) diff --git a/plugins/ofono.c b/plugins/ofono.c index def33b6..d9c7365 100644 --- a/plugins/ofono.c

[ofono-refactor-v2 PATCH 06/17] ofono: avoid race between signals and methods

2010-08-26 Thread Pekka . Pessi
From: Pekka Pessi Create modem only after Modem.GetProperties succeeds, thus avoiding races with Modem.PropertyChanged signal. Do not call Modem.GetProperties again while modem exists. --- plugins/ofono.c | 53 ++--- 1 files changed, 34 insertion

[ofono-refactor-v2 PATCH 14/17] ofono: refactor modem_has_gprs()

2010-08-26 Thread Pekka . Pessi
From: Pekka Pessi --- plugins/ofono.c | 14 ++ 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/plugins/ofono.c b/plugins/ofono.c index d9c7365..81e0137 100644 --- a/plugins/ofono.c +++ b/plugins/ofono.c @@ -931,18 +931,19 @@ static struct modem_data *add_modem(const

[ofono-refactor-v2 PATCH 05/17] ofono: fix stale data usage

2010-08-26 Thread Pekka . Pessi
From: Pekka Pessi --- plugins/ofono.c | 22 ++ 1 files changed, 14 insertions(+), 8 deletions(-) diff --git a/plugins/ofono.c b/plugins/ofono.c index 5ac77f5..816a4d7 100644 --- a/plugins/ofono.c +++ b/plugins/ofono.c @@ -771,12 +771,20 @@ static void add_default_context(D

[ofono-refactor-v2 PATCH 03/17] ofono: refactor SetProperty D-Bus calls

2010-08-26 Thread Pekka . Pessi
From: Pekka Pessi --- plugins/ofono.c | 177 ++- 1 files changed, 45 insertions(+), 132 deletions(-) diff --git a/plugins/ofono.c b/plugins/ofono.c index 2f67a99..69121e2 100644 --- a/plugins/ofono.c +++ b/plugins/ofono.c @@ -3,6 +3,7 @@ *

[ofono-refactor-v2 PATCH 00/17] oFono API breakage, take 2

2010-08-26 Thread Pekka . Pessi
Hi all, Here is my second stab at refactoring the oFono plugin for the newly changed oFono APIs. The patches contain some fixes to core, org.ofono.Modem property Online, and support for new org.ofono.ConnectionManager and org.ofono.ContextManager interfaces. I've modified patches 13 and 17 based

Re: [PATCH proxy-manual] connman manual proxy support

2010-08-26 Thread David Woodhouse
On Thu, 2010-08-26 at 15:22 +0200, jukka.rissa...@nokia.com wrote: > the following patches implement manual proxy support for connman. > The last patch (5) implements a plugin for setting up the proxy > settings in gconf (for legacy apps). In gconf for which user? Or for which user and which value

[PATCH proxy-manual 5/5] Add plugin for setting up proxy data in gconf

2010-08-26 Thread Jukka Rissanen
--- Makefile.plugins |7 ++ configure.ac | 10 +++ plugins/proxygconf.c | 183 ++ 3 files changed, 200 insertions(+), 0 deletions(-) create mode 100644 plugins/proxygconf.c diff --git a/Makefile.plugins b/Makefile.plugins index 4

[PATCH proxy-manual 4/5] Pretty print proxy data

2010-08-26 Thread Jukka Rissanen
--- test/get-services |9 ++--- test/list-providers |8 ++-- test/list-services|8 ++-- test/monitor-services | 10 +++--- test/test-manager |8 ++-- 5 files changed, 31 insertions(+), 12 deletions(-) diff --git a/test/get-services b/test/get-se

[PATCH proxy-manual 2/5] Add manual proxy support

2010-08-26 Thread Jukka Rissanen
--- include/service.h | 27 +++ src/service.c | 629 - 2 files changed, 651 insertions(+), 5 deletions(-) diff --git a/include/service.h b/include/service.h index 170cd6c..22ee8df 100644 --- a/include/service.h +++ b/include/service.h @@

[PATCH proxy-manual 3/5] Add test script for setting up proxy

2010-08-26 Thread Jukka Rissanen
--- Makefile.am|3 +- test/set-proxy | 74 2 files changed, 76 insertions(+), 1 deletions(-) create mode 100755 test/set-proxy diff --git a/Makefile.am b/Makefile.am index 1bf7207..128d4b8 100644 --- a/Makefile.am +++ b/Makefile.

[PATCH proxy-manual 1/5] Add manual proxy description

2010-08-26 Thread Jukka Rissanen
--- doc/service-api.txt | 69 +- 1 files changed, 67 insertions(+), 2 deletions(-) diff --git a/doc/service-api.txt b/doc/service-api.txt index c1dd541..b8b694b 100644 --- a/doc/service-api.txt +++ b/doc/service-api.txt @@ -410,13 +410,78 @@ Prope

[PATCH proxy-manual] connman manual proxy support

2010-08-26 Thread Jukka.Rissanen
Hi, the following patches implement manual proxy support for connman. The last patch (5) implements a plugin for setting up the proxy settings in gconf (for legacy apps). Jukka ___ connman mailing list connman@connman.net http://lists.connman.net/list

Re: Profile management doubt

2010-08-26 Thread Marcel Holtmann
Hi, >As I understand connman has text file in /var/lib/connman/default.profile > for profile management. > > Following are my doubts? > > 1. In case of wifi by default it writes/saves all the scanned AP > information to profile file. This get updated as and when it gets scan > updates. >

Re: IP address and Name server configuration using dbus-send

2010-08-26 Thread Marcel Holtmann
Hi, > I would like to configure ip addess and name server manually for my > connection using connman. I would like to configure using dbus-send. Can any > body please help me in this. > > # dbus-send --system --print-reply --dest=org.moblin.connman > /profile/default/wifi_123419bd1234_12346f123