Skip to Main Content
The Ultimate Guide for Android Bluetooth Low Energy

The Ultimate Guide to Android Bluetooth Low Energy

Originally published on May 15, 2020, and updated on April 17, 2024. What's been updated: This ultimate guide and its companion code repository now support compileSdkVersion and targetSdkVersion 34 (Android 14). The APIs used in this guide are from the android.bluetooth package, and not from the very similarly-named androidx.bluetooth package which is still in alpha as of the time of writing. The approaches detailed in this guide…
Engineer learning about automated testing in office

The 4 Key Benefits of Automated Testing

In many ways, I’m your stereotypical software engineer. I don’t do small talk, but I can talk for days about my work and side projects. I’m easily irked by inefficiencies -- if it can be done more efficiently, why not do it that way? I also…
Ultimate Guide to Apple's Core Bluetooth library

The Ultimate Guide to Apple’s Core Bluetooth

This article assumes you know the very basics of Bluetooth Low Energy (BLE) and iOS programming (including the delegation pattern for asynchronous calls common to many iOS native APIs), and is meant as a comprehensive guide to the ins and outs of…
BLE Firmware Engineering office

Creating a BLE Peripheral with BlueZ

While I’m fairly well-versed in working with BLE on an embedded device, I have so far had little experience with using BLE at a higher level. To help remedy this, I underwent the task of creating a BLE peripheral running a GATT server on a…
action-blur-close-up-2339722

Maximizing BLE Throughput on iOS and Android

Still confused about how fast you can really send data over Bluetooth Low Energy? It's not just you. A google search will turn up many incomplete answers. Each OS and device has it’s own restrictions, such as connection interval and number of…
apple-device-electronics-1682821

Testing Bluetooth Low Energy Devices

Bluetooth Low Energy is a new Bluetooth standard that is exciting for a couple reasons- it enables very low power battery applications, and it further opens the smartphone accessory market. LightBlue allows you to test and simulate Bluetooth Low…