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

Using a Bluetooth LE Wireless Module to Accelerate Time-to-market

Wireless connectivity makes dumb products intelligent. Smart devices can transmit information about their surroundings…

Enabling the Digital Transformation of Industrial IoT with Bluetooth®

The Industrial IoT is a digital transformation process for enterprises offering them compelling abilities…

Now Available: Auracast™ Developer Best Practice Guides

When Bluetooth® LE Audio was released, it introduced broadcast audio to Bluetooth technology. This…

Automated Emergency Light Testing Through Bluetooth Mesh

During a summer internship at Nordic, I took on a project that focused on…

Coded PHYs + Advertising Coding Selection = Superior Bluetooth® Range

Bluetooth® v5.0 introduced LE Coded PHYs to extend the original range of the 1M…

Channel Sounding: Technical Overview (Pt 1)

Channel Sounding is an innovative new feature coming to Bluetooth technology, enabling distance estimation…

Bluetooth Low Energy Fundamentals

The Bluetooth Low Energy (LE) Fundamentals Course is designed to give you the knowledge…

How to Build an Auracast Assistant

This document covers the basic design principles for building an Auracast™ assistant, explaining the…

How to Build an Auracast Transmitter

This document covers the basic design principles for building an Auracast™ transmitter, explaining the…

Generic Health Sensor Design and Implementation Guide

The Generic Health Sensor (GHS) Design and Implementation Guide guides implementers of health sensor…

The Latest in HADM with Bluetooth LE

HADM, or high accuracy distance measurement using Bluetooth does exactly what it says –…

The Bluetooth® Low Energy Primer

Are you new to Bluetooth Low Energy? Learn about its constituent parts, features, and how it works.

Bluetooth® Technology for Linux Developers

Learn how to use the interprocess communication system D-Bus and the BlueZ APIs to create Bluetooth applications for Linux computers.

Designing and Developing Bluetooth® Internet Gateways

Learn about Bluetooth® internet gateways, how to make them secure and scalable, and design and implement your own...

NOTICE: The Bluetooth SIG updated its Privacy Policy on 6 June 2024Learn more
 Get Help