---
title: BluetoothDevice.gatt
slug: Web/API/BluetoothDevice/gatt
tags:
  - API
  - BluetoothDevice
  - Experimental
  - GATT server
  - Property
  - Reference
browser-compat: api.BluetoothDevice.gatt
---
{{APIRef("Bluetooth API") }}{{SeeCompatTable}}

The
**`BluetoothDevice.gatt`** read-only property returns
a reference to the device's {{DOMxRef("BluetoothRemoteGATTServer")}}.

## Syntax

```js
var gattServer = instanceOfBluetoothDevice.gatt
```

### Returns

A reference to the device's {{DOMxRef("BluetoothRemoteGATTServer")}}.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
