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

Hierarchy

  • default

Implements

Constructors

Properties

_peripheral: BleRemotePeripheral

Internally Used function for connection required devices

batteryService?: BleBatteryService
ondisconnect?: ((reason) => void)

Type declaration

    • (reason): void
    • Parameters

      • reason: any

      Returns void

CANDLE_COLOR_UUID: string = 'FFFC'
CANDLE_DEVICE_NAME_UUID: string = 'FFFF'
CANDLE_EFFECT_UUID: string = 'FFFB'
CANDLE_SERVICE_UUID: string = 'FF02'
_deviceAdvAnalyzerType: BleAdvBinaryAnalyzer<"" | "length" | "type" | "flag" | "candle_service_uuid", "" | "manufacture"> = ...

Methods

  • Verify that the received peripheral is from the PLAYBULB_candle

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

    Parameters

    • peripheral: BleRemotePeripheral

      instance of BleRemotePeripheral BleRemotePeripheralのインスタンス

    Returns boolean

    Whether it is the PLAYBULB_candle

    PLAYBULB_candleかどうか

Generated using TypeDoc