Class default

Tr4A series management class Tr4Aシリーズを管理するクラス

Hierarchy

  • default

Implements

Constructors

Properties

Methods

Constructors

Properties

_peripheral: null | BleRemotePeripheral = null

Internally Used function for connection required devices

Methods

  • Get a data from the Tr4A

    Tr4Aからデータを取得

    Parameters

    • peripheral: BleRemotePeripheral

      instance of BleRemotePeripheral BleRemotePeripheralのインスタンス

    Returns null | Tr4A_Data

    received data from the Tr4A Tr4Aから受け取ったデータ

    {

    temperature: temperature 温度 (Unit 単位: 0.1 degC)
    humidity?: Humidity 湿度 (Unit 単位: 0.1 percent);
    }
  • Verify that the received peripheral is from the Tr4A

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

    Parameters

    • peripheral: BleRemotePeripheral

      instance of BleRemotePeripheral BleRemotePeripheralのインスタンス

    Returns boolean

    Whether it is the Tr4A

    Tr4Aかどうか

Generated using TypeDoc