Skip to content

Guidance Needed: Implementing OTA Firmware Updates Over Thread Mesh Network Using ESP-IDF (IDFGH-15267) #15926

Open
@kunj2308

Description

@kunj2308

Is your feature request related to a problem?

I'm developing an OTA update solution for Thread mesh networks using Espressif hardware and would appreciate expert advice. My current setup consists of:

Border Router Configuration:

ESP32 (Wi-Fi) running the ot_br example

Connected via UART to ESP32-C6 running the ot_rcp example

Thread End Device:

ESP32-C6 running the ot_cli example

Implementation Goal:

Download firmware binary on Border Router (via Wi-Fi/Internet)

Transfer firmware securely over Thread mesh network to end device

Implement reliable OTA update process using ESP-IDF's OTA API

Technical Questions:

What modifications are needed to the OpenThread examples to support:

Firmware transfer over Thread

Chunking strategy for Thread's 127-byte MTU

Integrity verification (SHA256) and secure reboot

Are there known limitations with:

Thread network reliability for large binary transfers

ESP32-C6 flash write performance during OTA

Border router throughput constraints

Would alternative approaches be more suitable? For example:

Using CoAP for firmware transfer

Implementing a custom fragmentation protocol

Reference Materials:

ESP-IDF OpenThread Guide

Thread Network Specifications

OpenThread MTU Discussion

Additional Request:
If anyone has implemented similar OTA-over-Thread solutions, I would greatly appreciate any code examples or design insights you could share.

Describe the solution you'd like.

No response

Describe alternatives you've considered.

No response

Additional context.

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions