OTA with offset
Posted: Thu Jan 27, 2022 8:57 am
Hi
I have been working on OTA updates for an ESP32-wroom-32 chip. I have managed to successfully use esp_ota_write to perform the update.
However, the packets may arrive in an arbitrary order, so I have been looking at the esp_ota_write_with_offset function. Using this function I have not been able to perform the OTA, even when they arrive in sequential order. Does anyone have any experience in using esp_ota_write_with_offset? Do I have to perform any padding of some sort to each packet, or at the end of the image?
Link to the API: https://docs.espressif.com/projects/esp ... m/ota.html
I have been working on OTA updates for an ESP32-wroom-32 chip. I have managed to successfully use esp_ota_write to perform the update.
However, the packets may arrive in an arbitrary order, so I have been looking at the esp_ota_write_with_offset function. Using this function I have not been able to perform the OTA, even when they arrive in sequential order. Does anyone have any experience in using esp_ota_write_with_offset? Do I have to perform any padding of some sort to each packet, or at the end of the image?
Link to the API: https://docs.espressif.com/projects/esp ... m/ota.html