-
Notifications
You must be signed in to change notification settings - Fork 43
Description
Checklist
- Checked the issue tracker for similar issues to ensure this is not a duplicate.
- Described the feature in detail and justified the reason for the request.
- Provided specific use cases and examples.
Feature description
I am using the ESP32-S3 as a Wi-Fi chip and Border Router chip with the ESP32-C6 as the OT_RCP chip in my setup. I followed the example code from the ESP32 Thread Border Router repository.
I am trying to OTA the firmware of the ESP32-C6 OT_RCP chip with a new firmware file, but I am unsure about how to proceed. I have enabled the CREATE_OTA_IMAGE_WITH_RCP_FW option to generate the firmware image. However, I received a file called ota_with_rcp_image, but it doesn't have a .bin extension or any clear indication of how to use it for OTA updates.
Now, I want to know how to perform an OTA update using the generated ota_with_rcp_image file. Specifically, how do I use the file to OTA update the ESP32-C6 OT_RCP firmware?
Use cases
Firmware Update for Border Router:
The process will help in updating both the Border Router firmware and the OT_RCP firmware simultaneously, ensuring that the network operates with the latest firmware versions.
Automating Firmware Management in IoT Networks:
This approach could be beneficial for automatically updating devices in large-scale IoT networks that use Thread and OpenThread protocol for communication.
Alternatives
Currently, I have tried using the CREATE_OTA_IMAGE_WITH_RCP_FW option to generate the image, but there is a lack of clarity on how to use the resulting file for OTA. Another potential solution could be to separately update the Border Router and OT_RCP firmware files, but that would require more manual management.
Additional context
The ota_with_rcp_image file generated through the option seems to combine both Border Router and OT_RCP firmware updates, but the lack of file extension or documentation on how to use it makes the process confusing. It would be helpful to know how to use this file for OTA updates or if there is a more structured method for handling this type of update.