Skip to content

ArduinoOTA + LIGHT_SLEEP_T gives error on uploading #1005

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

Closed
EUA opened this issue Nov 11, 2015 · 0 comments
Closed

ArduinoOTA + LIGHT_SLEEP_T gives error on uploading #1005

EUA opened this issue Nov 11, 2015 · 0 comments

Comments

@EUA
Copy link

EUA commented Nov 11, 2015

I tried lot and found that using LIGHT_SLEEP_T mode with ArduinoOTA make Uploading Error generally. This due probably lowered network speed and there are missing packets at LIGHT_SLEEP_T mode.
You probably make successful OTA upload but with ~%10 chance.

For fixing you need to add

wifi_set_sleep_type(NONE_SLEEP_T);

line when detected OTA request at function:

ota_server.handle();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants