[SOLVED] Unintended Connection to Particle When Waking From Sleep

I think you need a delay(1000); after Cellular.off(). The problem is that in threaded mode Cellular.off() is non-blocking but there's no way to tell when it's actually done. If you go to sleep immediately the cellular state is recorded as on, because it hasn't been turned off yet, so it wakes, it goes back into on state.

This post is for SLEEP_MODE_DEEP but it shows some of the places you'll run into the same problems:

1 Like