Bluetooth & BLE · Study deck

Bluetooth: Radio, Channels, and Piconets

Bluetooth shares 2.4 GHz with Wi-Fi and other radios.

Radio Remi is your guide for this deck.

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 master opens the exchange, a slave replies in its scheduled direction, and a three- or five-slot packet holds one hop frequency for its full duration before the next transmission changes channel.
  • Explain: Once connected, the peers agree on an access address, hop increment, channel map, and connection timing; private addressing and identity keys can keep the product from being tracked by a fixed radio address.
  • Explain: That division sets up Figure: Classic Bluetooth frequency hops traced in time order: channels provide the available places, while the hopping sequence decides which place the link uses next.
iotclass.org

Major section

Start With the Decision

Bluetooth shares 2.4 GHz with Wi-Fi and other radios.

  • Hopping means switching radio channels during a link.
  • A piconet is a small Bluetooth group with one device coordinating others.
  • Those rules help keep a usable link.
  • Bluetooth Low Energy (BLE) is the low-power form covered later in this route.
iotclass.org

Major section

How Bluetooth Works: Radio, Channels, and Piconets

Behind the discovery-and-GATT behavior above sits a specific radio design.

  • The title's promise — how Bluetooth actually works — comes down to three ideas: the 2.4 GHz band, frequency hopping, and the piconet.
  • Adaptive Frequency Hopping strengthens that behavior by excluding channels observed as busy, provided enough usable spectrum remains.

Key terms

One valid split
One valid split is 339 bytes in DH5 followed by 111 bytes in DH3 (whose maximum is 183).

Why it matters

Whitening prevents long runs and persistent spectral patterns; it does not hide the data from an observer who knows the public procedure.

BLE channel map separating three advertising channels from 37 connected data channels
BLE channel map separating three advertising channels from 37 connected data channels
iotclass.org

Major section

How Bluetooth Works: Radio, Channels, and Piconets (continued)

One valid split is 339 bytes in DH5 followed by 111 bytes in DH3 (whose maximum is 183).

  • Classic Bluetooth divides the band into 79 channels of 1 MHz; BLE uses 40 channels of 2 MHz, but the picture makes the three advertising channels' deliberate spacing easier to reason about.
  • A basic-rate packet also carries an access code and header before its payload.
  • Construction is easiest to remember as a coding pipeline.
iotclass.org

Major section

How Bluetooth Works: Radio, Channels, and Piconets (continued)

BLE changes the link setup vocabulary.

  • Advertising uses the sparse trio to improve the chance that discovery avoids a busy Wi-Fi region; after connection, peers move across the data-channel set.
  • The alternation connects topology to throughput: framing, reply opportunities, polls, and slot boundaries all consume airtime.
  • Packet processing has a strict direction.
iotclass.org

Major section

How Bluetooth Works: Radio, Channels, and Piconets (continued)

For the example above, the first encoded pair 11 becomes 1100 1100 under S=8.

  • That division sets up Figure: Classic Bluetooth frequency hops traced in time order: channels provide the available places, while the hopping sequence decides which place the link uses next.
  • Packet review must therefore count the access code, header, CRC, coding, and retransmissions before turning a nominal bit rate into an application transfer promise.
  • These stages protect different failure boundaries.
iotclass.org

Major section

How Bluetooth Works: Radio, Channels, and Piconets (continued)

Its identity comes from a 24-bit Lower Address Part (LAP), but the transmitted access code also contains synchronization redundancy.

  • Classic Bluetooth's physical layer uses Gaussian frequency-shift keying at the basic 1 Mbps rate, with enhanced data-rate modes using phase-shift keying for 2 and 3 Mbps payloads.
  • That final overlay leaves the LAP/Barker information recoverable while scrambling the parity structure.
  • The pattern mapper then sets the final symbol expansion.
iotclass.org

Major section

How Bluetooth Works: Radio, Channels, and Piconets (continued)

This derivation also explains the coding indicator.

  • The master opens the exchange, a slave replies in its scheduled direction, and a three- or five-slot packet holds one hop frequency for its full duration before the next transmission changes channel.
  • A peripheral sending 450 user bytes at the 1 Mb/s basic rate cannot put them in one DH5 packet: DH5 carries at most 339 user bytes.
  • The CRC detects residual accidental corruption.
iotclass.org

Major section

How Bluetooth Works: Radio, Channels, and Piconets (continued)

The seven-active-device limit belongs to Classic piconets, not BLE connections.

  • Without encryption, the first packet uses 72 + 54 + 16 (payload header) + 339 × 8 + 16 (CRC) = 2,870 on-air bits; the second uses 72 + 54 + 16 + 111 × 8 + 16 = 1,046 bits.
  • A four-bit alternating preamble is selected from the first sync-word bit so the transition into synchronization is unambiguous.
  • Its coding indicator selects the mapper for the second block.
iotclass.org

Major section

How Bluetooth Works: Radio, Channels, and Piconets (continued)

Defined FHS exceptions use the peripheral UAP or the Default Check Initialization during page/inquiry response.

  • ID packets used by inquiry and paging omit the following header and use the shorter access-code form appropriate to that packet.
  • The LAP remains recoverable from the known construction, so the access code is a synchronizer and correlator, not a confidentiality mechanism.
  • The result is already twice as many coded bits as information bits.
iotclass.org

Major section

How Bluetooth Works: Radio, Channels, and Piconets (continued)

Confusing that acquisition code with authentication would let any radio that can synthesize the sequence masquerade as the expected piconet at the physical boundary.

  • For ordinary connected packets, the Header Error Check is generated by an eight-bit linear-feedback shift register initialized from the central's Upper Address Part (UAP).
  • The resulting 18 bits are whitened with the Classic whitening sequence, whose LFSR seed is normally derived from the central clock for the current slot; inquiry/page-response exceptions use their specified hopping input.
  • The PDU and CRC are whitened so their transmitted symbols do not retain data-dependent DC patterns.
iotclass.org

Major section

How Bluetooth Works: Radio, Channels, and Piconets (continued)

Band: every basic-rate packet carries 72 bits of access code and 54 bits of header before one byte of payload.

  • Trade: packet limits, slot boundaries, and the coded header are why a 1 Mb/s radio rarely delivers 1 Mb/s of payload -- 450 bytes land at 576 kb/s in this two-packet example.
  • Each piconet still has its own clock, hop sequence, polling behavior, and active-member limit, so bridge behavior belongs in the capacity and latency evidence.
  • A peripheral advertises periodically, often somewhere between tens of milliseconds and several seconds depending on power and discovery needs.
iotclass.org

Major section

How Bluetooth Works: Radio, Channels, and Piconets (continued)

The common advertising packet types are ADV_IND for general connectable advertising, ADV_DIRECT_IND for a directed connection attempt, ADV_NONCONN_IND for broadcast-only information, and ADV_SCAN_IND when scan responses may add more data.

  • Once connected, the peers agree on an access address, hop increment, channel map, and connection timing; private addressing and identity keys can keep the product from being tracked by a fixed radio address.
  • Bluetooth 5 added PHY choices that should be named in design evidence: LE 1M, LE 2M, and LE Coded.
  • Encryption and the integrity code protect confidentiality and authenticity for the fields within their scope.
iotclass.org

Major section

How Bluetooth Works: Radio, Channels, and Piconets (continued)

Stronger coding stretches airtime to improve weak-link robustness, so the choice must remain connected to throughput and battery evidence.

  • LE Coded uses redundancy for range, commonly described as S=2 around 500 kbit/s or S=8 around 125 kbit/s, while leaving the preamble and access-address handling visible as lower-layer evidence.
  • The trade is deliberate: coded packets can survive weaker links, but the extra symbols stretch airtime and can reduce throughput or battery life if the product only needed a short-range link.
  • Band: advertising uses three of 40 channels, repeating between tens of milliseconds and several seconds.
iotclass.org

Major section

How Bluetooth Works: Radio, Channels, and Piconets (continued)

Starting from an all-zero encoder state, the input bits 1 0 1 1 therefore produce pairs 11 10 00 10.

  • The receiver's Viterbi decoder does not decide each pair independently; it searches the permitted state transitions for the most likely complete path, which is how redundancy repairs some symbol errors.
  • With coding scheme S=2, each convolutional-encoder bit maps to one transmitted symbol, so one information bit becomes two symbols overall.
  • With S=8, each encoder bit maps to four symbols (0 to 0011, 1 to 1100), so one information bit becomes eight symbols overall.
iotclass.org

Major section

How Bluetooth Works: Radio, Channels, and Piconets (continued)

Trade: tiny packets and long sleeps keep the radio off — battery bought with discovery latency.

  • The larger Hamming separation gives the receiver more evidence on a weak link, but it consumes four times the airtime of the S=2 mapping for the same convolutional output.
  • The first coded block must be decodable before the receiver knows whether the later PDU uses S=2 or S=8, so the access-address-following control block uses the fixed, robust S=8 path.
  • Whitening prevents long runs and persistent spectral patterns; it does not hide the data from an observer who knows the public procedure.
iotclass.org

Major section

Figure Review: Classic Acquisition and Protected Bits

Classic Bluetooth acquisition begins with a synchronization identity before the receiver can interpret the protected header and payload.

  • Encryption, integrity checking, coding, and RF mapping protect different failure boundaries and must remain in the correct order.
Classic Bluetooth access-code purposes and packet position.
Classic Bluetooth access-code purposes and packet position.
iotclass.org

Deck summary

Key takeaways

Bluetooth shares 2.4 GHz with Wi-Fi and other radios.

  • Behind the discovery-and-GATT behavior above sits a specific radio design.
  • One valid split is 339 bytes in DH5 followed by 111 bytes in DH3 (whose maximum is 183).
  • BLE changes the link setup vocabulary.
  • For the example above, the first encoded pair 11 becomes 1100 1100 under S=8.
iotclass.org

Retrieval practice

Recall check 1 of 2

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

Q1A receiver is correlating the access code of a normal Classic Bluetooth packet on an established piconet. Which description gets both the 72-bit structure and its security meaning right?

AIt is a 4-bit preamble, 64-bit coded sync word, and 4-bit trailer; the LAP-derived construction supports timing and piconet correlation, not authentication.
BIt is the 24-bit LAP followed by a 48-bit encrypted authenticator; recovering the LAP proves the transmitter owns the piconet key.
CIt is a 4-bit preamble, 54-bit repetition-coded header, and 14-bit CRC; successful correlation proves the payload will pass its CRC.
DIt is a 64-bit uncoded LAP value plus an 8-bit trailer; the PN overlay hides the piconet identity from receivers that lack the link key.
Show answer

Answer: A The Classic packet access code is 4 + 64 + 4 bits and provides synchronization and procedure or piconet correlation without authenticating the sender.

iotclass.org

Retrieval practice

Recall check 2 of 2

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

Q2Which comparison of Classic and BLE channel maps fits the chapter?

AClassic and BLE have identical channel maps without BLE advertising channels.
BBLE has no radio channels before a connection is established.
CClassic reserves BLE advertising channels for its own discovery.
DClassic has more narrow channels; BLE has fewer wide ones and advertising.
Show answer

Answer: D The maps split the band differently and BLE has discovery channels.

iotclass.org

Print reference

Answers

Answer key.

  1. A · The Classic packet access code is 4 + 64 + 4 bits and provides synchronization and procedure or piconet correlation without authenticating the sender.
  2. D · The maps split the band differently and BLE has discovery channels.
iotclass.org