Run code on Particle Electron without connecting to the cell network? [SOLVED]


I often want to test code on the Electron that doesn’t actually require a cell connection. As I live in an area where the cell reception is poor, I often have to wait ~15 mins for the Electron to connect to the cell network before my code runs, which doesn’t even utilise this connectivity!

Is there a way to run code without the Electron having to wait to connect to the cell first?


Yes using the System modes: for example: “Semi-automatic”


Oh brilliant, So I can just use SYSTEM_MODE(MANUAL); before my code to effectively disable the cell :slight_smile:

Putting the device into SEMI_AUTOMATIC mode can be even better because then you can simply send the device a command to ask it to turn on the cellular connection when you’re ready for it to connect!