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.
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close