Hi My well working OTS Framework has this code in Setup
// Over the Air Framework
ArduinoOTA.onStart([]() {
String type;
if (ArduinoOTA.getCommand() == U_FLASH) {
type = "sketch";
} else { // U_FS
type = "filesystem";
}
// NOTE: if updating FS this would be the place to unmount FS using FS.end()
Serial.println("Start updating " + type);
});
ArduinoOTA.onEnd([]() {
Serial.println("\n\rEnd");
});
What does the else mean?
Can I use OTA to transfer the SPIFFS files?
If yes where is the procedure described?
Thank you for your clues.
Since i need the file on a Raspberry Pi in the same LAN -preferably with an unattended transmission- I prefer to forward the data over UDP, for which I already have a library loaded.
UDP transmission (within the LAN network) would be the better approach for me to transfer the file.
The whole http:// overhead does not seem to be desirable.