Skip to content

Commit

Permalink
Remove unused parameters ssid and passphrase from chiptool "pairing s…
Browse files Browse the repository at this point in the history
…oftap" CLI (project-chip#4706)
  • Loading branch information
dhrishi authored Feb 8, 2021
1 parent 5f25ec1 commit 8b89eb9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions examples/chip-tool/commands/pairing/PairingCommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ class PairingCommand : public Command, public chip::Controller::DevicePairingDel
AddArgument("discriminator", 0, 4096, &mDiscriminator);
break;
case PairingMode::SoftAP:
AddArgument("ssid", &mSSID);
AddArgument("password", &mPassword);
AddArgument("setup-pin-code", 0, 134217727, &mSetupPINCode);
AddArgument("discriminator", 0, 4096, &mDiscriminator);
AddArgument("device-remote-ip", &mRemoteAddr);
Expand Down
2 changes: 1 addition & 1 deletion src/test_driver/linux-cirque/test-on-off-cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def run_data_model_test(self):

for ip in server_ip_address:
ret = self.execute_device_cmd(
tool_device_id, "chip-tool pairing softap ssid_not_used passwd_not_used {} {} {} {}".format(SETUPPINCODE, DISCRIMINATOR, ip, CHIP_PORT))
tool_device_id, "chip-tool pairing softap {} {} {} {}".format(SETUPPINCODE, DISCRIMINATOR, ip, CHIP_PORT))
self.assertEqual(ret['return_code'], '0', "{} command failure: {}".format(
"pairing softap", ret['output']))

Expand Down

0 comments on commit 8b89eb9

Please sign in to comment.