Blog
Field notes on BLE and IoT apps
What I keep seeing in Android and iOS apps that talk to hardware, written down with code that works on real phones. New here? Start with the Android BLE field guide.
All articles
GATT 133 on Android: why BLE connections fail and how to fix them
Android BLE status 133 is a generic GATT_ERROR. The usual causes, how to tell them apart from timing and logs, and Kotlin connect code that fixes most of them.
Android BLE connection drops: what status 8, 19 and 22 mean and how to fix them
Why Android BLE connections drop: what disconnect statuses 8, 19, 22 and 0x3D mean, how to tell them apart, and a reconnect policy that works.
Android 12+ Bluetooth permissions: BLUETOOTH_SCAN, CONNECT and location, done right
Which Bluetooth permissions an Android BLE app needs per version: BLUETOOTH_SCAN, BLUETOOTH_CONNECT, neverForLocation and location, with a generator.
BLE in the background on Android: scanning limits, Doze and foreground services
Why Android BLE scans and sync stop in the background: throttling, screen-off limits, Doze, vendor battery savers, and what to use instead.
Why your Android BLE app needs a GATT operation queue (and how to write one in Kotlin)
Android's BluetoothGatt runs one operation at a time, so a second one fails. Why that makes BLE apps flaky, and a Kotlin coroutine queue that fixes it.
Android BLE bonding problems: pairing loops, stale bonds and how to recover
Why BLE pairing repeats, fails or breaks after a device reset on Android and iOS: bonding vs pairing, stale bonds and how to design recovery.
BLE MTU and throughput: why your transfers are slow and what to change
How MTU, Data Length Extension, 2M PHY, connection interval and write type decide BLE throughput on Android and iOS, and what to change first.
Why BLE firmware updates fail (OTA and DFU), and how to make them finish
Why BLE OTA and DFU updates fail from Android and iOS apps: drops mid-transfer, slow writes, background kills, bootloaders, and the fix for each.
Wi-Fi provisioning over BLE: getting IoT devices online without losing users
Getting an IoT device onto Wi-Fi from an Android or iOS app: BLE provisioning vs SoftAP, ESP32 provisioning, confirmation and the errors to handle.
CoreBluetooth state restoration: keeping an iOS BLE app connected in the background
How an iOS BLE app keeps working in the background: the bluetooth-central mode, pending connections and state restoration, with Swift code.
Kotlin Multiplatform for BLE apps: what to share and what to keep native
How to structure a BLE app with Kotlin Multiplatform: shared protocol and device state in commonMain, BluetoothGatt and CoreBluetooth underneath.
How to test a BLE app on real phones: the device matrix, HCI logs and field logging
How I test Android and iOS BLE apps: choosing phones, HCI snoop logs in Wireshark, PacketLogger, nRF Connect and the scenarios that break apps.
BLE vs Wi-Fi vs MQTT for an IoT app: which link to use, and when to combine them
BLE, local Wi-Fi or MQTT through the cloud for an IoT app? Range, speed, power, setup and offline use compared, and the combinations that work.
How to hire a BLE app developer: 10 questions that separate specialists from generalists
How to hire a Bluetooth app developer: ten interview questions with what good answers sound like, red flags, freelancer vs agency, and starting small.
Device works, app doesn't?
Tell me about your device and what's breaking. No pitch deck needed. I'll tell you what I'd look at first, even if it isn't hiring me.
Free · NDA on request · reply within 1–2 working days