Skip to content

Conversation

everslick
Copy link
Contributor

This is a more or less verbatim port from the ArduinoOTA library to the UpdateClass. Usage example:

  Update.onProgress(
    [](size_t current, size_t total) {
      Serial.printf("\r  received %d of %d bytes           ", current, total);
    }
  );

Very useful for possible inclusion in the HttpUpdate library.

@me-no-dev me-no-dev merged commit 2633fc3 into espressif:master Jan 17, 2018
@me-no-dev
Copy link
Member

nice!

@everslick everslick deleted the add_progress_cb_to_update_writestream branch January 20, 2018 09:30
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