Back to Content

BluetoothRemoteGATTServer: connect() method

files/en-us/web/api/bluetoothremotegattserver/connect/index.md

latest435 B
Original Source

{{APIRef("Bluetooth API")}}{{SeeCompatTable}}{{SecureContext_Header}}

The BluetoothRemoteGATTServer.connect() method causes the script execution environment to connect to this.device.

Syntax

js-nolint
connect()

Parameters

None.

Return value

A {{jsxref("Promise")}} that resolves to a {{domxref("BluetoothRemoteGATTServer")}}.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}