My system, which includes a Photon, used to run fine. Now it is does not connect to a wifi and appears stuck in soft AP. That is, it continuously broadcasts an SSID of “Photon-9SD2”.
The program used to work fine. It runs in MANUAL mode. When we run in the field, the Photon is not cloud connected and uses a wifi which we provide from a NanoLoco. When we want to debug, we type a command via the serial link to our program and it does a Particle.connect so we can download new firmware.
There are 4 wifi nets in the credentials list. I wanted to add another. So I ran “particle setup”. I don’t quite know what “soft AP” mode is (and probably don’t want to!) but my understanding is that part of the particle setup process is that it puts the Photon into soft AP mode, does its thing, and then presumably returns the Photon to what I’d call “normal operation mode”.
Because my program blinks some lights for 5 seconds when it starts, to let the user know it’s kinda alive, I am sure it’s running for those 5 seconds. More specifically it does a Wifi.on, then Wifi.connect, then drops into the 5 second light blink loop. From there things go downhill. Instead of our program continuing running, I get an SOS one dot. If I go to safe mode, I get the magenta blink and then blue blink. But I still cannot run particle setup or flash my program.
I need to get out of this problem to get back to operating properly. Can anyone point me in a direction? I don’t think I have used CLI and I have only used “particle” for setting new creds. Maybe one or two other things also.
Maybe “all” I have to do is a total reset somehow?
Keyboard output from particle setup:
hahn:~ jimhahn$ particle setup _ _ _ _ _ __ __ _ _ __| |_(_) ___| | ___ (_) ___ | '_ \ / _` | '__| __| |/ __| |/ _ \ | |/ _ \ | |_) | (_| | | | |_| | (__| | __/_| | (_) | | .__/ \__,_|_| \__|_|\___|_|\___(_)_|\___/ |_| https://particle.io/ > Setup is easy! Let's get started... > It appears as though you are already logged in as firstname.lastname@example.org ? Would you like to log in with a different account? No ! PROTIP: Hold the MODE/SETUP button on your device until it blinks blue! ! PROTIP: Please make sure you are connected to the internet. > I have detected a Photon connected via USB. ? Would you like to continue with this one? Yes ! The Photon supports secure Wi-Fi setup. We'll try that first. ! PROTIP: Wireless setup of Photons works like a wizard! ! PROTIP: We will automagically change the Wi-Fi network to which your computer is connected. ! PROTIP: You will lose your connection to the internet periodically. ? Found "Photon-9SD2". Would you like to perform setup on this one now? Yes ! PROTIP: You will need to know the password for your Wi-Fi network (if any) to proceed. ! PROTIP: You can press ctrl + C to quit setup at any time. > Obtained magical secure claim code. ! PROTIP: There was a network error while connecting to the cloud... ! PROTIP: We need an active internet connection to successfully complete setup. ! PROTIP: Are you currently connected to the internet? Please double-check and try again.