Bluetooth Mesh

<\/script>\n
'; }, get iframeSnippet() { const domain = '{ SITE_DOMAIN }'; const type = '{ embed_type }'; const slug = '{ embed_slug }'; return ''; }, get activeSnippet() { return this.method === 'script' ? this.scriptSnippet : this.iframeSnippet; }, copySnippet() { navigator.clipboard.writeText(this.activeSnippet).then(() => { this.copied = true; setTimeout(() => { this.copied = false; }, 2000); }); } }" @keydown.escape.window="open = false" @click.outside="open = false">

Embed This Widget

Theme


      
    

Widget powered by . Free, no account required.

A many-to-many networking protocol built on top of BLE advertising, enabling hundreds of devices to communicate in a mesh topology.

Also known as: BLE Mesh BT Mesh

What Is Bluetooth Mesh?

Bluetooth Mesh is a networking protocol built on top of BLE's advertising bearer and connection-oriented bearer that enables many-to-many communication across hundreds or thousands of nodes. Unlike point-to-point BLE connections, Mesh creates a decentralized network topology where messages can traverse multiple hops to reach distant devices, making it suitable for large-scale IoT deployments such as commercial lighting, building automation, and industrial sensor networks.

Architecture Layers

Bluetooth Mesh adds several layers above the standard BLE stack:

Layer Function
Model Application behavior (e.g., Generic OnOff, Light Lightness)
Access Encryption/decryption, message formatting
Upper Transport Application-key encryption, segmentation
Lower Transport Network-key encryption, segmentation/reassembly
Network Addressing, relay, TTL management
Bearer Advertising bearer (default) or ATT">GATT Proxy bearer

Message Delivery

The default message delivery mechanism is managed flooding: when a relay node receives a message, it rebroadcasts it on the advertising channels. A Time-to-Live (TTL) counter decrements at each hop, preventing infinite loops. Bluetooth Mesh 1.1 introduced directed forwarding as an alternative that routes messages along discovered paths, reducing unnecessary rebroadcasts.

Addressing

Mesh supports four address types:

  • Unicast -- assigned to each node during provisioning, unique within the network (0x0001 -- 0x7FFF).
  • Group -- pre-defined or admin-assigned multicast addresses (0xC000 -- 0xFEFF). Nodes subscribe to groups to receive relevant messages.
  • Virtual -- 128-bit UUID-based addresses hashed to a 16-bit value, offering a larger address space.
  • All-nodes -- broadcast to every node in the network (0xFFFF).

Security

Bluetooth Mesh uses two layers of AES-128-CCM encryption. The Network Key (NetKey) encrypts at the network layer, authenticating that the sender belongs to the network. The Application Key (AppKey) encrypts at the application layer, ensuring only nodes with the correct AppKey can read the message content. This separation means relay nodes can forward messages without being able to read application payloads.

Provisioning and Management

New devices join the network through provisioning, typically driven by a smartphone app acting as the provisioner. The provisioner assigns unicast addresses, distributes the NetKey, and optionally assigns AppKeys and group subscriptions. The Configuration Server model on each node allows remote management of these settings after provisioning.

Related Terms

Frequently Asked Questions

Our glossary covers 90+ BLE technical terms organized by category. Each term includes a definition, related terms, and links to relevant chips and guides.