Skip to main content

A606Device

Viatom/Lepu ZH-SG-A606 meter, which uploads stored records after connection.

Kind: Class
Package: @ovok/native

Import​

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

TypeScript signatures​

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

Returns: A606Device.

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.