The Photon modules that I’m using connect easily and quickly to my WiFi network at home, but in the office network where I need to deploy them they often have trouble. (My application gives up after a minute and powers down, which I need to do in order to manage battery life.)
I’m suspicious that my troubles may be because, in the office network, we have various access points scattered around the building, all broadcasting the same SSID. I’d expect the Photon to try all channels with a matching SSID, preferably in order of signal strength. If it doesn’t do that, this could explain the problems I’m seeing.
Do we know whether the Photon does the right thing when multiple APs have the same SSID?
I’ve done some spelunking in the source code, but the trail ends at wiced_join_ap_specific(). It seems that is opaque to us. Do we know what it does, exactly?
In the Photon API, WiFi.scan() should be able to tell us what channels to try. But I see no way to tell the device to attempt to connect to a specific channel. Am I missing something?