Control the group of light bulbs

Dear Nordic:

        I used V2.8.0 SDK to build light bulb, and I have commissioned bulb A(node id: 11) and bulb B(node id: 11) successfully!

        Then I used below command to add two bulbs to group successfully:

              ./chip-tool groups add-group 0x4141 Bulb 11 1
              ./chip-tool groups add-group 0x4141 Bulb 12 1

        Finally, I want to control this group, so I use this command:

               ./chip-tool onoff on 0xffffffffffff4141 1

        But the tool popup error msg, as blow:

user@NB24010009-UB2401:~/Public/PC/CHIP_tool$ ./chip-tool onoff on 0xffffffffffff4141 1
[1747107598.917] [20847:20847] [DL] ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_tool_kvs
[1747107598.918] [20847:20847] [DL] ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_kvs
[1747107598.918] [20847:20847] [DL] ChipLinuxStorage::Init: Attempt to re-initialize with KVS config file: /tmp/chip_kvs
[1747107598.919] [20847:20847] [DL] ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_factory.ini
[1747107598.919] [20847:20847] [DL] ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_config.ini
[1747107598.919] [20847:20847] [DL] ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_counters.ini
[1747107598.919] [20847:20847] [DL] wrote settings to /tmp/chip_counters.ini
[1747107598.919] [20847:20847] [DL] NVS set: chip-counters/reboot-count = 214 (0xD6)
[1747107598.919] [20847:20847] [DL] Got Ethernet interface: enp0s31f6
[1747107598.919] [20847:20847] [DL] Found the primary Ethernet interface:enp0s31f6
[1747107598.919] [20847:20847] [DL] Got WiFi interface: wlp0s20f3
[1747107598.920] [20847:20847] [DL] Found the primary WiFi interface:wlp0s20f3
[1747107598.920] [20847:20847] [IN] UDP::Init bind&listen port=0
[1747107598.920] [20847:20847] [IN] UDP::Init bound to port=36849
[1747107598.920] [20847:20847] [IN] UDP::Init bind&listen port=0
[1747107598.920] [20847:20847] [IN] UDP::Init bound to port=48168
[1747107598.920] [20847:20847] [IN] BLEBase::Init - setting/overriding transport
[1747107598.920] [20847:20847] [IN] TransportMgr initialized
[1747107598.920] [20847:20847] [FP] Initializing FabricTable from persistent storage
[1747107598.920] [20847:20847] [TS] Last Known Good Time: 2023-10-14T01:16:48
[1747107598.920] [20847:20847] [FP] Fabric index 0x1 was retrieved from storage. Compressed FabricId 0xDCA3061115C193DE, FabricId 0x0000000000000001, NodeId 0x000000000001B669, VendorId 0xFFF1
[1747107598.926] [20847:20847] [ZCL] Using ZAP configuration...
[1747107598.926] [20847:20847] [DIS] GlobalMinimalMdnsServer::StartServer port(5353)
[1747107598.926] [20847:20847] [DIS] listenUdp Bind: addressType(1), port(5353), interfaceId(3)
[1747107598.926] [20847:20847] [DIS] listenUdp Listen
[1747107598.927] [20847:20847] [DIS] listenUdp Bind: addressType(2), port(5353), interfaceId(3)
[1747107598.927] [20847:20847] [DIS] listenUdp Listen
[1747107598.927] [20847:20847] [CTL] System State Initialized...
[1747107598.927] [20847:20847] [CTL] Setting attestation nonce to random value
[1747107598.927] [20847:20847] [CTL] Setting CSR nonce to random value
[1747107598.927] [20847:20847] [IN] UDP::Init bind&listen port=5550
[1747107598.927] [20847:20847] [IN] UDP::Init bound to port=5550
[1747107598.927] [20847:20847] [IN] UDP::Init bind&listen port=5550
[1747107598.927] [20847:20847] [IN] UDP::Init bound to port=5550
[1747107598.927] [20847:20847] [IN] TransportMgr initialized
[1747107598.927] [20847:20849] [DL] CHIP task running
[1747107598.927] [20847:20849] [DL] HandlePlatformSpecificBLEEvent 32786
[1747107598.927] [20847:20849] [CTL] Setting attestation nonce to random value
[1747107598.927] [20847:20849] [CTL] Setting CSR nonce to random value
[1747107598.927] [20847:20849] [CTL] Generating NOC
[1747107598.927] [20847:20849] [FP] Validating NOC chain
[1747107598.928] [20847:20849] [FP] NOC chain validation successful
[1747107598.928] [20847:20849] [FP] Updated fabric at index: 0x1, Node ID: 0x000000000001B669
[1747107598.928] [20847:20849] [TS] Last Known Good Time: 2023-10-14T01:16:48
[1747107598.928] [20847:20849] [TS] New proposed Last Known Good Time: 2021-01-01T00:00:00
[1747107598.928] [20847:20849] [TS] Retaining current Last Known Good Time
[1747107598.928] [20847:20849] [FP] Metadata for Fabric 0x1 persisted to storage.
[1747107598.928] [20847:20849] [TS] Committing Last Known Good Time to storage: 2023-10-14T01:16:48
[1747107598.929] [20847:20849] [CTL] Joined the fabric at index 1. Fabric ID is 0x0000000000000001 (Compressed Fabric ID: DCA3061115C193DE)
[1747107598.929] [20847:20849] [IN] UDP::Init bind&listen port=5550
[1747107598.929] [20847:20849] [IN] UDP::Init bound to port=5550
[1747107598.929] [20847:20849] [IN] UDP::Init bind&listen port=5550
[1747107598.929] [20847:20849] [IN] UDP::Init bound to port=5550
[1747107598.929] [20847:20849] [IN] TransportMgr initialized
[1747107598.931] [20847:20849] [TOO] Sending command to group 0x4141
[1747107598.931] [20847:20849] [TOO] Sending cluster (0x00000006) command (0x00000001) on Group 16705
[1747107598.931] [20847:20849] [DMG] ICR moving to [AddingComm]
[1747107598.931] [20847:20849] [DMG] ICR moving to [AddedComma]
[1747107598.931] [20847:20847] [CTL] Shutting down the commissioner
[1747107598.931] [20847:20847] [CTL] Shutting down the controller
[1747107598.931] [20847:20847] [IN] Expiring all sessions for fabric 0x1!!
[1747107598.931] [20847:20847] [FP] Forgetting fabric 0x1
[1747107598.931] [20847:20847] [TS] Pending Last Known Good Time: 2023-10-14T01:16:48
[1747107598.931] [20847:20847] [TS] Previous Last Known Good Time: 2023-10-14T01:16:48
[1747107598.931] [20847:20847] [TS] Reverted Last Known Good Time to previous value
[1747107598.931] [20847:20847] [CTL] Shutting down the commissioner
[1747107598.931] [20847:20847] [CTL] Shutting down the controller
[1747107598.931] [20847:20847] [CTL] Shutting down the System State, this will teardown the CHIP Stack
[1747107598.931] [20847:20847] [DMG] All ReadHandler-s are clean, clear GlobalDirtySet
[1747107598.931] [20847:20847] [FP] Shutting down FabricTable
[1747107598.931] [20847:20847] [TS] Pending Last Known Good Time: 2023-10-14T01:16:48
[1747107598.931] [20847:20847] [TS] Previous Last Known Good Time: 2023-10-14T01:16:48
[1747107598.931] [20847:20847] [TS] Reverted Last Known Good Time to previous value
[1747107598.932] [20847:20847] [DL] wrote settings to /tmp/chip_counters.ini
[1747107598.932] [20847:20847] [DL] NVS set: chip-counters/total-operational-hours = 0 (0x0)
[1747107598.932] [20847:20847] [DL] Inet Layer shutdown
[1747107598.932] [20847:20847] [DL] BLE Layer shutdown
[1747107598.932] [20847:20847] [DL] System Layer shutdown
[1747107598.932] [20847:20847] [TOO] Run command failure: src/transport/SessionManager.cpp:257: CHIP Error 0x000000AC: Internal error

        Is there anything wrong, and how can I fix this issue?

BR

Chuan

Parents Reply Children
No Data
Related