Class default

PLS_01BT management class PLS_01BTを管理するクラス

Hierarchy

  • default

Implements

Constructors

Properties

_peripheral: null | BleRemotePeripheral = null
keys: string[] = []
ondisconnect?: ((reason) => void)

Type declaration

    • (reason): void
    • Parameters

      • reason: any

      Returns void

onmeasured: null | ((result) => void) = null

Callback when receiving the measured data

計測結果を受け取ったときにコールバック

Type declaration

params: any
requiredKeys: string[] = []

Methods

  • Verify that the received peripheral is from the PLS_01BT

    受け取ったPeripheralがPLS_01BTのものかどうかを確認する

    Parameters

    • peripheral: BleRemotePeripheral

      instance of BleRemotePeripheral BleRemotePeripheralのインスタンス

    Returns boolean

    Whether it is the PLS_01BT

    PLS_01BTかどうか

Generated using TypeDoc