Skip to content

Possibility for custom downloading from ethernetclient? #60

@LBlacklink

Description

@LBlacklink

Hi, I've looked through the source code but I'm not knowledgable on this to know, is it possible to use your own ethernetclient implementation to download the OTA file? Something like how ArduinoOTA does it:

  byte b;
  while (length > 0) {
    if (!client.readBytes(&b, 1)) // reading a byte with timeout
      break;
    InternalStorage.write(b);
    length--;
  }
  InternalStorage.close();

I'd like this because I make the firmware available through my API which requires tokens and stuff to access, so it's more complicated than a publicly available URL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions