Skip to content

Commit

Permalink
[matter_yamltests] Add mrpRetryActiveThreshold response key for Disco…
Browse files Browse the repository at this point in the history
…very Commands (#28781)
  • Loading branch information
vivien-apple authored and pull[bot] committed Jan 15, 2024
1 parent a2f2402 commit 0792e2e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/chip-tool/commands/common/RemoteDataModelLogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,11 @@ CHIP_ERROR LogDiscoveredNodeData(const chip::Dnssd::DiscoveredNodeData & nodeDat
value["mrpRetryIntervalActive"] = resolutionData.mrpRetryIntervalActive.Value().count();
}

if (resolutionData.mrpRetryActiveThreshold.HasValue())
{
value["mrpRetryActiveThreshold"] = resolutionData.mrpRetryActiveThreshold.Value().count();
}

Json::Value rootValue;
rootValue[kValueKey] = value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
<arg name="port" type="int16u"/>
<arg name="mrpRetryIntervalIdle" type="int32u" optional="true"/>
<arg name="mrpRetryIntervalActive" type="int32u" optional="true"/>
<arg name="mrpRetryActiveThreshold" type="int16u" optional="true"/>
</command>
</cluster>
</configurator>
Expand Down

0 comments on commit 0792e2e

Please sign in to comment.