Skip to main content

GenialT31Device

Genial T31 Bluetooth thermometer, as used by the ViHealth app.

Kind: Class
Package: @ovok/native

Import​

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

TypeScript signatures​

(device: Device, params: CreateDeviceParams<IntegratedDevices.GENIAL_T31>): GenialT31Device
ParameterTypeDetails
deviceDevice—
paramsCreateDeviceParams<IntegratedDevices.GENIAL_T31>—

Returns: GenialT31Device.

Public members​

MemberTypeDetails
idstring—
deviceDataDeviceData—
onError(error: BleError | Error | string) => voidOptional. —
onDeviceStatusChanged(status: DeviceStatus, measurementTypeKey?: MeasurementTypeKey) => voidOptional. —
onResult(data: MeasurementWithCaseType<MeasurementTypeForDevices<[ T ]>>) => voidOptional. —
onDeviceDisconnected() => voidOptional. —
onConnectionEvent(data: DeviceConnectionEvent) => voidOptional. —
deviceDevice—
destroy(): void—
disconnect(): Promise<void>Stops this device's subscriptions and closes its BLE connection.
connect(): Promise<void>—

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.