Hi Julien,

> In the current Connman version the "state"  of the manager API is
> either "offline" or "online".
> If only one device is marked as connected the global state is "online".
> 
> So the global online state doesn't have the same signification for the
> service state, it's a little bit confusing.
> 
> The service state makes the difference between "online" and "ready"
> and detects well the Internet availability.
> 
> Why don't we notifies a global state "online" when we have Internet
> and "ready" when we have an IP configuration ?
> 
> He could be usefull for the applications who are waiting for Internet
> without checking the whole list of services state.

I rather have applications use the Session API, than this global state.

And maybe we just better remove it before 1.0 release.

Regards

Marcel


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

Reply via email to