# FAQ: hiring a BLE app developer, Android and iOS · Alex Mitrovic
URL: https://alexmitrovic.com/faq
Last updated: 2026-11-30

> Every question on the site in one place: hiring a BLE developer, the audit, Android and iOS, firmware teams, GATT errors, permissions and OTA.

FAQ

# Questions teams ask before hiring me

124 short answers, each in its first sentence. Technical questions link to the article that goes deeper. If yours isn't here, ask it on a call.

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

[Hiring and working together](https://alexmitrovic.com/faq#hiring-and-working-together) [Services and pricing](https://alexmitrovic.com/faq#services-and-pricing) [Platforms](https://alexmitrovic.com/faq#platforms) [Android BLE problems](https://alexmitrovic.com/faq#android-ble-problems) [Data, updates and setup](https://alexmitrovic.com/faq#data-updates-and-setup) [iOS and cross-platform](https://alexmitrovic.com/faq#ios-and-cross-platform)

## Hiring and working together

### What does a BLE app developer do?

A BLE app developer builds the Android and iOS app that talks to a Bluetooth Low Energy device: finding and pairing it, keeping the connection stable on many phone models, syncing data in the background within OS limits, and updating the device's firmware over the air. Most of the hard work is making that reliable on real phones, not just on the developer's own.

More in [Home](https://alexmitrovic.com/)

### Why does my app's Bluetooth connection fail on some Android phones?

Usually because Android's BLE stack behaves differently across brands and OS versions. Common causes are a previous BluetoothGatt that was never closed, so the phone runs out of connection slots (status 133), connecting without TRANSPORT_LE, missing Android 12+ Bluetooth permissions, and background limits that stop scanning or sync. The fix depends on which one it is, so I reproduce the failure on the phones that show it.

More in [Home](https://alexmitrovic.com/)

### Can one developer build the app for both Android and iOS?

Yes. I share the BLE and business logic between Android and iOS with Kotlin Multiplatform and build native UI on each platform. Android is my home ground with 8+ years of experience; I write the iOS-specific parts in Swift and say plainly which iOS work I would take on alone.

More in [Home](https://alexmitrovic.com/)

### Do you only work with Bluetooth devices?

No. Bluetooth Low Energy is my specialty, but I also build and fix Android and iOS apps for IoT devices that connect over Wi-Fi and the local network, through the cloud with MQTT, or over USB. Many products use more than one, for example BLE for setup and Wi-Fi or MQTT for everyday control, and the hard part is keeping the device's state right across all of them.

More in [Home](https://alexmitrovic.com/)

### How do I start working with you?

Book a free call and describe the device, the platforms and what's breaking. Most teams then start with the fixed-price BLE reliability audit, which takes about a week, or with one painful bug fixed first.

More in [Home](https://alexmitrovic.com/)

### Is the call really free?

Yes. It's a short technical conversation to see whether I can help, not a sales pitch. If I'm not the right person, I'll say so and point you somewhere better if I can.

More in [Contact](https://alexmitrovic.com/contact)

### Will you sign an NDA before the call?

Yes. Send it with the booking or by email and I'll sign it before we go into details about your device.

More in [Contact](https://alexmitrovic.com/contact)

### Do I need to send code before the call?

No. A short description of the device, the platforms and what's breaking is enough. Code access comes later, if we decide to work together.

More in [Contact](https://alexmitrovic.com/contact)

### Where should most teams start?

With the BLE reliability audit, if an app already exists. It's fixed price, takes about a week and tells you what's wrong and in which order to fix it, so any later work is priced against known problems instead of guesses.

More in [Services](https://alexmitrovic.com/services)

### Do you work on a fixed price or by the hour?

The audit is fixed price. Development and rescue work is priced per milestone or per week, agreed up front after the audit or a scoping call, so you always know the cost before work starts.

More in [Services](https://alexmitrovic.com/services)

### Can you work alongside our in-house mobile team?

Yes. I often own the BLE layer while your team owns the rest of the app, with clear boundaries, code review both ways and documentation, so your team can take it over completely later.

More in [Services](https://alexmitrovic.com/services)

### How do you price agency work?

Your agency pricing: e.g. weekly rate or fixed per module. I estimate the BLE work up front so you can include it in your quote to the client.

More in [For agencies](https://alexmitrovic.com/for/agencies)

### Can you join a project that's already in trouble?

Yes. That's common: the app exists, the demo worked, and real-world connections don't. I start with a short audit of the BLE layer and then fix it inside your team's process.

More in [For agencies](https://alexmitrovic.com/for/agencies)

### Do you work with Flutter or React Native agencies?

Yes. In Flutter and React Native apps, BLE problems usually sit in the native layer under the Bluetooth plugin, where I work. I ship production React Native myself.

More in [For agencies](https://alexmitrovic.com/for/agencies)

### Can we launch on Android first and iOS later?

You can, but with Kotlin Multiplatform the extra cost of iOS is mostly the UI and the CoreBluetooth layer, because the protocol and device logic are shared. Many startups launch both for the price of one and a bit.

More in [Hardware startups](https://alexmitrovic.com/for/hardware-startups)

### How much does a BLE companion app cost?

It depends on the protocol, the number of screens and whether OTA and Wi-Fi provisioning are in scope. After a scoping call I propose milestones with a fixed price for each, so you know the total before committing.

More in [Hardware startups](https://alexmitrovic.com/for/hardware-startups)

### We're crowdfunding. Can the app be ready for the campaign video?

Often yes: a working prototype app against engineering samples is a realistic early milestone, and it's useful for the campaign. Tell me your dates on the first call and I'll say what's realistic.

More in [Hardware startups](https://alexmitrovic.com/for/hardware-startups)

### Can you review our GATT design before we build the app?

Yes, and it's one of the most useful things to do early. I look at the services, characteristics, properties and protocol from the app's side and flag what will be painful on Android or iOS.

More in [Firmware teams](https://alexmitrovic.com/for/firmware-teams)

### Do you work with Nordic, ESP32 or other chips?

I've written firmware for the ESP32-S3 myself, and the app side doesn't depend much on the chip: what matters is the GATT design, connection parameters and the bootloader. Add the chip families you've worked with from the app side, e.g. Nordic nRF52/nRF53, TI

More in [Firmware teams](https://alexmitrovic.com/for/firmware-teams)

### Our firmware works with nRF Connect but not with the app. Why?

Then the problem is almost always in the app: operations fired in parallel, missing TRANSPORT_LE, notifications enabled before discovery finished, or a leaked BluetoothGatt. That's the most common situation I'm called in for.

More in [Firmware teams](https://alexmitrovic.com/for/firmware-teams)

### What skills should a BLE app developer have?

Deep knowledge of Android's BluetoothGatt and iOS's CoreBluetooth, including their failure modes; GATT operation queuing; bonding; background execution rules; OTA updates; throughput tuning; real-device testing with HCI logs; and the ability to work with firmware engineers.

More in [How to hire a BLE app developer: 10 questions that separate specialists from generalists](https://alexmitrovic.com/blog/how-to-hire-a-ble-developer)

### Should I hire a freelancer or an agency for a Bluetooth app?

A freelance specialist is usually best when the device is the product and you need strong BLE skills for a defined piece of work. An agency is better when you need many disciplines managed together. Ask either one who works on the BLE layer and what they've shipped.

More in [How to hire a BLE app developer: 10 questions that separate specialists from generalists](https://alexmitrovic.com/blog/how-to-hire-a-ble-developer)

### How do I test a BLE developer before hiring?

Give them a small, paid, fixed-scope task on your real device, such as fixing one bug or reviewing the BLE layer, and see how they debug, communicate and document.

More in [How to hire a BLE app developer: 10 questions that separate specialists from generalists](https://alexmitrovic.com/blog/how-to-hire-a-ble-developer)

## Services and pricing

### How much does a BLE reliability audit cost?

It's a fixed price, from €X, agreed before we start. The price depends mostly on whether it covers Android, iOS or both, so you know the full cost up front.

More in [BLE reliability audit](https://alexmitrovic.com/services/ble-reliability-audit)

### How long does the BLE audit take?

About a week from kick-off to the walkthrough call. If devices have to be shipped to me, the clock starts when they arrive.

More in [BLE reliability audit](https://alexmitrovic.com/services/ble-reliability-audit)

### Do you need our devices?

Yes, two or three devices or engineering samples, either shipped to me or reachable remotely through someone on your team. BLE problems can't be confirmed without the real hardware.

More in [BLE reliability audit](https://alexmitrovic.com/services/ble-reliability-audit)

### What if you don't find anything?

That's a result too: you get a report of what I tested, on which phones, and what holds up. In practice there's almost always something worth fixing, but the report says plainly when the BLE layer is in good shape.

More in [BLE reliability audit](https://alexmitrovic.com/services/ble-reliability-audit)

### Can you also fix what you find?

Yes. The report includes the fixes, and if you want me to implement them I price that work up front from the report.

More in [BLE reliability audit](https://alexmitrovic.com/services/ble-reliability-audit)

### Do you build native apps or cross-platform?

Both, in one project: the BLE and business logic is shared with Kotlin Multiplatform, and the UI is native on each platform, Jetpack Compose on Android and SwiftUI on iOS. If you prefer, Compose Multiplatform can share the UI too.

More in [BLE app development](https://alexmitrovic.com/services/ble-app-development)

### Can you start before the firmware is finished?

Yes, and it often helps. I can build against a dev board or a simulated device while the firmware matures, and the protocol gets tested from the app side early.

More in [BLE app development](https://alexmitrovic.com/services/ble-app-development)

### How long does a BLE companion app take to build?

It depends on the protocol, the number of screens and whether OTA and Wi-Fi provisioning are in scope. After a scoping call I propose milestones with a price for each, so the timeline is concrete before we start.

More in [BLE app development](https://alexmitrovic.com/services/ble-app-development)

### Will our team be able to maintain the app?

Yes. I document the BLE layer's architecture and decisions as I go and hand it over in a state your team can own, or I keep maintaining it if you prefer.

More in [BLE app development](https://alexmitrovic.com/services/ble-app-development)

### Do you rewrite the app?

No. A rescue keeps what works and fixes the BLE foundations in small, reviewed steps, so the app stays shippable the whole time. A rewrite is rarely needed and rarely the fastest way to stability.

More in [BLE app rescue](https://alexmitrovic.com/services/ble-app-rescue)

### Can you take over an app another developer or agency built?

Yes. I start by mapping and documenting the existing architecture, then stabilize the BLE layer before adding features. I have taken over and become the primary owner of a production BLE stack this way.

More in [BLE app rescue](https://alexmitrovic.com/services/ble-app-rescue)

### Our app is in Flutter or React Native. Can you rescue it?

Usually, yes. BLE problems in cross-platform apps often sit in the native Android or iOS layer under the Bluetooth plugin, which is where I work. I ship production React Native too. If the plugin itself is the problem, I'll say so and propose options.

More in [BLE app rescue](https://alexmitrovic.com/services/ble-app-rescue)

### How long does a BLE app rescue take?

It depends on what the audit finds. The audit ranks the problems and sizes the fixes, so the rescue is planned and priced from that, usually in weekly steps you can stop after any week.

More in [BLE app rescue](https://alexmitrovic.com/services/ble-app-rescue)

### Can you add OTA updates to an existing app?

Yes. I can add an update flow to an existing Android or iOS app, or fix one that fails, working with your firmware team on the bootloader side where needed.

More in [OTA firmware updates](https://alexmitrovic.com/services/ota-firmware-updates)

### How fast should a BLE firmware update be?

It depends on the image size, MTU, connection interval, PHY and whether the app writes with or without response. Many slow updates use a fraction of what the link allows; the throughput calculator on this site shows the expected range for your parameters.

More in [OTA firmware updates](https://alexmitrovic.com/services/ota-firmware-updates)

### What happens if the connection drops during an update?

In a well-built flow, nothing bad: the device keeps the old image until the new one is complete and verified, and the app resumes from the last confirmed offset when it reconnects.

More in [OTA firmware updates](https://alexmitrovic.com/services/ota-firmware-updates)

### Our IoT app shows the device as offline. Is that the device or the app?

Usually the app: it trusts a cached state, misses a reconnect after the phone changes network, or loses MQTT messages in the background. I follow one device through the app, the network and the firmware until what the user sees matches reality.

More in [IoT app development](https://alexmitrovic.com/services/iot-app-development)

### Do you build the cloud backend too?

My focus is the mobile app and its side of the protocols. I work with your backend team or your IoT cloud (for example an MQTT broker) and can help shape the API the app needs.

More in [IoT app development](https://alexmitrovic.com/services/iot-app-development)

### Can the app work without the cloud?

Yes, if the device supports local control: the app can talk to it over BLE or the local network and use the cloud only when the phone is away from home.

More in [IoT app development](https://alexmitrovic.com/services/iot-app-development)

## Platforms

### How do I hire an Android BLE developer?

Look for someone who has shipped and maintained BLE apps in production, can explain the common GATT statuses, tests on several phone brands and can talk to your firmware team. Ask how they would debug a connection that fails only on Samsung phones; the answer tells you a lot. More in the guide on hiring a BLE developer.

More in [Android BLE developer](https://alexmitrovic.com/android-ble-developer)

### Can you work on our existing Android BLE code?

Yes. Most of my work is on existing apps: I map the BLE layer, find what's failing and fix it in small, reviewed steps. The fixed-price audit is the usual first step.

More in [Android BLE developer](https://alexmitrovic.com/android-ble-developer)

### Do you use a BLE library or raw BluetoothGatt?

Either. I'm comfortable with raw BluetoothGatt and with libraries such as Nordic's Android-BLE-Library. What matters is that operations are queued, states are explicit and every client is closed; the choice depends on your codebase.

More in [Android BLE developer](https://alexmitrovic.com/android-ble-developer)

### Which Android versions do you support?

Whatever your users run. I check the behavior differences for each version you support, especially around permissions, scanning and background work, and test on real phones across that range.

More in [Android BLE developer](https://alexmitrovic.com/android-ble-developer)

### Can you build only the iOS app for our existing Android BLE app?

Often, yes, especially if the Android app's device logic can move into a shared Kotlin Multiplatform module that iOS then uses. On a first call I'll look at how the Android app is structured and say whether that's the fastest route.

More in [iOS BLE developer](https://alexmitrovic.com/ios-ble-developer)

### Why doesn't iOS show the device's MAC address?

CoreBluetooth gives each peripheral a UUID that's stable for your app on that phone, and doesn't expose the MAC address. If your onboarding or backend identifies devices by MAC, the firmware should put an ID in the advertising data or a characteristic instead.

More in [iOS BLE developer](https://alexmitrovic.com/ios-ble-developer)

### Can an iOS app stay connected to a BLE device in the background?

Yes, with the bluetooth-central background mode. iOS may still suspend or terminate the app; with state restoration, iOS relaunches it in the background when the device sends data or reconnects, and the app picks up where it left off.

More in [iOS BLE developer](https://alexmitrovic.com/ios-ble-developer)

### Is Kotlin Multiplatform ready for production?

Yes. It's stable and used in production apps, and I've shipped KMP code in a startup app and in fintech. The parts to plan carefully are the iOS build setup, Swift interop and which libraries you depend on.

More in [Kotlin Multiplatform developer](https://alexmitrovic.com/kotlin-multiplatform-developer)

### Should we use Compose Multiplatform or native UI?

It depends on the app. Compose Multiplatform saves time when screens are mostly the same; native SwiftUI is worth it when iOS users expect platform-specific behavior. Many apps share logic with KMP and keep native UI, and that's a fine end state.

More in [Kotlin Multiplatform developer](https://alexmitrovic.com/kotlin-multiplatform-developer)

### Can you migrate our Flutter app to Kotlin Multiplatform?

Yes. I led exactly that at a startup: a rebuild from Flutter to Kotlin Multiplatform and Compose Multiplatform, with the architecture, map features, permission flows and backend integrations.

More in [Kotlin Multiplatform developer](https://alexmitrovic.com/kotlin-multiplatform-developer)

### Is KMP a good fit for BLE apps?

Very. The protocol, OTA chunking and connection state are the parts that must behave the same on both platforms, and they're exactly what KMP shares well. The Bluetooth APIs stay native underneath.

More in [Kotlin Multiplatform developer](https://alexmitrovic.com/kotlin-multiplatform-developer)

### Do you write firmware too?

I've written ESP32-S3 firmware in C/C++ for my own device, so I understand the firmware side well. For client projects I focus on the app and work with your firmware engineers rather than replacing them.

More in [IoT app developer](https://alexmitrovic.com/iot-app-developer)

### Which IoT platforms and chips have you worked with?

ESP32-S3 on my own device, and in client work devices with custom BLE protocols, OTA and USB links. Add the chips and platforms you've worked with, e.g. Nordic nRF52, TI, AWS IoT

More in [IoT app developer](https://alexmitrovic.com/iot-app-developer)

### Can you help choose between BLE, Wi-Fi and MQTT for our product?

Yes. Each link wins in different places: BLE for setup and nearby control, Wi-Fi and the LAN for local control at speed, MQTT and the cloud for control away from home. The comparison article on this site goes through the trade-offs.

More in [IoT app developer](https://alexmitrovic.com/iot-app-developer)

### Do you build Matter apps?

Answer honestly: whether you have shipped Matter commissioning or control, and what you'd need to take it on. Matter commissioning uses BLE for setup, so much of the BLE onboarding work carries over.

More in [Smart home & HVAC apps](https://alexmitrovic.com/for/smart-home)

### Can the app control the device when the phone is away from home?

Yes, through the cloud, usually over MQTT or your own API. The app switches between local and cloud control on its own and keeps showing one state for the device.

More in [Smart home & HVAC apps](https://alexmitrovic.com/for/smart-home)

### What if the user's Wi-Fi changes?

The app should notice the device going offline, offer to re-provision it over BLE, and not lose its settings. I design the setup flow so this is a two-minute fix for the user, not a support ticket.

More in [Smart home & HVAC apps](https://alexmitrovic.com/for/smart-home)

## Android BLE problems

### What does GATT error 133 mean on Android?

It is GATT_ERROR (0x85), a catch-all status the Android Bluetooth stack reports in onConnectionStateChange when a connection fails for a reason it doesn't classify. It doesn't tell you the cause; the timing, the phone and the Bluetooth HCI log do.

More in [GATT 133 on Android: why BLE connections fail and how to fix them](https://alexmitrovic.com/blog/gatt-133-android)

### Why does my BLE connection work on the second try after status 133?

Because many first-attempt failures are timing problems in the phone's Bluetooth stack, for example connecting right after a scan stopped or while another operation was still running. Close the failed BluetoothGatt, wait a few hundred milliseconds and connect again with a new connectGatt call.

More in [GATT 133 on Android: why BLE connections fail and how to fix them](https://alexmitrovic.com/blog/gatt-133-android)

### Does autoConnect = true fix GATT 133?

Not by itself. With autoConnect = true, Android waits for the device in the background without the 30-second timeout, so you see fewer timeout failures, but connecting is slower. Use it to reconnect to a known device, and autoConnect = false when the user is waiting for a connection.

More in [GATT 133 on Android: why BLE connections fail and how to fix them](https://alexmitrovic.com/blog/gatt-133-android)

### Is GATT 133 a firmware problem or an app problem?

It can be either. Try the same phone with Nordic's nRF Connect app: if it connects reliably there, the problem is in your app. If nRF Connect fails too, check the device's advertising and connection limits with the firmware team, using the HCI snoop log.

More in [GATT 133 on Android: why BLE connections fail and how to fix them](https://alexmitrovic.com/blog/gatt-133-android)

### What does status 8 mean in Android BLE?

Status 8 is GATT_CONN_TIMEOUT: no packet got through within the connection's supervision timeout, so the link was considered lost. The usual causes are range, obstacles, interference or the device resetting. Reconnect with autoConnect = true.

More in [Android BLE connection drops: what status 8, 19 and 22 mean and how to fix them](https://alexmitrovic.com/blog/ble-connection-drops-android)

### Why does my BLE device disconnect after exactly 30 or 60 seconds?

A drop at a round number of seconds after the last activity is almost always an idle timeout in the device's firmware, reported on Android as status 19. Agree a longer timeout with the firmware team or keep the link active.

More in [Android BLE connection drops: what status 8, 19 and 22 mean and how to fix them](https://alexmitrovic.com/blog/ble-connection-drops-android)

### What is the difference between disconnect() and close() on Android?

disconnect() ends the connection but keeps the BluetoothGatt client registered; close() releases it. After a disconnect you don't plan to resume on the same object, call close(), or the phone eventually runs out of clients and connections fail with 133.

More in [Android BLE connection drops: what status 8, 19 and 22 mean and how to fix them](https://alexmitrovic.com/blog/ble-connection-drops-android)

### Should I reconnect automatically after every BLE disconnect?

No. Reconnect according to the status: wait in the background after a timeout (8), pause and retry after the device ended it (19), and stop and tell the user after repeated pairing failures (22, 0x3D). Never reconnect after the user disconnected.

More in [Android BLE connection drops: what status 8, 19 and 22 mean and how to fix them](https://alexmitrovic.com/blog/ble-connection-drops-android)

### Does BLE scanning need location permission on Android 12?

No, if you declare BLUETOOTH_SCAN with android:usesPermissionFlags="neverForLocation" and don't derive location from scan results. On Android 11 and earlier, scanning still needs ACCESS_FINE_LOCATION, so declare it with android:maxSdkVersion="30".

More in [Android 12+ Bluetooth permissions: BLUETOOTH_SCAN, CONNECT and location, done right](https://alexmitrovic.com/blog/android-12-bluetooth-permissions)

### Which Android 12 permission do I need to connect to a BLE device?

BLUETOOTH_CONNECT. It's a runtime permission, and it's also needed for getName(), getBondedDevices(), createBond() and other BluetoothDevice calls.

More in [Android 12+ Bluetooth permissions: BLUETOOTH_SCAN, CONNECT and location, done right](https://alexmitrovic.com/blog/android-12-bluetooth-permissions)

### Why does my BLE scan return no results on Android 10 or 11?

Usually because location permission isn't granted, or the Location setting is switched off: on many phones scans then return nothing without an error. Check both before scanning and explain to the user why they're needed.

More in [Android 12+ Bluetooth permissions: BLUETOOTH_SCAN, CONNECT and location, done right](https://alexmitrovic.com/blog/android-12-bluetooth-permissions)

### Do I need BLUETOOTH_ADVERTISE?

Only if the phone itself advertises, acting as a BLE peripheral. A normal companion app that scans for and connects to a device doesn't need it.

More in [Android 12+ Bluetooth permissions: BLUETOOTH_SCAN, CONNECT and location, done right](https://alexmitrovic.com/blog/android-12-bluetooth-permissions)

### Why does my Android BLE scan stop when the screen turns off?

Since Android 8.1, scans without a ScanFilter are stopped while the screen is off. Add at least one filter, for example your device's service UUID, and the scan continues.

More in [BLE in the background on Android: scanning limits, Doze and foreground services](https://alexmitrovic.com/blog/android-ble-background-scanning)

### Why does startScan sometimes find nothing on Android?

If the app called startScan more than five times in 30 seconds, Android silently ignores further starts for a while. Start one scan and keep it running instead of restarting it to refresh results.

More in [BLE in the background on Android: scanning limits, Doze and foreground services](https://alexmitrovic.com/blog/android-ble-background-scanning)

### How do I keep a BLE connection alive in the background on Android?

Run the connection from a foreground service with foregroundServiceType="connectedDevice", declare FOREGROUND_SERVICE_CONNECTED_DEVICE, hold BLUETOOTH_CONNECT and show its notification. Start it while the app is visible.

More in [BLE in the background on Android: scanning limits, Doze and foreground services](https://alexmitrovic.com/blog/android-ble-background-scanning)

### Can my app get BLE scan results after it was killed?

Yes, with a PendingIntent scan: startScan with a PendingIntent keeps running in the system and delivers matching results to your BroadcastReceiver, starting your process if needed.

More in [BLE in the background on Android: scanning limits, Doze and foreground services](https://alexmitrovic.com/blog/android-ble-background-scanning)

### Why does BluetoothGatt.writeCharacteristic return false?

Most often because another GATT operation on the same connection is still in progress: Android allows one at a time. It also returns false if the characteristic doesn't support the write type or the connection is gone. Queue your operations and wait for each callback.

More in [Why your Android BLE app needs a GATT operation queue (and how to write one in Kotlin)](https://alexmitrovic.com/blog/ble-gatt-operation-queue)

### Can I write multiple BLE characteristics at the same time on Android?

Not on one connection. BluetoothGatt runs one operation at a time, so writes must be queued. Writes without response can go fast, but you still wait for each onCharacteristicWrite before sending the next.

More in [Why your Android BLE app needs a GATT operation queue (and how to write one in Kotlin)](https://alexmitrovic.com/blog/ble-gatt-operation-queue)

### Does iOS need a GATT operation queue?

Less than Android: CoreBluetooth queues requests internally. You still need to order the flow, for example finish discovery before subscribing, and respect canSendWriteWithoutResponse for fast writes.

More in [Why your Android BLE app needs a GATT operation queue (and how to write one in Kotlin)](https://alexmitrovic.com/blog/ble-gatt-operation-queue)

### Why does my BLE device ask to pair every time?

Most often the device pairs without bonding, so no keys are stored and every connection needs a new pairing. It's a firmware setting. Less often, the app calls createBond() on every connection.

More in [Android BLE bonding problems: pairing loops, stale bonds and how to recover](https://alexmitrovic.com/blog/android-ble-bonding-problems)

### How do I remove a BLE bond programmatically on Android?

There's no public API. The hidden removeBond() method is reached by reflection in many apps, but it's unsupported and may stop working. The reliable path is to guide users to forget the device in Bluetooth settings, and to design firmware so reset devices are recognized.

More in [Android BLE bonding problems: pairing loops, stale bonds and how to recover](https://alexmitrovic.com/blog/android-ble-bonding-problems)

### What is a stale bond?

A bond that only one side still remembers: typically the device was reset and lost its keys while the phone kept them. Connections then fail right after connecting, often with status 0x3D or 22, until the user removes the bond and pairs again.

More in [Android BLE bonding problems: pairing loops, stale bonds and how to recover](https://alexmitrovic.com/blog/android-ble-bonding-problems)

### Does iOS have createBond()?

No. On iOS, pairing starts when the app accesses a characteristic that requires encryption, or when the device requests security. The app can't start it directly or remove a bond.

More in [Android BLE bonding problems: pairing loops, stale bonds and how to recover](https://alexmitrovic.com/blog/android-ble-bonding-problems)

### Why does Android report status 133 instead of a real reason?

133 is GATT_ERROR, the Android stack's catch-all when a connection fails and no more specific code applies. The real cause shows up in the timing, the phone model and the HCI snoop log, not in the status.

More in [GATT status code lookup](https://alexmitrovic.com/tools/gatt-status-codes)

### What is the difference between status 19 and 22?

Status 19 means the device (the peer) ended the connection on purpose; status 22 means the phone's own Bluetooth stack ended it. 19 sends you to the firmware; 22 sends you to the phone side, often pairing or encryption.

More in [GATT status code lookup](https://alexmitrovic.com/tools/gatt-status-codes)

### What does status 0x3D mean?

0x3D (61) means the connection was terminated because of a MIC failure: encrypted packets failed their integrity check. It almost always means the phone and the device have different keys, typically a stale bond after the device was reset.

More in [GATT status code lookup](https://alexmitrovic.com/tools/gatt-status-codes)

### Do I still need location permission for BLE on Android 12?

No, not if you declare BLUETOOTH_SCAN with android:usesPermissionFlags="neverForLocation" and don't use scan results to find the user's location. You still need ACCESS_FINE_LOCATION for Android 11 and earlier, so declare it with android:maxSdkVersion="30".

More in [Android BLE permissions generator](https://alexmitrovic.com/tools/android-ble-permissions)

### What does neverForLocation do?

It tells Android your app never derives physical location from Bluetooth scan results, so BLUETOOTH_SCAN doesn't need location permission. The trade-off: some beacon advertisements are filtered out of your scan results.

More in [Android BLE permissions generator](https://alexmitrovic.com/tools/android-ble-permissions)

### Why does connectGatt throw a SecurityException?

On Android 12 and later, connecting needs the BLUETOOTH_CONNECT runtime permission. If the user hasn't granted it, connectGatt and many BluetoothDevice calls throw a SecurityException.

More in [Android BLE permissions generator](https://alexmitrovic.com/tools/android-ble-permissions)

## Data, updates and setup

### What is the maximum BLE MTU on Android?

517 bytes. After the 3-byte header that leaves room for 514, but an attribute value can be at most 512 bytes, so 512 is the most you can send in one write or notification. Ask with requestMtu() and use the value Android reports in onMtuChanged, which depends on what the device supports.

More in [BLE MTU and throughput: why your transfers are slow and what to change](https://alexmitrovic.com/blog/ble-mtu-throughput)

### Does a bigger MTU always make BLE faster?

No. Without Data Length Extension, a large ATT packet is split into 27-byte link-layer packets, so the gain is small. The big jump comes from DLE plus write without response; MTU 247 then fills each link-layer packet exactly.

More in [BLE MTU and throughput: why your transfers are slow and what to change](https://alexmitrovic.com/blog/ble-mtu-throughput)

### How fast can BLE transfer data?

With 2M PHY, DLE and write without response, a recent phone and BLE 5 device can reach well over 100 KB/s in good conditions. Real numbers depend on how many packets the phone fits per connection event, which varies by model.

More in [BLE MTU and throughput: why your transfers are slow and what to change](https://alexmitrovic.com/blog/ble-mtu-throughput)

### Can I set the connection interval from the app?

On Android you can only request a priority with requestConnectionPriority(); the device can request parameters too. On iOS the app can't set it at all, and iOS applies its own rules, so the device's parameter requests matter most.

More in [BLE MTU and throughput: why your transfers are slow and what to change](https://alexmitrovic.com/blog/ble-mtu-throughput)

### What MTU should I use for BLE?

247 is a good default when the device supports Data Length Extension: an ATT packet of 247 bytes plus the 4-byte L2CAP header fills one 251-byte link-layer packet exactly. Larger MTUs work too but split across several packets.

More in [BLE throughput calculator](https://alexmitrovic.com/tools/ble-throughput-calculator)

### Why is my BLE transfer slower than the calculator says?

The calculator is a best case. Phones limit packets per connection event, other Bluetooth traffic shares the radio, packets get retransmitted in noisy places, and the app or firmware may not keep the pipeline full.

More in [BLE throughput calculator](https://alexmitrovic.com/tools/ble-throughput-calculator)

### Does iOS allow short connection intervals?

iOS accepts intervals down to 15 ms for most accessories, in steps of 15 ms per Apple's accessory design guidelines, so values tuned for Android may be renegotiated on iPhones.

More in [BLE throughput calculator](https://alexmitrovic.com/tools/ble-throughput-calculator)

### Why does my BLE firmware update restart from zero after a disconnect?

Because the update protocol, or the app's use of it, doesn't resume. The device must keep track of the bytes it received and report the offset, and the app must ask for it after reconnecting and continue from there.

More in [Why BLE firmware updates fail (OTA and DFU), and how to make them finish](https://alexmitrovic.com/blog/ble-ota-firmware-update-fails)

### Why can't the app find my device after it enters DFU mode?

Bootloaders often advertise differently from the application: another name, other services, and on Nordic's nRF5 SDK with buttonless DFU on unbonded devices, the device address plus one. The app has to scan for the bootloader's advertisement, not the app's.

More in [Why BLE firmware updates fail (OTA and DFU), and how to make them finish](https://alexmitrovic.com/blog/ble-ota-firmware-update-fails)

### Can a failed BLE update brick the device?

Not with a good bootloader design: the new image is written to a second slot, verified, and only then swapped, and with MCUboot's test swap it reverts if not confirmed. Single-slot designs that overwrite the running image are the ones that brick.

More in [Why BLE firmware updates fail (OTA and DFU), and how to make them finish](https://alexmitrovic.com/blog/ble-ota-firmware-update-fails)

### How long should a BLE firmware update take?

It depends on image size and link settings. With write without response, MTU 247, DLE and 2M PHY, a few hundred kilobytes can take well under a minute in good conditions; with 20-byte writes and responses it can take many minutes. The throughput calculator gives an estimate.

More in [Why BLE firmware updates fail (OTA and DFU), and how to make them finish](https://alexmitrovic.com/blog/ble-ota-firmware-update-fails)

### Is BLE or SoftAP better for Wi-Fi provisioning?

BLE provisioning is usually smoother: the phone keeps its own internet connection and there are fewer system prompts. SoftAP works for Wi-Fi-only devices but makes the phone join a network without internet, which both Android and iOS push back on.

More in [Wi-Fi provisioning over BLE: getting IoT devices online without losing users](https://alexmitrovic.com/blog/wifi-provisioning-over-ble)

### Why can't my IoT device see my 5 GHz Wi-Fi?

Many IoT Wi-Fi chips support only 2.4 GHz. Letting the device scan and send its list of networks avoids offering networks it can't join, and the app can explain the 2.4 GHz requirement when the user's network is 5 GHz only.

More in [Wi-Fi provisioning over BLE: getting IoT devices online without losing users](https://alexmitrovic.com/blog/wifi-provisioning-over-ble)

### Is it safe to send Wi-Fi passwords over BLE?

Only over an encrypted session. Use the provisioning protocol's secure session (for example ESP-IDF's security 1 or 2 with proof of possession) or BLE encryption plus application-level encryption; never write credentials to a characteristic in plain text.

More in [Wi-Fi provisioning over BLE: getting IoT devices online without losing users](https://alexmitrovic.com/blog/wifi-provisioning-over-ble)

### Is BLE or Wi-Fi better for an IoT device?

BLE is better for battery-powered devices used nearby and for setup; Wi-Fi is better for mains-powered devices that need fast control at home or a cloud connection. Many products use both: BLE to set up, Wi-Fi for everyday use.

More in [BLE vs Wi-Fi vs MQTT for an IoT app: which link to use, and when to combine them](https://alexmitrovic.com/blog/ble-vs-wifi-vs-mqtt-iot-app)

### Can a BLE device be controlled remotely?

Not by itself: BLE needs the phone nearby. For remote control, either the device also connects to Wi-Fi and a cloud service, or a gateway (a hub or a phone at home) relays commands.

More in [BLE vs Wi-Fi vs MQTT for an IoT app: which link to use, and when to combine them](https://alexmitrovic.com/blog/ble-vs-wifi-vs-mqtt-iot-app)

### Is MQTT a replacement for BLE?

No, they solve different problems. MQTT is a protocol for talking to a server over the internet; BLE is a short-range radio link. Many apps use BLE to set up a device and MQTT to control it from anywhere afterwards.

More in [BLE vs Wi-Fi vs MQTT for an IoT app: which link to use, and when to combine them](https://alexmitrovic.com/blog/ble-vs-wifi-vs-mqtt-iot-app)

## iOS and cross-platform

### Why doesn't my iOS app relaunch for Bluetooth events?

The most common reason is that it was force-quit by the user, which disables relaunch until the app is opened again. Otherwise check the restore identifier, that the manager is created early at launch, and that willRestoreState re-assigns peripheral delegates.

More in [CoreBluetooth state restoration: keeping an iOS BLE app connected in the background](https://alexmitrovic.com/blog/corebluetooth-state-restoration)

### Does CBCentralManager.connect time out?

No. A connect request stays pending until the peripheral is available or you call cancelPeripheralConnection. That makes it the natural way to reconnect in the background; add your own timeout only for connections the user is actively waiting for.

More in [CoreBluetooth state restoration: keeping an iOS BLE app connected in the background](https://alexmitrovic.com/blog/corebluetooth-state-restoration)

### Can iOS scan for BLE devices in the background?

Yes, but only with specific service UUIDs, with duplicate reports coalesced and at a lower rate. For known devices, a pending connect is more reliable than a background scan.

More in [CoreBluetooth state restoration: keeping an iOS BLE app connected in the background](https://alexmitrovic.com/blog/corebluetooth-state-restoration)

### Can Kotlin Multiplatform access Bluetooth on iOS?

Yes. Kotlin/Native can call CoreBluetooth directly, or the iOS app can implement a shared Kotlin interface in Swift. Libraries such as Kable also wrap CoreBluetooth for KMP.

More in [Kotlin Multiplatform for BLE apps: what to share and what to keep native](https://alexmitrovic.com/blog/kotlin-multiplatform-ble)

### Should the BLE layer be shared in a KMP app?

The logic should: protocol, OTA flow, state machine and retry policy. The calls to BluetoothGatt and CoreBluetooth should stay platform-specific behind a small interface, because the platforms behave differently in ways that matter.

More in [Kotlin Multiplatform for BLE apps: what to share and what to keep native](https://alexmitrovic.com/blog/kotlin-multiplatform-ble)

### Is Kable production-ready?

Kable is widely used and actively maintained, and it's a reasonable default for KMP BLE apps with standard needs. Evaluate it against your device's bonding, OTA and background requirements before committing.

More in [Kotlin Multiplatform for BLE apps: what to share and what to keep native](https://alexmitrovic.com/blog/kotlin-multiplatform-ble)

### Can I test a BLE app on an emulator?

Not meaningfully. The Android emulator's Bluetooth support is limited and doesn't behave like real phone stacks, and the iOS Simulator has no Bluetooth. Test BLE on real phones; use emulators for the rest of the UI.

More in [How to test a BLE app on real phones: the device matrix, HCI logs and field logging](https://alexmitrovic.com/blog/testing-ble-apps-on-real-phones)

### How do I get the Bluetooth HCI snoop log on Android?

Turn on Enable Bluetooth HCI snoop log in Developer options, restart Bluetooth, reproduce the problem, take a bug report and open the btsnoop_hci.log file from it in Wireshark.

More in [How to test a BLE app on real phones: the device matrix, HCI logs and field logging](https://alexmitrovic.com/blog/testing-ble-apps-on-real-phones)

### Which phones should I test my BLE app on?

The ones your users have: check analytics and support tickets. Cover the main Android brands including a mid-range Samsung, your oldest and newest supported Android versions, at least two iPhones, and one cheap phone.

More in [How to test a BLE app on real phones: the device matrix, HCI logs and field logging](https://alexmitrovic.com/blog/testing-ble-apps-on-real-phones)

FAQ

## About working with me

[All questions](https://alexmitrovic.com/faq)

### Do you build for both Android and iOS?

Yes. Android is my home ground, with 8+ years of experience. For both platforms I share the BLE and business logic with Kotlin Multiplatform and build native UI on each. I write the iOS-specific parts in Swift and tell you plainly which iOS work I would take on alone.

### Can you work with our firmware team?

Yes, and I prefer to. Many app problems are tied to connection parameters, MTU, advertising or the update protocol. I have written ESP32 firmware in C/C++ and designed PCBs, so I can talk to firmware engineers in their terms.

### Our IoT app shows the device as offline or with the wrong state. Can you help?

Yes. This is usually the app's connection and state handling, not the device: the app trusts a cached state, misses a reconnect after the phone changes network, stays bound to the wrong network after Wi-Fi setup, or loses MQTT messages while it is in the background. I follow one device through the app, the network and the firmware until the state the user sees matches the real one, then fix that layer.

### Will you sign an NDA?

Yes. Most hardware work is under NDA. I never publish client names, device details or logs without written permission.

### Which time zone do you work in?

I am in Niš, Serbia (CET/CEST). I overlap fully with European teams and keep a few hours of overlap with US East Coast teams.

### What do you need from us to start?

Access to the app code, two or three devices or engineering samples, the GATT or protocol documentation, and any logs or bug reports you have. A contact on the firmware team helps a lot.

### Do you test on real devices?

Always. BLE bugs depend on phone models, OS versions and radio conditions, so I test on a set of real Android phones and iPhones, not only on emulators.

### Can you take over an app another developer built?

Yes. I start by mapping and documenting the existing architecture, then stabilize the BLE layer before adding features. I have taken over and become the primary owner of a production BLE stack this way.

### Our app is built with React Native. Can you help?

Yes. I ship production React Native features in TypeScript, and BLE problems in React Native apps often sit in the native Android or iOS layer under the Bluetooth library, which is where my 8+ years of Android work. I can fix them on either side.

### Do you use AI to write the code?

I use AI tools to move faster, the way a strong team uses good tooling. Every BLE change is reviewed by me and tested on real devices. AI often gets BLE details subtly wrong, and catching that is part of the job.

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