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 Pi 3 B+) running Raspbian Stretch (June 2018) NFC USB adapter (Identiv SCL3711) NFC… 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 Pi 3 B+) running Raspbian Stretch (June 2018) NFC USB adapter (Identiv SCL3711) NFC enabled… 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”

Qt Creator Cross Compiling Environment for Raspbian Stretch using QtRpi

This post shows how to create Qt Creator cross development environment on Ubuntu PC for Raspbian Stretch by using QtRpi. Although QtRpi does not officially support Raspbian Stretch [1], additional few steps make it possible to create the cross development environment for Stretch. (For Raspbian Jessie, please see this post.)   Contents – Assumptions – Steps 1. Host Preparation (Ubuntu) 2.… Continue reading “Qt Creator Cross Compiling Environment for Raspbian Stretch using QtRpi”