ArticleslgStudy

computer science

Bluetooth mesh networking

Bluetooth mesh networking is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Bluetooth mesh networking rather than just read about it. In short: Bluetooth Mesh is a computer mesh networking standard based on Bluetooth Low Energy that allows for many-to-many communication over Bluetooth radio. The Bluetooth Mesh specifications were defined in the Mesh Profile and Mesh Model specifications by the Bluetooth Special Interest Group (Bluetooth SIG).

Bluetooth mesh networking — main illustration
Bluetooth mesh networking — illustration

Key takeaways

  • Bluetooth mesh networking belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Bluetooth mesh networking to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Bluetooth mesh networking from memory before moving on to harder problems.

Reference excerpt

Bluetooth Mesh is a computer mesh networking standard based on Bluetooth Low Energy that allows for many-to-many communication over Bluetooth radio. The Bluetooth Mesh specifications were defined in the Mesh Profile and Mesh Model specifications by the Bluetooth Special Interest Group (Bluetooth SIG). Bluetooth Mesh was conceived in 2014 and adopted on July 13, 2017 (2017-07-13).

Overview Bluetooth Mesh is a mesh networking standard that operates on a flood network principle. It is based on the nodes relaying the messages: every relay node that receives a network packet that

authenticates against a known network key is not in message cache has a TTL ≥ 2 can be retransmitted with TTL = TTL − 1. Message caching is used to prevent relaying recently seen messages. Communication is carried in the messages that may be up to 384 bytes long, when using Segmentation and Reassembly (SAR) mechanism, but most of the messages fit in one segment, that is 11 bytes. Each message starts with an opcode, which may be a single byte (for special messages), 2 bytes (for standard messages), or 3 bytes (for vendor-specific messages). Every message has a source and a destination address, determining which devices process messages. Devices publish messages to destinations which can be single things / groups of things / everything. Each message has a sequence number that protects the network against replay attacks. Each message is encrypted and authenticated. Two keys are used to secure messages: (1) network keys – allocated to a single mesh network, (2) application keys – specific for a given application functionality, e.g. turning the light on vs reconfiguring the light. Messages have a time to live (TTL). Each time a message is received and retransmitted, TTL is decremented which limits the number of "hops", eliminating endless loops.

Architecture Bluetooth Mesh has a layered architecture, with multiple layers as below.

Types of nodes Nodes that support the various features can be formed into a particular mesh network topology.

Theoretical limits The practical limits of Bluetooth Mesh technology are unknown. Some limits that are built into the specification include:

Mesh models As of version 1.0 of Bluetooth Mesh specification, the following standard models and model groups have been defined:

Foundation models Foundation models have been defined in the core specification. Two of them are mandatory for all mesh nodes.

Configuration Server (mandatory) Configuration Client Health Server (mandatory) Health Client

Generic models Generic OnOff Server, used to represent devices that do not fit any of the model descriptions defined but support the generic properties of On/Off Generic Level Server, keeping the state of an element in a 16-bit signed integer Generic Default Transition Time Server, used to represent a default transition time for a variety of devices Generic Power OnOff Server & Generic Power OnOff Setup Server, used to represent devices that do not fit any of the model descriptions but support the generic properties of On/Off Generic Power Level Server & Generic Power Level Setup Server, including a Generic Power Actual state, a Generic Power Last state, a Generic Power Default state and a Generic Power Range state Generic Battery Server, representing a set of four values representing the state of a battery Generic Location Server & Generic Location Setup Server, representing location information of an element, either global (Lat/Lon) or local Generic User/Admin/Manufacturer/Client Property Server, representing any value to be stored by an element Generic OnOff Client & Generic Level Client Generic Default Transition Time Client Generic Power OnOff Client & Generic Power Level Client Generic Battery Client Generic Location Client Generic Property Client

Sensors Sensor Server & Sensor Setup Server, representing a sensor device. Sensor device may be configured to return a measured value periodically or on request; measurement period (cadence) may be configured to be fixed or to change, so that more important value range is being reported faster. Sensor Client

Time and scenes Time Server & Time Setup Server, allowing for time synchronization in mesh network Scene Server & Scene Setup Server, allowing for up to 65535 scenes to be configured and recalled when needed. Scheduler Server & Scheduler Setup Server Time Client, Scene Client & Scheduler Client

Lighting Light Lightness Server & Light Lightness Setup Server, representing a dimmable light source Light CTL Server, Light CTL Temperature Server & Light CTL Setup Server, representing a CCT or "tunable white" light source Light HSL Server, Light HSL Hue Server, Light HSL Saturation Server & Light HSL Setup Server, representing a light source based on Hue, Saturation, Lightness color representation Light xyL Server & Light xyL Setup Server, representing a light source based on modified CIE xyY color space. Light LC (Lightness Control) Server & Light LC Setup Server, representing a light control device, able to control Light Lightness model using an occupancy sensor and ambient light sensor. It may be used for light control scenarios like Auto-On, Auto-Off and/or Daylight Harvesting. Light Lightness Client, Light CTL Client, Light HSL Client, Light xyL Client & Light LC Client

Provisioning Provisioning is a process of installing the device into a network. It is a mandatory step to build a Bluetooth Mesh network. In the provisioning process, a provisioner securely distributes a network key and a unique address space for a device. 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. It also provides various authentication mechanisms to protect network information, from an active eavesdropper who uses man-in-the-middle attack, during provisioning process. A key unique to a device known as "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 security of the provisioning process has been analyzed in a paper presented during the IEEE CNS 2018 conference. The provisioning can be performed using a Bluetooth GATT connection or advertising using the specific bearer.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Bluetooth mesh networking

Start with the simplest possible case. Write down what Bluetooth mesh networking claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Bluetooth mesh networking before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Bluetooth mesh networking ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Bluetooth mesh networking

In research
Bluetooth mesh networking appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Bluetooth mesh networking in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Bluetooth mesh networking is common in secondary-school and first-year university syllabi. It links to neighbouring topics Bluetooth, Mesh networking, Open standards, so understanding it makes those chapters shorter.
In everyday life
Look for Bluetooth mesh networking outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Bluetooth mesh networking” →

How to study Bluetooth mesh networking in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Bluetooth mesh networking means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Bluetooth mesh networking out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Bluetooth mesh networking in simple terms?

Bluetooth Mesh is a computer mesh networking standard based on Bluetooth Low Energy that allows for many-to-many communication over Bluetooth radio. The Bluetooth Mesh specifications were defined in the Mesh Profile and Mesh Model specifications by the Bluetooth Special Interest Group (Bluetooth SI…

Why does Bluetooth mesh networking matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Bluetooth mesh networking?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Bluetooth mesh networking.

Tags

  • Bluetooth
  • Mesh networking
  • Open standards

Keep exploring