matter over thread

1736324440.882488][42492:42492] CHIP:TOO: Run command failure: src/platform/Linux/BLEManagerImpl.cpp:84: CHIP Error 0x00000032: Timeout

above error comes when i'm trying to add matter device into thread network using chip-tool  

matter device connect for few sec after that  devices disconnect

Prajwal@prajwal:~/Downloads$ ./chip-tool-debug pairing ble-thread 0x0000000000000001 hex:0e08000000000001000000030000124a0300001535060004001fffe00208827c6e5df8c970b70708fddda0aa9c18f91d0510e2a3b9551d8a4522e76dae735b6eed29030f4f70656e5468726561642d35386239010258b904101f198d54e0771064e85bf6f74828e1d20c0402a0f7f8 20202021 3840
[1736324420.811977][42492:42492] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_tool_kvs
[1736324420.812380][42492:42492] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_kvs
[1736324420.812392][42492:42492] CHIP:DL: ChipLinuxStorage::Init: Attempt to re-initialize with KVS config file: /tmp/chip_kvs
[1736324420.812492][42492:42492] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_factory.ini
[1736324420.812525][42492:42492] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_config.ini

[1736324420.812550][42492:42492] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_counters.ini
[1736324420.812654][42492:42492] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-aznxHd)
[1736324420.812803][42492:42492] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
[1736324420.812817][42492:42492] CHIP:DL: NVS set: chip-counters/reboot-count = 36 (0x24)
[1736324420.813103][42492:42492] CHIP:DL: Got Ethernet interface: eno1
[1736324420.813291][42492:42492] CHIP:DL: Found the primary Ethernet interface:eno1
[1736324420.813484][42492:42492] CHIP:DL: Got WiFi interface: wlx00e0312d188c
[1736324420.813682][42492:42492] CHIP:DL: Found the primary WiFi interface:wlx00e0312d188c
[1736324420.813695][42492:42492] CHIP:IN: UDP::Init bind&listen port=0
[1736324420.813730][42492:42492] CHIP:IN: UDP::Init bound to port=57045
[1736324420.813735][42492:42492] CHIP:IN: UDP::Init bind&listen port=0
[1736324420.813751][42492:42492] CHIP:IN: UDP::Init bound to port=42781
[1736324420.813755][42492:42492] CHIP:IN: BLEBase::Init - setting/overriding transport
[1736324420.813759][42492:42492] CHIP:IN: TransportMgr initialized
[1736324420.813770][42492:42492] CHIP:FP: Initializing FabricTable from persistent storage
[1736324420.813816][42492:42492] CHIP:TS: Last Known Good Time: 2023-10-14T01:16:48
[1736324420.814053][42492:42492] CHIP:FP: Fabric index 0x1 was retrieved from storage. Compressed FabricId 0xB173ED0DDC4FA765, FabricId 0x0000000000000001, NodeId 0x000000000001B669, VendorId 0xFFF1
[1736324420.814478][42492:42492] CHIP:ZCL: Using ZAP configuration...
[1736324420.816019][42492:42492] CHIP:DL: Avahi client registered
[1736324420.816036][42492:42492] CHIP:CTL: System State Initialized...
[1736324420.816085][42492:42492] CHIP:CTL: Setting attestation nonce to random value
[1736324420.816090][42492:42492] CHIP:CTL: Setting CSR nonce to random value
[1736324420.816209][42492:42494] CHIP:DL: CHIP task running
[1736324420.816267][42492:42494] CHIP:DL: HandlePlatformSpecificBLEEvent 32786
[1736324420.816346][42492:42494] CHIP:CTL: Setting attestation nonce to random value
[1736324420.816355][42492:42494] CHIP:CTL: Setting CSR nonce to random value
[1736324420.819652][42492:42494] CHIP:CTL: Generating NOC
[1736324420.822810][42492:42494] CHIP:FP: Validating NOC chain
[1736324420.834733][42492:42494] CHIP:FP: NOC chain validation successful
[1736324420.834744][42492:42494] CHIP:FP: Updated fabric at index: 0x1, Node ID: 0x000000000001B669
[1736324420.834749][42492:42494] CHIP:TS: Last Known Good Time: 2023-10-14T01:16:48
[1736324420.834753][42492:42494] CHIP:TS: New proposed Last Known Good Time: 2021-01-01T00:00:00
[1736324420.834756][42492:42494] CHIP:TS: Retaining current Last Known Good Time
[1736324420.835134][42492:42494] CHIP:FP: Metadata for Fabric 0x1 persisted to storage.
[1736324420.835424][42492:42494] CHIP:TS: Committing Last Known Good Time to storage: 2023-10-14T01:16:48
[1736324420.835695][42492:42494] CHIP:CTL: Joined the fabric at index 1. Fabric ID is 0x0000000000000001 (Compressed Fabric ID: B173ED0DDC4FA765)
[1736324420.838632][42492:42494] CHIP:CTL: Setting thread operational dataset from parameters
[1736324420.838639][42492:42494] CHIP:CTL: Setting attestation nonce to random value
[1736324420.838644][42492:42494] CHIP:CTL: Setting CSR nonce to random value
[1736324420.838648][42492:42494] CHIP:CTL: Checking ICD registration parameters
[1736324420.838653][42492:42494] CHIP:CTL: Commission called for node ID 0x0000000000000001
[1736324420.842590][42492:42493] CHIP:BLE: BLE removing known devices
[1736324420.843171][42492:42493] CHIP:BLE: BLE initiating scan
[1736324420.847324][42492:42494] CHIP:BLE: ChipDeviceScanner has started scanning!
[1736324420.864586][42492:42493] CHIP:BLE: New device scanned: D9:F1:F9:CE:CE:8B
[1736324420.864598][42492:42493] CHIP:BLE: Device discriminator match. Attempting to connect.
[1736324420.866388][42492:42493] CHIP:BLE: ChipDeviceScanner has stopped scanning!
[1736324421.046104][42492:42493] CHIP:DL: ConnectDevice complete
[1736324421.046154][42492:42493] CHIP:BLE: New device connected: D9:F1:F9:CE:CE:8B
[1736324424.188018][42492:42493] CHIP:DL: Got IP address on interface: wlx00e0312d188c IP: 192.168.1.3
[1736324424.188191][42492:42494] CHIP:DL: HandlePlatformSpecificBLEEvent 32770
[1736324429.027647][42492:42493] CHIP:DL: Got IP address on interface: wlx00e0312d188c IP: 192.168.1.3
[1736324429.027814][42492:42494] CHIP:DL: HandlePlatformSpecificBLEEvent 32770
[1736324429.034335][42492:42493] CHIP:DL: Got IP address on interface: wlx00e0312d188c IP: 192.168.1.3
[1736324429.034579][42492:42494] CHIP:DL: HandlePlatformSpecificBLEEvent 32770
[1736324440.878619][42492:42494] CHIP:DL: HandlePlatformSpecificBLEEvent 16386
[1736324440.878670][42492:42494] CHIP:DIS: Closing all BLE connections
[1736324440.878712][42492:42494] CHIP:TOO: Pairing Failure: src/platform/Linux/BLEManagerImpl.cpp:84: CHIP Error 0x00000032: Timeout
[1736324440.879138][42492:42492] CHIP:CTL: Shutting down the commissioner
[1736324440.879192][42492:42492] CHIP:CTL: Shutting down the controller
[1736324440.879237][42492:42492] CHIP:IN: Expiring all sessions for fabric 0x1!!
[1736324440.879263][42492:42492] CHIP:FP: Forgetting fabric 0x1
[1736324440.879302][42492:42492] CHIP:TS: Pending Last Known Good Time: 2023-10-14T01:16:48
[1736324440.879525][42492:42492] CHIP:TS: Previous Last Known Good Time: 2023-10-14T01:16:48
[1736324440.879547][42492:42492] CHIP:TS: Reverted Last Known Good Time to previous value
[1736324440.879573][42492:42492] CHIP:CTL: Shutting down the commissioner
[1736324440.879587][42492:42492] CHIP:CTL: Shutting down the controller
[1736324440.879601][42492:42492] CHIP:CTL: Shutting down the System State, this will teardown the CHIP Stack
[1736324440.879773][42492:42492] CHIP:DMG: All ReadHandler-s are clean, clear GlobalDirtySet
[1736324440.879866][42492:42492] CHIP:FP: Shutting down FabricTable
[1736324440.879933][42492:42492] CHIP:TS: Pending Last Known Good Time: 2023-10-14T01:16:48
[1736324440.880113][42492:42492] CHIP:TS: Previous Last Known Good Time: 2023-10-14T01:16:48
[1736324440.880134][42492:42492] CHIP:TS: Reverted Last Known Good Time to previous value
[1736324440.880395][42492:42492] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-6IIDnW)
[1736324440.881006][42492:42492] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
[1736324440.881066][42492:42492] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0)
[1736324440.881095][42492:42492] CHIP:DL: Inet Layer shutdown
[1736324440.881119][42492:42492] CHIP:DL: BLE shutdown
[1736324440.882164][42492:42492] CHIP:DL: System Layer shutdown
[1736324440.882488][42492:42492] CHIP:TOO: Run command failure: src/platform/Linux/BLEManagerImpl.cpp:84: CHIP Error 0x00000032: Timeout

Matter switch logs 


I: 242 [SVR]Joining Multicast groups
I: 246 [SVR]Server Listening...
I: 249 [DL]Device Configuration:
I: 252 [DL] Serial Number: 11223344556677889900
I: 257 [DL] Vendor Id: 65521 (0xFFF1)
I: 261 [DL] Product Id: 32772 (0x8004)
I: 265 [DL] Product Name: not-specified
I: 269 [DL] Hardware Version: 0
I: 273 [DL] Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 279 [DL] Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 286 [DL] Manufacturing Date: (not set)
I: 290 [DL] Device Type: 65535 (0xFFFF)
I: 294 [SVR]SetupQRCode: [MT:4CT9142C00KA0648G00]
I: 299 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 306 [SVR]project-chip.github.io/.../qrcode.html
I: 316 [SVR]Manual pairing code: [34970112332]
I: Initialize binding Handler
I: 324 [SVR]Cannot load binding table: a0
I: Binding Table size: [0]:
E: 331 [DL]Long dispatch time: 282 ms, for event type 2
I: 339 [DL]CHIPoBLE advertising started
I: 343 [DL]NFC Tag emulation started
I: 5386 [DL]Current number of connections: 1/1
I: 5390 [DL]BLE connection established (ConnId: 0x00)
I: 5396 [DL]CHIPoBLE advertising stopped
I: 5400 [DL]NFC Tag emulation stopped
I: 38275 [DL]Current number of connections: 0/1
I: 38279 [DL]BLE GAP connection terminated (reason 0x13)
I: 38287 [DL]CHIPoBLE advertising started
I: 38291 [DL]NFC Tag emulation started
I: 68292 [DL]CHIPoBLE advertising mode changed to slow
I: 68299 [DL]CHIPoBLE advertising started

 any solution to solve this ??

Parents Reply Children
Related