Creating AltBeacon with Raspberry Pi using BlueZ Example Code (updated)

This post shows steps to create an AltBeacon [1] with Raspberry Pi, by modifying BlueZ BLE Advertisement example code (i.e. “example-advertisement“). *If you want to create Apple’s iBeacon [2], please see this post.   Prerequisites (parentheses indicate my environment) Raspberry Pi (Raspberry Pi4 B with Raspbian Buster 2019-06-20) Internet access To download BlueZ example code. Here… Continue reading “Creating AltBeacon with Raspberry Pi using BlueZ Example Code (updated)”

Creating iBeacon with Raspberry Pi using BlueZ Example Code (updated)

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 protocol and making/deploying iBeacon devices requires the license from Apple [1]. The scope of this post is limited to getting familiar with… Continue reading “Creating iBeacon with Raspberry Pi using BlueZ Example Code (updated)”

Enabling Background BLE Scanning on iPhone

A previous post shows how to create a simple BLE (Bluetooth Low Energy) scanner app for iPhone. The app can detect BLE devices while the app is in foreground. The goal of this post is to create an app that scans even it goes to the background.   Prerequisites (parentheses indicate my environment) Xcode (10.0) ruining on Mac… Continue reading “Enabling Background BLE Scanning on iPhone”

Creating a Simple BLE Scanner on iPhone

Here are steps to create a simple BLE (Bluetooth Low Energy) scanner app for iPhone (for my own learning purpose). The goal is to enable below features. Scan for all advertising devices around. Print the device name, RSSI (signal strength), and advertising data [1] for each discovered device in the debug console output [2]. * It… Continue reading “Creating a Simple BLE Scanner on iPhone”

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”