I switched from automatic to manual mode in order to allow system running in case of no wifi connection.
I registered one remote function that reset the MCU and this working on Automatic mode.
Now I switched to manual mode, but after I call the remote function from the Particle Console, the system crash with led red (I cannot count the LED blink because they are too fast).
I checked that the remote function are registered before calling Particle.connect().
Without seeing your code, knowing your platform and target device OS version it’s a guessing game, but my first thing to look at would be to check whether your function actually returns an int in all possible code paths.
This would correlate to an SOS+1 hard fault panic (… — … + 1 slower blink)
However, you can always post a video for others to have a look.
BTW, SYSTEM_MODE(MANUAL) would not be my first choice.
The first thing to try would be SYSTEM_THREAD(ENABLED) unless you are likely to take manual control of the connection and transfer integrity, but even then I’d rather opt for SYSTEM_MODE(SEMI_AUTOMATIC)
I use a Particle Photon with DeviceOS 2.0.1.
I forget to add SYSTEM_THREAD(ENABLED), but also after adding this instruction the Red Flash SOS happens again.