Our product has a customer pc (usually windows 10) that connects wirelessly to an esp32. We want to be able to update the firmware from time to time without having to run a ftp or web server on the customer machine (and all the problems that entails).
Our windows application already has a tcp connection to the esp32 for 2-way comms. I should be able to write to a file in the SPIFFS partition on the WROOM module's flash. Can I then move that file to the OTA partitions and trigger select parts of the OTA process so that I can reboot into the new image, have the rollback and other safety features?
the main question: can I move a file between partitions?
thanks!
move file from SPIFFS to OTA partition
Re: move file from SPIFFS to OTA partition
checkout my project here:
https://github.com/BrianPugh/cookiecutt ... -webserver
if you don't want to use the entire template, look mostly at the OTA route. Essentially it allows you to perform an OTA by making a POST request.
https://github.com/BrianPugh/cookiecutt ... -webserver
if you don't want to use the entire template, look mostly at the OTA route. Essentially it allows you to perform an OTA by making a POST request.
Who is online
Users browsing this forum: Baidu [Spider] and 132 guests