BluetoothDevice.gatt

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

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
gatt
Experimental
Chrome Full support 74Edge ? Firefox No support NoIE No support NoOpera Full support YesSafari ? WebView Android No support NoChrome Android Full support 74Firefox Android No support NoOpera Android Full support YesSafari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.