espressif / esp-now

A connectionless Wi-Fi communication protocol
Apache License 2.0
486 stars 91 forks source link

Example - ota - running on (update) distant esp. #24

Closed tan253 closed 1 year ago

tan253 commented 2 years ago

I would like to ask, if there is any way to frequently update distant esp. Ota would run on the background and new updates, would be downloaded to it, one after another.

LJYSP commented 2 years ago

The new firmware should include ota responder function as follow. When reboot to new image, it can also respond the initiator to update.

    espnow_ota_config_t ota_config = {
        .skip_version_check       = true,
        .progress_report_interval = 10,
    };
    espnow_ota_responder_start(&ota_config);
lhespress commented 1 year ago

@tan253 Any update about this?

lhespress commented 1 year ago

@tan253 Closing this issue since there has been no update on this. Please feel free to reopen if required.