Thread Meshcop commissioning fails at SendNOC step when using ESP32 (esp-thread-br) as Border Router
Summary
Thread Meshcop commissioning fails at the SendNOC step when the Border Agent is an ESP32-S3+H2 combo running Espressif's esp-thread-br. PASE, ArmFailSafe, and earlier certificate steps (CSR request/response) all complete successfully — the failure occurs specifically once the larger AddNOC certificate payload needs to be delivered. The identical DUT, dataset, and test setup succeeds reliably against a Nordic-based Border Router.
Environment connectedhomeip: master esp-idf: v5.5.5 esp-thread-br: latest basic_thread_border_router example, fresh unmodified build (non--dirty) DUT: ESP32-H2, all-clusters-app, esp-idf release/v5.5 Border Routers tested: ESP32-S3+H2 combo (fails) — reproduced on 2 separate physical units Nordic-based BR (passes consistently) Steps to Reproduce Flash DUT with all-clusters-app built against sdkconfig.defaults.esp32h2.tc. Set up ESP32-S3+H2 as Border Router with an active Thread dataset (leader state confirmed, BA port confirmed listening). Run commissioning via thread-meshcop method, pointing at the ESP32 BR's host/port. Observe commissioning proceed through PASE, ArmFailSafe, CSR request/response, then time out at SendNOC.
Expected Behavior
Commissioning completes successfully, matching behavior seen with a Nordic Border Router.
Actual Behavior
From the attached log, one full iteration's timeline:
15:00:29.489 → PASE hits a transient "Incorrect state" (SetUpCodePairer.cpp:549) — recovers on its own 15:00:30.614 → Established secure session with Device (PASE succeeds) 15:00:31.637 → ArmFailSafe → succeeds 15:00:33.601 → Performing next commissioning step 'SendNOC' 15:01:13.033 → Error on commissioning step 'SendNOC': CommandSender.cpp:378: CHIP Error 0x00000032: Timeout
Commissioning proceeds normally through PASE and ArmFailSafe, then hangs for ~40 seconds during SendNOC before timing out. DUT-side logs (captured separately) show it successfully receives and responds to CSRRequest, then goes silent for the same window — no indication the subsequent AddNOC command (carrying the larger certificate payload) ever arrives — until the commissioner's fail-safe timer expires and the DUT rolls back.
Source: project-chip/connectedhomeip