Skip to content

[OTA] Add UserSelectable timeout for invitation to device #1445

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 31, 2018
Merged

[OTA] Add UserSelectable timeout for invitation to device #1445

merged 1 commit into from
May 31, 2018

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