Working with the CHIP Tool

[中文]

chip-tool is a Linux tool that can be used to pair and test Matter devices. For detailed usage, please refer to here .

Commissioning into a Wi-Fi network over Bluetooth LE

./chip-tool pairing ble-wifi <node_id> <ssid> <password> <pin_code> <discriminator>

In this command:

  • <node_id> is the user-defined ID of the node being commissioned.

  • <operational_dataset> is the Operational Dataset determined.

  • <pin_code> and <discriminator> are device-specific keys determined.

Toggle the OnOff attribute

./chip-tool onoff toggle <node_id> <endpoint_id>

In this command:

  • <node_id> is the user-defined ID of the commissioned node.

  • <endpoint_id> is the ID of the endpoint with OnOff cluster implemented.