Matter - How can I control the group created in nRF Connect SDK Matter Light Switch and Light Bulb samples from the chip-tool rather than the Light Switch?

I am currently adding to the Light Switch and Light Bulb samples provided by Nordic and am confused why I cant issue commands to group 257 from the chip-tool. Everything else is working as expected: from the Light Switch I can toggle multiple Light Bulbs and Change Brightness, and I also have individual control over the Light Bulbs from the chip-tool. The issue is I cant send chip-tool commands to the group of Light Bulbs.

chip-tool command:

sudo ./chip-tool onoff off 0xffffffffffff0101 1

The error that both Light Bulbs print to console:

E: 1351920 [IN]Invalid condition found in packet header

Any suggestions?

Parents
  • [1673882836.541431][71934:71934] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_kvs
    [1673882836.543052][71934:71934] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_factory.ini
    [1673882836.543085][71934:71934] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_config.ini
    [1673882836.543103][71934:71934] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_counters.ini
    [1673882836.543168][71934:71934] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-jeNt4Z)
    [1673882836.543275][71934:71934] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
    [1673882836.543284][71934:71934] CHIP:DL: NVS set: chip-counters/reboot-count = 56 (0x38)
    [1673882836.543382][71934:71934] CHIP:DL: Got Ethernet interface: enp0s31f6
    [1673882836.543435][71934:71934] CHIP:DL: Found the primary Ethernet interface:enp0s31f6
    [1673882836.543489][71934:71934] CHIP:DL: Got WiFi interface: wlp0s20f3
    [1673882836.545353][71934:71934] CHIP:DL: Found the primary WiFi interface:wlp0s20f3
    [1673882836.545394][71934:71934] CHIP:IN: UDP::Init bind&listen port=0
    [1673882836.545415][71934:71934] CHIP:IN: UDP::Init bound to port=53224
    [1673882836.545420][71934:71934] CHIP:IN: UDP::Init bind&listen port=0
    [1673882836.545433][71934:71934] CHIP:IN: UDP::Init bound to port=38101
    [1673882836.545437][71934:71934] CHIP:IN: BLEBase::Init - setting/overriding transport
    [1673882836.545441][71934:71934] CHIP:IN: TransportMgr initialized
    [1673882836.545448][71934:71934] CHIP:FP: Initializing FabricTable from persistent storage
    [1673882836.545487][71934:71934] CHIP:TS: Last Known Good Time: 2022-10-28T16:00:45
    [1673882836.545861][71934:71934] CHIP:FP: Fabric index 0x1 was retrieved from storage. Compressed FabricId 0x70D5C1F6C73FD2A3, FabricId 0x0000000000000001, NodeId 0x000000000001B669, VendorId 0xFFF1
    [1673882836.546228][71934:71934] CHIP:ZCL: Using ZAP configuration...
    [1673882836.546393][71934:71934] CHIP:DL: MDNS failed to join multicast group on enp0s31f6 for address type IPv4: examples/chip-tool/third_party/connectedhomeip/src/inet/UDPEndPointImplSockets.cpp:764: Inet Error 0x00000110: Address not found
    [1673882836.546555][71934:71934] CHIP:CTL: System State Initialized...
    [1673882836.546568][71934:71934] CHIP:CTL: Stopping commissioning discovery over DNS-SD
    [1673882836.546580][71934:71934] CHIP:CTL: Setting attestation nonce to random value
    [1673882836.546588][71934:71934] CHIP:CTL: Setting CSR nonce to random value
    [1673882836.546599][71934:71934] CHIP:IN: UDP::Init bind&listen port=5550
    [1673882836.546613][71934:71934] CHIP:IN: UDP::Init bound to port=5550
    [1673882836.546618][71934:71934] CHIP:IN: UDP::Init bind&listen port=5550
    [1673882836.546628][71934:71934] CHIP:IN: UDP::Init bound to port=5550
    [1673882836.546632][71934:71934] CHIP:IN: TransportMgr initialized
    [1673882836.546727][71934:71939] CHIP:DL: CHIP task running
    [1673882836.546802][71934:71939] CHIP:CTL: Stopping commissioning discovery over DNS-SD
    [1673882836.546811][71934:71939] CHIP:CTL: Setting attestation nonce to random value
    [1673882836.546834][71934:71939] CHIP:CTL: Setting CSR nonce to random value
    [1673882836.547028][71934:71939] CHIP:CTL: Generating NOC
    [1673882836.547225][71934:71939] CHIP:FP: Validating NOC chain
    [1673882836.547560][71934:71939] CHIP:FP: NOC chain validation successful
    [1673882836.547594][71934:71939] CHIP:FP: Updated fabric at index: 0x1, Node ID: 0x000000000001B669
    [1673882836.547599][71934:71939] CHIP:TS: Last Known Good Time: 2022-10-28T16:00:45
    [1673882836.547603][71934:71939] CHIP:TS: New proposed Last Known Good Time: 2021-01-01T00:00:00
    [1673882836.547607][71934:71939] CHIP:TS: Retaining current Last Known Good Time
    [1673882836.548431][71934:71939] CHIP:FP: Metadata for Fabric 0x1 persisted to storage.
    [1673882836.548698][71934:71939] CHIP:TS: Committing Last Known Good Time to storage: 2022-10-28T16:00:45
    [1673882836.548917][71934:71939] CHIP:CTL: Joined the fabric at index 1. Compressed fabric ID is: 0x0000000000000000
    [1673882836.548925][71934:71939] CHIP:IN: UDP::Init bind&listen port=5550
    [1673882836.548940][71934:71939] CHIP:IN: UDP::Init bound to port=5550
    [1673882836.548956][71934:71939] CHIP:IN: UDP::Init bind&listen port=5550
    [1673882836.548969][71934:71939] CHIP:IN: UDP::Init bound to port=5550
    [1673882836.548973][71934:71939] CHIP:IN: TransportMgr initialized
    [1673882836.550665][71934:71939] CHIP:TOO: Sending command to group 0x101
    [1673882836.550671][71934:71939] CHIP:TOO: Sending cluster (0x00000006) command (0x00000000) on Group 257
    [1673882836.550681][71934:71939] CHIP:DMG: ICR moving to [AddingComm]
    [1673882836.550691][71934:71939] CHIP:DMG: ICR moving to [AddedComma]
    [1673882836.550885][71934:71939] CHIP:EM: <<< [E:16679i M:55000] (G) Msg TX to 1:FFFFFFFFFFFF0101 [D2A3] --- Type 0001:08 (IM:InvokeCommandRequest)
    [1673882836.550896][71934:71939] CHIP:IN: (G) Sending msg 55000 to Multicast IPV6 address 'UDP:[ff35:40:fd00::100:101]:5540'
    [1673882836.551061][71934:71939] CHIP:IN: Interface wlp0s20f3 has a link local address
    [1673882836.551095][71934:71939] CHIP:IN: Successfully send Multicast message on interface wlp0s20f3
    [1673882836.551103][71934:71939] CHIP:DMG: ICR moving to [CommandSen]
    [1673882836.551107][71934:71939] CHIP:DMG: ICR moving to [AwaitingDe]
    [1673882836.551275][71934:71934] CHIP:CTL: Shutting down the commissioner
    [1673882836.551297][71934:71934] CHIP:CTL: Stopping commissioning discovery over DNS-SD
    [1673882836.551312][71934:71934] CHIP:CTL: Shutting down the controller
    [1673882836.551317][71934:71934] CHIP:IN: Expiring all sessions for fabric 0x1!!
    [1673882836.551321][71934:71934] CHIP:FP: Forgetting fabric 0x1
    [1673882836.551327][71934:71934] CHIP:TS: Pending Last Known Good Time: 2022-10-28T16:00:45
    [1673882836.551348][71934:71934] CHIP:TS: Previous Last Known Good Time: 2022-10-28T16:00:45
    [1673882836.551352][71934:71934] CHIP:TS: Reverted Last Known Good Time to previous value
    [1673882836.551359][71934:71934] CHIP:CTL: Shutting down the commissioner
    [1673882836.551363][71934:71934] CHIP:CTL: Stopping commissioning discovery over DNS-SD
    [1673882836.551374][71934:71934] CHIP:CTL: Shutting down the controller
    [1673882836.551378][71934:71934] CHIP:CTL: Shutting down the System State, this will teardown the CHIP Stack
    [1673882836.551430][71934:71934] CHIP:DMG: IM WH moving to [Uninitialized]
    [1673882836.551435][71934:71934] CHIP:DMG: IM WH moving to [Uninitialized]
    [1673882836.551438][71934:71934] CHIP:DMG: IM WH moving to [Uninitialized]
    [1673882836.551441][71934:71934] CHIP:DMG: IM WH moving to [Uninitialized]
    [1673882836.551446][71934:71934] CHIP:DMG: All ReadHandler-s are clean, clear GlobalDirtySet
    [1673882836.551457][71934:71934] CHIP:BLE: BleConnectionDelegate::CancelConnection is not implemented.
    [1673882836.551494][71934:71934] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-8MUzFN)
    [1673882836.551571][71934:71934] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
    [1673882836.551582][71934:71934] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0)
    [1673882836.551587][71934:71934] CHIP:DL: Inet Layer shutdown
    [1673882836.551592][71934:71934] CHIP:DL: BLE shutdown
    [1673882836.551597][71934:71934] CHIP:DL: System Layer shutdown
    

    Here is the full output from the chip-tool command in my post. This is running on Linux PC - Ubuntu 22.04.1 LTS

    Thanks for the help!

  • Hi,

    I have not been able to find a reason for why the command does not work in the log. Based on what I see there it seems like the command is successfully sent to the group.

    There are a couple of things I would like you to test. The first is to send a GetGroupMembership command to the light bulbs, to verify that they actually are in the group. The second is to use the debug version of chip tool, as this provides more log. When you download the prebuilt chip-tool (from here) you should get one version called chip-tool-release and one called chip-tool-debug. Try to send the commands again with the chip-tool-debug version.

    Best regards,

    Marte

Reply
  • Hi,

    I have not been able to find a reason for why the command does not work in the log. Based on what I see there it seems like the command is successfully sent to the group.

    There are a couple of things I would like you to test. The first is to send a GetGroupMembership command to the light bulbs, to verify that they actually are in the group. The second is to use the debug version of chip tool, as this provides more log. When you download the prebuilt chip-tool (from here) you should get one version called chip-tool-release and one called chip-tool-debug. Try to send the commands again with the chip-tool-debug version.

    Best regards,

    Marte

Children
  • I get an error when sending GetGroupMembership to nodeID 2 which is a Light Bulb Sample from nRF Connect SDK.

    $ sudo ./chip-tool groups get-group-membership '[257]' 2 1
    [1674151339.189651][42774:42774] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_kvs
    [1674151339.524652][42774:42774] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_factory.ini
    [1674151339.524690][42774:42774] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_config.ini
    [1674151339.524708][42774:42774] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_counters.ini
    [1674151339.524778][42774:42774] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-6rmvaE)
    [1674151339.524889][42774:42774] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
    [1674151339.524899][42774:42774] CHIP:DL: NVS set: chip-counters/reboot-count = 34 (0x22)
    [1674151339.524994][42774:42774] CHIP:DL: Got Ethernet interface: enp0s31f6
    [1674151339.525048][42774:42774] CHIP:DL: Found the primary Ethernet interface:enp0s31f6
    [1674151339.525104][42774:42774] CHIP:DL: Got WiFi interface: wlp0s20f3
    [1674151339.526742][42774:42774] CHIP:DL: Found the primary WiFi interface:wlp0s20f3
    [1674151339.526767][42774:42774] CHIP:IN: UDP::Init bind&listen port=0
    [1674151339.526785][42774:42774] CHIP:IN: UDP::Init bound to port=56057
    [1674151339.526789][42774:42774] CHIP:IN: UDP::Init bind&listen port=0
    [1674151339.526802][42774:42774] CHIP:IN: UDP::Init bound to port=36973
    [1674151339.526805][42774:42774] CHIP:IN: BLEBase::Init - setting/overriding transport
    [1674151339.526808][42774:42774] CHIP:IN: TransportMgr initialized
    [1674151339.526815][42774:42774] CHIP:FP: Initializing FabricTable from persistent storage
    [1674151339.526845][42774:42774] CHIP:TS: Last Known Good Time: 2022-10-28T16:00:45
    [1674151339.527201][42774:42774] CHIP:FP: Fabric index 0x1 was retrieved from storage. Compressed FabricId 0x2D65E07FC73ED144, FabricId 0x0000000000000001, NodeId 0x000000000001B669, VendorId 0xFFF1
    [1674151339.532571][42774:42774] CHIP:ZCL: Using ZAP configuration...
    [1674151339.532713][42774:42774] CHIP:DL: MDNS failed to join multicast group on enp0s31f6 for address type IPv4: examples/chip-tool/third_party/connectedhomeip/src/inet/UDPEndPointImplSockets.cpp:764: Inet Error 0x00000110: Address not found
    [1674151339.532881][42774:42774] CHIP:CTL: System State Initialized...
    [1674151339.532894][42774:42774] CHIP:CTL: Stopping commissioning discovery over DNS-SD
    [1674151339.532906][42774:42774] CHIP:CTL: Setting attestation nonce to random value
    [1674151339.532913][42774:42774] CHIP:CTL: Setting CSR nonce to random value
    [1674151339.532924][42774:42774] CHIP:IN: UDP::Init bind&listen port=5550
    [1674151339.532938][42774:42774] CHIP:IN: UDP::Init bound to port=5550
    [1674151339.532942][42774:42774] CHIP:IN: UDP::Init bind&listen port=5550
    [1674151339.532953][42774:42774] CHIP:IN: UDP::Init bound to port=5550
    [1674151339.532956][42774:42774] CHIP:IN: TransportMgr initialized
    [1674151339.533045][42774:42779] CHIP:DL: CHIP task running
    [1674151339.533116][42774:42779] CHIP:CTL: Stopping commissioning discovery over DNS-SD
    [1674151339.533126][42774:42779] CHIP:CTL: Setting attestation nonce to random value
    [1674151339.533148][42774:42779] CHIP:CTL: Setting CSR nonce to random value
    [1674151339.533389][42774:42779] CHIP:CTL: Generating NOC
    [1674151339.533608][42774:42779] CHIP:FP: Validating NOC chain
    [1674151339.534005][42774:42779] CHIP:FP: NOC chain validation successful
    [1674151339.534044][42774:42779] CHIP:FP: Updated fabric at index: 0x1, Node ID: 0x000000000001B669
    [1674151339.534050][42774:42779] CHIP:TS: Last Known Good Time: 2022-10-28T16:00:45
    [1674151339.534054][42774:42779] CHIP:TS: New proposed Last Known Good Time: 2021-01-01T00:00:00
    [1674151339.534058][42774:42779] CHIP:TS: Retaining current Last Known Good Time
    [1674151339.534371][42774:42779] CHIP:FP: Metadata for Fabric 0x1 persisted to storage.
    [1674151339.534650][42774:42779] CHIP:TS: Committing Last Known Good Time to storage: 2022-10-28T16:00:45
    [1674151339.534908][42774:42779] CHIP:CTL: Joined the fabric at index 1. Compressed fabric ID is: 0x0000000000000000
    [1674151339.534917][42774:42779] CHIP:IN: UDP::Init bind&listen port=5550
    [1674151339.534933][42774:42779] CHIP:IN: UDP::Init bound to port=5550
    [1674151339.534945][42774:42779] CHIP:IN: UDP::Init bind&listen port=5550
    [1674151339.534959][42774:42779] CHIP:IN: UDP::Init bound to port=5550
    [1674151339.534963][42774:42779] CHIP:IN: TransportMgr initialized
    [1674151339.536758][42774:42779] CHIP:TOO: Sending command to node 0x2
    [1674151339.536837][42774:42779] CHIP:CSM: FindOrEstablishSession: PeerId = [1:0000000000000002]
    [1674151339.536843][42774:42779] CHIP:CSM: FindOrEstablishSession: No existing OperationalSessionSetup instance found
    [1674151339.536851][42774:42779] CHIP:CTL: OperationalSessionSetup[1:0000000000000002]: State change 1 --> 2
    [1674151339.536899][42774:42779] CHIP:DIS: Warning: Attempt to mDNS broadcast failed on enp0s31f6:  examples/chip-tool/third_party/connectedhomeip/src/inet/UDPEndPointImplSockets.cpp:411: OS Error 0x02000065: Network is unreachable
    [1674151339.536947][42774:42779] CHIP:DIS: mDNS broadcast had only partial success: 3 successes and 1 failures.
    [1674151339.737303][42774:42779] CHIP:DIS: Checking node lookup status after 200 ms
    [1674151340.538656][42774:42779] CHIP:DIS: Warning: Attempt to mDNS broadcast failed on enp0s31f6:  examples/chip-tool/third_party/connectedhomeip/src/inet/UDPEndPointImplSockets.cpp:411: OS Error 0x02000065: Network is unreachable
    [1674151340.538891][42774:42779] CHIP:DIS: mDNS broadcast had only partial success: 2 successes and 1 failures.
    [1674151342.540566][42774:42779] CHIP:DIS: Warning: Attempt to mDNS broadcast failed on enp0s31f6:  examples/chip-tool/third_party/connectedhomeip/src/inet/UDPEndPointImplSockets.cpp:411: OS Error 0x02000065: Network is unreachable
    [1674151342.540799][42774:42779] CHIP:DIS: mDNS broadcast had only partial success: 2 successes and 1 failures.
    [1674151346.544485][42774:42779] CHIP:DIS: Warning: Attempt to mDNS broadcast failed on enp0s31f6:  examples/chip-tool/third_party/connectedhomeip/src/inet/UDPEndPointImplSockets.cpp:411: OS Error 0x02000065: Network is unreachable
    [1674151346.544720][42774:42779] CHIP:DIS: mDNS broadcast had only partial success: 2 successes and 1 failures.
    [1674151354.545253][42774:42779] CHIP:DIS: Checking node lookup status after 15008 ms
    [1674151354.545327][42774:42779] CHIP:DIS: OperationalSessionSetup[1:0000000000000002]: operational discovery failed: examples/chip-tool/third_party/connectedhomeip/src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:174: CHIP Error 0x00000032: Timeout
    [1674151354.545352][42774:42779] CHIP:-: examples/chip-tool/third_party/connectedhomeip/src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:174: CHIP Error 0x00000032: Timeout at examples/chip-tool/commands/clusters/ModelCommand.cpp:62
    [1674151354.545537][42774:42779] CHIP:DIS: Warning: Attempt to mDNS broadcast failed on enp0s31f6:  examples/chip-tool/third_party/connectedhomeip/src/inet/UDPEndPointImplSockets.cpp:411: OS Error 0x02000065: Network is unreachable
    [1674151354.545739][42774:42779] CHIP:DIS: mDNS broadcast had only partial success: 2 successes and 1 failures.
    [1674151354.545952][42774:42774] CHIP:CTL: Shutting down the commissioner
    [1674151354.545999][42774:42774] CHIP:CTL: Stopping commissioning discovery over DNS-SD
    [1674151354.546073][42774:42774] CHIP:CTL: Shutting down the controller
    [1674151354.546094][42774:42774] CHIP:IN: Expiring all sessions for fabric 0x1!!
    [1674151354.546110][42774:42774] CHIP:FP: Forgetting fabric 0x1
    [1674151354.546135][42774:42774] CHIP:TS: Pending Last Known Good Time: 2022-10-28T16:00:45
    [1674151354.546266][42774:42774] CHIP:TS: Previous Last Known Good Time: 2022-10-28T16:00:45
    [1674151354.546286][42774:42774] CHIP:TS: Reverted Last Known Good Time to previous value
    [1674151354.546322][42774:42774] CHIP:CTL: Shutting down the commissioner
    [1674151354.546336][42774:42774] CHIP:CTL: Stopping commissioning discovery over DNS-SD
    [1674151354.546384][42774:42774] CHIP:CTL: Shutting down the controller
    [1674151354.546401][42774:42774] CHIP:CTL: Shutting down the System State, this will teardown the CHIP Stack
    [1674151354.546570][42774:42774] CHIP:DMG: IM WH moving to [Uninitialized]
    [1674151354.546621][42774:42774] CHIP:DMG: IM WH moving to [Uninitialized]
    [1674151354.546635][42774:42774] CHIP:DMG: IM WH moving to [Uninitialized]
    [1674151354.546648][42774:42774] CHIP:DMG: IM WH moving to [Uninitialized]
    [1674151354.546664][42774:42774] CHIP:DMG: All ReadHandler-s are clean, clear GlobalDirtySet
    [1674151354.546711][42774:42774] CHIP:BLE: BleConnectionDelegate::CancelConnection is not implemented.
    [1674151354.546919][42774:42774] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-BJCn19)
    [1674151354.547369][42774:42774] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
    [1674151354.547418][42774:42774] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0)
    [1674151354.547452][42774:42774] CHIP:DL: Inet Layer shutdown
    [1674151354.547467][42774:42774] CHIP:DL: BLE shutdown
    [1674151354.547481][42774:42774] CHIP:DL: System Layer shutdown
    [1674151354.547535][42774:42774] CHIP:TOO: Run command failure: examples/chip-tool/third_party/connectedhomeip/src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:174: CHIP Error 0x00000032: Timeout
    
    

    Also, I downloaded the prebuilt chip-tool put it in my sdk-connectedhomeip folder where I currently run the chip-tool and when I use chip-tool-debug I get the following error:

    ./chip-tool-debug: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file

    Then I found a similar issue and attempted the first solution with no success here -> https://askubuntu.com/questions/1403778/upgrading-to-ubuntu-22-04-causes-libcrypto-errors-apt-dpkg-broken

    Now the error is lib/x86_64-linux-gnu/libcrypto.so.1.1: version 'OPENSSL_1_1_1' not found (required by ./chip-tool-debug)

    I will dig into both these issues but thought I'd post my initial results. Thanks!

  • Hi,

    In your GetGroupMembership log chip-tool is trying to communicate with the device over an Ethernet connection and over IPv4 instead of IPv6:

    [1674151339.536758][42774:42779] CHIP:TOO: Sending command to node 0x2
    [1674151339.536837][42774:42779] CHIP:CSM: FindOrEstablishSession: PeerId = [1:0000000000000002]
    [1674151339.536843][42774:42779] CHIP:CSM: FindOrEstablishSession: No existing OperationalSessionSetup instance found
    [1674151339.536851][42774:42779] CHIP:CTL: OperationalSessionSetup[1:0000000000000002]: State change 1 --> 2
    [1674151339.536899][42774:42779] CHIP:DIS: Warning: Attempt to mDNS broadcast failed on enp0s31f6:  examples/chip-tool/third_party/connectedhomeip/src/inet/UDPEndPointImplSockets.cpp:411: OS Error 0x02000065: Network is unreachable
    [1674151339.536947][42774:42779] CHIP:DIS: mDNS broadcast had only partial success: 3 successes and 1 failures.

    As you see in that log it is trying to send on enp0s31f6, which is your Ethernet interface.

    Compared to your previous log where you send the command over WiFi and IPv6:

    [1673882836.550665][71934:71939] CHIP:TOO: Sending command to group 0x101
    [1673882836.550671][71934:71939] CHIP:TOO: Sending cluster (0x00000006) command (0x00000000) on Group 257
    [1673882836.550681][71934:71939] CHIP:DMG: ICR moving to [AddingComm]
    [1673882836.550691][71934:71939] CHIP:DMG: ICR moving to [AddedComma]
    [1673882836.550885][71934:71939] CHIP:EM: <<< [E:16679i M:55000] (G) Msg TX to 1:FFFFFFFFFFFF0101 [D2A3] --- Type 0001:08 (IM:InvokeCommandRequest)
    [1673882836.550896][71934:71939] CHIP:IN: (G) Sending msg 55000 to Multicast IPV6 address 'UDP:[ff35:40:fd00::100:101]:5540'
    [1673882836.551061][71934:71939] CHIP:IN: Interface wlp0s20f3 has a link local address
    [1673882836.551095][71934:71939] CHIP:IN: Successfully send Multicast message on interface wlp0s20f3

    The GetGroupMembership command fails since you need to be connected to the same network as the device over a WiFi connection, and the communication must go over WiFi. Being connected to the same network over Ethernet is not sufficient. However, I see in your log that the chip-tool does find the WiFi interface, so I do not know why it is trying to send over Ethernet and not WiFi:

    [1674151339.525104][42774:42774] CHIP:DL: Got WiFi interface: wlp0s20f3
    [1674151339.526742][42774:42774] CHIP:DL: Found the primary WiFi interface:wlp0s20f3

    I will look into this and come back to you.

    Best regards,

    Marte

  • Ok, thank you for looking into my issue. Also, I did confirm that the Linux computer running the chip-tool is connected to the same Wi-Fi as the OTBR.

  • Hi,

    I have not been able to figure out the reason for this issue yet, but I have asked the developers. I will get back to you on Monday.

    Best regards,

    Marte

  • Hi,

    According to the developers it is possible that the reason for your issue is that Group communication was broken in nRF Connect SDK v2.1.0, as this includes an old and non-production version of the Matter SDK. They recommend moving to v2.2.0. Their tests using this version shows that group commands works as expected.

    Regarding your issues with libssl, libssl1.1 is no longer supported on Ubuntu 22.04. We build our artifacts using Ubuntu 20.04. One of the workarounds, for now, is to manually install libssl1.1. from Ubuntu 20.04 repository:

    wget security.ubuntu.com/.../libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb
    sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb

    Best regards,

    Marte

Related