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

Hierarchy

Constructors

Properties

_peripheral: BleRemotePeripheral

Internally Used function for connection required devices

ondisconnect?: ((reason) => void)

Type declaration

    • (reason): void
    • Parameters

      • reason: any

      Returns void

Methods

  • Verify that the received peripheral is from the Switchbot_Meter

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

    Parameters

    • peripheral: BleRemotePeripheral

      instance of BleRemotePeripheral BleRemotePeripheralのインスタンス

    Returns boolean

    Whether it is the Switchbot_Meter

    Switchbot_Meterかどうか

Generated using TypeDoc