Options
All
  • Public
  • Public/Protected
  • All
Menu

Class REX_BTPM25V

Hierarchy

  • REX_BTPM25V

Implements

Index

Constructors

constructor

Properties

_peripheral

_peripheral: BleRemotePeripheral | null = null

keys

keys: string[] = []

onbuttonpressed

onbuttonpressed: ((pressed: boolean) => void) | null = null

Optional ondisconnect

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

params

params: any

requiredKeys

requiredKeys: string[] = []

Methods

connectWait

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

disconnectWait

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

getLedMode

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

measureOneShotExtWait

  • measureOneShotExtWait(): Promise<{ barometricPressure: number; eco2: number; humidity: number; lux: number; pm10: number; pm2_5: number; temperature: number; tvoc: number; uv: number }>
  • Returns Promise<{ barometricPressure: number; eco2: number; humidity: number; lux: number; pm10: number; pm2_5: number; temperature: number; tvoc: number; uv: number }>

measureOneShotWait

  • measureOneShotWait(): Promise<{ barometricPressure: number; humidity: number; lux: number; mode: number; pm10: number; pm2_5: number; temperature: number }>
  • Returns Promise<{ barometricPressure: number; humidity: number; lux: number; mode: number; pm10: number; pm2_5: number; temperature: number }>

wired

  • wired(obniz: Obniz): void
  • Parameters

    Returns void

Static info

  • Returns ObnizPartsInfo

Static isDevice

  • Parameters

    Returns boolean

Generated using TypeDoc