Skip to content

Commit f485e4a

Browse files
authored
[chip-tool] Adjust the maximum value of 'discriminator' to align with spec (#34940)
1 parent 62139bf commit f485e4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/chip-tool/commands/pairing/OpenCommissioningWindowCommand.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class OpenCommissioningWindowCommand : public CHIPCommand
3838
"Time, in seconds, before the commissioning window closes.");
3939
AddArgument("iteration", chip::Crypto::kSpake2p_Min_PBKDF_Iterations, chip::Crypto::kSpake2p_Max_PBKDF_Iterations,
4040
&mIteration, "Number of PBKDF iterations to use to derive the verifier. Ignored if 'option' is 0.");
41-
AddArgument("discriminator", 0, 4096, &mDiscriminator, "Discriminator to use for advertising. Ignored if 'option' is 0.");
41+
AddArgument("discriminator", 0, 4095, &mDiscriminator, "Discriminator to use for advertising. Ignored if 'option' is 0.");
4242
AddArgument("timeout", 0, UINT16_MAX, &mTimeout, "Time, in seconds, before this command is considered to have timed out.");
4343
}
4444

0 commit comments

Comments
 (0)