Bluetooth & BLE · Study deck

Quizzes and Practice Problems

Worked example: For a 15-question quiz, target correct answers are $\lceil 0.8 \times 15 \rceil = 12$.

Radio Remi is your guide for this deck.

wifiindoorpositioning
Radio Remi, the module guide, in a scene from this chapter.
iotclass.org

After studying this chapter

Learning objectives

You will be able to:

  • Explain: The chapter’s 3 Mbit/s Classic EDR and 2 Mbit/s BLE figures use about 45.1% and 15.0% of those ceilings: practical low-power radios deliberately leave capacity unused.
  • Explain: The scenario questions shift from recall to diagnosis: each stem gives you the product constraint, and the correct answer is the one that explains the failure mode without inventing extra evidence.
  • Explain: The useful test is whether a learner can look at a product situation and choose the role, GATT model, pairing method, key behavior, implementation check, or debugging evidence that fits.
iotclass.org

Major section

In 60 Seconds

The designer must decide how it advertises, connects, shares data, saves power, protects the user, and recovers when the phone disappears.

  • A list of radio terms is not enough.
  • This opening does not answer every quiz or choose one mode for all products.
iotclass.org

Major section

Phoebe's Field Notes: What The Channel Actually Carries

The mathematical gist.: At 20 dB SNR, Shannon’s ceiling is 6.66 Mbit/s for a 1 MHz channel and 13.3 Mbit/s for 2 MHz.

  • The chapter’s 3 Mbit/s Classic EDR and 2 Mbit/s BLE figures use about 45.1% and 15.0% of those ceilings: practical low-power radios deliberately leave capacity unused.
iotclass.org

Major section

For Beginners: Bluetooth Assessment

This assessment tests your knowledge of Bluetooth and BLE (Bluetooth Low Energy) technology.

  • Working through these questions helps solidify the concepts covered in earlier chapters.
iotclass.org

Major section

The Bluetooth Challenge

Classic is for streaming audio and transferring files, while BLE is for tiny sensor readings that need to last months on a battery.".

  • Temperature Terry raised a question. "What is the biggest difference I should remember?" Max held up two fingers. "Two things: power and data pattern.
  • BLE sends short bursts and sleeps between them.
iotclass.org

Major section

The Bluetooth Challenge (continued)

"Do not forget about GATT!" added the LED. "It is the language BLE devices use to share data.

  • Services group related data together, and characteristics hold the actual values.
  • A heart rate monitor has a Heart Rate Service with a Heart Rate Measurement characteristic.
  • Knowing this structure is key to understanding any BLE device.".
iotclass.org

Major section

Scenario-Based Questions

This keeps the questions tied to product reasoning rather than isolated recall.

  • The scenario questions shift from recall to diagnosis: each stem gives you the product constraint, and the correct answer is the one that explains the failure mode without inventing extra evidence.
iotclass.org

Major section

Start With the Story

A Bluetooth assessment is not a memory contest.

  • The useful test is whether a learner can look at a product situation and choose the role, GATT model, pairing method, key behavior, implementation check, or debugging evidence that fits.
  • For each answer, ask what observable proof would make the claim true on a real device.
iotclass.org

Major section

Assessment Drill: BLE Advertising Edge Cases

Advertising says a device exists and what interaction it permits; GATT carries application data after connection.

  • Legacy advertising uses primary channels 37, 38, and 39 at 2402, 2426, and 2480 MHz.
  • A legacy advertisement has a 31-byte payload budget.
  • Active scanning adds the request-response exchange, but only for scannable advertising types.

Numbers to remember

31 bytesThe scan-response exchange is: advertiser sends ADV_IND with up to 31 bytes
iotclass.org

Major section

Assessment Drill: BLE Advertising Edge Cases (continued)

If one advertising channel is noisy, the other two can still carry discovery traffic; after connection, BLE moves to the data-channel map across channels 0-36.

  • Flags, a short name, a service UUID, manufacturer data, and calibrated Tx power can fill it quickly.
  • The scan-response exchange is: advertiser sends ADV_IND with up to 31 bytes, active scanner replies with SCAN_REQ, advertiser returns SCAN_RSP with a second 31-byte payload.
  • A non-connectable, non-scannable beacon cannot provide a scan response unless the advertising type changes too.
iotclass.org

Major section

Debate: Wi-Fi vs. BLE for Indoor Positioning

This scenario is drawn from a hospital asset-tracking deployment and is meant to be worked through as a design-decision exercise, not just read.

  • The hospital wants room-level location, long tag life, and a system the support team can maintain.
  • A strong signal on a plan does not prove a useful position.

Key terms

Wi-Fi
Wi-Fi is the local wireless network used by many phones and computers.
iotclass.org

Major section

Debate: Wi-Fi vs. BLE for Indoor Positioning (continued)

The nurse needs a quick useful place, not a perfect map.

  • Wi-Fi is the local wireless network used by many phones and computers.
  • Bluetooth Low Energy, or BLE, is a shorter-range radio designed for small, low-power exchanges.
  • Under the Hood explains signal fingerprints, beacon geometry, reflections, calibration, and error bounds.
iotclass.org

Major section

Debate: Wi-Fi vs. BLE for Indoor Positioning (continued)

The design team should first name the required area, update time, accuracy, battery life, privacy rule, and response when a tag is missing.

  • The support worker needs a clear way to find dead tags and moved equipment.
  • A basement store, lift, or crowded ward may decide whether the service is safe to trust.
  • Scenario: A hospital needs to track 200 medical equipment items in a 50,000 sq ft facility with 1-meter accuracy.
iotclass.org

Major section

1. Confusing Classic and BLE Assessment Questions

Classic Bluetooth and BLE have fundamentally different channel architectures (79 vs 40 channels), connection models (piconet vs central/peripheral), and power profiles.

  • When answering assessment questions, identify which variant is being asked about.
  • BLE advertising channels are specifically channels 37, 38, 39; all other 37 channels are data channels.
iotclass.org

Major section

3. Overlooking Bluetooth Mesh in Architecture Questions

When asked about BLE network topologies for large deployments (>7 devices), the piconet 7-device limit is a Classic Bluetooth constraint.

  • BLE Mesh (Bluetooth 5.0+) supports thousands of nodes using publish/subscribe flooding.
iotclass.org

Major section

Key Takeaway

Bluetooth assessment answers should justify the wireless choice, topology, connection mode, profile, security method, and power trade-off.

  • Naming BLE or Classic is not enough without explaining why it fits the product constraint.
iotclass.org

Deck summary

Key takeaways

The designer must decide how it advertises, connects, shares data, saves power, protects the user, and recovers when the phone disappears.

  • The mathematical gist.: At 20 dB SNR, Shannon’s ceiling is 6.66 Mbit/s for a 1 MHz channel and 13.3 Mbit/s for 2 MHz.
  • This assessment tests your knowledge of Bluetooth and BLE (Bluetooth Low Energy) technology.
  • Classic is for streaming audio and transferring files, while BLE is for tiny sensor readings that need to last months on a battery.".
  • "Do not forget about GATT!" added the LED. "It is the language BLE devices use to share data.
iotclass.org

Retrieval practice

Recall check 1 of 3

Radio Remi says: answer from memory, then check your reasoning.

Q1A Bluetooth review answer recommends a design choice. What makes the answer defensible?

AIt ties the choice to the scenario, device roles, power budget, topology, GATT or profile behavior.
BA statement that Bluetooth is common in consumer devices, without checking this deployment
CA successful connection screenshot with no power, security, or failure-behavior evidence
DA decision to defer retest triggers until after deployment problems appear
Show answer

Answer: A Review answers should connect Bluetooth decisions to scenario evidence and explicit limits.

Q2Which Bluetooth profile is used for wireless keyboards?

AHID (Human Interface Device) Profile
BA2DP (Advanced Audio Distribution)
CSPP (Serial Port Profile)
DHFP (Hands-Free Profile)
Show answer

Answer: A HID Profile for keyboards, mice, game controllers.

iotclass.org

Retrieval practice

Recall check 2 of 3

Radio Remi says: answer from memory, then check your reasoning.

Q3Your BLE temperature sensor advertises every 1 second with 31 bytes of data. After deployment, you notice smartphone battery drains faster than expected when the app is running. What's the optimization?

AIncrease advertising interval to reduce phone scanning
BReduce advertising packet size to save power
CSwitch to Classic Bluetooth for more efficient continuous connection
DUse a GATT connection with Notify
Show answer

Answer: D GATT connection is more efficient than continuous advertising scanning.

Q4What is Bluetooth's frequency hopping rate?

A160 hops per second
B1600 hops per second
C16,000 hops per second
D16 hops per second
Show answer

Answer: B 1600 hops per second across 79 channels (Classic) or 40 channels (BLE).

iotclass.org

Retrieval practice

Recall check 3 of 3

Radio Remi says: answer from memory, then check your reasoning.

Q5Complete the BLE advertisement data parser for IoT sensor beacons:

Aif adv_data.manufacturer_data:
Bif device.has_manufacturer_data():
Cif adv_data.get_manufacturer():
Dif device.manufacturer_data is not None:
Show answer

Answer: A BleakScanner supports a detection_callback for real-time processing.

Q6For a BLE-connected medical device that transmits patient health data, what is the minimum acceptable security configuration?

AJust Works pairing for easy user setup
BLegacy pairing with a 6-digit PIN
CLE Secure Connections with ECDH encryption and authenticated pairing
DNo pairing needed if the device uses MAC address filtering
Show answer

Answer: C Correct!

iotclass.org

Print reference

Answers

Answer key.

  1. A · Review answers should connect Bluetooth decisions to scenario evidence and explicit limits.
  2. A · HID Profile for keyboards, mice, game controllers.
  3. D · GATT connection is more efficient than continuous advertising scanning.
  4. B · 1600 hops per second across 79 channels (Classic) or 40 channels (BLE).
  5. A · BleakScanner supports a detection_callback for real-time processing.
  6. C · Correct!
iotclass.org