Class default

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

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: "EXTxx" = 'EXTxx'

Methods

  • (with instantiation) Get a data from the beacon

    (インスタンス化する場合) ビーコンからデータを取得

    Returns EXTxx_Data

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

  • (without instantiation) Get a data from the beacon

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

    Parameters

    • peripheral: BleRemotePeripheral

      instance of BleRemotePeripheral BleRemotePeripheralのインスタンス

    Returns null | EXTxx_Data

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

  • Verify that the received peripheral is from the EXTxx

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

    Parameters

    • peripheral: BleRemotePeripheral

      instance of BleRemotePeripheral BleRemotePeripheralのインスタンス

    Returns boolean

    Whether it is the EXTxx

    EXTxxかどうか

Generated using TypeDoc