Skip to Content

Readings and samples

Learn how every protocol decodes into one Sample shape.

Every session hands back readings as Sample values, whichever watch sent them. Your code never branches on brand.

Sample

A Sample covers [start, end) in absolute time, as Unix seconds, and carries one measurement. The session places the watch's local times with the UTC offset from the sync settings.

Measurements

MeasurementValue
StepCountSteps in the interval
HeartRateBeats per minute
SleepA sleep stage: awake, light, deep or REM
OxygenSaturationSpO2 percent
SkinTemperatureTenths of a degree Celsius
BloodPressureSystolic and diastolic, in mmHg

A spot reading, such as a single SpO2 check, is a sample whose start and end are the same instant.

Stub

A full field-by-field reference for each language is still to be written.

See also

On this page