orphe-core-insole - v0.4.0
    Preparing search index...

    Interface BleRequestDeviceOptions

    navigator.bluetooth.requestDevice() のオプション(利用する範囲のみ)

    interface BleRequestDeviceOptions {
        acceptAllDevices?: boolean;
        filters?: { namePrefix?: string; services?: string[] }[];
        optionalManufacturerData?: number[];
        optionalServices?: string[];
    }
    Index
    acceptAllDevices?: boolean

    すべてのデバイスを出す(filters と併用不可)

    filters?: { namePrefix?: string; services?: string[] }[]

    chooser に出すデバイスの絞り込み条件

    Type Declaration

    • OptionalnamePrefix?: string

      デバイス名がこの接頭辞のものだけ出す

    • Optionalservices?: string[]

      このサービス UUID を広告するデバイスだけ出す

    optionalManufacturerData?: number[]

    アクセスを許可する製造者データの Company ID

    optionalServices?: string[]

    接続後にアクセスを許可するサービス UUID