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).
|