Skip to content

ArduinoOTA + LIGHT_SLEEP_T gives error on uploading #1005

Closed
@EUA

Description

@EUA

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();

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions