Connected devices

EEG mobile app development for biosignal hardware teams

By Zawar Nadeem · Published Aug 12, 2026 · Updated Nov 18, 2026 · 9 min read

← All articles

An EEG companion app is a data-acquisition system that happens to run on a phone. It has to preserve sample order and timing, survive mobile lifecycle changes, show gaps honestly and produce a recording whose limits can be assessed.

This guide draws on DEVSFLOW's mobile work with EEG, EDA, and HR/HRV devices, including the Hermes-Nucleus-Kit platform from RE-AK Technologies and app work by an engineer embedded in CLEIO's Android team.

Why biosignal apps fail differently

The acceptable gap, latency, and alignment error depend on the study protocol, algorithm, intended use, and claims. Define those limits with the scientific and product owners before choosing transport or buffering behavior.

Five constraints shape these apps:

Device, phone and cloud in a biosignal app
Device, phone and cloud in a biosignal appData moves up from the sensors, over Bluetooth to a phone service that keeps recording with the screen off, into an append-only session store, and up to the cloud when the network allows. Each hop has its own failure and its own answer.DEVICEPHONECLOUDBLE radionotify, seq no.Ring bufferreplay windowSensors + ADCfixed sample ratedatacmdsRecording serviceforeground, screen offSession storechunks + gap logUpload queueresumableuploadackIngest APIidempotent, checksumStoragesealed sessionsAnalysisreview, export✕ link drops → replayed from the buffer, or a logged gap✕ app stopped in the background → foreground service makes it rare; resume from the store✕ network down → session kept on the phone, upload retried
Data moves up from the sensors, over Bluetooth to a phone service that keeps recording with the screen off, into an append-only session store, and up to the cloud when the network allows. Each hop has its own failure and its own answer.

BLE on Android vs iOS

Core Bluetooth and Android BluetoothGatt expose different lifecycle and operation models. Neither platform removes the need for interruption testing, background-state handling, or a real device matrix.

Where they differ for biosignal apps:

For an Android-specific treatment, see our BLE engineering notes.

The BLE bandwidth math

Before choosing a streaming architecture, calculate the complete framed data rate. Then measure sustained payload, burst recovery, loss, and energy on the exact peripheral and supported phones. A PHY rate or rule-of-thumb efficiency is not a product capacity.

For a 4-channel EEG at 256 Hz with 24-bit samples, the raw payload is:

What to do about it:

At higher channel counts and rates, BLE may or may not provide enough margin. Compare it with Wi-Fi or wired transport using the complete framed rate, required range, energy budget, supported hosts, reconnect behavior, and measured worst-case throughput before fixing the product architecture.

Multi-sensor synchronization

Many neurotechnology platforms record multiple modalities simultaneously: EEG plus EMG, EDA, HR/HRV, GPS, and sometimes video.

The naive approach is to timestamp every sample with the phone's system clock as it arrives. This fails for two reasons.

First, BLE notification delivery is bursty. Several notifications can arrive in one connection event, so a batch of samples can share nearly the same arrival time. Second, different sensors connect over different channels (some BLE, some via the phone's internal sensors), each with its own latency.

What works:

For a deeper technical breakdown, see our piece on multi-sensor BLE synchronization.

Background BLE on iOS

If your use case requires recording data while the phone is in the user's pocket and the screen is off, iOS makes this difficult on purpose. Apple does not want apps to drain battery silently. The protections they have built make sense for most apps but create real engineering challenges for biosignal recording.

Plan for these:

Data integrity and explicit loss

Do not promise zero loss from a best-effort radio path. Promise observable integrity: the recording can distinguish complete data, recovered data, known gaps, and corruption.

How to build that:

Observable integrity instead of a zero-loss promise
Observable integrity instead of a zero-loss promiseEvery packet either lands in order, is recovered from the device's replay buffer and marked as recovered, or becomes a logged gap. Chunks are indexed by sequence number, so recovered data can arrive late and still sort correctly; a lower number is a duplicate only if that range is already stored. A counter wrap or a device reset starts a new segment instead of being dropped.Packet arrivesSequence as expected?yesAppend chunklength-framed, checksummednoGap: in thereplay buffer?already storedDuplicatedrop, count ityesRequest missing rangemarked as recoverednoLog the gapstart, end, reasonSeal the sessionduration, counts, gap log
Every packet either lands in order, is recovered from the device's replay buffer and marked as recovered, or becomes a logged gap. Chunks are indexed by sequence number, so recovered data can arrive late and still sort correctly; a lower number is a duplicate only if that range is already stored. A counter wrap or a device reset starts a new segment instead of being dropped.

For specific implementation patterns, see our breakdown of EEG data streaming over BLE.

Battery and thermal management

Continuous radio, storage, processing, and rendering consume energy on both the wearable and phone. Measure each subsystem on the target hardware before choosing an optimization.

On the phone side:

On the wearable side, this is mostly firmware territory, but the app should help:

Product-specific regulatory analysis

Regulatory status depends on each software function's intended use, claims, and jurisdiction. Start with the FDA's device software functions guidance and Health Canada's SaMD definition and classification guidance, then obtain qualified regulatory advice for the actual product.

The engineering implications start on day one:

Engineering lessons from RE-AK and CLEIO

On RE-AK and CLEIO, these patterns held up:

Frequently asked questions

How long does an EEG companion app take?

There is no credible duration without a defined protocol, firmware readiness, platforms, lifecycle requirements, data-validation plan, device matrix, cloud scope, and regulatory evidence. A short technical audit should produce the state model and risk register before anyone commits to a schedule.

Should we build native or cross-platform?

Choose native or cross-platform from ownership and testability. A shared UI can be reasonable if the team keeps a well-defined native BLE and background layer.

Fully native may be simpler when the product depends heavily on platform lifecycle, diagnostics, DSP, or new Bluetooth APIs. Prototype the hardest path before standardizing.

Can we use Web Bluetooth instead?

Web Bluetooth support and background behavior vary by browser and platform. Evaluate it against the required devices, session duration, reconnection, file handling, security model, and offline behavior. It can suit a controlled desktop workflow or prototype, but it should not be assumed to replace a native companion app.

How do we handle firmware updates from the app?

BLE firmware updates (sometimes called Device Firmware Update or DFU) are a separate protocol on top of the standard GATT connection. Devices on Nordic's nRF Connect SDK update over BLE with MCUboot and the SMP (MCUmgr) protocol; older nRF5 SDK devices use Nordic Secure DFU. Other vendors have their own.

Implement DFU as a separate module from the data streaming code. Most teams underestimate the testing burden: you need to handle interrupted updates, downgrade scenarios, and recovery from corrupted firmware.

How do we validate recorded data?

Define validation with the scientific and quality owners. Depending on intended use, evidence may include calibrated signal injection, a hardware simulator, synchronized comparison with a reference acquisition path, file-format verification, and protocol-specific signal metrics. Preserve raw data, configuration, firmware, timing uncertainty, and analysis code so the result is reproducible.