Alex MitrovicBLE & IoT app developer, Android and iOS

For embedded & firmware teams

The app side of your device, from someone who has written firmware

You own the device. I own the app side, and I've written ESP32-S3 firmware and designed a PCB, so we can talk about connection intervals and bootloaders without a translator.

A phone, a debug probe wired to a development board and a soldering ironAppDebug probeYour board

Short answer

What does the app developer need from the firmware team?

The app developer needs the GATT table with properties and permissions, the protocol framing and versioning, the connection parameters and MTU the device asks for, the bonding and factory-reset rules, the OTA bootloader's protocol and how the device advertises in DFU mode, and a dev board or samples to test against.

Speak
GATT, ATT MTU, DLE, PHY, intervals
Firmware
ESP32-S3 in C/C++, own PCB
Give back
HCI logs, phone-by-phone behavior
Platforms
Android + iOS

Shared language

Where firmware decisions show up in the app

Most “the app is doing it wrong” arguments end in one of these rows. Calculate the throughput trade-offs with the throughput calculator.

The settings where firmware decisions show up as app bugs.

Firmware settingWhat the app seesWhat I'd check with you
Advertising intervalHow fast the phone finds the device, and battery useFaster during setup, slower after; filters on the phone side
Connection intervalLatency and throughput; some phones refuse very short intervalsWhat iOS and Android actually accept, per phone
Peripheral latency + supervision timeoutHow long before a drop is reported (status 8)Values that survive a phone in a pocket
ATT MTU and Data Length ExtensionBytes per write and notificationLargest MTU both sides handle, and phones that break above a size
PHY (1M, 2M, Coded)Throughput and rangeWhich phones support 2M; when to request it
Bonding and security levelPairing prompts, encrypted characteristics, re-pairingWhat happens on factory reset; how a stale bond recovers
DFU bootloaderA device that reboots and advertises differentlyName or address in DFU mode, resume and verification

Working together

How we split the work

What I need from you

  • The GATT table: services, characteristics, properties, permissions.
  • The protocol framing, versioning and error codes.
  • Connection parameters and MTU the device requests.
  • Bonding rules and what a factory reset clears.
  • The OTA bootloader protocol and DFU-mode advertising.
  • A dev board or samples running current firmware.

What you get back

  • HCI snoop logs from the phones that fail, read and annotated.
  • Which phone brands and OS versions behave differently, and how.
  • Clear bug reports: app, OS, radio or firmware, with evidence.
  • An app that uses the device the way the firmware intends.
  • Suggestions for firmware changes only where they're the cheaper fix.

Method

How we find out whose bug it is

Debugging across the link

When a connection fails, I time it, capture the HCI snoop log on the phone, and open it in Wireshark next to your device logs. The LE Create Connection, the connection parameter updates and the disconnect reason usually settle who needs to change what in minutes, not meetings.

Related: how I test BLE apps on real phones and the GATT status code lookup.

No firmware turf wars. I don't rewrite your firmware. I'll suggest a firmware change when it's clearly the cheaper fix, with the log that shows why, and otherwise fix it in the app.

FAQ

Questions teams ask

All questions
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.

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

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.

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

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