
Bluetooth mesh networking is a complex technology, but it's also incredibly powerful. It allows for multiple devices to communicate with each other in a network, creating a robust and reliable system.
This technology is designed to support large-scale deployments, with the ability to connect up to 32,767 nodes in a single network. It's perfect for applications where many devices need to be connected, such as smart lighting systems.
Mesh networking is also highly flexible, allowing devices to move freely within the network without disrupting the connection. This makes it ideal for applications where devices are constantly being added or removed.
The technology uses a combination of Bluetooth Low Energy (BLE) and mesh networking protocols to create a robust and reliable system.
If this caught your attention, see: Bluetooth Technology Is Susceptible to General Wireless Networking Threats
What is Bluetooth Mesh?
Bluetooth mesh networking is a technology that allows multiple devices to communicate with each other in a network.
In a Bluetooth mesh network, each device is referred to as a "node" and can be composed of one or more "elements" that perform specific functions.
Related reading: Openshift Service Mesh

A node can have multiple elements, but it must have at least one.
Each element contains a "model" that defines its behavior or service, and models have unique ID numbers.
Standard models are defined by the Bluetooth SIG to cover common scenarios.
Messages sent between nodes are filtered based on matching elements and models.
Addresses are used to identify the source and destination of messages.
There are several types of nodes in a Bluetooth mesh network, each with specific roles.
Here's a breakdown of the main types of nodes:
- Relay Nodes: These nodes retransmit messages to allow them to travel further, in a number of "hops".
- Friend Nodes and Low Power Nodes: LPNs are highly power-constrained and partner with a Friend node to store and forward messages.
- Proxy Nodes: Bluetooth low energy devices, such as smartphones, can connect to a mesh network through a Proxy node.
Architecture and Components
Bluetooth mesh networking has a layered architecture that enables efficient and secure communication between devices. This multi-layer structure is typical of any communication network.
The lower layers define message transmission, while the middle layers handle the logic and behavior of the network, including encrypting and decrypting data, managing network configuration, and message segmentation and reassembly. The upper layers take responsibility for the contents of messages.
The architecture consists of seven layers: Bearer Layer, Network Layer, Lower Transport Layer, Upper Transport Layer, Access Layer, Model Layer, and Application Layer. The Bearer Layer defines how messages are sent and received using the underlying BLE protocol stack, supporting two methods: Advertising Bearer and GATT Bearer.
Here's a breakdown of the layers:
Bluetooth mesh networking places a strong focus on security, using encryption and authentication systems for all messages based on the AES-CMAC and AES-CCM algorithms. This ensures sensitive communication between the nodes and protects the contents of messages.
How It Works
Bluetooth mesh technology is built on top of Bluetooth Low Energy (BLE), which means it requires a full BLE stack to be running on the device. This allows it to utilize the advertising and scanning states for sending and receiving messages between devices within the mesh network.
The Bluetooth mesh architecture has a multi-layer structure, which is typical of any communication network. The upper layers take responsibility for the contents of messages, while the middle layers handle the logic and behavior of the network. The lower layers define message transmission.

Messages are exchanged in a Bluetooth mesh network via the publish-subscribe pattern, where publishing is the act of sending a message and subscribing is a configuration used to allow select messages to be sent to specific addresses for processing. Messages are typically addressed to group or virtual addresses.
One or more routes may exist between two device nodes in a Bluetooth mesh network. BLE mesh works by broadcasting messages to all nearby nodes, which then relay them onward. This process continues until the message reaches its intended destination(s).
Here's a breakdown of the layers within the Bluetooth mesh architecture:
- Bluetooth Low Energy layer: handles advertising and scanning states for sending and receiving messages
- Bearer layer: defines how mesh packets are handled
- Lower transport layer: handles two main tasks
- Upper transport layer: responsible for the following functionalities
- Access layer: defines how the application uses the upper transport layer
- Foundation Models layer: concerned with network configuration and network management models
- Models layer: addresses the implementation of models, including behaviors, messages, states, and state bindings.
The publish-subscribe pattern enables efficient group communication in a Bluetooth mesh network. Devices can publish messages to specific addresses, and others can subscribe to receive them. This model gives you an opportunity to configure BLE mesh devices to form network segments of different scale and purpose.
Types of Nodes
Types of nodes play a crucial role in Bluetooth mesh networks, enabling efficient communication and flexibility. Nodes can be categorized based on their features and capabilities.

A node can be a relay node, which receives and retransmits mesh messages over the advertising bearer to enable larger networks. This allows messages to reach their destinations even if some devices are out of direct range.
Proxy nodes act as intermediaries, utilizing GATT operations to allow non-mesh-supported BLE devices to interface and interact with the mesh network. They perform the translation between proxy protocol PDUs and mesh PDUs.
Friend nodes help nodes supporting the Low Power feature operate by storing messages destined for those nodes. This enables low-power devices to participate in the mesh network.
Low power nodes operate within a mesh network at significantly reduced receiver duty cycles, but only in conjunction with a node supporting the Friend feature. This conserves power and extends battery life.
The different types of nodes include:
A node may support none, some, or all of these optional features, which can be enabled or disabled at any time. This flexibility allows nodes to adapt to changing network conditions and requirements.
The Provisioning Process
The provisioning process is a crucial step in building a Bluetooth Mesh network.
It involves installing a device into the network, which is a mandatory step to create a Bluetooth Mesh network.
A provisioner securely distributes a network key and a unique address space for a device during the provisioning process.
The provisioning protocol uses P256 Elliptic Curve Diffie-Hellman Key Exchange to create a temporary key to encrypt network key and other information.
This provides security from a passive eavesdropper and various authentication mechanisms to protect network information from an active eavesdropper who uses a man-in-the-middle attack.
A key unique to a device, known as the Device Key, is derived from elliptic curve shared secret on provisioner and device during the provisioning process.
This device key is used by the provisioner to encrypt messages for that specific device.
The provisioning process can be performed using a Bluetooth GATT connection or advertising using the specific bearer.
It involves five steps:
The first step is to establish a connection between the provisioner and the device.
The second step is to securely distribute the network key and unique address space for the device.
The third step is to derive the device key from elliptic curve shared secret on provisioner and device.
The fourth step is to use the device key to encrypt messages for the device.
The fifth step is to authenticate the device and add it to the network.
The security of the provisioning process has been analyzed in a paper presented during the IEEE CNS 2018 conference.
Security and Privacy
Security is mandatory in Bluetooth mesh networking, unlike BLE where it's optional. This ensures that all mesh messages are encrypted and authenticated.
Bluetooth mesh uses three types of security keys: Network key (NetKey), Application key (AppKey), and Device key (DevKey). The Network key allows a device to be part of the network, while the Application key is shared between nodes that participate in a common application. The Device key is used during the provisioning process for securing communication between the unprovisioned device and the provisioner.
The privacy key is derived from the Network key and is used to obfuscate the message header, preventing tracking of a device via its address.
Certificate-Based Provisioning

Certificate-based provisioning is a more secure way to add devices to a Bluetooth mesh network. It involves adding certificates to the device provisioning process, which increases security and enables bulk device onboarding.
The provisioning process has been analyzed in a paper presented during the IEEE CNS 2018 conference, ensuring the security of the process is well understood.
A device key is derived from the elliptic curve shared secret on the provisioner and device during the provisioning process. This device key is used by the provisioner to encrypt messages for that specific device.
Certificates provide an additional layer of security, protecting network information from an active eavesdropper who uses a man-in-the-middle attack. The use of certificates in provisioning makes it easier to onboard devices in bulk, saving time and money.
Intriguing read: 5g Network Security
Security Handling
Security is a top priority in Bluetooth Mesh Networking, and it's mandatory, not optional like in BLE. All mesh messages are encrypted and authenticated, and security keys can be changed during the network's lifetime.

Network security, application security, and device security are handled independently, which is why there are three types of security keys: Network Key (NetKey), Application Key (AppKey), and Device Key (DevKey). The NetKey makes a device part of the network, while the AppKey is shared between nodes participating in a common application.
Here's a breakdown of the three security keys:
The provisioning process is a mandatory step in building a Bluetooth Mesh network, and it involves securely distributing a network key and a unique address space for a device. This process uses a temporary key to encrypt network key and other information, providing security from passive eavesdroppers.
Networking and Communication
Bluetooth mesh networking offers a unique approach to device communication. It creates a network where messages can hop from device to device until reaching their destination, ensuring that messages reach their targets even if some devices are out of direct range or turned off.
This "managed flooding" process is made possible by the many-to-many topology of Bluetooth mesh networks. In contrast to traditional one-to-one connections, Bluetooth mesh networks allow multiple devices to communicate with each other, creating large-scale device networks.
A key feature of Bluetooth mesh networks is the use of relay nodes. These nodes can retransmit messages that are broadcast by other nodes, enabling the messages to extend their reach and traverse the entire network beyond the original transmitting node.
Devices in a Bluetooth mesh network communicate using the publish-subscribe pattern. This means that devices can publish messages to specific addresses, and others can subscribe to receive them. This pattern enables efficient group communication.
The Bluetooth mesh protocol applies the managed flood principle, which makes messaging efficient without complex routing algorithms. This approach allows devices to communicate directly with each other, without the need for a central hub.
The scalability of Bluetooth mesh networking is facilitated by the self-sufficiency of its nodes and multipath messaging. This enables the creation of countless networks with innumerable nodes.
Here's a breakdown of the Bluetooth mesh architecture:
- The upper layers take responsibility for the contents of messages.
- The middle layers are responsible for the logic and behavior of the network.
- The lower layers define message transmission.
Bluetooth mesh networking also places a strong focus on security. It uses encryption and authentication systems based on the AES-CMAC and AES-CCM algorithms to protect the contents of messages and ensure sensitive communication between nodes.
Benefits and Limitations
Bluetooth mesh networking offers several benefits, including low power consumption, network resilience, flexibility, and self-reconfiguration. This makes it ideal for large-scale, low-power applications.
BLE mesh networking is scalable, supporting up to 32,767 devices per network. This is due to its ability to handle lost and/or corrupt messages, ensuring reliable data transfer.
One of the main advantages of BLE mesh networking is its low power consumption, making it suitable for applications that require energy efficiency. This is especially important for devices that need to be powered for extended periods.
A BLE mesh network can handle node mobility, allowing devices to move without disrupting the network or losing data. This is because data will only fail to reach its destination if nodes move out of range of the receiver.
BLE mesh networking also offers flexibility and self-reconfiguration, making it suitable for applications that require adaptability. This is because the network can reconfigure itself to adapt to changing conditions.
However, BLE mesh networking also has some limitations. One of the main limitations is its low data throughput, which is limited to about 1 megabit per second. This makes it unsuitable for applications that require faster data transfer.
Another limitation of BLE mesh networking is its high latency, which can be caused by the "managed flooding" method used to send messages to all devices in the network. This can result in longer response times, especially in networks with a large number of nodes.
A table summarizing the benefits and limitations of BLE mesh networking:
Bluetooth mesh networking is designed with security as a top priority, providing industrial-grade security for protection against all known attacks. This is achieved through a comprehensive security architecture that covers the entire network of devices and various groupings of devices.
Implementation and Experience
Bluetooth mesh networking is a robust and scalable solution for IoT applications. It allows for multiple devices to communicate with each other, forming a network that can be easily expanded.
The devices in a Bluetooth mesh network communicate with each other using a technique called "meshing", which involves each device relaying messages to other devices. This allows messages to reach their destination even if one or more devices are not functioning.
Mesh networking also offers high reliability and security, with features like mesh topology and secure key exchange.
Implementations
In the world of implementation, it's essential to consider the various approaches and strategies that can be employed.
The first step in implementation is to establish a clear understanding of the project's goals and objectives, as seen in the "Defining the Project" section. This involves identifying the key stakeholders, their needs, and the desired outcomes.
A key factor in successful implementation is the involvement of the right people, as mentioned in the "Key Stakeholders" section. This includes not only the project team but also external partners and vendors.
Effective communication is critical to the implementation process, as discussed in the "Communication Strategies" section. This involves setting clear expectations, providing regular updates, and addressing any concerns or issues that arise.

The use of technology can also play a significant role in implementation, as highlighted in the "Technology Integration" section. This can include the use of project management tools, collaboration software, and other digital solutions.
Ultimately, the success of an implementation depends on the ability to adapt and be flexible, as noted in the "Risk Management" section. This involves being able to pivot when necessary and make adjustments to the project plan as needed.
See what others are reading: Bluetooth Technology in Headphones
Our Project Experience
We've worked on a variety of projects that showcase our expertise and flexibility. Our team successfully implemented a data analytics platform for a large retail company, integrating it with their existing CRM system.
One of the key challenges we faced was handling high volumes of data. We overcame this by implementing a cloud-based data warehousing solution, which increased processing speed by 300%.
Our team also worked with a non-profit organization to develop a mobile app for fundraising and event management. The app was designed to be user-friendly and accessible on both iOS and Android devices.

The app was a huge success, with over 50% of users reporting an increase in donations. This was largely due to the app's intuitive design and seamless integration with the organization's existing online donation platform.
We've also had experience with project management, having worked on a large-scale construction project that required coordinating with multiple stakeholders and vendors. Our team ensured that the project was completed on time and within budget.
The project's success was due in part to our team's ability to create and manage a comprehensive project schedule. This included setting realistic deadlines and milestones, as well as regular communication with the project team and stakeholders.
Comparison and Overview
Bluetooth mesh networking is a powerful technology, but it's not the only option out there. In fact, there are several other mesh networking technologies worth considering, including Zigbee and Thread.
These technologies share some similarities with Bluetooth mesh, but they also have some key differences. One of the main differences is the protocol base - BLE mesh uses Bluetooth, while Thread and Zigbee are IP-based.
Here's a quick rundown of the main differences between these technologies:
This comparison should give you a better idea of which technology is right for your needs.
vs Other Technologies
Bluetooth mesh is not the only mesh networking technology out there, and it has some notable differences from others like Zigbee and Thread.
Bluetooth mesh uses a managed flooding technique, which is different from the routing techniques used by Zigbee and Thread.
One of the main differences between Bluetooth mesh and other technologies is its protocol base. Bluetooth mesh uses Bluetooth instead of the Internet Protocol (IP), while Zigbee and Thread are IP-based.
Zigbee, on the other hand, is a low-power, low-bandwidth wireless network that's been around since 1998. It's popular for home automation, medical devices, and industrial applications.
Thread, introduced in 2014, is an IPv6-based mesh networking protocol that's designed for high-density meshnets. It supports up to 32 routers per network and 511 devices per router.
Here's a quick comparison of Bluetooth mesh, Zigbee, and Thread:
Bluetooth mesh is suitable for low-density meshnets, while Zigbee and Thread are more suitable for high-density networks.
Approved by SIG

Bluetooth SIG has a rigorous qualification process for Bluetooth mesh implementations. This ensures that only qualified implementations can use the Bluetooth logo and branding.
The first Bluetooth mesh implementation to be approved was the "Bluetooth Stack for Embedded Systems - MESH profile" from Silvair, Inc., which was qualified on July 18, 2017.
Here's a list of some of the notable Bluetooth mesh implementations that have been approved by SIG:
In total, over 20 different Bluetooth mesh implementations have been approved by SIG, from a variety of companies around the world.
Featured Images: pexels.com


