Skip to content

Conversation

tsathishkumar
Copy link
Contributor

In our case the timeout is too small for the device to accept the invitation as it might be busy processing the loop. So the ability to specify timeout for the invitation is a nice to have feature for us.

And the second part of the pull request is to verify the last few responses from device to check for OK result as you can't guarantee the order of responses.

We noticed several times that the result is coming after 2nd or 3rd response in the while loop. This will avoid wrong results - showing error even when the OTA update is successful.

@me-no-dev me-no-dev merged commit 7b243ad into espressif:master May 31, 2018
@tsathishkumar tsathishkumar deleted the ota_timeout branch May 31, 2018 14:53
Curclamas pushed a commit to Curclamas/arduino-esp32 that referenced this pull request Aug 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants