Hi,
Does the esp32 bin file always start with 0xe9?
Regards
Magic Byte bin file
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: Magic Byte bin file
Yes. Take care, however: ESP8266 apps starts with the same byte.
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
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
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.
Re: Magic Byte bin file
Hi,
Thank You.
I will check it out.
Regards
Thank You.
I will check it out.
Regards
Who is online
Users browsing this forum: VinayDand and 443 guests