This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to know if an OTA update just happened?

Hello,

I am currently developing using Zephyr/NCS an application that supports FOTA/DFU.

The device needs to be tapped to be woken up and start advertising. So, when a FOTA process happens, the verification phase at the end cannot be performed without tapping the device. I would like for the update process to not require this tapping step. However, I do not know how to proceed with that.

So, based on the SMP_SVR sample in zephyr, how would you check if the reset that just happened is due to an OTA update ? Maybe I can store something in non-volatile storage or is there a function that can check that somewhere already ?

Thank you very much for any help you can give me.

Parents Reply Children
No Data
Related