01
Why companion apps are harder than they look
The phone is an uncontrolled environment. Operating systems change Bluetooth permissions between releases, vendors modify background behavior, users deny permissions, and phones go to sleep mid-transfer. The device is the opposite: constrained memory, fixed protocols and a long field life, so decisions you make now persist for years.
Patient safety adds weight. If the app displays a glucose value, a pressure setting or a dosing instruction, a unit mix-up or stale data can cause harm. Display logic, alarms and error states need the same attention as the happy path.
- BLE behaves differently across iOS and Android versions and across phone manufacturers.
- Firmware and app release cycles must stay compatible, often across many device generations.
- Users include older adults, caregivers and people in distress, so setup must be forgiving.
- Data must reconcile when the phone was offline, when the device buffered readings, or when two phones paired with one device.
02
What a companion app includes
Onboarding, pairing and provisioning
Guided setup with permission prompts that explain why, secure BLE pairing, device registration and recovery paths when pairing fails. We test the failure paths as thoroughly as success.
Device control and data display
Settings, status, readings, trends and alerts, with unit handling, timestamp integrity and clear stale-data indicators.
Offline-first sync
Local storage, retry queues and idempotent uploads so a reading is stored once, in order, with device and phone timestamps preserved.
Firmware update delivery
Signed firmware packages, version compatibility checks, battery and connection preconditions, resumable transfer and rollback. Firmware updates are high-risk and get their own test plan.
Clinician and support views
Web portals for clinicians, remote diagnostics for support teams and consented data sharing, linked to remote patient monitoring workflows where relevant.
03
Companion app and device architecture
We separate the app into a device communication layer, a domain layer that interprets data and a presentation layer. The communication layer wraps CoreBluetooth on iOS and the Android Bluetooth LE stack behind one interface with a simulator, so most logic can be tested without hardware. Native Swift and Kotlin are usual for BLE-heavy products; cross-platform frameworks work when the BLE surface is small and well covered by plugins.
Device protocols use GATT services. Where a standard profile fits, such as the Bluetooth SIG Blood Pressure, Glucose or Continuous Glucose Monitoring profiles, we use it. Proprietary characteristics are documented in an interface control document shared with firmware engineers. For BLE security we prefer LE Secure Connections with application-layer authentication and encryption for sensitive payloads, rather than relying on link-layer pairing alone.
The backend is a device registry, an ingestion API with idempotency keys, a time-series or relational store, an OTA firmware service and a FHIR facade for clinical exchange, often mapping device readings to Observation or the FHIR Device and DeviceMetric resources. Where interoperability with hospital devices matters, IEEE 11073 data models are relevant.
04
Regulatory and cybersecurity considerations for device apps
In the US, FDA's policy on device software functions and mobile medical applications describes when a mobile app is a device, and a software function can be regulated whether it runs on a phone or on the device itself. Apps that control a device, or that analyze device data to inform diagnosis or treatment, are more likely to be regulated than apps that only display or store data for general purposes. The classification belongs to the device manufacturer, and the manufacturer's regulatory team or counsel makes the call.
If the app is part of a regulated device, expect IEC 62304 software lifecycle controls, ISO 14971 risk management, IEC 62366-1 usability engineering and a quality system. Cybersecurity is a premarket topic as well: section 524B of the FD&C Act applies to cyber devices and FDA's premarket cybersecurity guidance expects a threat model, a software bill of materials and a plan to handle vulnerabilities after release.
HIPAA applies if the manufacturer or its service acts for a covered entity. Consumer-facing device apps may fall under the FTC Health Breach Notification Rule and state privacy laws. App store rules on health data apply too.
05
Integrations for connected devices
- BLE GATT services and Bluetooth SIG health profiles on the device side. See medical device integration.
- Apple HealthKit and Android Health Connect for user-approved data sharing, handled through wearable device integration.
- FHIR R4 Observation and Device resources to EHRs, through FHIR integration services.
- Hospital gateways and device integration engines for bedside devices, over HL7 v2 ORU messages.
- Cloud IoT platforms for fleet management and OTA delivery, as covered in healthcare IoT integration.
06
How we deliver a companion app
Interface and risk definition
Interface control document, hazard analysis input and a device test matrix of phones and OS versions.
Prototype with real hardware
Early testing of pairing, range and battery impact on actual devices and phones.
Controlled build and verification
Requirements traceability, automated tests with a BLE simulator, hardware-in-the-loop tests and release records at the rigor your pathway needs.
Field monitoring
Crash and sync telemetry, support tooling and staged rollouts.
07
Companion app use cases
- A glucose meter or CGM app that displays readings, trends and shares reports with a clinic.
- A connected inhaler or nebulizer app that tracks use and surfaces patterns to a care team.
- A home blood pressure cuff or scale app feeding a chronic disease management program.
- A therapy device app for sleep apnea, pelvic floor or physical therapy with guided sessions.
- A wearable patch or implant companion with clinician-facing configuration, supporting MedTech companies.
08
Companion app cost and timeline factors
Device protocol maturity, platform coverage and regulatory rigor drive cost. The ranges are planning estimates based on typical scopes, not quotes.
| Scope tier | Typical timeline | Main cost drivers |
|---|---|---|
| Data display app for a standard-profile device | 3 to 5 months | BLE integration, sync, device test matrix |
| Full companion with cloud and clinician portal | 6 to 10 months | Backend, OTA updates, FHIR export, security testing |
| App developed under design controls for a regulated device | 10 to 18 months or more | Traceability, verification, cybersecurity documentation, usability studies |
Frequently asked questions
Is a companion app a medical device?
Sometimes. If the app controls the device or analyzes its data to inform diagnosis or treatment, it is more likely to be regulated, and may be part of the device's regulatory submission. Display-only or storage-only functions are treated differently. Your regulatory team determines the status, and we build to match.
Native or cross-platform for BLE?
Native Swift and Kotlin are our default when BLE behavior is complex, such as background reconnection, firmware updates or high-frequency data. Cross-platform frameworks can work for simple profiles with well-maintained plugins. We prototype the BLE layer early on real phones before committing.
How do you test BLE across many phones?
We use a device matrix covering OS versions and manufacturers that match your user base, plus a BLE simulator for automated tests and hardware-in-the-loop tests for regression. Field telemetry then shows which phone models cause failures.
Can the app update device firmware?
Yes, with controls. Packages are signed and verified, versions are checked for compatibility, transfers resume after interruption, and the device can roll back. Because a failed update can disable a device, we treat the update flow as a high-risk function with its own verification.
Do we need FHIR support?
Not for a first release unless an EHR integration is on the roadmap. Many teams start with a device-specific API and add a FHIR layer when clinician or health system customers need it. Designing the data model with standard codes makes that later step far cheaper.
Sources and further reading
- FDA: Policy for Device Software Functions and Mobile Medical Applications
- FDA: Cybersecurity in Medical Devices
- HL7 FHIR R4: Device resource
- NIST: Cybersecurity Framework
This page is general information, not legal or regulatory advice. Requirements depend on your product, data and organization; consult qualified counsel for your situation.