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