You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
@LBlacklink I'm afraid this is not possible. The download function is implemented in tha ArduinoCore-mbed and it uses an mbed http client to download the file.
Probably the best way to approach this is to write your own version of this library download function.
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:
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
The text was updated successfully, but these errors were encountered: