Update SD-Card via OTA, NOT OTA via SD-Card.

Gemelon
Posts: 2
Joined: Mon Sep 25, 2017 3:08 pm

Update SD-Card via OTA, NOT OTA via SD-Card.

Postby Gemelon » Tue Apr 29, 2025 5:37 am

I've been looking for a way to update the sd card via ota, but only found how to update the device from sd card.
To make it clear: I have HTML files on the sd card and likes to update this files in the same process while I do an OTA on the device. So that all data on the device and the sd card are consistent.
Is there a standard componet to do so, or is there an example?

chegewara
Posts: 2505
Joined: Wed Jun 14, 2017 9:00 pm

Re: Update SD-Card via OTA, NOT OTA via SD-Card.

Postby chegewara » Sun May 18, 2025 8:08 pm

Yes, there is standard component. It is called http client and combined with standard posix functions to write files can be used to download files and store on sd card.

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 2 guests