Hi,

On Fri, 2013-12-13 at 09:34 +0100, Daniel Wagner wrote:
> From: Daniel Wagner <[email protected]>
> 
> We need to change the behavior for the AutoConnect=true case
> with sessions. The use case is that we have only sessions users.
> When no session asks for a connection the system should stay idle.
> Currently when the system is idle, ConnMan will attempt immedidatly
> to auto connect. When sessions are used, we can defer this until
> an user/application does a Session.Connect().

I don't think this is what is needed. On a generic system there is no
way to distinguish between a case where only session users exist where
none have either yet requested a session wrt the case where there are
none.

We already have almost too many variables in main.conf...

> Unfortunatly AutoConnect can't be changed at this point (we would need
> a tristate boolean) we add a global flag which allows to change
> the behavior of the auto connect state machine.

Enums for > 2 values can be used, can you elaborate what the thing is
that can't be changed.

Cheers,

        Patrik

_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to