Chapters

3 Bluetooth: BLE Profiles and Operations

networking
wireless
bluetooth
ble
iot

3.1 Start With the Decision

A sensor that sends one short value should not hold an audio link open. BLE roles and GATT shape its power and data path.

3.2 Route Overview

This is part 1 of 2. Continue with Bluetooth: Radio, Channels, and Piconets.

3.3 Part Objectives

  • Choose Classic or BLE from rate, delay, and power needs.
  • Map advertising, connection, and GATT operations.

3.4 Chapter Roadmap

  • Start With the Story
  • Phoebe’s Field Notes: Why 79 Channels Share One Antenna Length
  • Bluetooth Fundamentals for IoT
  • Build the Bluetooth Fundamentals Record
  • Radio, Link, GATT, and Operations Boundaries
  • BLE Advertising & Scanning Game

3.5 Start With the Story

A small wireless device can stream sound, send a brief signal and return to sleep, or hold a data connection open. These choices change battery life and speed. Latency means the delay between an action and its result. A gateway is a device that passes data between a local Bluetooth device and another network.

Bluetooth Low Energy (BLE) is the low-power form of Bluetooth. The Generic Attribute Profile (GATT) is the way a connected BLE device organises and exchanges data. This chapter breaks Bluetooth into visible steps: announcing a device, finding it, choosing roles, connecting, and exchanging data. You can then explain a design as a trade-off instead of merely ticking a Bluetooth box.

The mathematical gist. Across the chapter’s 2402–2480 MHz Classic hop set, wavelength falls from 124.9 to 120.97 mm and quarter-wave length changes by only 0.982 mm. At 10 m, the deterministic free-space-loss change is just 0.278 dB—small enough that larger channel differences point to fading or interference, not band-edge range.

Math Bridge · guided foundationsWhy can one antenna cover all 79 Classic channels?Let Radio Remi turn the hop frequencies into wavelength, antenna length, and baseline loss.

3.6 Bluetooth Fundamentals for IoT

Start with the behaviour, not the logo. Classic Bluetooth usually carries steady streams such as audio and supports older, well-known device profiles. BLE usually carries short exchanges such as sensor reports, beacons, phone setup, and small control messages. A duty cycle is the share of time for which the radio is active. Short duty cycles let a BLE device sleep for longer. Bluetooth Mesh is a managed way for many devices to pass control messages. It is not simply one phone connection made larger.

The key idea is that “Bluetooth works” is not one claim. Discovery means that another device can find it. Pairing creates a trusted relationship. Connection setup opens a data path. GATT services describe the data available on that path. Timing, power use, privacy, phone support, and recovery after failure each need their own test.

Radio Remi, the wireless guide

Radio Remi

“Range, power, and data-rate is a triangle — pick two honestly, then measure the third in the real room.”

Through this chapter, Remi tags each Bluetooth behavior with its band, its trade, and the room measurement that proves it.

Inspect Figure 3.1. It shows that Classic and BLE share basic controller and radio functions. Their higher-level rules are different. The figure turns the vague phrase “Bluetooth support” into a set of parts that can be tested.

Bluetooth protocol stack contrasting Classic Bluetooth and Bluetooth Low Energy host, transport, interface, controller, and radio layers.
Figure 3.1: Bluetooth protocol boundaries separating Classic profiles and the BLE host stack above shared controller and radio functions

Read Figure 3.1 from the 2.4 GHz radio at the bottom upward. The controller runs the radio. A host interface connects that controller to the main software. On the BLE side, L2CAP carries the rules used by ATT/GATT and SMP. GAP defines how devices are found and which role each device takes. Classic Bluetooth uses different higher-level rules for steady streams. This explains a practical choice. A shipping logger can send short announcements and offer brief GATT reads, so BLE fits. A headset sends steady audio, so it needs different evidence for its profile, timing, compatibility, and power use.

One product may use several of these behaviours. During warehouse setup, a phone may act as the central device and write settings. During transport, gateways may only listen for announcements. During service, a technician may connect and read fault details. Calling all three cases “BLE support” hides important differences. Record the behaviour being approved, the other device involved, the data that moves, and the change that would require another test.

If you only need the intuition, this layer is enough: use Classic Bluetooth for sustained compatibility streams, BLE for small local IoT exchanges that can sleep between radio events, and mesh only when the provisioning, relay, security, and operations model are explicitly reviewed.

3.6.1 The Fundamental Choice

Classic behavior

Review continuous connection behavior, audio or legacy profile fit, controller support, and whether the product can tolerate the active-link power model.

BLE behavior

Review advertising, scanning, connection intervals, GATT services, characteristics, notifications, writes, and sleep behavior for the real device.

Application meaning

Profiles, services, permissions, characteristic properties, and app or gateway mapping define what the bytes mean.

Evidence boundary

Approve only the tested phones, firmware, enclosure, radio environment, security flow, battery target, and recovery behavior.

3.6.2 Common Beginner Distinctions

  • Advertising proves visibility; it does not prove connected data exchange.
  • A connection proves link setup; it does not prove the correct service, characteristic, permission, or application value.
  • A BLE label suggests low-power design potential; it does not prove the actual duty cycle or battery life.
  • A phone demo is useful evidence, but it should stay bounded to the tested phone, operating system, app permissions, firmware, and recovery path.

3.6.3 Overview Knowledge Check

3.7 Build the Bluetooth Fundamentals Record

A practical Bluetooth fundamentals record explains why the chosen Bluetooth behavior fits the IoT job. It should show the device role, traffic pattern, receiver population, service model, timing, security ceremony, power expectation, and retest trigger. This keeps design review from sliding between Classic, BLE, advertising, connection, GATT, mesh, and gateway claims.

Use this record early. Before writing firmware, it catches mismatches such as selecting BLE for sustained high-rate traffic, using a beacon when the app needs acknowledged commands, or assuming a phone setup flow works across every phone and permission state.

Area
Review Question
Evidence To Capture
Weak Claim
Job fit
What does the product need Bluetooth to do?
Audio stream, sensor report, command, setup, beacon, local diagnostics, mesh control, or gateway handoff.
"Use Bluetooth because phones support it."
Mode and role
Which Bluetooth behavior is in scope?
Classic, BLE connection, BLE advertising, central, peripheral, broadcaster, observer, gateway, or mesh role.
"BLE, Classic, and mesh are interchangeable because they share the brand."
Data model
What exactly moves across the link?
Profile, GATT service, characteristic, property, permission, command, notification, indication, payload, and app mapping.
"A connection means the right application value was exchanged."
Timing and power
Can the schedule meet latency and battery goals?
Advertising interval, scan window, connection interval, peripheral latency, payload size, retry behavior, wake cost, and sleep state.
"BLE means the battery target is automatically safe."
Trust and recovery
How does the product handle pairing, ownership, and failure?
Pairing method, bonding rule, authorization, privacy, reset, reprovisioning, lost-phone handling, and partial-setup recovery.
"Phone discovery is enough to prove safe ownership."

3.7.1 Worked Review: BLE Sensor Reporting

A battery sensor sends a small reading to a phone app. The record should approve only the tested reporting workflow: the device is a BLE peripheral, the phone acts as central, the service and characteristic are known, the value format is documented, notification or read behavior is tested, pairing or authorization is defined, and reconnection after phone absence is observed.

Power approval needs its own evidence. The review should record the advertising schedule, connection behavior, payload size, sleep state, failed-connection recovery, and the device conditions that require retest.

3.7.2 Worked Review: Setup-Only BLE

A product may use BLE only for commissioning before it joins Wi-Fi, Thread, cellular, or another network. That is a setup workflow, not proof that BLE is the product data network. Review who can discover the setup mode, how the product proves ownership, how credentials are protected, what timeout ends setup mode, and how the device recovers from a failed or interrupted setup.

3.7.3 Practitioner Knowledge Check

3.8 Radio, Link, GATT, and Operations Boundaries

Bluetooth behavior moves through several evidence boundaries. A device may be visible during advertising, connect as the expected role, expose services through GATT, exchange an application value, and then recover after disconnection. Each boundary can pass or fail independently.

That separation matters because the fix changes by boundary. A scan problem may involve advertising interval, phone permissions, or RF placement. A read problem may involve pairing, service discovery, characteristic properties, or app mapping. A power problem may involve connection interval, retry behavior, sleep state, or a failed reconnection loop.

Boundary
What It Proves
What It Does Not Prove
Retest Trigger
Advertising and scanning
The device can be discovered or observed under the tested advertising, scan, placement, and permission conditions.
Connection, pairing, GATT access, application behavior, or battery life.
Advertising interval, enclosure, antenna, phone OS, app permission, RF environment, or firmware change.
Connection and role
The expected central, peripheral, Classic, or connected BLE behavior occurs under the reviewed conditions.
Correct service model, authorization, notification behavior, app meaning, or long-term power target.
Connection parameters, phone population, controller firmware, bonding rule, or reconnection requirement change.
GATT and profiles
The service, characteristic, property, permission, command, notification, or indication evidence matches the product claim.
Gateway interpretation, cloud behavior, safety outcome, privacy policy, or future profile compatibility.
Service schema, characteristic property, app mapping, authorization, firmware, or gateway change.
Operations
The approved workflow has ownership, reset, reprovisioning, monitoring, lost-device handling, and retest rules.
That every future phone, enclosure, deployment site, battery condition, or owner will behave the same way.
Owner transfer, phone app change, site change, support process change, fleet update, or battery change.

3.8.1 Diagnosis Pattern

  1. Keep the symptom narrow. Decide whether the failure is discovery, connection, pairing, GATT access, notification timing, application meaning, power, or recovery.
  2. Preserve known-good lower evidence. If the phone can discover the device, do not erase that evidence while debugging GATT access.
  3. Change one boundary at a time. Phone OS, app permission, firmware, enclosure, antenna, connection schedule, and service schema changes should be tested separately.
  4. Record what remains unproven. A lab phone and one firmware build do not prove all phones, all sites, all batteries, or all ownership transitions.

3.9 BLE Advertising & Scanning Game

3.10 Continue to the Next Part

Carry this evidence into Bluetooth: Radio, Channels, and Piconets, which begins with How Bluetooth Works: Radio, Channels, and Piconets.