Skip to content

Commit

Permalink
Set delay action time in query response if present.
Browse files Browse the repository at this point in the history
  • Loading branch information
krypton36 committed Jan 9, 2023
1 parent 3e97ff2 commit 81f1e41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ 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.");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 81f1e41

Please sign in to comment.