Skip to content

matter ble配网 CASE 竞态问题 (IDFGH-18177) #19003

Description

@ZL-LF

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

问题1描述
现象:BLE-WiFi 配网流程本身约 10 秒即可完成(BLE 连接 + PASE + NOC),但示例配网总耗时稳定在 1'41"–1'51",只有第一次配上路由后就这样了。多出的 ~100 秒消耗在:AddNOC 完成后控制器立即发起的首次 CASE 握手必然失败 (设备发出 Sigma2 后收不到 Sigma3),需等 35–39 秒超时后控制器自动重试,第二次才成功。
复现率:(100%),multiple_on_off_plugin_units 示例工程(均为 esp-matter SDK + ESP32-C2)。

Image

问题2描述
现象:已配网设备重启后,控制器约 35 秒才能正常建立 CASE 会话;期间(T+10s ~ T+30s) 控制器的连接请求持续收到 Resource busy(0xDB),设备端日志为 Already in the middle of CASE handshake, sending busy status report。
复现率:(100%)

Image

环境
设备:ESP32-C2(esp32c2 模组),ESP-IDF v5.5.4 + esp-matter(1.5.x)
控制器:Linux chip-tool(定制版,配 esp-matter 1.5.1),pairing ble-wifi 1 20202021 3840
AP:华为路由器(WPA2),设备使用 IPv6 link-local 与控制器通信

设备配网和重启日志:

device_log_2026-08-21.txt

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions