Cheat sheet

Matter commissioning checklist

What to check before, during and after commissioning a Matter device over Bluetooth LE, over IP and onto Thread, with the chip-tool commands from the connectedhomeip v1.6.1.0 documentation.

Last verified 28 November 2026· Matter 1.6 (CSA, June 2026); connectedhomeip v1.6.1.0

This page is a checklist for bringing a Matter device under control of a commissioner for the first time, and for adding a second one. It is written for people building their own Matter firmware and testing it with chip-tool, the command-line controller in the connectedhomeip repository. Commands and behaviour are taken from the connectedhomeip documentation at tag v1.6.1.0 (25 September 2026).

As of 28 November 2026 the newest Matter release announced by the Connectivity Standards Alliance (CSA) is Matter 1.6, published on 17 June 2026. The v1.6.1.0 SDK release notes refer to a Matter 1.6.1 data model.

Which path

Situation Commissioning channel chip-tool command
Wi-Fi device, not yet on your network Bluetooth LE, then Wi-Fi credentials pairing ble-wifi
Thread device, not yet on a Thread network Bluetooth LE, then the Thread dataset pairing ble-thread
Device already on the IP network (Ethernet, or Wi-Fi joined earlier) IP only pairing onnetwork or pairing code
Device already on another fabric IP, through a commissioning window the first administrator opens pairing open-commissioning-window, then pairing code

The connectedhomeip guide states the rule: devices not yet on the target IP network use Bluetooth LE as the commissioning channel, and devices already on an IP network only need IP. Matter 1.6 adds commissioning over bi-directional NFC (near-field communication) as a full alternative to Bluetooth LE, according to the CSA. Matter 1.4.1 used NFC only to carry the setup payload. Check that your controller and SDK support it before you rely on it.

1. Before you start: the device

  • Know which credentials the firmware carries. The connectedhomeip examples boot with test values: discriminator 3840 (0xF00) and setup passcode 20202021. The ESP32 guide labels both as test values.
  • Read them from the boot log. The examples print the passcode, discriminator, vendor ID and product ID on the serial console at start-up, together with the QR code payload (it starts with MT:) and the manual pairing code.
  • Know the sizes. The discriminator is 12 bits and tells advertising devices apart. The setup passcode is 27 bits and authenticates the device.
  • Decode a payload you are unsure of: chip-tool payload parse-setup-payload <MT:... or manual code>.
  • Know that test attestation credentials are for development only. By default the ESP32 examples use test-mode providers for commissionable data and device attestation, and the nRF Connect examples use the test certificates in credentials/development/attestation/. For a production product, the nRF Connect guide says to program the certificates that certification issues to you. A commissioner checks the device’s Device Attestation Certificate (DAC) and Product Attestation Intermediate (PAI) against a Product Attestation Authority (PAA) certificate it trusts.
  • Make sure the device is advertising. Some examples advertise over Bluetooth LE at boot, others need a button press. Check the example’s documentation.
  • Erase the device’s stored fabrics before a clean retest (a factory reset, or erase flash), and remove it from the controller with chip-tool pairing unpair <node_id>.

2. Before you start: the controller

  • Build or install chip-tool from the same release as your device firmware where you can.
  • Know where it keeps state. chip-tool caches its configuration in /tmp/chip_tool_config.ini. The guide says deleting stale .ini files in /tmp can fix odd failures. Use --storage-directory <dir> to keep state across reboots.
  • Decide on attestation checking. With --paa-trust-store-path <dir>, chip-tool checks the device’s DAC and PAI against the PAA certificates in that directory. Without it, chip-tool uses its built-in test PAA, which is fine for development firmware and says nothing about production readiness.
  • For revocation testing, chip-tool accepts --dac-revocation-set-path <file>. A device with a revoked DAC then fails commissioning with kDacRevoked (302).

3. Commissioning over Bluetooth LE

  • Get the network credentials first. The Matter specification does not define how a controller obtains them, so it is your job.
    • Wi-Fi: the SSID and passphrase.
    • Thread: the Active Operational Dataset from the border router, as hex. On an OpenThread Border Router (OTBR) run sudo ot-ctl dataset active -x.
  • Wi-Fi device:
chip-tool pairing ble-wifi <node_id> <ssid> <password> <pin_code> <discriminator>

Prefix the SSID or password with hex: to pass them as hexadecimal.

  • Thread device:
chip-tool pairing ble-thread <node_id> hex:<operational_dataset> <pin_code> <discriminator>
  • Watch for Secure Session to Device Established in the controller log. It means the PASE session is up, so the Bluetooth LE link and the passcode are correct. A failure after that line points at attestation, network credentials or the operational network, not at Bluetooth.
  • <node_id> is your choice. Keep a list: you use it for every later command to that device.
  • If the host has more than one Bluetooth adapter, select one with --ble-controller <selector>. The selector syntax depends on the host platform.

4. Commissioning over IP

  • Use this when the device is already on the network, for example over Ethernet or after a Wi-Fi join done another way.
  • By passcode: chip-tool pairing onnetwork <node_id> <pin_code>. It tries each device it discovers until one pairs.
  • By passcode and discriminator, when several devices are advertising: chip-tool pairing onnetwork-long <node_id> <pin_code> <discriminator>.
  • By QR payload or manual code: chip-tool pairing code <node_id> <MT:... or manual code>.
  • Check discovery from the host if nothing is found. Commissionable devices advertise the DNS-SD (DNS-based service discovery) service _matterc._udp. Commissioned devices advertise _matter._tcp. On macOS run dns-sd -B _matterc._udp. On Linux run avahi-browse -d local _matterc._udp --resolve.

5. Thread specifics

  • A Thread network needs a border router to reach Wi-Fi or Ethernet. The connectedhomeip OTBR page lists its jobs: two-way IP routing between Thread and the other network, service discovery (mDNS on Wi-Fi or Ethernet, SRP on Thread), merging Thread partitions over the infrastructure link, and external commissioning.
  • Thread devices are found through the border router’s SRP (service registration protocol) server, not by mDNS on the Thread link itself. If a commissioned Thread device does not show up as _matter._tcp, check the border router before the device.
  • Read the dataset again after any change to the Thread network. An old dataset string joins the device to a network that no longer exists.
  • Keep the controller host on the same IP network as the border router’s infrastructure side.

6. Adding a second administrator (multi-admin)

  • The first administrator opens a commissioning window:
chip-tool pairing open-commissioning-window <node_id> <option> <window_timeout> <iteration> <discriminator>

<option> is 1 for the Enhanced Commissioning Method and 0 for the Basic Commissioning Method. <window_timeout> is in seconds. <iteration> is the PBKDF iteration count for the new verifier. Iteration and discriminator are ignored when the option is 0.

  • Copy the new manual pairing code or QR payload from the output.
  • The second controller commissions with it. A second chip-tool fabric on the same host needs its own name: chip-tool pairing code <node_id> <payload> --commissioner-name beta.
  • Commission before the window times out.
  • Matter 1.6 adds Joint Fabric, where several authorised controllers administer one shared fabric. The CSA says a Joint Fabric counts as one fabric toward a device’s limit, so the device can still join separate ecosystem fabrics as well.

7. When it fails

Symptom Look at
Device not found over Bluetooth LE Advertising (button or boot setting), discriminator, adapter choice, distance
No Secure Session to Device Established Passcode and discriminator against the boot log; a stale device that was already commissioned
Fails after the secure session, during attestation --paa-trust-store-path; test versus production certificates; revocation
Wi-Fi device never reaches the network SSID and passphrase (try hex:), 2.4 GHz versus 5 GHz support of the device, access point client isolation
Thread device never reaches the network Dataset string, border router running, SRP registration
onnetwork finds nothing dns-sd -B _matterc._udp or avahi-browse; host on the same network; multicast filtering on the access point
Odd behaviour after many retests chip-tool state in /tmp; erase the device; pairing unpair

For makers

Start with an example app and chip-tool on a laptop. Use the test passcode from the boot log, commission over Bluetooth LE, then control the device. Only then move to a phone ecosystem.

For product teams

Plan the factory data early: per-device passcodes and discriminators, DACs from your PAA chain, and the Certification Declaration. Test with --paa-trust-store-path and revocation sets, not the built-in test PAA. Script chip-tool runs so every firmware build commissions the same way in CI.