Home / Insights / Mobile App Development

Mobile App Development

Connected Fitness Equipment Apps: BLE, FTMS and Real-Time Workout Data

Connected fitness apps live or die on the link between phone and machine. This guide explains how Bluetooth Low Energy and the Fitness Machine Service work, how to handle real-time workout data reliably, and which decisions to make before you build.

TopicsMobile App DevelopmentProduct Design and Discovery

Key takeaways

  • Supporting the Bluetooth SIG Fitness Machine Service (FTMS) lets one app work with many bikes, treadmills and rowers, but you still need a device compatibility programme.
  • Treat the BLE link as unreliable: design for dropouts, reconnection and buffering so a workout is never lost because a signal flickered.
  • Separate raw sensor data, derived metrics and the workout record; it keeps the real-time UI fast and makes health platform sync and analytics simpler.
  • Plan permissions, background execution and Health Connect or HealthKit integration early, because platform rules shape the architecture.
  • Test on real equipment and phones across manufacturers; emulators cannot reproduce radio behaviour, firmware quirks or gym interference.

A connected bike, treadmill or rowing machine is only as good as the app that talks to it. Users expect to start a workout in seconds, see power, cadence, speed and heart rate update smoothly, follow a structured session that changes resistance automatically, and find the finished workout in their health app afterwards. When the Bluetooth link drops or the numbers lag, they blame the product, not the radio.

This article is for product leads, CTOs and hardware teams at equipment makers, gyms and fitness start-ups planning an app for connected equipment. It covers how Bluetooth Low Energy (BLE) and the Fitness Machine Service work, when to adopt the standard versus a proprietary protocol, how to design the real-time data pipeline, how platform permissions and background rules affect the build, and how to test. It assumes the equipment exists or is being designed in parallel.

PoliteTech builds fitness and wellness apps with progress tracking, wearable data syncing, Apple Health and Google Fit integration and subscription billing. The guidance below reflects how we approach the device side of those products.

How do fitness machines talk to apps over BLE?

Most modern fitness equipment connects to phones and tablets over Bluetooth Low Energy. Android’s BLE overview describes the model clearly, and it is the same on iOS.

The concepts that matter

  • Central and peripheral. The phone is normally the central, which scans and connects; the machine is the peripheral, which advertises.
  • GATT client and server. Once connected, the phone acts as a GATT client and the machine as a GATT server that exposes data.
  • Services and characteristics. A service groups related characteristics; a characteristic is a single value with optional descriptors, identified by a UUID. Live data arrives as notifications on characteristics the app subscribes to.
  • Small payloads, low power. BLE is designed for short, frequent messages, which suits once-per-second workout data but not bulk file transfer.

Google’s documentation adds an important caveat: data exchanged with a paired BLE device can be accessible to other apps on the same phone, so sensitive data needs protection at the application layer.

Standard profiles in fitness

The Bluetooth SIG publishes standard services so that equipment and apps from different vendors can interoperate. For fitness, the relevant ones include heart rate, cycling speed and cadence, cycling power, running speed and cadence, and the Fitness Machine Service for complete machines such as treadmills, indoor bikes and rowers. Apps that support these standards can work with many devices without per-vendor code.

Action: list the equipment types and accessory sensors your app must support, and note which standard services each one exposes.

Should you use FTMS or a proprietary protocol?

The Fitness Machine Service (FTMS) 1.0 is an adopted Bluetooth SIG specification that exposes training-related data from a fitness machine to a client such as a phone or tablet. In practice it defines data characteristics for different machine types, characteristics describing what the machine supports, a status channel and a control point that lets an app request changes such as target resistance, power or incline. The SIG lists a mandatory errata correction for compliance claims, which is a reminder to read the full specification package rather than a summary.

Trade-offs

OptionStrengthsWeaknessesBest for
FTMS onlyInteroperable with third-party training apps; one code path for many machinesLimited to what the standard defines; implementations vary in qualityEquipment makers wanting ecosystem reach; apps supporting many brands
Proprietary GATT service onlyFull control over features, calibration and firmware updatesNo third-party app support; you document and maintain everythingHighly differentiated machines with unique features
FTMS plus a proprietary serviceStandard data for everyone, extra features for your own appTwo interfaces to test and keep consistentMost equipment makers building their own app
App supports FTMS plus selected vendor protocolsWidest device coverage for an app-only businessOngoing reverse engineering or partner agreements per vendorTraining platforms not selling hardware

How to decide

  1. If you make the equipment, implement FTMS unless you have a strong reason not to; buyers increasingly expect to use their preferred training app.
  2. Add a proprietary service only for features FTMS does not cover, such as firmware updates, diagnostics or brand-specific modes.
  3. If you are app-only, start with FTMS and the standard sensor services, then add vendor protocols only where partner agreements and demand justify the maintenance.

Action: write down which features need control (not just data) and check whether the FTMS control point covers them before committing to a proprietary design.

How should you design the real-time workout data pipeline?

The data path from machine to screen to stored workout is where most quality problems appear. A clear layered design avoids the common failure of a UI that freezes, or a workout that disappears when the app is interrupted.

Four layers

  1. Transport. Scanning, connecting, subscribing to notifications, reconnecting. This layer knows nothing about workouts.
  2. Parsing and normalisation. Decodes raw bytes into typed values with units, handles optional fields indicated by flags, and normalises differences between machines.
  3. Session engine. Combines streams from the machine and accessories such as heart rate straps, computes derived metrics (averages, zones, energy estimates), runs structured workouts and sends control commands.
  4. Persistence and sync. Writes samples to local storage continuously, builds the final workout record and syncs to your backend and health platforms.

Design rules that save pain later

  • Persist as you go. Write samples locally every few seconds so a crash, call or OS kill does not lose the session.
  • Timestamp on receipt and keep raw values. Store what the machine reported alongside what you derived, so you can fix calculation bugs later without losing data.
  • Decouple UI refresh from data rate. Render at a steady pace from the latest state rather than redrawing on every notification.
  • Handle gaps explicitly. Mark dropouts rather than interpolating silently; users and coaches notice invented data.
  • Make control commands idempotent and confirmed. Wait for the machine’s response on the control point and show the user if a target was not applied.

For example, a boutique studio chain might want members’ bikes to follow an instructor’s power targets in real time. The session engine sends targets through the control point, confirms each one, and the UI shows a clear warning if a bike rejects a command, rather than letting a member ride a session that silently stopped adapting.

Action: define the workout record format and the local persistence strategy before building screens.

Which platform rules shape the architecture?

iOS and Android both restrict Bluetooth use for privacy and battery reasons, and those rules affect onboarding, background behaviour and store review.

Android

  • Runtime permissions. On Android 12 and later, apps request BLUETOOTH_SCAN and BLUETOOTH_CONNECT, which appear to users as a Nearby devices prompt. Google’s Bluetooth permissions guide explains the neverForLocation flag for apps that do not derive location from scans, and the location permission still needed on Android 11 and earlier.
  • Companion device pairing. The Companion Device Manager provides a system pairing UI without location permission, which can simplify onboarding.
  • Feature declarations. Declaring BLE as required hides the app from devices without it; mark it optional if parts of the app work without equipment.
  • Long sessions. A workout running with the screen off generally needs a foreground service with a visible notification.

iOS

  • Usage description. Apple’s Core Bluetooth documentation warns that an app crashes if its Info.plist lacks the NSBluetoothAlwaysUsageDescription key.
  • Background modes. Background Bluetooth requires the appropriate background mode and is more limited than foreground use. Apple notes that from iOS 26, an app that starts a Live Activity before going to the background can keep its foreground Bluetooth privileges, which suits live workout displays.

Health platform integration

Users expect workouts to appear in Apple Health or Health Connect. Google describes Health Connect as the Android platform for sharing health and fitness data between apps with user permission, compatible with Android 9 (API 28) and higher, and notes that Google Fit APIs are supported only until the end of 2026. New Android builds should target Health Connect rather than Google Fit. Our guide to integrating Health Connect safely covers permissions and data handling in more detail.

Action: prototype the permission and pairing flow on both platforms in the first sprint; it often changes the onboarding design.

Native or cross-platform for connected fitness apps?

Teams often ask whether a cross-platform framework can handle BLE well. It can, but the Bluetooth layer deserves special attention.

ApproachBLE considerationsWhen it fits
Native iOS and AndroidDirect access to Core Bluetooth and Android BLE APIs, background modes and new platform features firstEquipment makers whose app is part of the product; heavy real-time control
Cross-platform UI with native BLE modulesShared screens and business logic; transport layer written natively per platformMost fitness products balancing speed and reliability
Cross-platform with community BLE plugin onlyFast to start; depends on plugin quality, maintenance and platform coveragePrototypes and simple data display

In our experience the middle option is usually the best balance: keep the transport layer close to the platform, and share parsing, session logic and UI where the framework allows. Our checklist for building a native companion app for a Bluetooth device goes deeper into firmware coordination and pairing, and our article on wearable and smartwatch companion apps covers the watch side if users also train with a wearable.

Action: decide where the BLE transport layer lives before choosing the UI framework, not after.

How do you test connected equipment apps properly?

Simulators cannot reproduce radio behaviour, firmware quirks or a crowded gym full of devices. Testing has to include real hardware.

A practical test plan

  1. Build a device matrix. Each equipment model and firmware version you support, plus accessory sensors, against a set of phones across manufacturers and OS versions.
  2. Use a BLE simulator for development. A software peripheral that emulates FTMS lets developers test parsing and edge cases without hardware on every desk, but never replaces real devices.
  3. Test interruptions. Incoming calls, notifications, locking the screen, switching apps, low battery mode and Bluetooth toggled off mid-workout.
  4. Test dropouts and reconnection. Walk away from the machine, power-cycle it, and confirm the session resumes and gaps are marked.
  5. Test crowded environments. Many machines advertising at once, as in a gym, to confirm device selection is clear and reliable.
  6. Long sessions. Run workouts of an hour or more to find memory growth, battery drain and thermal throttling.
  7. Accuracy checks. Compare app values with the machine console and a reference sensor where possible.

Common defects we look for

  • Optional data fields misread because flags were not checked.
  • Unit or scaling errors in speed, distance or energy.
  • Duplicate connections after reconnect, leading to doubled data.
  • Control commands sent before the machine signals it is ready.
  • Workout records that differ between the app, the backend and the health platform.

Action: budget for physical equipment and a device lab from the start; it is a fixed cost of this category of product.

Checklist: planning a connected fitness equipment app

  • Equipment types, accessory sensors and the standard services each exposes are listed.
  • Decision made on FTMS, proprietary service or both, with features needing control identified.
  • Layered architecture defined: transport, parsing, session engine, persistence and sync.
  • Samples persisted locally during the workout; raw and derived values both stored.
  • Reconnection and gap handling designed and visible to users.
  • Android 12+ permissions, companion pairing and foreground service planned.
  • iOS usage description, background mode and Live Activity approach planned.
  • Health Connect and HealthKit integration scoped, with Google Fit avoided for new builds.
  • BLE transport placement decided before the UI framework.
  • Device matrix, BLE simulator and physical device lab budgeted.
  • Accuracy checks against machine console and reference sensors scheduled.
  • App-layer protection planned for any sensitive data exchanged over BLE.

Settling these points before development starts usually prevents the most expensive rework in connected fitness projects: rebuilding the data layer after launch.

Frequently asked questions

Do all smart bikes and treadmills support FTMS?

No. Many recent machines do, but some use proprietary protocols or only expose basic sensor services. Check each target model’s documentation or test it directly before promising compatibility.

Can our app control resistance or incline on third-party equipment?

If the machine implements the FTMS control point and supports the relevant feature, a standard-compliant app can request changes. Support varies by machine, so confirm it per model and handle rejected commands gracefully.

Should workouts sync to Apple Health and Health Connect?

Usually yes, with user permission. Users expect their training history in one place. Write the completed workout and key metrics, and avoid duplicating data that another app or wearable already records.

Is React Native or Flutter suitable for BLE fitness apps?

Yes, provided the Bluetooth transport is reliable. Many teams write the BLE layer natively per platform and share UI and session logic, which balances delivery speed with control.

How many devices do we need for testing?

Enough to cover each supported equipment model and firmware version, plus phones from the main manufacturers and OS versions in your user base. Analytics after launch should refine the matrix.

Is a connected fitness app a medical device?

General fitness and wellness apps usually are not, but claims about diagnosing or treating conditions can change that. Keep marketing and features within wellness unless you plan a regulated pathway.

Sources and methodology

Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.

  1. Bluetooth SIG: Fitness Machine Service 1.0 — accessed 9 November 2026. Supports the description of FTMS as an adopted specification exposing training data from fitness machines, and the mandatory errata for compliance.
  2. Android Developers: Bluetooth Low Energy overview — accessed 9 November 2026. Supports the central/peripheral and GATT concepts, services and characteristics, and the caveat about app-layer security.
  3. Android Developers: Bluetooth permissions — accessed 9 November 2026. Supports Android 12+ runtime permissions, neverForLocation, legacy location requirements and Companion Device Manager.
  4. Apple Developer: Core Bluetooth — accessed 9 November 2026. Supports the Info.plist usage description requirement and iOS 26 background privileges with Live Activities.
  5. Android Developers: Health Connect — accessed 9 November 2026. Supports Health Connect’s role, Android 9+ compatibility and Google Fit API support ending in 2026.

Planning an app for connected fitness equipment?

Tell us about your machines, sensors and target platforms, and we will help you choose the protocol approach and data architecture.