Package com.codename1.health.sensors


package com.codename1.health.sensors

Standard Bluetooth SIG health sensors -- heart-rate straps, power meters, speed and cadence sensors, foot pods, thermometers, scales, blood-pressure cuffs and glucose meters.

Start at HealthSensors, reached from Health.getSensors().

This layer is built entirely on com.codename1.bluetooth.le and needs no platform health store, so it behaves identically on every port with Bluetooth LE -- including the desktop and JavaScript ports, where no health store exists at all. It needs Bluetooth permissions rather than health ones, and an app that uses only this package is not treated as a health-data app by the build server.

The measurement parsers are public and static so they can be unit tested without hardware and reused by apps doing their own GATT work. Each returns null rather than throwing on a malformed payload.