I want my client side to detect an time out during an OTA update.
Currently, during a OTA timeout job, I see an abrupt end in the file transfer and OTA agent receives the job document which it could not parse.
I’m wonder if there is a way for my client device to understand timeout and log the same.
@tianmc1
I’m using the standard OTA agent example. As you could see, I receive a new job document when I cancel a job or timeout happens. I just want to handle them and log gracefully.
What actions you want to do on device side based on if it is cancelled or timeout ? The restarting of same job or even with new configuration should be done in the AWS IoT service.