Matter ======== .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **What is Matter?** Matter is an **open-source, royalty-free connectivity standard** developed by the **Connectivity Standards Alliance (CSA)** (formerly Zigbee Alliance). It aims to unify smart home device communication across ecosystems, ensuring **interoperability, reliability, and security**. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Why is Matter useful?** * Enables **interoperability** between smart home devices from different brands (e.g., Apple, Google, Amazon). * Provides **secure**, **reliable**, and **low-latency** local communication. * Simplifies development by offering a common standard. * Reduces fragmentation in the smart home ecosystem. * Supports **multi-admin control**, allowing devices to work with multiple ecosystems simultaneously. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **How it works?** * Matter uses **IPv6-based networking protocols** for communication. * Devices communicate over **Thread**, **Wi-Fi**, or **Ethernet**, using **UDP** and **TLS** for secure transport. * A **commissioning process** securely onboards devices using QR codes or NFC. * The **Application Layer** defines standardized device types (lights, thermostats, sensors, etc.). * It supports **local communication** without requiring a cloud connection. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Where is Matter used?** * **Smart homes** (lights, locks, thermostats, sensors, appliances). * **Smart buildings** and **offices**. * **Consumer IoT** devices that need cross-platform compatibility. * Anywhere multiple smart ecosystems need to operate **together seamlessly**. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Which OSI layer does this protocol belong to?** * Matter operates at the **Application Layer (Layer 7)** of the OSI model. * It uses **IPv6** and relies on lower layers (e.g., **TCP/IP**, **UDP**, **Thread**) for transport and network connectivity. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **IS Matter Windows specific?** * No, **Matter is not Windows-specific**. * It is designed for cross-platform deployment and can run on **embedded systems**, **Linux**, **macOS**, **Android**, **iOS**, and **Windows** (mainly for control apps or hub interfaces). .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **IS Matter Linux Specific?** * No, **Matter is not Linux-specific**. * However, **Linux is widely used** in Matter-based hubs, smart speakers, and gateways due to its open-source nature and flexibility. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Which Transport Protocol is used by Matter?** * Matter primarily uses **UDP** with **DTLS** for secure communication. * **TCP** with **TLS** may be used in certain cases. * It runs over **IPv6** and supports transports like: * **Wi-Fi** * **Thread (IEEE 802.15.4)** * **Ethernet** .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Which Port is used by Matter?** * Matter uses **UDP port 5540** for unicast secure communication. * It also uses **UDP port 5353** for **mDNS (Multicast DNS)** during device discovery. * These ports can be implementation-specific but are standard in Matter reference implementations. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Is Matter using Client server model?** * **Yes, partially.** * Matter uses a **request-response** model where devices can act as **clients**, **servers**, or **both**. * For example, a **light bulb** acts as a server providing resources, while a **smart switch** acts as a client issuing control commands. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow Topics in this section, * :ref:`Learnings in this section ` * :ref:`Terminology ` * :ref:`Version Info ` * :ref:`Matter Version&IEEE Details ` * :ref:`Matter Basic Setup on Ubuntu using IPv4 ` * :ref:`Matter Basic Setup on Ubuntu using IPv6 ` * :ref:`Matter Protocol Packet Details ` * :ref:`Matter Usecases ` * :ref:`Matter Basic Features ` * :ref:`Reference links ` .. _Matter_step1: .. tab-set:: .. tab-item:: Learnings in this section * In this section, you are going to learn .. _Matter_step2: .. tab-set:: .. tab-item:: Terminology * Terminology .. _Matter_step3: .. tab-set:: .. tab-item:: Version Info * Version Info .. _Matter_step5: .. tab-set:: .. tab-item:: Matter Version&RFC Details * rfc details .. _Matter_step18: .. tab-set:: .. tab-item:: Matter Basic Setup on Ubuntu using IPv4 * setup .. _Matter_step19: .. tab-set:: .. tab-item:: Matter Basic Setup on Ubuntu using IPv6 * setup .. _Matter_step6: .. tab-set:: .. tab-item:: Matter Protocol Packet Details * packet details .. _Matter_step7: .. tab-set:: .. tab-item:: Matter Usecases * usecases .. _Matter_step8: .. tab-set:: .. tab-item:: Matter Basic Features * features .. _Matter_step17: .. tab-set:: .. tab-item:: Reference links * Reference links