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… Continue reading “Updating BlueZ on Raspberry Pi (5.43 to 5.48)”

Disabling Bluetooth on Raspberry Pi

This post shows steps to 1) disable on-board Bluetooth and 2) disable Bluetooth completely. I tested the steps with Raspbian Stretch (November 2017 version).   Disabling on-board Bluetooth The steps below shows how to disable on-board Bluetooth and related services. Those steps also disable loading the related kernel modules such as bluetooth, hci_uart, btbcm, etc at… Continue reading “Disabling Bluetooth on Raspberry Pi”

Enabling Bluetooth in VirtualBox

VirtualBox guest OS doesn’t recognize Bluetooth adapter by default. Here is how to enable the built in Bluetooth adapter for Ubuntu guest on Windows host. OS and the version I used for host and guest are below. Host: Windows 10 Guest: Ubuntu 16.04 I tested the steps with Microsoft Surface Pro 4 and Dell Precision 3510.… Continue reading “Enabling Bluetooth in VirtualBox”

Creating Bluetooth Beacon with Raspberry Pi by using Bluetooth Developer Studio

This post shows how to make a Raspberry Pi a Bluetooth Beacon by using Bluetooth Developer Studio and its Beacon plugin. Bluetooth Developer Studio is a free application development tool from Bluetooth SIG and with Beacon plugin, it generates a script file which makes a Raspberry Pi a Bluetooth beacon. The steps below basically follow a… Continue reading “Creating Bluetooth Beacon with Raspberry Pi by using Bluetooth Developer Studio”

Auto Power On Bluetooth Adapter on Boot-up

By default, it’s automatically powered on with Raspberry Pi 3 and Raspbian Jessie on boot. But after I updated Bluez from 5.23 to 5.43, it’s not turning on automatically and I needed to do so manually by using hciconfig or bluetoothctl as below. Powering on manually by hciconfig:

Or, powering on manually by bluetoothctl:… Continue reading “Auto Power On Bluetooth Adapter on Boot-up”