Hi Particle Community!
I’m using particle electron and had problems with flashing OTA. It just worked in safe mode, although my firmware runs otherwise very well with no issues. After some time, I figured out, that it seems to work sometimes in normal mode with a longer delay in the main loop (2s), but unfortunately not always.
So what do you think, could a too short delay in loop() really cause issues with flashing OTA?
What would be a best practice for a fast as possible stable firmware? So I mean the lowest delay value in loop(), but with really stable functionallity.
Could any other code cause the OTA flash issues?
Would be great to get some feedback and experience on this.
Thanks a lot!