Safe Mode Trigger

Hello,

I was working on trying to get a P1 turn to safe mode from an external button in addition to the existing reset/power buttons to the controller, but couldn’t find any API(system.something(something)) call that which put P1 into safe mode?

I had originally thought it would have quite straight forward, but neither docs, nor forums turned up with the function that I need to call to trigger the Safe mode State.

Any help is much appreciated.

Thanks

@amoghjain, you probably missed it in the docs:

https://docs.particle.io/reference/device-os/firmware/photon/#entersafemode-

2 Likes

Thanks!!! that was amazingly fast!