Skip to content
Vestcodes
All insights

Monitoring

Connecting Bluetooth medical devices for remote monitoring

How to connect Bluetooth BP monitors, glucometers, oximeters and scales: GATT services, app permissions, offline readings, time stamps and FHIR mapping.

Author
Vestcodes team
Published
On this page

A remote monitoring programme is only as good as the readings that reach it. Most of those readings start on a cheap Bluetooth device in a patient's home: a blood pressure cuff, a glucometer, a pulse oximeter, a thermometer or a scale. This article covers how to connect Bluetooth medical devices to a phone app and a backend: the standard health services, how a reading is read, pairing and permissions on Android and iOS, offline readings and clocks, mapping to FHIR, and where the software becomes a medical device.

For the programme side, alerts and clinical workflow, read remote patient monitoring in India first.

The standard health services

Bluetooth Low Energy devices expose data through GATT, the Generic Attribute Profile. The device acts as a server that offers services, each a group of characteristics. A phone app, the client, subscribes to a characteristic by writing to its Client Characteristic Configuration descriptor, and the device then pushes values as indications or notifications. A profile describes the roles on each side, such as a blood pressure sensor and a collector.

The Bluetooth SIG publishes standard profiles and services for the common home devices. The versions on its list today include Blood Pressure 1.1.1, Glucose 1.0.1, Continuous Glucose Monitoring 1.0.2, Pulse Oximeter 1.0.1, Health Thermometer 1.0 and Weight Scale 1.0.1, plus a Generic Health Sensor profile and service at 1.0. Each service has a 16-bit number in the SIG's assigned numbers, which is what your app filters a scan by.

MeasurementServiceMain characteristicHow it is sentUnits the flags allow
Blood pressureBlood Pressure (0x1810)Blood Pressure Measurement (0x2A35)IndicatemmHg or kPa
GlucoseGlucose (0x1808)Glucose Measurement (0x2A18)Notify, controlled through the Record Access Control Point (0x2A52)kg/L or mol/L, usually shown as mg/dL or mmol/L
Oxygen saturation and pulse ratePulse Oximeter (0x1822)PLX Spot-check Measurement (0x2A5E)Indicate; continuous readings by notificationSpO2 in percent, pulse rate
Body temperatureHealth Thermometer (0x1809)Temperature Measurement (0x2A1C)IndicateCelsius or Fahrenheit
WeightWeight Scale (0x181D)Weight Measurement (0x2A9D)Indicatekg (SI) or lb (imperial)

A device that implements one of these can be read by any app that implements the client side. A device that does not needs its maker's protocol documentation or SDK, and you should ask for that before you choose it.

Reading a measurement

The steps are the same for each device type:

  1. Scan, filtered by the service number.
  2. Connect and discover services and characteristics.
  3. Read the feature characteristic, where there is one, to learn what the device supports.
  4. Enable indications or notifications on the measurement characteristic.
  5. Parse each value, flags first.

The flags field decides the rest. In the Blood Pressure Service, bit 0 says whether the values are in mmHg or kPa, bit 1 says whether a time stamp follows, and further bits announce pulse rate, a user ID and a measurement status. Values are short floats as defined in ISO/IEEE 11073-20601, and a value the device could not measure is sent as the special short float value NaN. Your parser has to handle NaN rather than store it as a number.

Units need care. The Glucose Service sends concentration in base units of kg/L or mol/L, and gives the arithmetic: a value in mg/dL has its exponent reduced by 5 to become kg/L, and a value in mmol/L by 3 to become mol/L. Convert once, in one tested function, and store the unit alongside the value.

Some devices send interim values. A blood pressure monitor may notify the current cuff pressure during the measurement, at typical intervals the specification puts at 0.25 to 2 seconds, and then indicate the final measurement. Show the interim values if you like, but store only the final one.

Stored readings

Patients take readings when the phone is not nearby. The standard services handle this in different ways:

  • Glucose keeps patient records that the app requests through the Record Access Control Point, with procedures to report stored records, report how many there are, and delete them.
  • Pulse oximeter supports the same control point when the device stores spot-check readings.
  • Blood pressure: the current service, version 1.1.1, defines an enhanced variant that can expose stored records through the control point as well.
  • Weight scale: when a new weight is waiting and no connection is open, the scale becomes connectable, and once the app connects it indicates the new value and other unsent stored values.

Plan for duplicates. A device may resend a record the app already uploaded, and two phones in one household may both collect from the same scale.

Pairing and permissions

Android

Android's Bluetooth permissions guide splits by target SDK:

  • Android 12 (API level 31) and higher: declare BLUETOOTH_SCAN to look for devices and BLUETOOTH_CONNECT to talk to paired devices. Both are runtime permissions, and the system shows them to the user as access to "Nearby devices". Keep the old BLUETOOTH and BLUETOOTH_ADMIN declarations with maxSdkVersion set to 30.
  • Location: if the app never derives physical location from scan results, add neverForLocation to BLUETOOTH_SCAN and drop ACCESS_FINE_LOCATION on Android 12 and higher. Android notes that this flag filters some BLE beacons out of scan results, which does not matter for a BP cuff.
  • Android 11 (API level 30) and lower: BLUETOOTH for communication and ACCESS_FINE_LOCATION, because a scan there could reveal the user's location. An app that discovers devices from a service on Android 10 or 11 also needs ACCESS_BACKGROUND_LOCATION.

There is a simpler route for a one-time setup. Companion device pairing, on Android 8.0 and higher, scans on the app's behalf without the location permission and shows a system dialog in which the user picks the device. It needs Location Services switched on, and it does not create the connection itself; the app still connects with the normal Bluetooth APIs. Android's example calls createBond() once the user has chosen.

iOS

On iOS, the NSBluetoothAlwaysUsageDescription key is required for any app that uses Bluetooth. Write the purpose in the patient's language: "to receive readings from your blood pressure monitor" is clearer than a technical sentence.

To keep collecting readings in the background, enable the bluetooth-central background mode, which Apple describes as an app that communicates with a Bluetooth accessory while in the background. For an app the system may close between readings, Core Bluetooth offers state restoration: you pass a restore identifier that must stay identical across launches.

Do not treat iOS's device identifier as a serial number. Apple's documentation says the system assigns a new UUID the first time a local manager encounters a peer. It identifies the device to that phone, not to your backend. Register each device against the patient with an identifier the device itself provides where you can.

Offline readings and time stamps

Clocks are the weakest part of a home device. The specifications say so themselves:

  • The Blood Pressure Service makes the time stamp optional, but required if the device stores readings. It allows a year of 0 for devices that do not keep the year, and leaves it to the implementation to make sure the user sets the date and time.
  • The Glucose Service gives every record a sequence number and says the order cannot rest on the time fields, because of user-induced date errors or a clock reset after a battery failure.
  • HL7's Personal Health Device implementation guide notes that the Health Thermometer Profile does not require a thermometer to report its current time even when it time-stamps readings, and that such devices often have unreliably set clocks. Its approach is for the gateway, usually the phone, to read the device's current time and correct each time stamp against its own clock, which is synchronised to UTC.
  • The Blood Pressure Service 1.1.1 also defines an enhanced measurement whose time stamp counts seconds from a stated epoch, with an optional separate field for the time shown to the user.

From those facts, a workable design:

  1. Store four things with each reading: the device's own time stamp, the device's current time when the phone synced, the phone's receive time in UTC, and the sequence number if there is one.
  2. Correct the reading time by the device's clock offset where you can read it. Where you cannot, keep the device time and mark it unverified.
  3. Build a duplicate key from a stable device identifier plus the sequence number, or plus the time stamp and value when there is no sequence number.
  4. Queue readings on the phone in encrypted local storage, upload with retries, and make the upload idempotent on the server.
  5. Show patients and care teams when a reading was taken, not when it arrived.

Mapping readings to FHIR

The FHIR R4 vital signs profile requires, for each Observation, a status, the category vital-signs, a code for what was measured, a patient, a time, and a numeric value with a UCUM unit from its table. The codes you will use most:

ReadingLOINC codeUCUM unit
Blood pressure panel85354-9, with systolic 8480-6 and diastolic 8462-4 as componentsmm[Hg]
Heart rate8867-4/min
Oxygen saturation2708-6%
Body temperature8310-5Cel or [degF]
Body weight29463-7kg, g or [lb_av]

So a cuff that reports kPa needs converting to mm[Hg] before it becomes a vital-signs Observation. Glucose is not in that table: agree the LOINC code and unit with the system that receives your data, and keep the unit the meter flagged.

Here is a synthetic blood pressure reading, with invented values:

{
  "resourceType": "Observation",
  "status": "final",
  "category": [{
    "coding": [{
      "system": "http://terminology.hl7.org/CodeSystem/observation-category",
      "code": "vital-signs"
    }]
  }],
  "code": {
    "coding": [{ "system": "http://loinc.org", "code": "85354-9" }]
  },
  "subject": { "reference": "Patient/example" },
  "effectiveDateTime": "2026-11-29T07:42:00+05:30",
  "device": { "reference": "Device/bp-cuff-001" },
  "component": [
    {
      "code": {
        "coding": [{ "system": "http://loinc.org", "code": "8480-6" }]
      },
      "valueQuantity": {
        "value": 132,
        "unit": "mmHg",
        "system": "http://unitsofmeasure.org",
        "code": "mm[Hg]"
      }
    },
    {
      "code": {
        "coding": [{ "system": "http://loinc.org", "code": "8462-4" }]
      },
      "valueQuantity": {
        "value": 84,
        "unit": "mmHg",
        "system": "http://unitsofmeasure.org",
        "code": "mm[Hg]"
      }
    }
  ]
}

The Personal Health Device guide, version 2.0.1, goes further. It codes each reading with an MDC code from IEEE 11073-10101, adds the LOINC code for vital signs, adds the category phd, and references both the device that measured and the gateway that relayed. It warns that the MDC-to-LOINC mapping can be many to one: a pulse rate from a cuff and one from an oximeter can both map to 8867-4. Keep the device reference, so a clinician can tell them apart.

From there, readings move into hospital systems as FHIR or HL7 v2; see HL7 v2 vs FHIR for Indian hospitals.

When the software interprets readings

Connecting a device is engineering. What you then do with the reading can make your software a regulated medical device. CDSCO's Guidance Document on Medical Device Software (document number CDSCO/MD/GD/MDSW/01/2026) is direct about this:

  • It gives, as an example of covered software, an app that connects over Bluetooth to a blood pressure cuff to track blood pressure for medical purposes.
  • Software that can control or adjust a medical device over Bluetooth or Wi-Fi is treated as a medical device.
  • Software intended to measure, estimate or report physiological values for medical purposes, including monitoring and alerting, is not general wellness software.
  • Manufacturers should keep a software bill of materials and monitor known vulnerabilities in third-party and open-source components.

Note what the HL7 device guide leaves out on purpose: it maps data but gives no interpretation of it. Thresholds, trends and alerts are your design, and they are the part a regulator looks at. Write the intended use down before you build alerting, and read software as a medical device in India for classes and licensing.

A build checklist

  1. For each device model, record which standard service it implements, or get the maker's protocol in writing.
  2. Write and unit-test one parser per service, including flags, NaN values and unit conversion.
  3. Request only the Bluetooth permissions you need, and use companion pairing on Android where it fits.
  4. Store device time, sync time, receive time and sequence number with every reading.
  5. Queue on the phone, upload idempotently and remove duplicates on the server.
  6. Map to FHIR Observations with LOINC and UCUM, plus device and gateway references.
  7. Settle the intended use and its regulatory status before alerts go live.

Readings are health data about a person, so the DPDP Act's duties apply to the phone queue, the backend and the logs.

How Vestcodes helps

We build wearables and remote monitoring software: Bluetooth connections to BP monitors, glucometers, oximeters and scales, readings stored with their device, time and unit, and trends and alerts for care teams. The patient side is part of our mobile app development for iOS and Android. If you have a device list and a programme in mind, contact us.

Sources

Questions

Which Bluetooth standards do home medical devices use?

The Bluetooth SIG publishes profile and service specifications for blood pressure, glucose, continuous glucose monitoring, pulse oximetry, health thermometers and weight scales, plus a newer Generic Health Sensor profile. Devices that do not implement them need the maker's protocol documentation or SDK.

What permissions does an Android app need to read a Bluetooth BP monitor?

On Android 12 and higher, BLUETOOTH_SCAN to find it and BLUETOOTH_CONNECT to talk to it, both runtime permissions shown to the user as Nearby devices. Apps targeting Android 11 or lower need BLUETOOTH and ACCESS_FINE_LOCATION. Companion device pairing avoids the location permission.

How should an app handle readings taken while the phone was away?

Read the device's stored records where its service supports them, keep the device's time stamp, the sync time and any sequence number, remove duplicates on the server, and upload with retries from an encrypted local queue.

How is a blood pressure reading represented in FHIR?

As an Observation with category vital-signs and LOINC code 85354-9, with systolic (8480-6) and diastolic (8462-4) components in the UCUM unit mm[Hg]. The HL7 Personal Health Device guide also adds an MDC code and references to the device and gateway.

Is an app that reads a Bluetooth BP cuff a medical device in India?

It can be. CDSCO's medical device software guidance gives an app that reads a Bluetooth blood pressure cuff to track blood pressure for medical purposes as an example of covered software. The intended use decides, so confirm it before launch.

Building something in healthcare?

Tell us what you need and which systems it has to work with.

Let's talk