How Bluetooth Works
How Bluetooth Works
As our world has grown increasingly connected, we've adopted many technologies to
help us stay in contact with our friends and family. One of the most popular is Bluetooth
technology, which can be found in many of the devices we use every day. The wireless
technology connects mice and keyboards to our computers. It connects our phones to
our cars to catch up on the latest podcasts during our morning commutes and it
connects our smartwatches and activity trackers to our smartphones.
When any two devices need to communicate with each other, they have to agree on a
number of points before the conversation can begin. The first point of agreement is
physical: Will they talk over wires, or wireless signals? If they use wires, how many are
required — one, two, eight or 25? Once the physical attributes are decided, several
more questions arise:
How much data will be sent at a time? For instance, serial ports send data
1 bit at a time, while parallel ports send several bits at once.
How will they speak to each other? All of the parties in an electronic discussion
need to know what the bits mean and whether the message they receive is the
same message that was sent. This means developing a set of commands and
responses known as a protocol.
With no physical connection required, the Bluetooth Special Interest Group (SIG) create
wireless technology standards for hardware manufacturers to use when they create new
devices. As technology evolves, wireless communications technology does, too. At the
time of this writing, there are two Bluetooth technology standards that developers use to
keep you connected. Although similar, there are subtle differences that make them
useful for different applications. We'll learn about the two types of Bluetooth technology
below.
Contents
1. Bluetooth Connections
2. How Bluetooth Technology Operates
3. Bluetooth Range
4. Bluetooth Security
Bluetooth Connections
Wireless communication is now a common phenomenon. Many of us have WiFi internet
connections in our offices and homes. But Bluetooth devices communicate directly with
each other, rather than sending traffic through an in-between device such as a wireless
router. This makes life very convenient and keeps power use extremely low,
improving battery life.
Bluetooth devices communicate using low-power radio waves on a frequency band
between 2.400 GHz and 2.483.5 GHz [source: Bluetooth Special Interest Group (SIG)].
This is one of a handful of bands that is set aside by international agreement for the use
of industrial, scientific and medical devices (ISM).
Many devices that you may already use take advantage of this same radio-frequency
band, including baby monitors, garage-door openers and the newest generation
of cordless phones. Making sure that Bluetooth devices and other wireless
communications technologies don't interfere with one another is essential.
There are two types of Bluetooth technology as of 2020: Bluetooth Low Energy (LE) and
Bluetooth Classic (more formally known as Bluetooth Basic Rate/Enhanced Data Rate,
or BR/EDR) [source: Bluetooth SIG]. Both operate using the same frequency band, but
Bluetooth LE is the more popular option, by far. It needs much less energy to operate
and can also be used for broadcast or mesh networks in addition to allowing
communication over point-to-point connections between two devices.
The classic Bluetooth technology can deliver a slightly higher data rate than Bluetooth
LE (3 Mbs compared to either 1Mbs or 2 Mbs) but can only be used for communication
directly between two devices using point-to-point connections. Each of the two types of
Bluetooth technology has its particular strengths and manufacturers adopt the version
that best fits the needs of their product.
When Bluetooth BR/EDR devices come within range of one another, an electronic
conversation takes place to determine whether they trust each other or not and have
data to share. The user doesn't usually have to press a button or give a command —
the electronic conversation happens automatically. Once the conversation has
occurred, the devices — whether they're part of a computer system or a stereo — form
a network.
Bluetooth LE works differently. Devices may also be paired to form a trusted
relationship between them but not all types of product require this. A Bluetooth LE
device which wants to be discovered broadcasts special messages (known as packets)
in a process called advertising. Advertising packets contain useful information about the
advertising device. Another suitable device will find the advertising device by scanning
(listening) for advertising packets and selecting those which are from appropriate
devices. Usually scanning only happens when the user triggers it by say, pressing a
button in a smartphone application. Typically the user is then presented with details of
appropriate devices that were discovered and then selects one to connect to.
Bluetooth peripherals (e.g., an activity tracker and a smartwatch) that are connected to
the same central device (e.g., a smartphone) form a personal-area network (PAN)
or piconet that may fill an entire building or may encompass a distance no more than
that between the smartphone in your pocket and the watch on your wrist. Once a
piconet is established, its members hop radio frequencies in unison so they stay in
touch with one another and avoid interfering with other Bluetooth piconets that may be
operating in the same room or devices using other wireless technologies such as WiFi.
Bluetooth technology even learns which radio channels are working well and which
ones are experiencing interference so that it can dynamically avoid bad channels and
just use the channels that are free from interference. This process, called adaptive
frequency hopping allows Bluetooth devices to work really well, even in environments
where there are very large numbers of wireless devices operating.
Bluetooth Range
Bluetooth Security
Bluetooth technology includes a number of security measures that can satisfy even the
most stringent security requirements such as those included in the Federal Information
Processing Standards (FIPS).
If you own Bluetooth-enabled devices, you have experienced this for yourself. For
example, if you buy a cordless mouse, the first time you turn it on, you pair it to the
device you plan to use it with. You might turn the mouse on, then go to the Bluetooth
settings on your computer to pair the device once you see its name in a list of nearby
Bluetooth accessories. A computer can handle many Bluetooth connections at once by
design. You may want to use a cordless mouse, keyboard and headphones.