Liking cljdoc? Tell your friends :D

web.bluetooth.BluetoothRemoteGATTServer

The BluetoothRemoteGATTServer interface of the Web Bluetooth represents a GATT Server on a remote device.

The BluetoothRemoteGATTServer interface of the Web Bluetooth
represents a GATT Server on a remote device.
raw docstring

connectcljs

(connect this & args)

Method.

[Experimental]

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

BluetoothRemoteGATTServer.connect() .then(function(bluetoothRemoteGATTServer) { ... })

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer/connect

Method.

[Experimental]

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

`BluetoothRemoteGATTServer.connect()
.then(function(bluetoothRemoteGATTServer) { ... })`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer/connect`
sourceraw docstring

connectedcljs

(connected this)

Property.

[Read Only] [Experimental]

The BluetoothRemoteGATTServer.connected read-only property returns boolean value that returns true while this script execution environment connected to this.device. It can be false while the user agent physically connected.

var connected = BluetoothRemoteGATTServer.connected

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer/connected

Property.

[Read Only]
[Experimental]

The BluetoothRemoteGATTServer.connected read-only property returns
boolean value that returns true while this script execution environment
connected to this.device. It can be false while the user agent
physically connected.

`var connected = BluetoothRemoteGATTServer.connected`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer/connected`
sourceraw docstring

devicecljs

(device this)

Property.

[Read Only] [Experimental]

The BluetoothRemoteGATTServer.device read-only property returns reference to the web.bluetooth.BluetoothDevice running the

var device = BluetoothRemoteGATTServer.device

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer/device

Property.

[Read Only]
[Experimental]

The BluetoothRemoteGATTServer.device read-only property returns
reference to the `web.bluetooth.BluetoothDevice` running the

`var device = BluetoothRemoteGATTServer.device`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer/device`
sourceraw docstring

disconnectcljs

(disconnect this)

Method.

[Experimental]

The BluetoothRemoteGATTServer.disconnect() method causes the execution environment to disconnect from this.device.

BluetoothRemoteGATTServer.disconnect()

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer/disconnect

Method.

[Experimental]

The BluetoothRemoteGATTServer.disconnect() method causes the
execution environment to disconnect from this.device.

`BluetoothRemoteGATTServer.disconnect()`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer/disconnect`
sourceraw docstring

get-primary-servicecljs

(get-primary-service this bluetooth-service-uuid)

Method.

[Experimental]

The BluetoothRemoteGATTServer.getPrimaryService() method returns promise to the primary BluetoothGATTService offered by the device for a specified BluetoothServiceUUID.

BluetoothRemoteGATTServer.getPrimaryService(bluetoothServiceUUID).then(function(bluetoothGATTService) { ... })

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer/getPrimaryService

Method.

[Experimental]

The BluetoothRemoteGATTServer.getPrimaryService() method returns
promise to the primary `BluetoothGATTService` offered by the
device for a specified `BluetoothServiceUUID`.

`BluetoothRemoteGATTServer.getPrimaryService(bluetoothServiceUUID).then(function(bluetoothGATTService) { ... })`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer/getPrimaryService`
sourceraw docstring

get-primary-servicescljs

(get-primary-services this bluetooth-service-uuid)

Method.

[Experimental]

The BluetoothRemoteGATTServer.getPrimaryServices() method returns promise to a list of primary BluetoothGATTService objects offered the bluetooth device for a specified BluetoothServiceUUID.

BluetoothRemoteGATTServer.getPrimaryServices(bluetoothServiceUUID).then(function(bluetoothGATTServices) { ... })

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer/getPrimaryServices

Method.

[Experimental]

The BluetoothRemoteGATTServer.getPrimaryServices() method returns
promise to a list of primary `BluetoothGATTService` objects offered
the bluetooth device for a specified BluetoothServiceUUID.

`BluetoothRemoteGATTServer.getPrimaryServices(bluetoothServiceUUID).then(function(bluetoothGATTServices) { ... })`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer/getPrimaryServices`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close