I am trying to push credentials to a Photon via iOS and am encountering some strange behavior.
Steps:
Clear all wifi credentials on the Photon.
Restart and it goes into listening mode.
Connect with Particle app.
Enter credentials, but mistype password = push invalid credentials to Photon.
The Photon restarts, tries to connect to wifi for 2 sec (blinking green) then goes back into listening mode.
But this listening mode is inaccessible, the SoftAP is up again but there is no way of connecting to that SoftAP. I have tried to restart the Particle App and connect to the SoftAP (Photon-XXXX) but it fails.
The only way to re-establish a connection is to restart the Photon, then it end up in only green blink mode and then press Setup button to enter listening mode. It is like on the first restart it enters a bricked listening mode.
This is a real life scenario when a customer enters the wrong wifi credentials.
I just tried again, and it’s working for me. (I’m testing on a laptop connected to the Photon’s SoftAP - can still contact the TCP server on port 5609.)
I’d made a mistake of not reconnecting to the SoftAP on the second try.
Perhaps the mobile is also suffering the same problem and not reconnecting WiFI to the Photon’s SoftAP?
@TheAmos@henkep I’m wondering whether you have tried the latest system modules in v0.4.4 (now past release candidate stage) https://github.com/spark/firmware/releases. Does this solve your issues? If not, definitely let us know.
@zachary We are using a system we compiled locally from the develop branch. Our pull was from about 8/18 I have also confirmed we can make this happen to a fresh device that has taken an OTA update to the latest production released system.