BluetoothRemoteGATTServer: connect() method

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{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}}