Is there system flag or event that I can look for that indicates that a recently finished reset was due to to a upgrade of firmware vs just a normal reset?
There is - and it’s not named that obscurely either
https://docs.particle.io/reference/firmware/photon/#reset-reason
2 Likes