The New Wireless Thread Network Protocol


Thread is a low-power IPv6 mesh built for smart home devices. Here is how its routers, border routers, and joining process fit together, and how large a network can grow.

Thread is a low-power wireless mesh networking protocol optimized for the connected home and the Internet of Things (IoT). The protocol was proposed in 2014 by the founding members of the Thread Group, including companies like ARM, Freescale Semiconductor, Nest Labs, Samsung Electronics, Silicon Laboratories, and Yale Security. The original specification was released in July 2015.

Thread was designed to have these important features:

  • Simple for consumers to use.
  • Always secure.
  • Power efficient.
  • An open protocol that carries IPv6 natively.
  • Based on a robust mesh network with no single point of failure.
  • Run over existing 802.15.4 radio silicon.

The goal was to support a wide variety of applications in the home: appliances, access control, climate control, energy management, lighting, safety, and security. It uses Internet Protocol version 6 (IPv6) for device-to-device routing within an IEEE 802.15.4 wireless personal area network (PAN).

This article describes the original Thread specification released in 2015. Thread has since become the low-power network layer under Matter. The next article in the series covers Thread 1.4 (September 2024), which added standardized credential sharing, Thread over Infrastructure, and network diagnostics, among other features.

 

An Introduction to Thread

The Interoperability Problem

Thread was designed to address issues with connecting smart devices within the home. A quick look at current offerings shows many different devices working on various networks, with applications that may or may not work together.

A smart ceiling fan in a den is easy to install and control from a smartphone using the manufacturer’s application. A smart thermostat from another manufacturer can also be installed in the den and report to a smartphone. But what if the homeowner wants the ceiling fan to operate when the thermostat indicates the ambient air temperature is above 75°F? What if the fan shouldn’t operate when a smart window in the den is open? How does the thermostat get the message to the fan that it’s time to start operating? How would the fan know the window is open?

It can get complicated working with details from each manufacturer and attempting to link devices. Even if all the devices are IP-based, they may not work together if they use different network protocols.

 

How Thread Works

That home interconnection challenge is the scenario Thread was designed to handle. It forms an IP-based network with each IP-enabled smart device acting as a host. As shown in Figure 1, the network connects the hosts via routers. The devices have a unique IPv6 address, and the routers within the network can forward messages between devices.

 

Figure 1. Thread network. Image used courtesy of Thread Group.

Figure 1. Thread network. Image used courtesy of Thread Group.

 

Devices on the Thread network can also be connected to the internet via border routers. This allows all the devices to be controlled from smartphones and tablets or to forward data to be stored in the cloud.

Unlike some other mesh networks, Thread does not allow automatic discovery or ad hoc network additions. Every device is added to the network only when the network owner initiates the join, and only authenticated devices can be added.

 

Protocol Stack and Radio Layer

Thread addresses the network layers of the Open Systems Interconnection (OSI) model. The OSI model standardizes communication systems with the hardware and physical components at the bottom and applications at the top. The Thread protocol stack (from the Thread Group) is shown in Figure 2.

 

Figure 2. Thread Protocol Stack. Image used courtesy of Thread Group.

Figure 2. Thread Protocol Stack. Image used courtesy of Thread Group.

 

Thread uses the IEEE Standard 802.15.4 for the physical (PHY) and media access control (MAC) levels. It does not specify the top application layer. It operates in the Industrial, Scientific and Medical (ISM) 2.4GHz frequency band and can be run on the same radio modules currently supporting 802.15.4, like ZigBee and WirelessHART. Table 1 provides some information about Thread.

 

Table 1. Thread Specifications.
Specification Thread Data
Design Focus Home connectivity to IoT
IEEE Standard 802.15.4
Network Type Mesh
Network Thread
Distance Normally 20-30 meters
Max Nodes Connected Up to 32 active routers and 511 end devices per router; about 250 devices per subnet recommended in practice
Operating Band 2.4GHz (The ISM unlicensed band)
Spread Spectrum Radio uses direct sequence spread spectrum (DSSS)
Throughput Radio operates at 250 kbps
Data Monitoring and control data
Voice Capable No
Security Banking-class AES-128 encryption for network traffic; public-key cryptography for commissioning and authentication
Power Consumption  Low power
Modulation Radio specification is O-QPSK modulation

 

Radio Hardware and ZigBee

The Thread Group says that a software upgrade allows Thread to run on existing IEEE 802.15.4 radio hardware originally built for ZigBee. Thread and ZigBee are separate networking protocols that share the same underlying radio standard. Microcontrollers are currently available with both Thread and ZigBee stacks. These Dual PAN devices use the same radio. Application developers can focus on their programs and decide which network to run later in the design cycle.

As with other standards, Thread product offerings must go through a certification process, and all Thread-certified products will interconnect. There are fees associated with membership and certification.

 

Network and Transport Layers

Figure 2 shows that the network layers specified by Thread are based on existing standards. They are optimized for the home connectivity environment, with added security and commissioning (the process of authenticating devices). Thread uses the Internet Engineering Task Force (IETF) standard 6LoWPAN (IPv6 over low-power Wireless Personal Area Networks), IP Routing and the User Datagram Protocol (UDP).

6LoWPAN enables efficient IPv6 communication over IEEE 802.15.4 networks, making it possible to send IPv6 packets over the low-power, low-speed links. Note that Thread primarily uses UDP with IP Routing. The more familiar Transmission Control Protocol (TCP), the TCP part of the TCP/IP networking suite, is also supported. UDP offers faster packet delivery with reliability provided outside the packet handling mechanism.

In addition to reliability, Thread adds security, mesh network topology, power management, and a simple way to commission and join devices to the network. The result is a secure, robust, mesh home network that handles IoT connections so homeowners can easily monitor, configure and control their various smart devices.

 

Certification

The Thread specification is maintained by the Thread Group, and authorized test labs, including UL (Underwriters Laboratories) and Granite River Labs (GRL), perform certification testing. Only certified Thread products bear the Thread logo. The full list of authorized test labs is available here: https://threadgroup.org/Authorized-Test-Lab

Certification programs are tied to specification versions. Thread 1.4 border router certification opened with the 1.4 release in September 2024, and the Thread 1.3 border router program was sunset at the end of 2025. Since January 1, 2026, Thread 1.4 has been the only border router certification available.

 

The Application Layer

Thread doesn’t specify an application layer and doesn’t care what application is running on it. Just as a Wi-Fi network can run various applications, a Thread network can run various applications. Thread guarantees that devices that are Thread-certified will interconnect. Applications may address lighting, temperature control, security, smoke detection, and more.

 

Matter

The application layer that has emerged for the connected home is Matter, published in October 2022 by the Connectivity Standards Alliance (CSA), the organization formerly known as the Zigbee Alliance. Matter defines how smart home devices identify themselves, describe their capabilities, and exchange commands. It runs over Thread, Wi-Fi, and Ethernet.

On a Matter-over-Thread network, Thread supplies the IPv6 mesh, and Matter supplies the device types and messaging, so a Thread device from one manufacturer can be controlled from any Matter-compatible controller. Thread border routers, described below, connect these meshes to the home network and the Internet.

 

ZigBee Cluster Library and ZigBee IP

Before Matter, in April 2015, the Thread Group and ZigBee Alliance announced a collaboration that would enable ZigBee Cluster Library (ZCL) applications to run on Thread networks. Developers already familiar with ZCL from writing applications for ZigBee-based stacks could leverage their knowledge to write applications for Thread-based stacks. ZCL defines a standard framework for how connected devices communicate: how they identify themselves and what capabilities they have.

Although there is an IPv6 version of ZigBee, ZigBee IP, Thread’s IP routing for device-to-device communication targets a wider variety of applications for IoT and the connected home.

 

Thread Network Components

The Thread network, as shown above in Figure 1, consists of host devices, routers, and border routers.

 

Host Devices

Host devices are the individual IP-enabled functional equipment, like a light bulb, fan or thermostat. They are endpoints in the network. A device may also be referred to as a sleepy node or sleepy child, with the router as the non-sleeping parent.

The sleepy terminology indicates that the device spends most of the time in sleep mode, with low duty cycles as required for low-power operation. Devices communicate only through the parent router and do not forward messages for other devices.

Since devices cannot receive data while in sleep mode, the parent holds their messages until the device wakes to poll for or send data.

A typical send cycle for a device might be:

  1. Wake from sleep mode.
  2. Perform any required startup and radio initialization.
  3. Go into receive mode and check if clear to transmit.
  4. Go into transmit mode.
  5. Transmit data.
  6. Get acknowledgment as applicable.
  7. Sleep.

 

Routers

Routers provide routing for the network devices. They are also responsible for handling devices joining the network and providing security. They can function in the leader role and start a Thread network. Always active, they maintain neighbor, child and routing tables and connect with each other so the mesh remains intact.

If a router goes down, the remaining Thread routers update their routing information so messages can still be forwarded using existing nodes. If a parent router goes down, another router will function as a device’s parent. Thread’s mesh topology provides a self-healing communication framework.

If conditions require, routers can also be downgraded to router-eligible end devices (REEDs), which do not forward messages. The Thread network manages REEDs and routing algorithms without user intervention.

 

Border Routers

Border routers function as simplified gateways. They handle connections between a Thread network and a non-Thread network, as shown in Figure 1. They have the capability to handle 802.15.4 and a Wi-Fi (802.11) or an Ethernet (802.3) connection. Border routers can be separate communication equipment like an access point or a host device within the Thread network that incorporates both a Thread and Wi-Fi interface. A Thread network can have more than one border router.

 

Example: Fan and Thermostat

Figure 3 shows a partial Thread network. A Thread-certified fan and thermostat, each an endpoint in the network, communicate through the parent routers.

 

Figure 3. Partial Thread Network.

Figure 3. Partial Thread Network.

 

A more complete Thread network example, which includes a fan and thermostat, is shown in Figure 4. This network view assumes a suitable application is running that controls the smart devices so:

  • The fan starts when the thermostat indicates the ambient air temperature is above 75°F.
  • Lights turn on if the door opens and it’s after 8 p.m. local time.
  • If the window is opened, the fan is off.

 

Figure 4. A Thread network.

Figure 4. A Thread network.

 

The homeowner can start the fan any time by using their smartphone or tablet. The message from the smartphone is handled by the Thread border router, which forwards it to the Thread network.

Within the Thread network, the routers get the message to the specific fan device using its IP address, or to its parent router if the fan is in sleep mode. Upon waking from sleep and polling the parent, the fan will be forwarded the message. In response, it will start.

 

Network Size and Real-World Limits

A Thread network supports up to 32 active routers and 511 end devices per router. The protocol typically aims to keep the number of active routers at around 16 to 23.

Practical limits are lower than this theoretical maximum because of 2.4 GHz wireless interference, latency, and hardware memory constraints. A subnet of around 250 devices is often recommended for smooth operation.

 

Joining Devices

Leader and Commissioner Roles

Routers or border routers functioning in leader and commissioner roles handle adding devices to the Thread network and authenticating network credentials. Thread networks identify a leader, which is responsible for certain network functions, such as assigning router addresses and handling new router requests. If the current leader goes down, another router or border router automatically assumes the role.

The commissioner functions as the authentication server for new Thread devices. It is also the authorizing agent that provides the network credentials required to join the network.

 

Joining a Network

If a homeowner buys a new Thread-certified device, they initiate the join by having the device discover the network and by providing the security passphrase. Devices join the network only after credentials are authenticated. Once joined, the device is configured to a parent router and can participate in the network. Routing tables and other network information get updated to reflect the addition.

 

Credential Sharing in Thread 1.4

Thread 1.4 (released September 2024) added a standardized way to share network credentials. Before 1.4, border routers from different manufacturers often each formed their own Thread network. With credential sharing, a new Thread 1.4 border router—or another ecosystem’s app—can work with the existing network instead.

A one-time passcode generates a short-lived ephemeral key (ePSKc) to open a single-use administrative session. That session securely transfers the network’s Active Operational Dataset, which holds the network key needed to join the mesh. Because the session relies on a temporary key, the border router’s permanent administrative credential (PSKc) is never exposed. This prevents long-term unauthorized access. The result is one larger mesh in place of several competing ones.

 

Summary

Thread is a network protocol focused on the connected home and IoT. Specifically designed for low power consumption and IP-based communication, it provides a secure, robust mesh network for IP-enabled smart home devices. Thread-certified devices are guaranteed to interconnect. Homeowners or network administrators can easily add devices to the network, and application developers can be sure devices will work together. To learn more about recent advances, check out the second article in this series.

 

This article was first published by the author in 2015. The All About Circuits editorial team updated it in 2026. Feature image used courtesy of Adobe Stock.



Source link