ArduinoOTA GET with SAMD

Hello,

I have a self build Board with SAMD21 and W5500 Ethernet.
I need a firmware update over Ethernet. The board must load the file from a server and not push the code from the Arduino IDE.

So I found a library: GitHub - JAndrassy/ArduinoOTA: Arduino library to upload sketch over network to Arduino board with WiFi or Ethernet libraries

The library support the SAMD21 but only push Code from Arduino IDE.

I become the tip that I can use the GET request to download the file and the InternalStorage object of the ArduinoOTA to store and apply the downloaded binary.

The GET request I understand but how I use the InternalStorage object and in combination that it works I dont know.

Can everyone give me a example how it works?

Regards
Steffen

here is how the server in OTA library processes the upload. you will process the download in very similar way

Sorry I dont get it :frowning: :confused:

If anyone have the time to code this I had write a new topic:
https://forum.arduino.cc/index.php?topic=665014.0

Thanks
Steffen