[PATCH 1/2] plugins: Add logcontrol plugin

2015-01-19 Thread Slava Monich
This plugin implements net.connman.DebugLog D-Bus interface which allows changing debug log settings at runtime without restarting connman. --- Makefile.plugins | 5 ++ configure.ac | 5 ++ plugins/logcontrol.c | 198 +++ 3 files

[PATCH 2/2] doc: Add net.connman.DebugLog API documentation

2015-01-19 Thread Slava Monich
--- doc/logcontrol-api.txt | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 doc/logcontrol-api.txt diff --git a/doc/logcontrol-api.txt b/doc/logcontrol-api.txt new file mode 100644 index 000..c9fdae3 --- /dev/null +++ b/doc/logcontrol-api.txt @@ -0,0 +1,22 @@

[PATCH 0/2] Debug log control API

2015-01-19 Thread Slava Monich
These patches introduce net.connman.DebugLog D-Bus interface which provides the following methods: void Enable(string pattern) void Disable(string pattern) array{string} List() This interface allows changing debug log settings at runtime without restarting connman. It's useful in the

Fwd: Wi-Fi in Dual mode using connman

2015-01-19 Thread techi eth
Hi, I am not sure if i have clearly explain my view.My comment against below point. But AP and STA modes are mutually exclusive as an AP needs to be available all the time. With below steps i could able to use both at same time. /*** Setting AP Mode*/ #iw phy

[PATCH] wifi: fix autoscan interval limit

2015-01-19 Thread Jason Abele
From: Jason Abele ja...@aether.com The comparison to autoscan-limit is performed before setting the new autoscan-interval, allowing one interval to overshoot the limit. Fix this by comparing against the newly calculated interval. --- plugins/wifi.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] Fix bluetooth plugin implemntation of technology_set returns error.

2015-01-19 Thread David Lechner
On 01/14/2015 10:55 PM, David Lechner wrote: The technology_set implementation in the bluetooth plugin returns -EINPROGRESS which causes problems. 1. When setting the Tethering property via D-Bus, D-Bus returns an error instead of completing successfuly. 2. When using the

Re: [PATCH 0/2] Debug log control API

2015-01-19 Thread Jason Abele
On Mon, Jan 19, 2015 at 2:41 PM, Slava Monich slava.mon...@jolla.com wrote: These patches introduce net.connman.DebugLog D-Bus interface which provides the following methods: void Enable(string pattern) void Disable(string pattern) array{string} List() Tested these out and it works

RE: would it be possible some of technologies get online state simultaneously?

2015-01-19 Thread Nakamura, Yusuke (ADITJ/SWG)
Hi Patrik Thank you very much for your reply. That is doable. With the Session API and its usage of session specific routing tables, all session routing tables have the default route set. The default routing table is the only one that has exactly one default route set, this in order not to

Re: would it be possible some of technologies get online state simultaneously?

2015-01-19 Thread Patrik Flykt
On Mon, 2015-01-19 at 17:20 +0900, Nakamura, Yusuke (ADITJ/SWG) wrote: Sorry Patrik. I didn't understand what this means. Do you mind explaining this in more detail? If you need different routing for different users, use the ConnMan Session API, doc/session-api.txt, doc/session-overview.txt

wifi scan error

2015-01-19 Thread techi eth
Hi, When I try to wifi scan I am getting error.Please find below result of scan technologies command. Please suggest me solution ? --- root@test-board:#connmanctl scan wifi Error /net/connman/technology/wifi: Not supported

[PATCH 1/2] peer: Refactor when IPv4 settings changed should be notified

2015-01-19 Thread Tomasz Bursztyka
This fixes inconcistant behavior in signaling IPv4 changes when connected or disconnected happen. --- src/peer.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/peer.c b/src/peer.c index 5e9006f..99252f9 100644 --- a/src/peer.c +++ b/src/peer.c @@ -911,6 +911,10

[PATCH 2/2] peer: Reset the lease when dhcp server is stopped.

2015-01-19 Thread Tomasz Bursztyka
This prevent to get a former valid IP in a new connection. --- src/peer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/peer.c b/src/peer.c index 99252f9..6d3f460 100644 --- a/src/peer.c +++ b/src/peer.c @@ -84,6 +84,7 @@ static void stop_dhcp_server(struct connman_peer *peer)

[PATCH 0/2] Peer State and IPv4 signals fixups

2015-01-19 Thread Tomasz Bursztyka
Hi, This patch-set fixes 2 issues about IPv4 settigns updated through PropertyChanged signal. - first patch fixes the order and reliability of the signal - second patch cleans up the lease when relevant Tomasz Bursztyka (2): peer: Refactor when IPv4 settings changed should be notified peer: