CHIP tool can not send command when OTBR and Ubuntu PC(within CHIP tool) restart

Dear sir:

        When I first use CHIP tool in my Ubuntu NB, I can commission bulb(52840) through OTBR(Pi4+52840 RCP) successfully, besides, I can use CHIP tool to control bulb on/off.

        But when I reboot Ubuntu NB and OTBR, I can't send any command to bulb, how can I fix this issue?

        This is CHIP tool error log:

        

        In addition, I found the compressed Fabric ID has changed, this is CHIP tool log:

        [1731464510.137733][3122:3124] CHIP:CTL: Joined the fabric at index 1. Fabric ID is 0x0000000000000001 (Compressed Fabric ID: B85B22C268B8BF23)

        This is Bulb syslog:

        I: 294 [FP]Fabric index 0x1 was retrieved from storage. Compressed FabricId 0x7BE6F94CA3AAB50C, FabricId 0x0000000000000001, NodeId 0x000000000000007B, VendorId 0xFFF1[2024-11-13 10:17:29.703]

        I'm confusing how can I fix it? thx

        attachments: bulb on/off command(./chip-tool-release onoff toggle 123 1)

Parents
  • Hi,

    Could you provide some more information:

    1. What SDK are you using?
    2. Are you using the Matter lock sample for the nRF Connect SDK or the one from project chip?
      •    But when I reboot Ubuntu NB and OTBR, I can't send any command to bulb, how can I fix this issue?
      Have you checked if you're still present on the Matter network?
    3. Could you reupload the chiptool error log? I can't download it

    Kind regards,
    Andreas

  •   

             Thanks for your support!

             1. My SDK version is V2.5.1

             2. I use light bulb project to test, not using Matter lock sample. Meanwhile, How can I check device still present in Matter network?

             3. This is my CHIP tool fail log, I upload it again:

            

    user@NB14090113-UB2004:~/Matter/CHIP_Tool$ ./chip-tool-release onoff toggle 123 1
    [1731464509.871213][3122:3122] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-CKvB8T)
    [1731464509.871655][3122:3122] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
    [1731464509.871714][3122:3122] CHIP:DL: NVS set: chip-counters/reboot-count = 6 (0x6)
    [1731464509.872143][3122:3122] CHIP:DL: Got Ethernet interface: enp2s0
    [1731464509.872361][3122:3122] CHIP:DL: Found the primary Ethernet interface:enp2s0
    [1731464509.872610][3122:3122] CHIP:DL: Got WiFi interface: wlp3s0
    [1731464509.872860][3122:3122] CHIP:DL: Found the primary WiFi interface:wlp3s0
    [1731464509.903584][3122:3122] CHIP:TS: Last Known Good Time: 2023-10-26T12:14:59
    [1731464509.904495][3122:3122] CHIP:FP: Fabric index 0x1 was retrieved from storage. Compressed FabricId 0xB85B22C268B8BF23, FabricId 0x0000000000000001, NodeId 0x000000000001B669, VendorId 0xFFF1
    [1731464509.965126][3122:3122] CHIP:ZCL: Using ZAP configuration...
    [1731464509.970485][3122:3122] CHIP:DL: Avahi client registered
    [1731464510.080697][3122:3122] CHIP:CTL: Setting attestation nonce to random value
    [1731464510.080751][3122:3122] CHIP:CTL: Setting CSR nonce to random value
    [1731464510.097179][3122:3124] CHIP:CTL: Setting attestation nonce to random value
    [1731464510.097210][3122:3124] CHIP:CTL: Setting CSR nonce to random value
    [1731464510.102473][3122:3124] CHIP:CTL: Generating NOC
    [1731464510.117449][3122:3124] CHIP:FP: Validating NOC chain
    [1731464510.136213][3122:3124] CHIP:FP: NOC chain validation successful
    [1731464510.136243][3122:3124] CHIP:FP: Updated fabric at index: 0x1, Node ID: 0x000000000001B669
    [1731464510.136255][3122:3124] CHIP:TS: Last Known Good Time: 2023-10-26T12:14:59
    [1731464510.136260][3122:3124] CHIP:TS: New proposed Last Known Good Time: 2021-01-01T00:00:00
    [1731464510.136266][3122:3124] CHIP:TS: Retaining current Last Known Good Time
    [1731464510.136837][3122:3124] CHIP:FP: Metadata for Fabric 0x1 persisted to storage.
    [1731464510.137314][3122:3124] CHIP:TS: Committing Last Known Good Time to storage: 2023-10-26T12:14:59
    [1731464510.137733][3122:3124] CHIP:CTL: Joined the fabric at index 1. Fabric ID is 0x0000000000000001 (Compressed Fabric ID: B85B22C268B8BF23)
    [1731464510.145142][3122:3124] CHIP:TOO: Sending command to node 0x7b
    [1731464510.145317][3122:3124] CHIP:DIS: Resolving B85B22C268B8BF23:000000000000007B ...
    [1731464510.346136][3122:3124] CHIP:DIS: Checking node lookup status after 201 ms
    [1731464515.148328][3122:3124] CHIP:DL: Re-trying resolve
    [1731464520.152821][3122:3124] CHIP:DL: Re-trying resolve
    [1731464525.156472][3122:3124] CHIP:DL: Re-trying resolve
    [1731464530.081676][3122:3122] CHIP:FP: Forgetting fabric 0x1
    [1731464530.081722][3122:3122] CHIP:TS: Pending Last Known Good Time: 2023-10-26T12:14:59
    [1731464530.081869][3122:3122] CHIP:TS: Previous Last Known Good Time: 2023-10-26T12:14:59
    [1731464530.081887][3122:3122] CHIP:TS: Reverted Last Known Good Time to previous value
    [1731464530.083053][3122:3122] CHIP:BLE: BleConnectionDelegate::CancelConnection is not implemented.
    [1731464530.083105][3122:3122] CHIP:FP: Shutting down FabricTable
    [1731464530.083134][3122:3122] CHIP:TS: Pending Last Known Good Time: 2023-10-26T12:14:59
    [1731464530.083282][3122:3122] CHIP:TS: Previous Last Known Good Time: 2023-10-26T12:14:59
    [1731464530.083301][3122:3122] CHIP:TS: Reverted Last Known Good Time to previous value
    [1731464530.083580][3122:3122] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-Svnac4)
    [1731464530.084244][3122:3122] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
    [1731464530.084316][3122:3122] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0)
    [1731464530.084343][3122:3122] CHIP:DL: Inet Layer shutdown
    [1731464530.084361][3122:3122] CHIP:DL: BLE shutdown
    [1731464530.084378][3122:3122] CHIP:DL: System Layer shutdown
    [1731464530.084557][3122:3122] CHIP:TOO: Run command failure: examples/chip-tool/commands/common/CHIPCommand.cpp:537: CHIP Error 0x00000032: Timeout
    user@NB14090113-UB2004:~/Matter/CHIP_Tool$ 
    
    
    

            Besides, I have bound light bulb and light switch pass, I can use switch to control bulb on/off, but can't use CHIP tool to control it. 

            

Reply
  •   

             Thanks for your support!

             1. My SDK version is V2.5.1

             2. I use light bulb project to test, not using Matter lock sample. Meanwhile, How can I check device still present in Matter network?

             3. This is my CHIP tool fail log, I upload it again:

            

    user@NB14090113-UB2004:~/Matter/CHIP_Tool$ ./chip-tool-release onoff toggle 123 1
    [1731464509.871213][3122:3122] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-CKvB8T)
    [1731464509.871655][3122:3122] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
    [1731464509.871714][3122:3122] CHIP:DL: NVS set: chip-counters/reboot-count = 6 (0x6)
    [1731464509.872143][3122:3122] CHIP:DL: Got Ethernet interface: enp2s0
    [1731464509.872361][3122:3122] CHIP:DL: Found the primary Ethernet interface:enp2s0
    [1731464509.872610][3122:3122] CHIP:DL: Got WiFi interface: wlp3s0
    [1731464509.872860][3122:3122] CHIP:DL: Found the primary WiFi interface:wlp3s0
    [1731464509.903584][3122:3122] CHIP:TS: Last Known Good Time: 2023-10-26T12:14:59
    [1731464509.904495][3122:3122] CHIP:FP: Fabric index 0x1 was retrieved from storage. Compressed FabricId 0xB85B22C268B8BF23, FabricId 0x0000000000000001, NodeId 0x000000000001B669, VendorId 0xFFF1
    [1731464509.965126][3122:3122] CHIP:ZCL: Using ZAP configuration...
    [1731464509.970485][3122:3122] CHIP:DL: Avahi client registered
    [1731464510.080697][3122:3122] CHIP:CTL: Setting attestation nonce to random value
    [1731464510.080751][3122:3122] CHIP:CTL: Setting CSR nonce to random value
    [1731464510.097179][3122:3124] CHIP:CTL: Setting attestation nonce to random value
    [1731464510.097210][3122:3124] CHIP:CTL: Setting CSR nonce to random value
    [1731464510.102473][3122:3124] CHIP:CTL: Generating NOC
    [1731464510.117449][3122:3124] CHIP:FP: Validating NOC chain
    [1731464510.136213][3122:3124] CHIP:FP: NOC chain validation successful
    [1731464510.136243][3122:3124] CHIP:FP: Updated fabric at index: 0x1, Node ID: 0x000000000001B669
    [1731464510.136255][3122:3124] CHIP:TS: Last Known Good Time: 2023-10-26T12:14:59
    [1731464510.136260][3122:3124] CHIP:TS: New proposed Last Known Good Time: 2021-01-01T00:00:00
    [1731464510.136266][3122:3124] CHIP:TS: Retaining current Last Known Good Time
    [1731464510.136837][3122:3124] CHIP:FP: Metadata for Fabric 0x1 persisted to storage.
    [1731464510.137314][3122:3124] CHIP:TS: Committing Last Known Good Time to storage: 2023-10-26T12:14:59
    [1731464510.137733][3122:3124] CHIP:CTL: Joined the fabric at index 1. Fabric ID is 0x0000000000000001 (Compressed Fabric ID: B85B22C268B8BF23)
    [1731464510.145142][3122:3124] CHIP:TOO: Sending command to node 0x7b
    [1731464510.145317][3122:3124] CHIP:DIS: Resolving B85B22C268B8BF23:000000000000007B ...
    [1731464510.346136][3122:3124] CHIP:DIS: Checking node lookup status after 201 ms
    [1731464515.148328][3122:3124] CHIP:DL: Re-trying resolve
    [1731464520.152821][3122:3124] CHIP:DL: Re-trying resolve
    [1731464525.156472][3122:3124] CHIP:DL: Re-trying resolve
    [1731464530.081676][3122:3122] CHIP:FP: Forgetting fabric 0x1
    [1731464530.081722][3122:3122] CHIP:TS: Pending Last Known Good Time: 2023-10-26T12:14:59
    [1731464530.081869][3122:3122] CHIP:TS: Previous Last Known Good Time: 2023-10-26T12:14:59
    [1731464530.081887][3122:3122] CHIP:TS: Reverted Last Known Good Time to previous value
    [1731464530.083053][3122:3122] CHIP:BLE: BleConnectionDelegate::CancelConnection is not implemented.
    [1731464530.083105][3122:3122] CHIP:FP: Shutting down FabricTable
    [1731464530.083134][3122:3122] CHIP:TS: Pending Last Known Good Time: 2023-10-26T12:14:59
    [1731464530.083282][3122:3122] CHIP:TS: Previous Last Known Good Time: 2023-10-26T12:14:59
    [1731464530.083301][3122:3122] CHIP:TS: Reverted Last Known Good Time to previous value
    [1731464530.083580][3122:3122] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-Svnac4)
    [1731464530.084244][3122:3122] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
    [1731464530.084316][3122:3122] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0)
    [1731464530.084343][3122:3122] CHIP:DL: Inet Layer shutdown
    [1731464530.084361][3122:3122] CHIP:DL: BLE shutdown
    [1731464530.084378][3122:3122] CHIP:DL: System Layer shutdown
    [1731464530.084557][3122:3122] CHIP:TOO: Run command failure: examples/chip-tool/commands/common/CHIPCommand.cpp:537: CHIP Error 0x00000032: Timeout
    user@NB14090113-UB2004:~/Matter/CHIP_Tool$ 
    
    
    

            Besides, I have bound light bulb and light switch pass, I can use switch to control bulb on/off, but can't use CHIP tool to control it. 

            

Children
Related