Bluetooth Low Energy Series Part 1

Published By

In this series, Nick Powers will take you through the basics of Bluetooth Low Energy (BLE) and some of the solutions offered in the space.

1. Introduction

Learn all about BLE and the architecture and versions available from key suppliers; Nordic Semiconductor, STMicroelectronics, Cypress, and Silicon Labs.

 

2. Physical Layer

In BLE application, it is important to understand the physical layer in order to program a more robust transmission and optimize the data rate, and hence current consumption or the amount of power used.

3. Link Layer Advertising

In BLE, information is exchanged via packets. No streaming is available. Two kind of packets are defined: advertising packets and data packets. Devices use advertising packets to find and connect to other devices or to broadcast data. Data packets are used once a connection had been made and is understandable by only two devices (master and slave). Advertising packets use channels 37, 38 and 39; channels 0 through 36 are for data packets. The link layer handles all of these packets.

4. Link Layer Connection

In the previous video, we saw how a device advertises. Once a master discovered a slave after advertising, it's time to connect. To make a connection, either the general advertising event or the direct advertising event types must be transmitted by the advertiser. Then the initiator (master) sends a connect request packet. The connection is only considered established once a packet has been acknowledged. Establishment doesn't change how the connection works, but it does change the link supervision timeout, from just 6 connections timeouts, to the value in the connection request message. This ensures that if the connection is not established quickly, it is terminated immediately.

5. Link Layer Connection Management

Let's see how a reliable connection is managed in BLE. Remember that communication between a master and a slave occurs in a connection event that uses a data channel frequency. Then, based on the frequency mapping and the hopping algorithm, it moves to the next frequency at the next connection interval.

6. HCI

HCI, or host controller interface, was designed to be the interface between the host and the controller. Hence, a physical interface is integrated in the specs, but nowadays it is not practically used as most modern BLE solutions integrate the hos and controller in a single package.

7. L2CAP

L2CAP is simply a multiplexing layer and to do this it has multiple channels. A channel is a single sequence of packets, from and to a single pair of services and a single device. Between two devices, there can be multiple channels active at the same time. L2CAP enables BLE to multiplex three different channels. It also enables segmentation and reassembly of packets that are larger than the underlying radio can deliver.

.

Featured Products

See related product

NRF52832-QFAA-R7

Nordic Semiconductor Bluetooth View

See related product

BLUENRG-MSQTR

STMicroelectronics Bluetooth View

See related product

BLE112-A-V1

Silicon Labs Bluetooth View

 


Look for more videos from this Bluetooth Low Energy (BLE) series. If you want to learn more, subscribe to our newsletter to get the latest news.

Subscribe

 

Latest News

Sorry, your filter selection returned no results.

We've updated our privacy policy. Please take a moment to review these changes. By clicking I Agree to Arrow Electronics Terms Of Use  and have read and understand the Privacy Policy and Cookie Policy.

Our website places cookies on your device to improve your experience and to improve our site. Read more about the cookies we use and how to disable them here. Cookies and tracking technologies may be used for marketing purposes.
By clicking “Accept”, you are consenting to placement of cookies on your device and to our use of tracking technologies. Click “Read More” below for more information and instructions on how to disable cookies and tracking technologies. While acceptance of cookies and tracking technologies is voluntary, disabling them may result in the website not working properly, and certain advertisements may be less relevant to you.
We respect your privacy. Read our privacy policy here