Updating BlueZ on Raspberry Pi (5.43 to 5.48)

This post shows how to update BlueZ from 5.43 (the default version comes with Raspbian Stretch November 2017 version) to 5.48 (the latest as of 2/14/2018) on Raspberry Pi.
According to the release notes [1], many issues (especially GATT related issues) have been fixed and also, Advertising Manager API, which was previously marked as experimental, is now stable in 5.48.

Here is the list of contents of this post.

– Assumptions
– Steps
1. Check Current BlueZ Version
2. Install Dependencies
3. Install Latest BlueZ
4. Verify Update
– Reference

 

Assumptions
In this post, I assume that you already have Raspberry Pi 3 or Raspberry Pi Zero W running Raspbian Stretch November 2017 version.

 

Steps
1. Check Current BlueZ Version
1-1. Before starting, let’s check the current BlueZ version.

In case you are using Raspbian Stretch (November 2017 version), the BlueZ version should be 5.43.

 

2. Install Dependencies
2-1. Update the package list.

2-1. Install the dependencies.

 

3. Install Latest BlueZ
3-1. Download the latest version of BlueZ source code.

3-2. Uncompress the downloaded file.

3-3. Configure.

3-4. Compile the source code.

3-5. Install.

3-6. Reboot Raspberry Pi 3.

 

4. Verify Update
4-1. Verify the BlueZ version by issuing the command below.

The result should be like this:

 

References
[1] BlueZ Release Notes
[2] Installing Bluez 5.44 onto Raspbian? – Raspberry Pi Stack Exchange

 

 

Sponsor Link

Leave a Reply

Your email address will not be published. Required fields are marked *