BluetoothDevice.gatt

Experimental

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The BluetoothDevice.gatt read-only property returns a reference to the device's BluetoothRemoteGATTServer.

Syntax

var gattServer = instanceOfBluetoothDevice.gatt

Returns

A reference to the device's BluetoothRemoteGATTServer.

Specifications

Specification Status Comment
Web Bluetooth
The definition of 'gattServer' in that specification.
Draft Initial definition.

Browser compatibility

BCD tables only load in the browser