Creating BLE GATT Server (UART Service) on Raspberry Pi

In this post, I will create BLE GATT server on Raspberry Pi 3 using BlueZ dbus interface with Python. I will reuse BlueZ example code as much as possible. As an example of GATT service, I’ll create UART service (a.k.a. Nordic UART Service/NUS [1] ), so that I can test it with Nordic’s smartphone app… Continue reading “Creating BLE GATT Server (UART Service) on Raspberry Pi”

Creating AltBeacon with Raspberry Pi using BlueZ Example Code

Update (Jul 9, 2019): Step 1 is no longer required since Raspbian Buster (2019-06-20). Please check the updated steps in here.   A previous post showed the steps to make an iBeacon transmitter with Raspberry Pi using BlueZ example code (i.e. “example-advertisement“). This post shows the steps for AltBeacon [1] in the same manner.   Here are… Continue reading “Creating AltBeacon with Raspberry Pi using BlueZ Example Code”

Creating iBeacon with Raspberry Pi using BlueZ Example Code

Update (Jul 9, 2019): Step 1 is no longer required since Raspbian Buster (2019-06-20). Please check the updated steps in here.   This post shows steps to create an iBeacon with Raspberry Pi, by modifying BlueZ BLE Advertisement example code (i.e. “example-advertisement“). Note: Even though it uses Bluetooth Low Energy standard, iBeacon is Apple’s proprietary… Continue reading “Creating iBeacon with Raspberry Pi using BlueZ Example Code”

Running BLE GATT Server Example on Raspbian Stretch

The purpose of this post is to run an example code of Bluetooth Low Energy GATT server from BlueZ source code on Raspberry Pi. Here are the contents of this post. Contents – Assumptions – Steps 1. Download Example Code 2. Execute Example Code 3. Install Requisite 4. Start Advertising BLE 5. Verify – Reference… Continue reading “Running BLE GATT Server Example on Raspbian Stretch”

Running BLE Advertising Example Code on Raspbian Stretch

Update (Feb 26, 2018): If your BlueZ version is 5.48 or higher, you can skip Step 1 since the Advertising Manager is marked as stable In BlueZ 5.48. (To update BlueZ, please see this post. )   The purpose of this post is to run an example code of Bluetooth Low Energy Advertisement from BlueZ… Continue reading “Running BLE Advertising Example Code on Raspbian Stretch”