We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95ff33b commit 16e23d3Copy full SHA for 16e23d3
examples/fabric-bridge-app/linux/RpcServer.cpp
@@ -118,8 +118,11 @@ pw::Status FabricBridge::AddSynchronizedDevice(const chip_rpc_SynchronizedDevice
118
return pw::Status::Unknown();
119
}
120
121
+ BridgedDevice * addedDevice = BridgeDeviceMgr().GetDeviceByNodeId(nodeId);
122
+ VerifyOrDie(addedDevice);
123
+
124
CHIP_ERROR err = EcosystemInformation::EcosystemInformationServer::Instance().AddEcosystemInformationClusterToEndpoint(
- device->GetEndpointId());
125
+ addedDevice->GetEndpointId());
126
VerifyOrDie(err == CHIP_NO_ERROR);
127
128
return pw::OkStatus();
0 commit comments