>> I also need network switching capability, the LTE is the
>> network interface, when the system detects WiFi is available, it
>> switches from LTE to WiFi network connection immediately which is
>> similar to the mobile phone to automatically switch from LTE to the
>> WiFi. I think the connman must has that capacity as well, but correct
>> me if I am wrong.
> Yes, that is what ConnMan is doing. Though this depends on how good
> the hardware and the drivers work.
Please correct me if I am wrong. The switch between LTE and Wifi is
not automatic and immediate as like in mobile phone. For example,
during the system startup if I have only cellular connectivity,
Connman uses this interface(provided by ofono) for data
connection. If after sometime, wifi network is available, Connman
add this interface(provided by bluez) but in ready state and not in
online state. This still means that the data connection is still
through cellular network. Connman doesn't change to wifi network
just because it's available. The switch to wifi happens, if the
cellular communication breaks completely or a manual interruption
using connmanctl disconnect cellular_* and connmanctl connect
The auto connect algorithm can be tweaked via a set of configuration
option. Furhtermore, you can even implement your own connection
algorithm via the plugin interface.
Check the connman.conf page for all the config options, in particular
Note the online check (ready -> online state) is only executed
once. None limitation.