ayushsharma82 / ElegantOTA

OTA updates made slick and simple for everyone!
https://elegantota.pro
GNU Affero General Public License v3.0
635 stars 117 forks source link

Understanding how exactly OTA delivers .bin file to esp32 #215

Closed Fyfth closed 1 month ago

Fyfth commented 2 months ago

Title :)

I would really like to understand the technical details step by step after uploading the .bin file. How does the computer send the .bin file to the esp32? How does the esp32 accept the file automatically? How does esp32 download it?

Thank you!!

mathieucarbou commented 2 months ago

The code is open-sourced. Read it.

It uses begin the Arduino Update class:

https://github.com/espressif/arduino-esp32/tree/master/libraries/Update

If you want to know more about the technical details on how updating an ESP work, read the Expressif doc

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 1 month ago

This issue was closed because it has been stalled for 5 days with no activity.