Liking cljdoc? Tell your friends :D

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.

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.

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.

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.

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.

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

var device = BluetoothRemoteGATTServer.device

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

Property.

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

`var device = BluetoothRemoteGATTServer.device`

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

disconnectcljs

(disconnect this)

Method.

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.

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.

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

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

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

Method.

The BluetoothRemoteGATTServer.getPrimaryService() method returns
promise to the primary `bluetooth.BluetoothGATTService` offered
the bluetooth device for a specified `bluetooth.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.

The BluetoothRemoteGATTServer.getPrimaryServices() method returns promise to a list of primary bluetooth.BluetoothGATTService offered by 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.

The BluetoothRemoteGATTServer.getPrimaryServices() method returns
promise to a list of primary `bluetooth.BluetoothGATTService`
offered by 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

set-connected!cljs

(set-connected! this val)

Property.

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.

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

set-device!cljs

(set-device! this val)

Property.

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

var device = BluetoothRemoteGATTServer.device

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

Property.

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

`var device = BluetoothRemoteGATTServer.device`

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

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

× close