-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to add 2nd fabric from 2nd chiptool - Commissioning discovery failed #17027
Comments
Logs with Chiptool on same device |
This is on SHA 7ab6653 |
So this is using the PIN code, not the QR code, right? And the one that the CHIPTool shows, not the one the device itself shows? |
Correct. using the PIN code that CHIPtool provides (not the default setup code) |
This part is expected, since the device is not advertising over BLE. The more relevant part of the log is:
but then I don't see any logs indicating we got an IP for that hostname.... |
Tried the following scenario with SHA 1fb5900
CHIPtool-CLI_attempt-to-add-2nd-fabric.txt |
Attaching the iOS logs and M5 stack logs for chip tool app 2 failing to pair. |
@bzbarsky-apple Based on re-testing, Looks like c98d871 broke this behavior. it worked with f733995 |
@wqx6 PTAL ^ |
Looks like the platform mDNS of ESP32 has some issues. Can you test again enabling minimal mDNS |
@wqx6 Thanks. yes after enabling that option I was able to pair 2nd fabric using CHIPtool with today's SDK. Should we always use that option moving forward? |
Ah, that's why I could not reproduce: the default changed and sdkconfig is cached outside the build dir.... I should remember to just remove it as part of my builds. Anyway, the specific bug here is that the ESP32 implementation of
and
That's showing a chip-all-clusters-app on an m5stack using platform mdns (B547AE8902014C18) and minimal mdns (28403D12B536F657). |
Fixed by #17269. |
Problem
Failed to add 2nd fabric from 2nd chiptool - Commissioning discovery over BLE failed
This with both 2 CHIPtools on same device and 2 CHIPtools on separate devices
In step 3, fails to discover and add M5 board on CHIPTool 2. No logs seen on M5 board after opening commissioning window to see pairing attempt happening
//start discovery
-04-04 16:11:19.169245-0700 localhost CHIPTool[5276]: (CHIP) [com.zigbee.chip:all] � [1649113879169] [5276:286428] CHIP: [CTL] Starting commissioning discovery over BLE
//fails to discover ove BLE
2022-04-04 16:12:19.178722-0700 localhost CHIPTool[5276]: (CHIP) [com.zigbee.chip:all] � [1649113939178] [5276:294468] CHIP: [CTL] Commissioning discovery over BLE failed: ../../../../../../../../../../../connectedhomeip/src/platform/Darwin/BleConnectionDelegateImpl.mm:111: Ble Error 0x0000040D: Application closed BLE connection
2022-04-04 16:12:19.178978-0700 localhost CHIPTool[5276]: (CHIP) [com.zigbee.chip:all] � [1649113939178] [5276:294468] CHIP: [-] ../../../../../../../../../../../connectedhomeip/src/platform/Darwin/BleConnectionDelegateImpl.mm:111: Ble Error 0x0000040D: Application closed BLE connection at ../../../../../../../../../../../connectedhomeip/src/
Attaching logs from attempts with CHIPtool on separate devices
CHIPtool2.txt
M5.txt
CHIPtool1.txt
The text was updated successfully, but these errors were encountered: