Ota progress checking
Sorry if I double post this question maybe but the thing is that I didn't found a clear answer/way of doing this. So my question: is there a way of checking in the main sketch loop(application loop) if an OTA process is ongoing? If so how? Is there a clean/reliable way of checking this? I'm using both 2.1.1 stable release and 2.2.0-beta latest code. I didn't found this in the documentation or maybe I missed it.
I'm asking this because when OTA is in progress the main application loop is executing too and things get a little bit slow and sometimes firmware update stops in the middle.
I made something like that here: