Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Logtta_CO2

Hierarchy

  • Logtta_CO2

Implements

Index

Constructors

constructor

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

authPinCodeWait

  • authPinCodeWait(code: string): Promise<void>
  • Parameters

    • code: string

    Returns Promise<void>

connectWait

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

disconnectWait

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

getWait

  • getWait(): Promise<number | null>
  • Returns Promise<number | null>

setBeaconMode

  • setBeaconMode(enable: boolean): Promise<void>
  • deprecated

    Parameters

    • enable: boolean

    Returns Promise<void>

setBeaconModeWait

  • setBeaconModeWait(enable: boolean): Promise<void>
  • Parameters

    • enable: boolean

    Returns Promise<void>

startNotifyWait

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

Static getData

Static info

Static isAdvDevice

  • Parameters

    Returns boolean

Static isDevice

  • Parameters

    Returns boolean

Generated using TypeDoc