Testing Matter in the nRF Connect SDK
When you build any of the available Matter samples to the supported development kits, you automatically build the Matter stack for the nRF Connect platform. The development kit and the application running Matter stack that is programmed on the development kit together form the Matter accessory device.
The nRF Connect SDK supports Matter stack that is built on top of a low-power, 802.15.4-compatible Thread network, or on top of a Wi-Fi network. To control the Matter accessory device remotely over either of these networks, you need to set up a Matter controller on a mobile or a PC.
The Matter controller is a node in the Matter network and a role within the Matter development environment. The controller device is used to pair and control the Matter accessory device remotely over a network, interacting with it using Bluetooth® LE and the regular IPv6 communication.
The following figure shows the available Matter controllers in the nRF Connect SDK.
You can read more about the Matter controller on the Matter network topologies page.
Matter development environment also depends on the network type:
- Matter over Thread
To enable the IPv6 communication with the Matter accessory device over the Thread network, the Matter controller requires the Thread Border Router. This is because the Matter controller types described on this page do not have an 802.15.4 Thread interface. The Border Router bridges the Thread network with the network interface of the controller, for example Wi-Fi.
In the Matter over Thread development environment, the Matter controller can be set up in one of the following ways:
On a separate device from the device running the Thread Border Router.
On the same device as the Thread Border Router.
Watch the following video for an overview of the Matter over Thread setup.
- Matter over Wi-Fi
To enable the IPv6 communication with the Matter accessory device over the Wi-Fi network, you need a Wi-Fi Access Point, for example a Wi-Fi router, so that the Matter controller can interact with any Wi-Fi device directly.
The following subpages describe how to set up different development environments, including Matter controller.
- Matter over Thread: Configuring Border Router and Linux/macOS controller on separate devices
- Matter over Thread: Configuring Border Router and Android controller on separate devices
- Matter over Thread: Configuring Border Router and controller on one device
- Matter over Wi-Fi: Configuring CHIP Tool for Linux or macOS
- Matter over Wi-Fi: Configuring CHIP Tool for Android