Skip to content

Commit c5023fa

Browse files
committedJun 10, 2024
Fix cluster command to store the correct nodeId
1 parent b4ee15b commit c5023fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎examples/chip-tool/commands/clusters/ClusterCommand.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class ClusterCommand : public InteractionModelCommands, public ModelCommand, pub
6969
const chip::app::Clusters::IcdManagement::Commands::RegisterClient::Type & value)
7070
{
7171
ReturnErrorOnFailure(InteractionModelCommands::SendCommand(device, endpointId, clusterId, commandId, value));
72-
mScopedNodeId = chip::ScopedNodeId(value.checkInNodeID, device->GetSecureSession().Value()->GetFabricIndex());
72+
mScopedNodeId = chip::ScopedNodeId(device->GetDeviceId(), device->GetSecureSession().Value()->GetFabricIndex());
7373
mMonitoredSubject = value.monitoredSubject;
7474
mClientType = value.clientType;
7575
memcpy(mICDSymmetricKey, value.key.data(), value.key.size());

0 commit comments

Comments
 (0)