project-chip / certification-tool

A test harness and tooling designed to simplify development, testing, and certification for devices, guided by the Connectivity Standards Alliance.
https://csa-iot.org/
Apache License 2.0
42 stars 24 forks source link

[Feature] Allow chip-tool to be commissioned at the same time #363

Open hicklin opened 3 months ago

hicklin commented 3 months ago

Describe the bug

There isn't a way to commission a device to both the TH and chip-tool if the device requires the manual pairing code when commissioning the second controller.

This is needed because some tests require the tester to manually change the state of the device during the test. Sometimes, this needs to be done via chip-tool commands.

Ideally, the TH provides a way for it to commission to a devices that requires the use of the manual pairing code.

Steps to reproduce the behavior

  1. Commission the DUT via chip-tool.
  2. Open the commission window via chip-tool's pairing open-commissioning-window command.
  3. Get the manual pairing code from the output of the above command.
  4. Try to pair the TH to the DUT using the manual pairing code.

Expected behavior

There should be a mechanism by which the TH and chip-tool, or any other controller, can be simultaneously paired with and able to control the DUT.

Log files

No response

PICS file

No response

Screenshots

No response

Environment

Additional Information

No response