Gateways: home hubs and phones
Most healthcare devices do not talk to the internet directly. They use Bluetooth Low Energy to reach a gateway — a dedicated home hub with cellular or Wi-Fi backhaul, or the patient's smartphone running a companion app. The gateway handles pairing, buffers readings when the network is down and forwards them upstream.
The choice of gateway shapes the whole program. A dedicated hub works without any patient interaction once it is plugged in, but it is another piece of hardware to ship, track and retrieve. A phone-based gateway costs nothing extra but depends on operating system background limits, Bluetooth permissions and the patient keeping the app installed. We help teams weigh those trade-offs against their population and support capacity.
- Store-and-forward buffering for intermittent connectivity
- Local de-duplication before upload
- Gateway heartbeat separate from device readings
- Gateway-to-device pairing records kept server-side
Ingestion protocols: MQTT and HTTPS
MQTT suits gateways that keep a long-lived connection and send frequent, small messages; it supports quality-of-service levels and works well over constrained cellular links. HTTPS suits phone apps and vendor cloud webhooks, where requests are bursty and existing API infrastructure can be reused. Many platforms support both, with a common internal message format behind them.
Whichever protocol is used, every message should carry a device identity, a message ID for idempotency, the device timestamp and a schema version. That last field matters more than it seems: firmware and app updates change payloads, and old devices stay in the field for years.
Device provisioning, identity and updates
Each gateway or connected device needs its own identity and credentials — typically an X.509 certificate or a per-device key issued at manufacture or first activation. Shared credentials across a fleet mean one compromised device can impersonate all of them. We design provisioning flows that bind a device to its credential, register it in a device registry and allow revocation without touching the rest of the fleet.
Firmware over-the-air updates are the device manufacturer's responsibility, particularly for regulated devices where changes go through the manufacturer's quality system. Our role is to make sure the platform records firmware versions, handles payload changes between versions and can tell you which devices are running what.
Provisioning
Per-device certificates or keys, registration at activation, and a record of which program and patient each device belongs to.
Fleet management
Inventory, assignment state, last-seen time, battery and signal data where available, and retirement of returned devices.
Firmware awareness
Version tracking and payload compatibility. OTA updates themselves are run by the manufacturer under its own processes.
Cloud pipelines on AWS, Azure or GCP
On AWS, AWS IoT Core handles device connections, MQTT brokering and rules that route messages into Kinesis, Lambda or SQS. On Azure, Azure IoT Hub provides device identity and messaging, with routing into Event Hubs, Functions or Stream Analytics. Google Cloud retired its IoT Core service in 2023, so GCP-based platforms typically run their own MQTT broker or accept HTTPS ingestion into Pub/Sub.
Downstream of ingestion, we build stream processing for validation, normalization and enrichment, a hot store for recent readings that clinical tools query, and cold storage in object storage for long-term retention and analytics. Raw payloads are kept separately from normalized records so you can reprocess when a parser bug is found.
- Raw message archive for replay and audit
- Normalized readings store keyed by patient, device and time
- Dead-letter queues for malformed or unassignable messages
- Lifecycle policies for moving older data to cold storage
Observability and fleet health
In a monitoring program, silence is a clinical signal. A patient whose hub has not reported in three days may have unplugged it, moved, or be unwell. We build fleet health views that separate device problems from patient adherence: gateways offline, devices paired but not sending, devices sending errors, and patients with no readings despite working hardware.
Operational logging and metrics are designed to keep protected health information out of log streams. Logs reference device and message IDs, not names or readings, which is part of the approach described in HIPAA-aligned wearable integration.
Where IoT data goes next
The output of an IoT pipeline is a clean, attributed stream of readings. From there it can feed an RPM review application, analytics, or clinical systems through FHIR wearable integration and EHR wearable integration. Keeping those consumers decoupled from the ingestion layer means you can add a new device type or a new destination without reworking the other.
Frequently asked questions
Should we use a home hub or the patient's phone as the gateway?
Hubs are better for patients who struggle with apps or do not have a compatible smartphone, at the cost of shipping and tracking extra hardware. Phone gateways are cheaper but depend on background Bluetooth behavior and app retention. Many programs offer both.
We were on Google Cloud IoT Core. What now?
Google retired Cloud IoT Core in 2023. Common replacements are a managed or self-hosted MQTT broker feeding Pub/Sub, HTTPS ingestion through API Gateway or Cloud Run, or moving device connectivity to AWS IoT Core or Azure IoT Hub. We can assess which fits your fleet and credential model.
Do you handle device firmware updates?
No. OTA firmware updates for medical devices are run by the manufacturer under its quality system. We track firmware versions in the device registry and make sure the platform handles payload differences between versions.
How do you prevent duplicate readings?
Every message carries a device-generated or gateway-generated ID, and ingestion is idempotent on that ID plus device and timestamp. This matters because gateways retry on poor connections and devices resend stored readings after reconnecting.
Can the same pipeline handle consumer wearables and medical devices?
Yes, with clear source labeling. Consumer wearable data from platforms such as Fitbit, Garmin or Oura usually arrives via cloud APIs rather than MQTT, but it can land in the same normalized store with provenance showing where each value came from.