Hi,

On Fri, 2015-01-30 at 07:55 +0000, Priyaranjan Singh wrote:
> PreferredTechnologies = wifi,ethernet,Bluetooth

If the services end up with equal states, i.e. all in 'ready' or all can
possbly go 'online' the order is wifi first, ethernet second and
bluetooth third.

The start of a documentation at https://01.org/connman/documentation
tries to explain this.

> Step 2) Connect Ethernet device/phone (data usage on) with target
> 
>                                Actual Service ordering:
> #connmanctl services
> List of all services:
> *AO Wired                { ethernet_22d3f9d281a8_cable }
> *AR uttejSir             { wifi_001cc1a25dff_757474656a536972_managed_none }
> 
>                                Expected Service ordering:
> #connmanctl services
> List of all services:
> *AR uttejSir             { wifi_001cc1a25dff_757474656a536972_managed_none }
> *AR Wired                { ethernet_22d3f9d281a8_cable }

If the services had both stayed at 'ready' the expected service ordering
would be the one used. But now ethernet successfully finished the online
check, and entered 'online' state as a result. PreferredTechnologies is
valid for services in the same state, and 'online' state is always
preferred over 'ready'. If there are more than one services that can go
'online', PreferredTechnologies is consulted again and the most
preferred technology type is the one that is selected as the one and
only 'online' service at that time.

So this case works as expected.

Cheers,

        Patrik


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

Reply via email to