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”

Setting Up Bluetooth OOB Pairing with NFC on Raspberry Pi

This post shows steps to setup Bluetooth Out-Of-Band (OOB) pairing using NFC [1] on Raspberry Pi using nfcpy [2]. The goal is to pair a phone and Raspberry Pi by just touching each other.   Prerequisites (parentheses indicate my environment) Raspberry Pi board (Raspberry Pi3) running Raspbian Stretch (June 2018) NFC USB adapter (Identiv SCL3711) NFC enabled phone… Continue reading “Setting Up Bluetooth OOB Pairing with NFC on Raspberry Pi”

Setting Up Wi-Fi Simple Configuration with NFC on Raspberry Pi

This post shows steps to setup Wi-Fi Simple Configuration with NFC adapter on Raspberry Pi using nfcpy[1]. The goal is to enable “tap-to-connect” a NFC enabled phone with a Wi-Fi access point [2].   Prerequisites (parentheses indicate my environment) Raspberry Pi board (Raspberry Pi3) running Raspbian Stretch (June 2018) NFC USB adapter (Identiv SCL3711) NFC enabled phone (Samsung… Continue reading “Setting Up Wi-Fi Simple Configuration with NFC on Raspberry Pi”

Changing a Bluetooth Device Address on Raspberry Pi

This post shows how to change Bluetooth device address on Raspberry Pi. Bluetooth device address (aka BD_ADDR, Bluetooth MAC address) is a 48-bit identifier assigned to each Bluetooth chip. Whether it can be changed is depends on each chip. Fortunately, Raspberry Pi’s on-board Bluetooth chip (Cypress/Broadcom) allows device address change.   Assumptions Raspberry Pi board with on-board… Continue reading “Changing a Bluetooth Device Address on Raspberry Pi”