The BluetoothRemoteGATTService interface of the Web Bluetooth represents a service provided by a GATT server, including a device, list of referenced services, and a list of the characteristics this service.
The BluetoothRemoteGATTService interface of the Web Bluetooth represents a service provided by a GATT server, including a device, list of referenced services, and a list of the characteristics this service.
(device this)
Property.
The BluetoothGATTService.device read-only property returns information
a Bluetooth device through an instance of bluetooth.BluetoothDevice
.
var bluetoothDeviceInstance = BluetoothGATTService.device
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/device
Property. The BluetoothGATTService.device read-only property returns information a Bluetooth device through an instance of `bluetooth.BluetoothDevice`. `var bluetoothDeviceInstance = BluetoothGATTService.device` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/device`
(get-characteristic this characteristic)
Method.
The BluetoothGATTService.getCharacteristic() method returns a
to an instance of bluetooth.BluetoothGATTCharacteristic
for
given universally unique identifier (UUID).
bluetoothGATTServiceInstance.getCharacteristic(characteristic).then(function(BluetoothGATTCharacteristic) { ... } )
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getCharacteristic
Method. The BluetoothGATTService.getCharacteristic() method returns a to an instance of `bluetooth.BluetoothGATTCharacteristic` for given universally unique identifier (UUID). `bluetoothGATTServiceInstance.getCharacteristic(characteristic).then(function(BluetoothGATTCharacteristic) { ... } )` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getCharacteristic`
(get-characteristics this characteristics)
Method.
The BluetoothGATTService.getCharacteristics() method returns
web.Promise
to a list of bluetooth.BluetoothGATTCharacteristic
for a given universally unique identifier (UUID).
bluetoothGATTServiceInstance.getCharacteristics(characteristics).then(function(BluetoothGATTCharacteristic[]) { ... } )
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getCharacteristics
Method. The BluetoothGATTService.getCharacteristics() method returns `web.Promise` to a list of `bluetooth.BluetoothGATTCharacteristic` for a given universally unique identifier (UUID). `bluetoothGATTServiceInstance.getCharacteristics(characteristics).then(function(BluetoothGATTCharacteristic[]) { ... } )` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getCharacteristics`
(get-included-service this service)
Method.
The BluetoothGATTService.getIncludedService() method returns
web.Promise
to an instance of bluetooth.BluetoothGATTService
a given universally unique identifier (UUID).
bluetoothGATTServiceInstance.getIncludedService(service).then(function(BluetoothGATTService) { ... } )
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getIncludedService
Method. The BluetoothGATTService.getIncludedService() method returns `web.Promise` to an instance of `bluetooth.BluetoothGATTService` a given universally unique identifier (UUID). `bluetoothGATTServiceInstance.getIncludedService(service).then(function(BluetoothGATTService) { ... } )` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getIncludedService`
(get-included-services this service)
Method.
The BluetoothGATTService.getIncludedServices() method returns
web.Promise
to an web.Array
of bluetooth.BluetoothGATTService
for an optional universally unique identifier (UUID).
bluetoothGATTServiceInstance.getIncludedService(service).then(function(BluetoothGATTService) { ... } )
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getIncludedServices
Method. The BluetoothGATTService.getIncludedServices() method returns `web.Promise` to an `web.Array` of `bluetooth.BluetoothGATTService` for an optional universally unique identifier (UUID). `bluetoothGATTServiceInstance.getIncludedService(service).then(function(BluetoothGATTService) { ... } )` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/getIncludedServices`
(is-primary this)
Property.
The BluetoothGATTService.isPrimary read-only property returns
web.Boolean
that indicates whether this is a primary service.
it is not a primary service, it is a secondary service.
var isPrimary = BluetoothGATTService.isPrimary
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/isPrimary
Property. The BluetoothGATTService.isPrimary read-only property returns `web.Boolean` that indicates whether this is a primary service. it is not a primary service, it is a secondary service. `var isPrimary = BluetoothGATTService.isPrimary` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/isPrimary`
(set-device! this val)
Property.
The BluetoothGATTService.device read-only property returns information
a Bluetooth device through an instance of bluetooth.BluetoothDevice
.
var bluetoothDeviceInstance = BluetoothGATTService.device
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/device
Property. The BluetoothGATTService.device read-only property returns information a Bluetooth device through an instance of `bluetooth.BluetoothDevice`. `var bluetoothDeviceInstance = BluetoothGATTService.device` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/device`
(set-is-primary! this val)
Property.
The BluetoothGATTService.isPrimary read-only property returns
web.Boolean
that indicates whether this is a primary service.
it is not a primary service, it is a secondary service.
var isPrimary = BluetoothGATTService.isPrimary
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/isPrimary
Property. The BluetoothGATTService.isPrimary read-only property returns `web.Boolean` that indicates whether this is a primary service. it is not a primary service, it is a secondary service. `var isPrimary = BluetoothGATTService.isPrimary` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/isPrimary`
(set-uuid! this val)
Property.
The BluetoothGATTService.uuid read-only property returns a dom.DOMString
the UUID of this service.
var uuid = BluetoothGATTService.uuid
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/uuid
Property. The BluetoothGATTService.uuid read-only property returns a `dom.DOMString` the UUID of this service. `var uuid = BluetoothGATTService.uuid` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/uuid`
(uuid this)
Property.
The BluetoothGATTService.uuid read-only property returns a dom.DOMString
the UUID of this service.
var uuid = BluetoothGATTService.uuid
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/uuid
Property. The BluetoothGATTService.uuid read-only property returns a `dom.DOMString` the UUID of this service. `var uuid = BluetoothGATTService.uuid` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService/uuid`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close