Skip to content
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

[OTA Timeout] Added ability set OTA timeout in the OTA client #1669

Merged
merged 2 commits into from
Jul 24, 2018

Conversation

tsathishkumar
Copy link
Contributor

Currently the timeout for OTA packets is set as 1 sec, which is not good enough in a slower connection. This PR enables the clients to set custom timeout for OTA packets.

@beegee-tokyo
Copy link
Contributor

I like this. But I would prefer to have it as an option when initializing ArduinoOTA instead of a #define. Like ArduinoOTA.setTimout(time_t timeOut)

@tsathishkumar
Copy link
Contributor Author

Changed to method instead of #define.

@me-no-dev
Copy link
Member

I also like this 🎉

@me-no-dev me-no-dev merged commit 2fda054 into espressif:master Jul 24, 2018
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.

None yet

3 participants