Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Logtta_AD

Hierarchy

  • Logtta_AD

Implements

Index

Constructors

constructor

Properties

_peripheral

_peripheral: null | BleRemotePeripheral

Optional onNotify

onNotify: undefined | ((data: Logtta_AD_Data) => void)

Optional ondisconnect

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

Methods

connectWait

  • connectWait(): Promise<void>
  • Returns Promise<void>

disconnectWait

  • disconnectWait(): Promise<void>
  • Returns Promise<void>

getAllWait

  • Returns Promise<Logtta_AD_Data | null>

getAmpereWait

  • getAmpereWait(): Promise<number>
  • Returns Promise<number>

getCountWait

  • getCountWait(): Promise<number>
  • Returns Promise<number>

getVoltWait

  • getVoltWait(): Promise<number>
  • Returns Promise<number>

startNotifyWait

  • startNotifyWait(): Promise<void>
  • Returns Promise<void>

Static info

Static isDevice

  • Parameters

    Returns boolean

Generated using TypeDoc