Code blocking in SEMI_AUTOMATIC

Does the main application thread block when the Photon loses connection to the internet in SEMI_AUTOMATIC mode? If so, are we expected as firmware developers to implement code for gracefully handling this? My involves using a heater and I absolutely cannot have the code stop functioning when the internet connection is lost.


For that reason SYSTEM_THREAD(ENABLED) was introduced.

Thanks! Where can I find the documentation on this feature?

Via the docs Search box or here

1 Like