Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UT201BLE

Hierarchy

  • UT201BLE

Implements

Index

Constructors

constructor

  • Parameters

    Returns UT201BLE

Properties

_peripheral

_peripheral: BleRemotePeripheral | null

Optional batteryService

batteryService: BleBatteryService

Optional genericAccess

genericAccess: BleGenericAccess

Optional onNotify

onNotify: undefined | ((co2: number) => void)

Optional ondisconnect

ondisconnect: undefined | ((reason: any) => void)

Methods

getDataWait

  • getDataWait(pairingKeys?: undefined | string): Promise<UT201BLEResult[]>
  • Parameters

    • Optional pairingKeys: undefined | string

    Returns Promise<UT201BLEResult[]>

pairingWait

  • pairingWait(): Promise<string | null>
  • Returns Promise<string | null>

Static info

Static isDevice

  • Parameters

    Returns null | false | true | ""

Generated using TypeDoc