Skip to content

Commit

Permalink
Show connect to bridge info to console (project-chip#35564)
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca authored Sep 13, 2024
1 parent a192ec6 commit 64a7918
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,13 @@ void AttemptRpcClientConnect(System::Layer * systemLayer, void * appState)
{
if (StartRpcClient() == CHIP_NO_ERROR)
{
ChipLogProgress(NotSpecified, "Connected to Fabric-Bridge");
// print to console
fprintf(stderr, "Connected to Fabric-Bridge\n");
}
else
{
ChipLogError(NotSpecified, "Failed to connect to Fabric-Bridge, retry in %d seconds....", kRetryIntervalS);
// print to console
fprintf(stderr, "Failed to connect to Fabric-Bridge, retry in %d seconds....\n", kRetryIntervalS);
systemLayer->StartTimer(System::Clock::Seconds16(kRetryIntervalS), AttemptRpcClientConnect, nullptr);
}
}
Expand Down

0 comments on commit 64a7918

Please sign in to comment.