Description
Currently all that is said on this topic is here in the SYSTEM_THREAD() section:
https://docs.particle.io/reference/firmware/photon/#system-thread
the application continues to execute during OTA updates
This is a good fact to know about, but needs more guidance. Additionally user firmware that continues to run should not do anything that might interrupt an OTA update unintentionally. Ways to mitigate this are to use the System Event for OTA Updates (begin/in-progress/finished) and set an appropriate volatile
flag in user firmware which notifies a user process that an OTA update has begun/in-progress/finished. This may prevent things like a System.reset() from occurring, heavy use of the network, etc..
A short example could be included as well.