From: Daniel Wagner
Free-ride mode is implicit always enabled (see documentation)
we only need to track when a user requests a connection.
This can be expressed by a boolean. Remove the reason enum
and rename the connect and disconnect functions.
Instead storing the user's connect request, we ju
From: Daniel Wagner
Service will now be able to add or remove a service from a session.
---
src/connman.h | 5
src/session.c | 84 ++-
2 files changed, 77 insertions(+), 12 deletions(-)
diff --git a/src/connman.h b/src/connman.h
inde
From: Daniel Wagner
This is just a hack to explain what I mean. Instead introducing a new main.conf
flag we allow a policy plugin to enable session mode permemanantly. I don't we
have to add this feature to session_policy_local.c. I have for my stuff my
own plugin (called session_policy_pold.c an
From: Daniel Wagner
Since we know if a service was connected by a user or by a session
we can use this information and disconnect the service if there
is no user asking for it.
---
src/service.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/src/service.c b/sr
From: Daniel Wagner
Session are allowed to auto connect. This is done by checking the
reason code.
But before that we check if session are active. If yes we disable
the normal auto connect mode and only allow sessions to establish
new connections.
---
src/service.c | 24 ++--
From: Daniel Wagner
The caller indicates by providing a connect reason 'who' initiated
the connection.
For this we remove the userconnect bool from struct
connman_service and set the __connect_service_connect()
and __connman_service_disconnect().
---
src/config.c | 6 +++--
src/connman.h | 12
From: Daniel Wagner
---
src/config.c | 2 +-
src/connman.h | 2 +-
src/device.c | 4 ++--
src/service.c | 30 +-
src/session.c | 2 +-
5 files changed, 22 insertions(+), 18 deletions(-)
diff --git a/src/config.c b/src/config.c
index feee6b2..22321bf 100644
---
From: Daniel Wagner
Hi,
As result of your disucssion I completely rewrote the series. The main
changes is that the session's configuration are tracked in service.c
and that we track the connection request reason. With this information
inside service.c, the auto connect algorithm can decide which
From: Daniel Wagner
When a session is activated we check if there is already a service
connected which matches the configuration. Also whenever a service
state changes we check if we either have to remove or add a service
to a session.
---
src/service.c | 109
From: Daniel Wagner
Currently, service has no idea which session needs to be updated
after the auto connect algorithm has choosen a service. Updated means
that service will add and remove services to a session. First
step in this support this, we start storing the bearer list per session
in servi
From: Daniel Wagner
The current implemention is decoupled from what
service.c is doing. For example session.c needs to
guess via the service state which session original
wanted a connection. Let's start over with a
new approach. First step is to remove the current
implemantation.
---
src/session
---
src/ntp.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/src/ntp.c b/src/ntp.c
index 57205f8..63eac03 100644
--- a/src/ntp.c
+++ b/src/ntp.c
@@ -117,6 +117,7 @@ static struct timespec mtx_time;
static int transmit_fd = 0;
static char *timeserver = NULL;
+static struct sockadd
I'm on beagleboneblack using Angstrom linux distribution and using
opkg list | grep connman
i see that the last version avaiable is connman - 1.4-r18.0.15 - A
daemon for managing internet connections within embedded devices
but why on connman.net the last version is 1.21 ?
connman 1.21 has th
Hi,
On Tue, 2014-02-04 at 13:11 +0100, andrea pola wrote:
> I'm on beagleboneblack using Angstrom linux distribution and using
> opkg list | grep connman
>
> i see that the last version avaiable is connman - 1.4-r18.0.15 - A
> daemon for managing internet connections within embedded d
Return true if agent invocation is successful after receiving
a valid wispr redirect message. Otherwise wispr_portal_web_result()
will proceed based on HTTP status code.
---
src/wispr.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/wispr.c b/src/wispr.c
index 32cf75a..733debd 100644
--
On Tue, 2014-02-04 at 13:03 +0200, Jukka Rissanen wrote:
> ---
> src/ntp.c | 9 +
> 1 file changed, 9 insertions(+)
Applied, thanks!
Patrik
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman
On Tue, 2014-02-04 at 15:06 +0200, Hannu Mallat wrote:
> Return true if agent invocation is successful after receiving
> a valid wispr redirect message. Otherwise wispr_portal_web_result()
> will proceed based on HTTP status code.
Applied, thanks!
Patrik
_
Ok thanks, i've downloaded last version from
https://www.kernel.org/pub/linux/network/connman/ and i try to ./configure
but i've got errors for dbus version unsatisfied
configure: error: D-Bus >= 1.4 is required
I've made a opkg list and i see that dbus is 1.6 but libdbus not.
Connman configure
18 matches
Mail list logo