I’m confused with the System Modes. Is there a way to differentiate connecting to the Wifi vs. connecting to the cloud?
I want to connect my Photons to my network but have cloud connectivity optional. If my internet connection goes down the devices should continue to run, connect to the network and post data to network based services (e.g. MQTT broker) even though the cloud is not available.
It seems that I can use Semi automatic or manual modes and call Particle.connect(). But what happens when it can’t connect to the cloud, does it return quickly and Particle.connected() just remains false?