I’m still a bit confused as what is said in this thread doesn’t seem to match the docs.
In the docs under System Threads / System Functions it says in SYSTEM_THREAD(ENABLED)
mode only the following system functions block the caller:
- WiFi.hasCredentials(), WiFi.setCredentials(), WiFi.clearCredentials()
- Particle.function()
- Particle.variable()
- Particle.subscribe()
- Particle.publish()
But the thread above talks about Particle.connect()
blocking even with SYSTEM_THREAD(ENABLED)
. Can someone in the know be specific about under what circumstances (and if specific on what boards) Particle.connect()
will not block.