What's the Matter?

What's the Matter?

By Ben Eatts On 02/01/2024

Matter, an open-source protocol in the Internet of Things (IoT) world, merges different IoT protocols, such as Thread & Zigbee, with traditional Wi-Fi and Ethernet networks.

Matter, an open-source protocol in the Internet of Things (IoT) world, merges different IoT protocols such as Thread & Zigbee with traditional Wi-Fi and Ethernet networks. It does this by creating a fabric, a "network", on top of the traditional IPv6 TCP/UDP stack.
Matter is standardized by the same organization as ZigBee, previously known as the Zigbee Alliance, and now renamed to the Connectivity Standards Alliance.

Because Matter sits over IPv6, it is agnostic of the lower layers. This allows the protocol to communicate across Ethernet, Wi-Fi, Thread, and even Bluetooth Low Energy (BLE) if the IPv6 for BLE adaptation layer is used. A device (typically within the Smart Home realm) utilizing Matter can be a member of multiple fabrics, allowing it to be controlled by components from different vendors.

The Matter Topology

A typical Matter topology consists of the following objects:

  • Bridge: Exposes devices between Matter and non-Matter networks.
  • Controller: Used for commissioning and control of the devices on the fabric.
  • Edge Router: Ensures interoperability of different IPv6 networks.
  • Node: A Matter device that can belong to multiple Matter fabrics.

These components form the Matter fabric, as shown in Figure 1. Here, the Thread Border router & Wi-Fi Access Point are acting as edge routers. The Master Controller is also assuming the role of bridge. These components are what the different Nodes are connecting to.

Figure 1

Devices are commissioned onto a fabric through a set process.

When a device is first added to a fabric, it undergoes a series of steps.

1. Device Discovery

The discovery process will occur over BLE, Wi-Fi, or IP if already on an IP network. If utilizing Thread as the medium, the device must also support BLE for the discovery purposes. When using BLE, the discovery method is the Generic Access Profile (GAP). For Wi-Fi, it uses a Soft-AP function. An out-of-band password is obtained, usually via a QR code, which is used in the next step.

2. Security Setup using Passcode-Authenticated Session Establishment (PASE)

The outcome of this step is to establish encryption keys between the device being commissioned and the commissioner. Additionally, a challenge is created for the next stage, the Attestation phase. The image below illustrates the PASE process at a high level (Figure 2.)

Figure 2

3. Device Attestation Verification

The commissioner verifies that the device is a certified device and will notify the user if it is not certified.

4. Information Configuration

The commissioner provides the device with relevant information such as regulatory domain information, UTC time, network interface configurations, and certificates.

5. Join Network

The commissioner instructs the device to connect to the operational network. The IPv6 address is either already known or discovered by the commissioner.

6. Security Setup with Certificate Authenticated Session Establishment (CASE)

Encryption keys are derived to ensure secure communication between the commissioner and the device. All unicast messages between the commissioner and the device are encrypted using these keys.

7. Commissioning Complete Message Exchange

An encrypted exchange of messages is performed over the operational network to indicate successful commissioning.

Matter promises to revolutionize the Smart Home IoT world by unifying different wireless protocols and creating a versatile fabric over IPv6 networks. The Matter fabric enables simplicity, interoperability, reliability, and security. By embracing Matter, we are promoting a future where IoT devices of different vendors can work harmoniously in a connected environment.

Written by:

Ben Eatts, CWNE #315

References:
https://csa-iot.org/all-solutions/matter/
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.2/nrf/ug_matter_overview_network_topologies.html

Tagged with: cwnp, matter, iot, protocol, what is matter, wifi, ethernet, networks


Blog Disclaimer: The opinions expressed within these blog posts are solely the author’s and do not reflect the opinions and beliefs of the Certitrek, CWNP or its affiliates.

Success Stories

I literally just came out of the testing centre having taken the CWDP exam. The certification process opened my mind to different techniques and solutions. This knowledge can only broaden your perspective. Great job, CWNP, you have a great thing going on here.

-Darren
Read More

Working through the CWNP coursework and certifications helped not only to deepen my technical knowledge and understanding, but also it boosted my confidence. The hard work it took to earn my CWNE has been rewarding in so many ways.

-Ben
Read More

I want to commend you and all at CWNP for having a great organization. You really 'raise the bar' on knowing Wi-Fi well. I have learned a ton of information that is helping my job experience and personal career goals, because of my CWAP/CWDP/CWSP studies. Kudos to all at CWNP.

-Glenn
Read More