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

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_PLus

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

    Parameters

    • peripheral: BleRemotePeripheral

      instance of BleRemotePeripheral BleRemotePeripheralのインスタンス

    Returns boolean

    Whether it is the Switchbot_Meter_PLus

    Switchbot_Meter_PLusかどうか

Generated using TypeDoc