Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BST_01A

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

Hierarchy

  • BST_01A

Implements

Index

Properties

_peripheral

_peripheral: null | BleRemotePeripheral = null

keys

keys: string[] = []

params

params: any

requiredKeys

requiredKeys: string[] = []

Methods

wired

  • wired(obniz: Obniz): void
  • Parameters

    Returns void

Static getData

  • Get a data from the BST_01A

    BST_01Aからデータを取得

    Parameters

    • peripheral: BleRemotePeripheral

      instance of BleRemotePeripheral BleRemotePeripheralのインスタンス

    Returns null | BST_01A_InfoData

    received data from the BST_01A

    BST_01Aから受け取ったデータ

Static info

  • info(): { name: string }
  • Returns { name: string }

    • name: string

Static isDevice

  • Verify that the received peripheral is from the BST_01A

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

    Parameters

    • peripheral: BleRemotePeripheral

      instance of BleRemotePeripheral BleRemotePeripheralのインスタンス

    Returns boolean

    true when peripheral is BST_01A

    BST_01Aかどうか

Generated using TypeDoc