Networking / How Bluetooth works

How Bluetooth works

How a phone and a watch talk over a few metres of air: a weak 2.4 GHz radio that hops between channels, a one-time pairing that creates a key, and two modes for streams and for sips.

Beginner7 steps~6 min
Phone — starts the link and sets the hop timing
Watch — the small device on the other end
Hop — one packet sent on one channel
Key — shared secret made by pairing
// THE SHORT VERSION

In 30 seconds

Bluetooth is a low-power radio link for short distances, typically about 10 metres. It works in the 2.4 GHz band, which it shares with Wi-Fi.

To cope with the crowding it splits the band into narrow channels and hops between them many times a second, skipping the ones that are busy.

Devices pair once to create a shared key, store it, and encrypt every later connection with it. Classic Bluetooth carries steady streams such as music. Low Energy sends short bursts and sleeps in between, so small batteries last for months.

How Bluetooth works, step by step

STEPS01 / 07

Details differ by version: Low Energy hops once per connection event, not 1600 times a second; older Classic devices encrypt with a cipher called E0, not AES; gadgets with no screen pair without a code.

STEP 01 / 07 A short-range radio
THE MATH
band : 2.4 GHz radio range: about 10 m typical power: about 2.5 mW
  1. Step 1: A short-range radio. Bluetooth replaces a short cable with a weak radio signal in the 2.4 GHz band. Most gadgets transmit at a few milliwatts, enough for about 10 metres indoors. The standard defines three power classes, and the strongest reaches roughly 100 metres in the open while using forty times the power.
  2. Step 2: A crowded band. The 2.4 GHz band needs no licence, so Wi-Fi, cordless phones and microwave ovens use it as well. Classic Bluetooth slices it into 79 narrow channels, each 1 MHz wide, from 2402 to 2480 MHz. A single Wi-Fi network covers about twenty of them at once.
  3. Step 3: Frequency hopping. Instead of sitting on one channel, a Classic Bluetooth link jumps to a different one for every packet, up to 1600 times a second. The hop order looks random but is computed from the address and clock of the device in charge, so both ends know where to meet next. A burst of noise ruins one packet, not the conversation.
  4. Step 4: Dodging interference. A Wi-Fi network on channel 6 sits on Bluetooth channels 25 to 45, and packets sent there keep getting lost. With adaptive frequency hopping the devices notice, agree on a map of bad channels and move those hops elsewhere. The link keeps hopping over the 58 clean channels and stays out of the way of the Wi-Fi.
  5. Step 5: Pairing: agree on a key. Before two devices trust each other they pair. Each sends a public key and combines the other’s with its own private key, which gives both the same secret without ever transmitting it. To rule out an impostor in the middle, both screens show a six-digit code derived from the exchange, and you confirm that they match.
  6. Step 6: Bonding and encryption. Both devices store the key, which is called bonding, so pairing happens only once. On every later connection they prove they still hold it and derive a fresh session key to encrypt the link. Someone listening nearby can follow the hops but hears only scrambled bytes.
  7. Step 7: Classic vs Low Energy. Bluetooth is really two radio systems. Classic keeps the radio busy to carry a steady stream such as music. Low Energy, added in 2010, uses 40 wider channels, says what it has to say in a short burst and then sleeps, so a sensor or tag can run for months on a coin cell. The two cannot talk to each other; phones carry both.
VALUES SO FAR
band2.4 GHzradio
range~10 mtypical
power~2.5 mWtypical
channels····Classic
hops····Classic
skipped····Wi-Fi
code····public
key····secret
LE····channels

Spotted a mistake on this page?