> PreferredTechnologies = wif,cellular
Hmm, that is in main.conf from current git branch ev3dev-stretch
> SingleConnectedTechnology = false
And if you want to have only one link up use 'true' here.
Good point, I do want to have only one link up either connected by LTE
or by WiFi.
Switching between the technologies is supposed to work
The term 'immediate' is hard to grasp. My personal experience with iOS
and Android is that even on high end phones the switching takes a few
seconds. Anyway, the whole connection algorithm is event driven, that
means if the under laying technology and driver send the disconnect/new
network events, ConnMan will act immediately.
No, there is no time constraint, as long as it can do the switching
reliably, taking a coupe of seconds or even longer is not the problem.
ConnMan is supposed to do this, but depends on hardware and driver
support. I stress this point because we have got a lot of fun with
wpa_supplicant and even worse are the modems. oFono does an excellent
job but it can only do so much.
That should be fine, I'll add the hardware and drivers to Linux kernel
and let the ConnMan to do the rest of the job.
Does the ConnMan provide C/C++ API for setting up WiFi connection?
Right now (I don't have any network manager), I use the shell command
in the program to call system to run wpa_supplicant commands to
configure WiFi client to connect to the WiFi router, it is awful.
Thank you very much.