Skip to main content

TrasenseS9Device

Trasense SH09. Its address and advertisement data are sensitive and never logged.

Kind: Class
Package: @ovok/native

Import​

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

TypeScript signatures​

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

Returns: TrasenseS9Device.

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.