Hi,

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.

PS: in the documentation the state property states that the value can
be "connected". I've not find the use case for having this value is
set.

Regards,
Julien Massot
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to