From be0124abdfad669f2fa127a72e8e30cb49a1ba43 Mon Sep 17 00:00:00 2001 From: jvillasenor Date: Thu, 5 Jan 2023 14:02:18 -0800 Subject: [PATCH] Set delay action time in query response if present. --- .../darwin-framework-tool/commands/common/CHIPCommandBridge.h | 4 +++- .../commands/provider/OTASoftwareUpdateInteractive.mm | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/darwin-framework-tool/commands/common/CHIPCommandBridge.h b/examples/darwin-framework-tool/commands/common/CHIPCommandBridge.h index e088162294b0fd..9a2e7d76e64b2e 100644 --- a/examples/darwin-framework-tool/commands/common/CHIPCommandBridge.h +++ b/examples/darwin-framework-tool/commands/common/CHIPCommandBridge.h @@ -38,7 +38,9 @@ class CHIPCommandBridge : public Command { : Command(commandName) { AddArgument("commissioner-name", &mCommissionerName); - AddArgument("commissioner-nodeId", 0, UINT64_MAX, &mCommissionerNodeId); + AddArgument("commissioner-nodeId", 0, UINT64_MAX, &mCommissionerNodeId, + "Sets the commisser node ID of the given " + "comssioner-name. Interactive mode will only set a single commissioner on the inital command."); AddArgument("paa-trust-store-path", &mPaaTrustStorePath, "Path to directory holding PAA certificate information. Can be absolute or relative to the current working " "directory."); diff --git a/examples/darwin-framework-tool/commands/provider/OTASoftwareUpdateInteractive.mm b/examples/darwin-framework-tool/commands/provider/OTASoftwareUpdateInteractive.mm index 318696b6ce374e..77ca8d51a022a5 100644 --- a/examples/darwin-framework-tool/commands/provider/OTASoftwareUpdateInteractive.mm +++ b/examples/darwin-framework-tool/commands/provider/OTASoftwareUpdateInteractive.mm @@ -222,10 +222,10 @@ static bool ParseJsonFileAndPopulateCandidates( CHIP_ERROR error = CHIP_NO_ERROR; if (userConsentNeeded == 0) { mOTADelegate.userConsentNeeded = @(0); - ChipLogDetail(chipTool, "Successfully set User Consent Needed to: OTAProviderUserGranted"); + ChipLogDetail(chipTool, "Successfully set User Consent to: OTAProviderUserGranted"); } else if (userConsentNeeded == 1) { mOTADelegate.userConsentNeeded = @(1); - ChipLogDetail(chipTool, "Successfully set User Consent Needed to: OTAProviderUserObtaining"); + ChipLogDetail(chipTool, "Successfully set User Consent to: OTAProviderUserObtaining"); } else { ChipLogError(chipTool, "Only accepts the following: 0 (Not Needed), and 1 (Needed)."); error = CHIP_ERROR_INTERNAL;