2JCIE management class 2JCIEを管理するクラス

Hierarchy

  • default

Implements

Constructors

Properties

_peripheral: null | BleRemotePeripheral = null

Internally Used function for connection required devices

obniz: Obniz
ondisconnect?: ((reason) => void)

Type declaration

    • (reason): void
    • Parameters

      • reason: any

      Returns void

params: any

Methods

  • (Search for the device and) connect the sensor

    Throw an error if the device is not found

    (デバイスを検索し、)センサへ接続

    デバイスが見つからなかった場合はエラーをthrow

    supported types&modes 対応形状&モード

    • 2JCIE-BL01(BAG type バッグ形状) localName: Env
    • 2JCIE-BU01(USB connection USB接続) localName: Rbt

    Returns Promise<void>

  • Search for the 2JCIE Environmental Sensor series of OMRON

    OMRON 環境センサ 2JCIEシリーズを検索

    Returns Promise<any>

    if found: Instance of BleRemotePeripheral / if not found: null

    見つかった場合: BleRemotePeripheralのインスタンス / 見つからなかった場合: null

  • Get the latest index data and acceleration data from the 2JCIE-BU01(USB connection) sensor

    2JCIE-BU01(USB接続)のセンサの最新の指標データや加速度データを取得

    Returns Promise<OMRON_2JCIE_USBCalData>

    received data from the sensor センサから受け取ったデータ

  • Get the latest data from the 2JCIE-BL01(BAG type) sensor

    2JCIE-BL01(バッグ形状)のセンサの最新のデータを取得

    Returns Promise<OMRON_2JCIE_Data>

    received data from the sensor センサから受け取ったデータ

  • Verify that the received peripheral is from the 2JCIE Environmental Sensor series of OMRON

    受け取ったperipheralがOMRON 環境センサ 2JCIEシリーズのものかどうか確認する

    Parameters

    • peripheral: BleRemotePeripheral

      instance of BleRemotePeripheral BleRemotePeripheralのインスタンス

    Returns boolean

    Whether it is the 2JCIE Environmental Sensor series of OMRON

    OMRON 環境センサ 2JCIEシリーズかどうか

Generated using TypeDoc