Supported Thread features
The OpenThread implementation of the Thread protocol supports all features defined in the Thread 1.3.0 Specification that are required for the Thread 1.3 Certification program:
All Thread networking layers:
IPv6
6LoWPAN
IEEE 802.15.4 with MAC security
Mesh Link Establishment
Mesh Routing
All device roles
Border Router support
Features introduced with Thread 1.2:
Coordinated Sampled Listening (CSL)
Link Metrics Probing
Multicast across Thread networks
Thread Domain unicast addressing
Features introduced with Thread 1.3.0:
Service Registration Protocol (SRP) client
Transport Control Protocol (TCP)
In nRF Connect SDK, you can choose which version of the Thread protocol to use in your application. By default, nRF Connect SDK supports Thread 1.3, which includes support for Thread 1.2. You can enable and configure any Thread version by using dedicated options.
Thread 1.2 features
The nRF Connect SDK implements all mandatory features from the Thread 1.2 Specification.
The features introduced with the Thread 1.2 Specification are fully backward-compatible with implementations using Thread 1.1 (more specifically, the Thread 1.1.1 Specification). Thread 1.2 improves network scalability, responsiveness, density, and power consumption. For more information about this Thread version, see the official Thread 1.2 in Commercial White Paper and the Thread 1.2 Base Features document.
Note
See Thread Specification options for the list of 1.2 features that are currently available in nRF Connect SDK.
Coordinated Sampled Listening (CSL)
Coordinated Sampled Listening defined in IEEE 802.15.4-2015 is introduced by Thread 1.2 Specification to provide low latency communication for Sleepy End Devices. Thread 1.2 routers are required to support synchronized CSL transmissions to children which require them, known as Synchronized Sleepy End Devices (SSEDs). SSEDs are allowed to transmit frames normally at any time, but the routers should use the CSL transmission mechanism as long as the synchronization is maintained. This allows an SSED to stay in a sleepy state more than 99% of the time and only turn on its radio periodically for a few hundreds of microseconds in order to receive frames from its parent.
The most common use case for SSEDs is for developing low latency battery-powered actuators, such as window blinds.
Link Metrics Probing Protocol
Thread 1.2 Specification introduces Link Metrics Probing Protocol as a mechanism to gather information about the link quality with neighbors.
The available metrics are:
Count of received PDUs.
Exponential Moving Average of the LQI.
Exponential Moving Average of the link margin (dB).
Exponential Moving Average of the RSSI (dBm).
The main potential usage of this feature is to allow a battery powered device to lower its transmission power when the link quality with its parent is good enough. This way the device can save energy on each transmitted frame. The device interested in receiving link quality information is referred to as Link Metrics Initiator, while the device delivering that information is referred to as Link Metrics Subject.
Developers can make use of the OpenThread API to obtain information about the link quality in three ways:
Single probe: a single-shot MLE command that returns the requested metrics in the reply.
Forward Tracking Series: the Initiator configures the Subject to start tracking link quality information for every received frame. At any point, the Initiator retrieves the averaged values for that series by means of an MLE Data Request.
Enhanced-ACK probing: the Initiator configures the Subject to include link metrics information as Information Elements in the Enh-ACKs that are generated in reply to IEEE 802.15.4-2015 frames sent by the Initiator.
Enhanced-ACK probing is the most power efficient method to retrieve link metrics since very little message overhead is required. nRF Connect SDK provides full Link Metrics support even for the RCP architecture, which is the most technically challenging one since the radio driver must handle the injection of Information Elements on time to match the acknowledgment timing requirements. The decision on how to interpret the link metrics information to adjust the transmission power is left to the application itself.
Multicast across Thread networks
Thread 1.1 border routers have a limitation not to forward multicast traffic with scope greater than realm-local. For certain applications it could be useful to be able to control multicast groups from a host outside the Thread network. This is achieved in Thread 1.2 by allowing Thread border routers to forward multicast traffic with scope greater than realm-local in two ways:
From the Thread network to the exterior network: as a configuration option in the border router, for every multicast group.
From the exterior network to the Thread network: the Primary Backbone Router (PBBR) would forward only multicast traffic with a destination matching one of the multicast groups registered by Thread devices in its network.
For the second case, a Thread Commissioner can be used as well to register allowed multicast groups on behalf of the devices.
The OpenThread stack will automatically handle the registration of multicast groups with proper PBBR whenever they are configured in the device.
Thread Domain unicast addressing
Thread 1.2 Specification introduces the concept of Thread Domains.
A Thread Domain is a set of Thread Devices that receive and apply a common Thread Domain operational configuration. The Thread Domain operational configuration enables Thread Devices to join and participate in larger interconnected systems extending beyond the limits of a single Thread network. A user or network administrator may use functions of either Thread Commissioning or Thread Border Routers to set up a common Thread Domain operational configuration for Thread Devices. The Thread Devices can belong to different Thread networks or Partitions that have potentially different per-network credentials.
Limitations for Thread 1.2 support
The Thread 1.2 Specification support has the following limitation:
Due to code size limitation, the combination of complete set of Thread 1.2 features with the Bluetooth® LE multiprotocol support is not possible for the nRF52833 DKs.
Thread 1.3 features
For more information about this Thread version, see the official Thread 1.3.0 Features White Paper.
DNS-based Service Discovery
Thread 1.3 Specification introduces DNS-SD Service Registration Protocol, which lets devices advertise the fact that they provide services while avoiding the use of multicast in the discovery. nRF Connect SDK provides the required SRP client functionality.
Transport Control Protocol
While nRF Connect SDK has had TCP support through Zephyr (IP stack supported features), the Thread 1.3 Specification defines a set of parameters and features that make TCP more efficient for the limited IEEE 802.15.4 networks. An alternative TCP stack implementation incorporated from the OpenThread project can be enabled by users working on Thread-based TCP applications.
Limitations for Thread 1.3 support
Transport Control Protocol (TCP) as defined by the Thread 1.3 Specification is only supported in experimental mode by nRF Connect SDK.