From 0792e2e96df8274f3860f82eac2fde060699bf41 Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Mon, 21 Aug 2023 20:02:41 +0200 Subject: [PATCH] [matter_yamltests] Add mrpRetryActiveThreshold response key for Discovery Commands (#28781) --- examples/chip-tool/commands/common/RemoteDataModelLogger.cpp | 5 +++++ .../pseudo_clusters/clusters/discovery_commands.py | 1 + 2 files changed, 6 insertions(+) diff --git a/examples/chip-tool/commands/common/RemoteDataModelLogger.cpp b/examples/chip-tool/commands/common/RemoteDataModelLogger.cpp index 057d1f2059e05f..e3761994deee5c 100644 --- a/examples/chip-tool/commands/common/RemoteDataModelLogger.cpp +++ b/examples/chip-tool/commands/common/RemoteDataModelLogger.cpp @@ -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; diff --git a/scripts/py_matter_yamltests/matter_yamltests/pseudo_clusters/clusters/discovery_commands.py b/scripts/py_matter_yamltests/matter_yamltests/pseudo_clusters/clusters/discovery_commands.py index af4aaf8aa1f79a..f7b9311dadb300 100644 --- a/scripts/py_matter_yamltests/matter_yamltests/pseudo_clusters/clusters/discovery_commands.py +++ b/scripts/py_matter_yamltests/matter_yamltests/pseudo_clusters/clusters/discovery_commands.py @@ -73,6 +73,7 @@ +