Hello everyone, welcome to <span>LiXin Embedded</span>
.
Today, let’s talk about a technology that is super popular in the Internet of Things (IoT) field—Bluetooth Low Energy (BLE). You may already be using Bluetooth headphones, fitness bands, or smart lights at home, but did you know? BLE is quietly changing our lives. From smart homes to medical devices, to logistics management, BLE is almost everywhere! This article will take you from scratch to understand BLE, clarifying its past and present, advantages and disadvantages, and how to make it work for your next project.
The Past and Present of Bluetooth
Speaking of Bluetooth, it is quite an “old-timer”. It was born in the 1990s with a simple goal: to replace those annoying data cables and enable short-range wireless data transmission between devices. Today, Bluetooth remains the king of short-range communication, operating in the 2.4 GHz ISM band, creating countless personal area networks (PAN).
Look around you, do you have a mobile phone, laptop, or Bluetooth speaker? According to statistics, the global shipment of Bluetooth devices reached 4.7 billion units in 2021! It can be said that Bluetooth has become an indispensable part of our lives.
The Bluetooth technology is managed by the Bluetooth Special Interest Group (Bluetooth SIG), which continuously releases new versions of the Bluetooth specifications. The Bluetooth protocol is mainly divided into two types: Classic Bluetooth and Bluetooth Low Energy (BLE). The release of Bluetooth 4.0 in 2010 introduced BLE as a “new player”, marking the beginning of the low-power device era.
What is Bluetooth Low Energy (BLE)?
Although BLE and Classic Bluetooth belong to the same Bluetooth family, they are like two brothers with completely different personalities. Classic Bluetooth is suitable for scenarios that require high throughput, such as streaming music from a phone to Bluetooth headphones. In contrast, BLE is designed for ultra-low power, specifically for devices that only need to transmit small amounts of data occasionally.
Imagine BLE devices as “napping experts”: they sleep most of the time, wake up when needed, quickly send or receive a few bytes of data, and then go back to sleep. In contrast, Classic Bluetooth is more like a “workaholic” that needs to stay online all the time, such as when answering calls or transferring large files, without a second of disconnection.
Classic Bluetooth vs. Bluetooth Low Energy

In summary, the differences are:
- Classic Bluetooth: Large data volume, high power consumption, suitable for real-time transmission, such as Bluetooth headphones and speakers.
- Bluetooth Low Energy: Small data volume, ultra-low power consumption, suitable for long-term running devices, such as temperature and humidity sensors in warehouses.
In one sentence: Classic Bluetooth pursues “speed”, while BLE pursues “endurance”.
Advantages of BLE: Why is it so Popular?

BLE is designed for low-power devices, making it tailor-made for IoT. Here are its major “killer features”:
-
Ultra-low power consumption: The design philosophy of BLE is “save energy whenever possible”. It tries to keep the radio module “asleep”, waking up briefly only when data needs to be sent. Compared to other low-power technologies, BLE’s energy efficiency remains top-notch.
-
Low development costs: BLE chips and modules are affordable, with fierce market competition leading to extremely low procurement costs. This is a boon for developers!
-
Completely open documentation: Unlike other wireless protocols, BLE’s specification documents (from version 4.0 to 5.3) can be downloaded for free from the Bluetooth official website. This saves developers from the high costs of joining industry associations, allowing them to get started with zero barriers.
-
Smartphones’ “favorite child”: Almost all smartphones come with built-in BLE hardware. Compared to protocols like ZigBee and Z-Wave that require additional gateways, BLE connects seamlessly with smartphones, resulting in a huge user base and naturally large market potential for developers.
Limitations of BLE: Every Coin Has Two Sides

While BLE is great, it is not omnipotent. As a developer, understanding its limitations can help you better choose your tech stack. Here are a few “shortcomings” of BLE:
-
Limited data throughput: The physical layer data rate of BLE depends on the Bluetooth version. Before Bluetooth 5.0, the rate was fixed at 1 Mbps; after 5.0, it can reach 2 Mbps (high-speed mode) or as low as 125 Kbps (long-range mode). However, the actual application layer rate is far below the theoretical value, and transferring large files is not BLE’s strong suit.
-
Limited communication range: BLE is designed for short-range communication, operating in the 2.4 GHz band, which is easily interfered with by walls, metal objects, and even the human body. The design of the device’s antenna, its orientation, and the material of its casing can all affect the signal range.
-
Requires a gateway to connect to the internet: BLE devices do not have IP connectivity by themselves; to send data to the cloud, they need a device with IP connectivity (like a smartphone) to act as a relay.
Application Scenarios of BLE: Ubiquitous IoT
Since its introduction in 2010, BLE has penetrated various industries. Here are some common application scenarios to experience BLE’s “various skills”:
- Smart Home: Smart bulbs, thermostats, smart locks, smoke detectors… these devices rely on BLE for low-power communication, making your home smarter with just a “tap”.

-
Fitness Tracking: Your smartwatch or fitness band may be using BLE to transmit heart rate, step count, and other data to a mobile app. Short-range, short data, BLE is a perfect fit.
-
Audio Devices: Although Bluetooth headphones mostly use Classic Bluetooth, the new BLE standard LE Audio is on the rise, supporting higher sound quality and lower power consumption, and even compatible with hearing aids.

-
Item Tracking: Devices like AirTag and Tile use BLE for precise location tracking. Lost your luggage or keys? Open the mobile app to find them.
-
Precision Advertising: Walk into a mall, and your phone suddenly pops up a store coupon? This is BLE beacons (Beacon) at work, utilizing Bluetooth 5.0’s broadcasting technology to achieve precise location-based marketing.
BLE and IoT: A Match Made in Heaven
The Internet of Things (IoT) is a super network that connects various “things” to the internet via wireless technology to exchange data. Smart appliances, medical devices, autonomous vehicles… anything can become a part of IoT.
Why is BLE so popular in IoT? There are two reasons:
- Low power consumption: Many IoT devices are battery-powered, such as sensors in warehouses, which may need to last for months or even years on a single battery. BLE’s ultra-low power consumption perfectly meets this need.
- Small data transmission: IoT devices typically only transmit status data (like temperature, switch status), and BLE’s design is just right for this.
BLE Beacons: Small Size, Big Power
BLE Beacons are small, wireless, low-power devices specifically designed to broadcast data unidirectionally. They do not need to be connected to the internet and can “shout” signals to nearby BLE devices (like smartphones). Although current smartphone support for beacons is not yet perfect, they have great potential in the future for indoor navigation, proximity marketing, and asset tracking.
Getting Started with BLE Development: Overview of Protocol Architecture
The BLE protocol stack is a bit complex, but don’t worry, let’s break it down. The BLE protocol is like a “rulebook” that specifies how devices communicate with each other. The protocol stack is divided into three main parts: Application Layer, Host Layer, and Controller Layer, each containing several sub-layers.

Detailed Explanation of BLE Protocol Layers
-
Physical Layer (PHY): The physical layer is the radio hardware, operating in the 2.4 GHz band, responsible for data modulation and demodulation.
-
Link Layer: The link layer interacts with the physical layer, managing the state of the radio and communication timing, ensuring compliance with BLE specifications.
-
Host Controller Interface (HCI): HCI is the “translator” between the host layer and the controller layer, allowing smooth communication even if they are on different chips.
-
Logical Link Control and Adaptation Protocol (L2CAP): L2CAP is responsible for packaging upper-layer protocols into standard BLE packets for transmission.
-
Attribute Protocol (ATT): ATT defines how the server exposes data to the client and the structure of the data.
-
Generic Attribute Profile (GATT): GATT is the core of BLE, defining the format and access methods for data.
- Roles: GATT has servers (devices that expose data) and clients (devices that read or control data). A device can be both a server and a client simultaneously.
- Services and Characteristics: A service is a group of related attributes (Attribute), for example, the “battery service” includes the “battery level” characteristic. Characteristics are specific data exposed by the server, such as the battery level.
Generic Access Profile (GAP): GAP defines how BLE devices interact, including:
- Roles: Advertiser (only sends advertisements), Observer (only listens to advertisements), Central device (actively connects), Peripheral device (accepts connections).
- Advertising and Connection: Devices discover each other through advertising and establish connections.
Conclusion
Bluetooth Low Energy (BLE) is a “weapon” in the IoT era. With ultra-low power consumption and flexible application scenarios, it supports countless fields such as smart homes, fitness tracking, and logistics management. Whether you want to develop a smart device or optimize an existing product, BLE is a technology worth exploring.
I hope this article gives you a comprehensive understanding of BLE! If you’re eager to start development, feel free to download the documentation from the Bluetooth official website or get a development board to play with. If you have any questions, feel free to leave a comment, and let’s discuss together!