Skip to main content

decodeVerovalEcgSamples

Turns the bytes of a recording into millivolts.

A trailing odd byte is ignored: half a sample is not a sample. The conversion is the device's own, applied as it states it rather than reduced to a single factor, so a header that reports a different range still decodes correctly.

Kind: Function
Package: @ovok/native

Import​

import { decodeVerovalEcgSamples } from '@ovok/native/bt-management';

TypeScript signatures​

(bytes: readonly string[], calibration?: EcgCalibration): number[]
ParameterTypeDetails
bytesreadonly string[]—
calibrationEcgCalibration—

Returns: number[].

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.