File tree 1 file changed +5
-0
lines changed
examples/fabric-bridge-app/linux
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,8 @@ void AdministratorCommissioningCommandHandler::InvokeCommand(HandlerContext & ha
130
130
131
131
#if defined(PW_RPC_FABRIC_BRIDGE_SERVICE) && PW_RPC_FABRIC_BRIDGE_SERVICE
132
132
Device * device = DeviceMgr ().GetDevice (endpointId);
133
+
134
+ // TODO: issues:#33784, need to make OpenCommissioningWindow synchronous
133
135
if (device != nullptr && OpenCommissioningWindow (device->GetNodeId ()) == CHIP_NO_ERROR)
134
136
{
135
137
ChipLogProgress (NotSpecified, " Commissioning window is now open" );
@@ -139,6 +141,9 @@ void AdministratorCommissioningCommandHandler::InvokeCommand(HandlerContext & ha
139
141
status = Status::Failure;
140
142
ChipLogProgress (NotSpecified, " Commissioning window is failed to open" );
141
143
}
144
+ #else
145
+ status = Status::Failure;
146
+ ChipLogProgress (NotSpecified, " Commissioning window failed to open: PW_RPC_FABRIC_BRIDGE_SERVICE not defined" );
142
147
#endif // defined(PW_RPC_FABRIC_BRIDGE_SERVICE) && PW_RPC_FABRIC_BRIDGE_SERVICE
143
148
144
149
handlerContext.mCommandHandler .AddStatus (handlerContext.mRequestPath , status);
You can’t perform that action at this time.
0 commit comments