Hi,
Does the esp32 bin file always start with 0xe9?
Regards
Magic Byte bin file
Re: Magic Byte bin file
Hi ,
So is it safe to use this byte as the start of the bin to detect the end of http headers for OTA update?
Regards
So is it safe to use this byte as the start of the bin to detect the end of http headers for OTA update?
Regards
Re: Magic Byte bin file
As long as you don't mind people also being able to accidentally chuck an esp8266 firmware image into the OTA thing, sure. If you want more verification, you can check components/bootloader_support/src/esp_image_format.c which does some validation of images in the bootloader.
Who is online
Users browsing this forum: Google [Bot] and 19 guests
