# Blog: Android & iOS BLE and IoT app development · Alex Mitrovic
URL: https://alexmitrovic.com/blog
Last updated: 2026-11-30

> Field notes on BLE apps: GATT errors, Android permissions, background scanning, bonding, MTU, OTA updates, CoreBluetooth and Kotlin Multiplatform.

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](https://alexmitrovic.com/android-ble-guide).

[Read the guide](https://alexmitrovic.com/android-ble-guide)[RSS feed](https://alexmitrovic.com/feed.xml)

## All articles

[Connections### GATT 133 on Android: why BLE connections fail and how to fix themAndroid 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.29 November 2026](https://alexmitrovic.com/blog/gatt-133-android)

[Connections### Android BLE connection drops: what status 8, 19 and 22 mean and how to fix themWhy Android BLE connections drop: what disconnect statuses 8, 19, 22 and 0x3D mean, how to tell them apart, and a reconnect policy that works.29 November 2026](https://alexmitrovic.com/blog/ble-connection-drops-android)

[Permissions & scanning### Android 12+ Bluetooth permissions: BLUETOOTH_SCAN, CONNECT and location, done rightWhich Bluetooth permissions an Android BLE app needs per version: BLUETOOTH_SCAN, BLUETOOTH_CONNECT, neverForLocation and location, with a generator.29 November 2026](https://alexmitrovic.com/blog/android-12-bluetooth-permissions)

[Permissions & scanning### BLE in the background on Android: scanning limits, Doze and foreground servicesWhy Android BLE scans and sync stop in the background: throttling, screen-off limits, Doze, vendor battery savers, and what to use instead.29 November 2026](https://alexmitrovic.com/blog/android-ble-background-scanning)

[Connections### 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.29 November 2026](https://alexmitrovic.com/blog/ble-gatt-operation-queue)

[Pairing & security### Android BLE bonding problems: pairing loops, stale bonds and how to recoverWhy BLE pairing repeats, fails or breaks after a device reset on Android and iOS: bonding vs pairing, stale bonds and how to design recovery.29 November 2026](https://alexmitrovic.com/blog/android-ble-bonding-problems)

[Throughput & OTA### BLE MTU and throughput: why your transfers are slow and what to changeHow MTU, Data Length Extension, 2M PHY, connection interval and write type decide BLE throughput on Android and iOS, and what to change first.29 November 2026](https://alexmitrovic.com/blog/ble-mtu-throughput)

[Throughput & OTA### Why BLE firmware updates fail (OTA and DFU), and how to make them finishWhy BLE OTA and DFU updates fail from Android and iOS apps: drops mid-transfer, slow writes, background kills, bootloaders, and the fix for each.29 November 2026](https://alexmitrovic.com/blog/ble-ota-firmware-update-fails)

[Wi-Fi & IoT### Wi-Fi provisioning over BLE: getting IoT devices online without losing usersGetting an IoT device onto Wi-Fi from an Android or iOS app: BLE provisioning vs SoftAP, ESP32 provisioning, confirmation and the errors to handle.29 November 2026](https://alexmitrovic.com/blog/wifi-provisioning-over-ble)

[iOS & KMP### CoreBluetooth state restoration: keeping an iOS BLE app connected in the backgroundHow an iOS BLE app keeps working in the background: the bluetooth-central mode, pending connections and state restoration, with Swift code.29 November 2026](https://alexmitrovic.com/blog/corebluetooth-state-restoration)

[iOS & KMP### Kotlin Multiplatform for BLE apps: what to share and what to keep nativeHow to structure a BLE app with Kotlin Multiplatform: shared protocol and device state in commonMain, BluetoothGatt and CoreBluetooth underneath.29 November 2026](https://alexmitrovic.com/blog/kotlin-multiplatform-ble)

[Testing & hiring### How to test a BLE app on real phones: the device matrix, HCI logs and field loggingHow I test Android and iOS BLE apps: choosing phones, HCI snoop logs in Wireshark, PacketLogger, nRF Connect and the scenarios that break apps.29 November 2026](https://alexmitrovic.com/blog/testing-ble-apps-on-real-phones)

[Wi-Fi & IoT### BLE vs Wi-Fi vs MQTT for an IoT app: which link to use, and when to combine themBLE, 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.29 November 2026](https://alexmitrovic.com/blog/ble-vs-wifi-vs-mqtt-iot-app)

[Testing & hiring### How to hire a BLE app developer: 10 questions that separate specialists from generalistsHow to hire a Bluetooth app developer: ten interview questions with what good answers sound like, red flags, freelancer vs agency, and starting small.29 November 2026](https://alexmitrovic.com/blog/how-to-hire-a-ble-developer)

## 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.

[Book a free call](https://alexmitrovic.com/contact)

Free · NDA on request · reply within 1–2 working days
