Recently, we released a Bluetooth® step-by-step guide on How to Deploy BlueZ v5.49 on Raspberry Pi3 and Use It, Part 1. This step-by-step guide shows you how to deploy BlueZ v5.49 on a Raspberry Pi3 board and have it function as a Bluetooth mesh provisioner. Since the release of this step-by-step guide, the latest version of BlueZ v5.50 has become available and includes updates for Bluetooth mesh.

“This release contains several fixes to GATT and Mesh support. Some notable new features include a ‘node-reset’ command to meshctl, a new btmon-logger daemon to perform logging on unattended systems, and a new general discoverable property in the advertising D-Bus API.”

When deploying BlueZ v5.50 on Raspberry Pi3 using the guide above, an error may pop-up in the command for “Section 2.5, Compile and Install BlueZ”

The error is as below, require a library, ell, and the version should be higher than v0.3.

checking for ELL… no
configure: error: ell library >= 0.3 is required

The reason for this error is that BlueZ v5.50 uses a new library, Embedded Linux Library(ell). To clean this error and build a clean development environment to deploy BlueZ v5.50, use the following patch:

1. Follow the guide till completing “Section 2.3, Install json-c for BlueZ v5.49”
2. Issue the commands below – these commands will help you to install ell on your R Pi3 board

cd ~
wget https://mirrors.edge.kernel.org/pub/linux/libs/ell/ell-0.6.tar.xz
tar -xvf ell-0.6.tar.xz
cd ell-0.6/
./configure --prefix=/usr
make
sudo make install

3. Issue the commands below to fetch the BlueZ v5.50 source code

cd ~
wget http://www.kernel.org/pub/linux/bluetooth/bluez-5.50.tar.xz 
tar -xvf bluez-5.50.tar.xz 
cd bluez-5.50/

4. After completing the two steps above for ell and BlueZ v5.50 source code, return to the Bluetooth step-by-step guide, Section 2.5, Compile and Install BlueZ, and follow this guide to finish setup
5. Then, BlueZ v5.50 will be deployed on your R Pi3 board successfully

The full updated step-by-step guide, How to Deploy BlueZ on Raspberry Pi3 and Use It will be available soon. In the interim, please feel free to check out other Bluetooth® developer resources.

FEATURED DOWNLOAD

Bluetooth Direction Finding: A Technical Overview

Get a technical look at the new Bluetooth direction finding feature and see how it can enable location services solutions that support centimeter-level accuracy.

INSTANT DOWNLOAD

Is Remote IOP Testing Here To Stay?

Like many organizations around the world, the Bluetooth Special Interest Group (SIG) has made…

Bluetooth 5.2新機能のポイントを10分で解説!(日本語字幕)

この動画では2020年1月に発表されたBluetoothバージョン5.2新機能の概要を中心に話します。Enhanced Attributeプロトコル(EATT)、LE Power Control (LEPC)、Isochronous (アイソクロナス)チャネルなど、これらの各機能について詳しく説明します。最後に、アイソクロナスチャネルを利用した「LE Audio」と呼ばれる次世代のBluetoothオーディオについて日本語翻訳付きで解説します。

The Bluetooth Internet Gateway Study Guide

According to the ABI report Installed Base of IoT Devices by Connectivity Technology, published…

Top Bluetooth Developer Resources of 2020

Every year, the Bluetooth® developer community challenges the limits of wireless connectivity, and each…

Wireless Connectivity Options for IoT Applications

When it comes to wireless connectivity, not every technology is a good fit for…

Designing and Developing Bluetooth® Internet Gateways

Design and implement your own Bluetooth® Internet Gateway (BIG) working prototype and see for yourself how BIGs allow applications to exchange data with Bluetooth devices from anywhere in the world.

Wireless Connectivity Options for IoT Applications - Asset Tracking

If you recall from the previous article in this series, we covered the application…

How Bluetooth Technology Uses Adaptive Frequency Hopping to Overcome Packet Interference

Interference is one of the biggest challenges for any wireless technology in providing reliable…

A Technical Overview of LC3

An Introduction to LE Audio Over the past two decades, since its inception, Bluetooth®

An Introduction to Bluetooth Low Energy for Swift Developers

All smartphones support Bluetooth® Low Energy (LE) and it is used in all manner…

Building a Sensor-Driven Lighting Control System Based on Bluetooth® Mesh

A technical examination of which Bluetooth mesh models to use in different types of…

Bluetooth Security and Privacy Best Practices Guide

This guide is intended to help implementers better understand why certain available security and…

Advanced Bluetooth for Android Developers

Android developers can take this guided tour of the most recent features and interesting…

How to Deploy BlueZ on a Raspberry Pi Board as a Bluetooth Mesh Provisioner

This step-by-step study guide will teach you: How to rebuild the kernel on a…

The Bluetooth LE Security Study Guide

Learn about fundamental security concepts, the security features of Bluetooth Low Energy, and gain some hands-on experience using those features in device code.

Bluetooth Direction Finding: A Technical Overview

This comprehensive overview examines how two new Bluetooth direction finding methods can enable location services solutions that support high-accuracy.