Menu

Device is not getting SPIFFS updates

Locked
Onno Dirkzwager
Joined
2016-06-04 21:36:48
Posts
56

Device is not getting SPIFFS updates

https://github.com/iotappstory/ESP-Library/blob/master/examples/IASBlink/IASBlink.ino#L80

onFirmwareUpdateProgress

ChWuel
Joined
2021-01-17 09:32:53
Posts
19

In response to Onno Dirkzwager (View post):

It's not clear to me what you are doing and in what order... probably lost in translation... I've be...

THANKs to Onno, we were able to figure out, that the update process was disturbed - most probably from MQTT maybe some other processes, still running. With the CallHome on beginning of startup its done before anything others is activated. I'm now making sure, that it is really finished before going on with the probramme and a trigger for the start up will be implemented, so I can remotely start the update process, as intended.

Conclusion - make sure, that the CallHome finished without beeing disturbed by parallel processes

To be closed

Onno Dirkzwager
Joined
2016-06-04 21:36:48
Posts
56

In response to ChWuel (View post):

THANKs to Onno, we were able to figure out, that the update process was disturbed - most probably fr...

Great, thanks for the feedback!

In the future when you are more used to all the ins and outs of IAS and when you feel even more at home with your project and coding, you could dive into esp32 rtos tasks. But this a whole new topic with its own quirks... So I deliberately skipt this topic until you had de current setup running.

I'll close this thread, feel free to open a new one.