Hello,
Based on aws_fota sample, I want to replace the line with poll with something that not blocks (because I have another things to manage in my loop). Do someone have an idea please ?
How can I catch unexpected disconnections ?
Thank you.
Hello,
Based on aws_fota sample, I want to replace the line with poll with something that not blocks (because I have another things to manage in my loop). Do someone have an idea please ?
How can I catch unexpected disconnections ?
Thank you.
Hello,
I would advice you to consider using threads. You can run the polling in a separate thread, and when it blocks you can have something else running in another thread. I don't know a way to make the poll function non-blocking.
Ok thank you for your help
Ok thank you for your help