Class default

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

Hierarchy

Constructors

Properties

address: string
beaconData: null | number[]
beaconDataInScanResponse: null | number[]
serviceData: null | number[]
Address?: ObnizPartsBleCompareWithNonNull<RegExp> = undefined

Used as a condition of isDevice() by default.

標準でisDevice()の条件として使用

AvailableBleMode: "Beacon" = 'Beacon'
BeaconDataLength: 26 = 0x1a

Used as a condition of isDevice() by default.

標準でisDevice()の条件として使用

BeaconDataLength_ScanResponse: number = BaseiBS.BeaconDataLength

Overall length of manufacturer-specific data. Used as a condition of isDevice() by default.

製造者固有データ全体の長さ 標準でisDevice()の条件として使用

BeaconDataStruct: ObnizBleBeaconStruct<iBS04i_Data> = ...

Used as a condition of isDevice() by default. Compare with data after Company ID.

標準でisDevice()の条件として使用 CompanyID以降のデータと比較

CompanyID: number[] = iBeaconCompanyID

Used as a condition of isDevice() by default.

標準でisDevice()の条件として使用

CompanyID_ScanResponse: number[] = BaseiBS.CompanyID

Used as a condition of isDevice() by default.

標準でisDevice()の条件として使用

Config: {
    acceleration: ObnizBleBeaconStructNormal<unknown, never>;
    battery: ObnizBleBeaconStructNormal<unknown, never>;
    button: ObnizBleBeaconStructNormal<unknown, never>;
    count: ObnizBleBeaconStructNormal<unknown, never>;
    current: ObnizBleBeaconStructNormal<unknown, never>;
    event: ObnizBleBeaconStructNormal<unknown, never>;
    fall: ObnizBleBeaconStructNormal<unknown, never>;
    flood: ObnizBleBeaconStructNormal<unknown, never>;
    humidity: ObnizBleBeaconStructNormal<unknown, never>;
    input_trigger: ObnizBleBeaconStructNormal<unknown, never>;
    moving: ObnizBleBeaconStructNormal<unknown, never>;
    pir: ObnizBleBeaconStructNormal<unknown, never>;
    proximity: ObnizBleBeaconStructNormal<unknown, never>;
    temperature: ObnizBleBeaconStructNormal<unknown, never>;
    triggered: ObnizBleBeaconStructNormal<unknown, never>;
    triggered_count: ObnizBleBeaconStructNormal<unknown, never>;
    user: ObnizBleBeaconStructNormal<unknown, never>;
    voltage: ObnizBleBeaconStructNormal<unknown, never>;
} = ...

Type declaration

LocalName?: ObnizPartsBleCompareWithNonNull<RegExp> = undefined

Used as a condition of isDevice() by default.

標準でisDevice()の条件として使用

PartsName: "iBS04i" = 'iBS04i'
ServiceDataLength?: ObnizPartsBleCompare<number> = undefined

Used as a condition of isDevice() by default.

標準でisDevice()の条件として使用

ServiceDataStruct?: ObnizPartsBleCompare<ObnizBleBeaconStruct<unknown>>

Used as a condition of isDevice() by default. Compare with data after Service UUID.

標準でisDevice()の条件として使用 ServiceUUID以降のデータと比較

ServiceDataUUID?: ObnizPartsBleCompare<number[]> = undefined

Used as a condition of isDevice() by default.

標準でisDevice()の条件として使用

ServiceUuids?: ObnizPartsBleCompare<string | string[]> = undefined

Used as a condition of isDevice() by default.

標準でisDevice()の条件として使用

Accessors

Methods

  • Available BLE modes (Beacon | Connectable | Pairing)

    利用可能なBLEのモード (Beacon | Connectable | Pairing)

    Returns ("Beacon" | "Connectable" | "Pairing")[]

  • Get Peripheral Mode.

    ペリフェラルのモードを取得

    Parameters

    Returns null | "Beacon" | "Connectable" | "Pairing"

    If the corresponding device is that mode, it must be null if not applicable 該当するデバイスならばそのモード、該当しなければnull

  • Check if peripherals and modes match the library.

    ペリフェラルとモードがライブラリと合致するかチェック

    Parameters

    • peripheral: BleRemotePeripheral

      BleRemotePeripheral

    • mode: "Beacon" | "Connectable" | "Pairing"

      Beacon | Connectable | Pairing

    Returns boolean

    Whether to match 合致するかどうか

Generated using TypeDoc