View Single Post
Old 08-03-2020, 03:30 AM   #5
sladflob
Connoisseur
sladflob began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Feb 2013
Device: Kobo Touch, Aura One
I couldn't resist but look at the code paths for the two cases in my previous post.

In the case where you manually attempt to turn on the network it's getting the list of networks in showNetworkMenu() via getNetworkList() and tries to connect to the first one that has a password set. Without debugging it, I'm guessing that none of the networks corresponding to the access points have a password set because it doesn't attempt to connect to anything.

In the case where it connects to the network when you try and do something else it just calls turnOnWifi() (which in my case is calling koboEnableWifi(1)), which I again assume gets Nickel or whatever to handle the network connection.

So I think there's something odd going on with the way the mesh network is being returned from getNetworkList() (or getSavedNetworks(), which it calls).
sladflob is offline   Reply With Quote