Connectivity and Protocols

Bluetooth Low Energy for Everyday Devices

How Bluetooth Low Energy gives small gadgets a short-range, low-power link to phones: advertising, pairing, connections and the trade-offs to expect.

On this page
  1. What it is
  2. The phone-to-gadget pattern
  3. Advertising and connecting
  4. How data is organized
  5. Pairing and bonding
  6. Range, speed and capacity
  7. Beyond one phone: hubs and mesh
  8. Battery life in practice
  9. Common problems
  10. Choosing BLE

What it is

Bluetooth Low Energy, often shortened to BLE, is a short-range radio technology designed for devices that send small amounts of data and must run for a long time on a small battery. It shares the name and the 2.4 GHz radio band with classic Bluetooth, the technology used for wireless audio, but it works differently. Classic Bluetooth maintains a steady stream. BLE is built around brief, occasional exchanges, with the radio asleep most of the time.

That design fits the typical BLE product: a fitness band, a body thermometer, a key finder, a door sensor, a tire pressure sensor or a plant monitor. Each reports small readings to a nearby phone or hub, and none needs to stream much data.

The phone-to-gadget pattern

Most BLE products follow the same pattern. A gadget talks to a phone, and the phone talks to the internet. The gadget has no direct internet connection of its own, which keeps it cheap and frugal with energy. The phone supplies the screen, the storage, the account login and the cellular or Wi-Fi link.

Two roles are involved. The gadget is usually the peripheral, which announces itself and waits. The phone is the central, which scans, chooses a peripheral and starts a connection. A single phone can usually keep several connections open at once, though the exact limit varies by device and software.

Advertising and connecting

A peripheral that is not connected sends short advertising packets at regular intervals. These packets can carry a name, some identifying data and, for some products, a small piece of useful information. A scanning phone hears them and decides whether to connect. A shorter interval means the gadget is found faster but uses more energy.

Some products never connect at all. A simple beacon just advertises, and anything nearby can read it. Others combine the two: advertising when idle, connecting only when a user opens an app.

Once connected, the two sides agree on a connection interval, which is how often they briefly wake up to exchange data. Longer intervals save power but add delay. This single setting is one of the biggest influences on battery life in a BLE product.

How data is organized

Connected devices expose their data as a set of named values, grouped into services. A heart rate sensor, for instance, might offer a service holding the current reading. The phone can read a value on request, or ask to be notified when it changes. Both devices need to agree on what each value means, so common services have published definitions, while many manufacturers add private ones that only their own app understands. This is a small-scale version of the larger issue of device interoperability.

Pairing and bonding

Pairing is the step where two devices establish a shared secret so that later traffic can be encrypted. Bonding means storing that secret, so the devices can reconnect without repeating the process. Several pairing methods exist, and they offer different levels of protection:

  • Just works: no user input. Convenient, but it offers weaker protection against someone intercepting the exchange during pairing.
  • Passkey entry: you type a number shown on one device into the other.
  • Numeric comparison: both screens show a number and you confirm they match.
  • Out-of-band: the secret is exchanged through another channel, such as a tag read by a short-range tap.

The method available depends on what the gadget has: a device with no screen or keys can usually only do the simplest method. Do pairing in a place you trust rather than a crowded public space, and remove old bonds from your phone when you stop using a gadget.

Range, speed and capacity

Range varies widely. Indoors, a typical connection reaches across a room or a few rooms, and walls, bodies and other radio traffic reduce it. Open-air range can be much longer, particularly with newer versions and long-range modes, but real-world results depend on antenna design and conditions. Data rates are modest compared with Wi-Fi, which makes BLE a poor choice for continuous video or large files, though it can handle firmware transfers slowly.

Because BLE shares the 2.4 GHz band with Wi-Fi and other devices, congestion can cause dropped connections. Frequency hopping across channels helps, but does not eliminate the problem.

Beyond one phone: hubs and mesh

A phone is not always nearby. A home hub or gateway can sit in a fixed position, collect BLE readings and forward them to the cloud, which removes the need for a phone to stay in range. There is also a mesh variant of Bluetooth in which devices relay messages for each other, used mostly in lighting. Mesh networking brings its own considerations, covered separately.

Battery life in practice

BLE can enable devices that run for months or years on a small cell, but this is not automatic. The radio is only part of the energy budget. Sensors, processors, screens and frequent syncing all add up, and aggressive advertising can drain a battery faster than expected. Manufacturers manage this through duty cycling, keeping most of the hardware asleep between short bursts of activity.

Common problems

  • A gadget will not appear in the scan: it may still be bonded to another phone, or its advertising may be off after a timeout.
  • Pairing fails: remove the old bond on both sides and retry.
  • Connections drop: distance, interference or the phone’s battery-saving rules for background apps are frequent causes.
  • Readings seem delayed: the connection interval or the phone’s background limits may be the reason, not a fault.

Choosing BLE

BLE is a good fit when devices are close to a phone or hub, data volumes are small, and battery life matters. It is a weaker choice for large areas, many devices spread over distance, or anything needing a direct internet connection. In those cases, Wi-Fi, long-range radios or cellular links fit better.

The complete guide to connectivity and protocols

How Connected Devices Talk: A Guide to IoT Communication Layers
Read the guide

Keep exploring

Guides from other topics

All topics →