BluetoothRemoteGATTServer: connect() メソッド

Experimental: これは実験的な機能です。
本番で使用する前にブラウザー互換性一覧表をチェックしてください。

BluetoothRemoteGATTServer.connect() メソッドは、このスクリプト実行環境を this.device に接続させます。

構文

js
connect()

引数

なし

返値

BluetoothRemoteGATTServer で解決する Promise です。

仕様書

Specification
Web Bluetooth
# dom-bluetoothremotegattserver-connect

ブラウザーの互換性

BCD tables only load in the browser