Flashing Green program hangs - need bypass

Hi there,
i am doing a project which requires the device to operate continuously. However, sometimes the electron somehow fails to connect up to the network, it will cause my device to hang.

As my device needs to operate continuously without failing or hang, is there any way where I can keep the program running despite the network not working well?

Thanks.

There are quite a few topics on this already, but look into system threading, and system modes. All in the docs :slight_smile:

I know, but no time to read all, rushing for project. able to direct? Thanks pal.

We’re here to help, but we’re not responsible for your deadlines. Some effort is required on your end.
https://docs.particle.io/reference/firmware/electron/#system-thread
https://docs.particle.io/reference/firmware/electron/#system-modes

1 Like

nice, it will help, Thanks.