Class default

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

Hierarchy

Constructors

Properties

_peripheral: null | BleRemotePeripheral = null

Internally Used function for connection required devices

ondisconnect?: ((reason) => void)

Type declaration

    • (reason): void
    • ondisconnect callback function.

      Parameters

      • reason: any

      Returns void

availableBleMode: "Beacon" = 'Beacon'
partsName: "EXVital" = 'EXVital'

Methods

  • (without instantiation) Get a data from the beacon

    (インスタンス化しない場合) ビーコンからデータを取得

    Parameters

    • peripheral: BleRemotePeripheral

      instance of BleRemotePeripheral BleRemotePeripheralのインスタンス

    Returns null | EXVital_Data

    received data from the beacon ビーコンから受け取ったデータ

  • Verify that the received peripheral is from the EXVital

    受け取ったperipheralがEXVitalのものかどうか確認する

    Parameters

    • peripheral: BleRemotePeripheral

      instance of BleRemotePeripheral BleRemotePeripheralのインスタンス

    Returns boolean

    Whether it is the EXVital

    EXVitalかどうか

Generated using TypeDoc