The BluetoothRemoteGattCharacteristic interface of the Web Bluetooth represents a GATT Characteristic, which is a basic data element provides further information about a peripheral’s service.
The BluetoothRemoteGattCharacteristic interface of the Web Bluetooth represents a GATT Characteristic, which is a basic data element provides further information about a peripheral’s service.
(get-descriptor this bluetooth-descriptor-uuid)Method.
The BluetoothRemoteGATTCharacteristic.getDescriptor() method
a web.Promise that resolves to the first bluetooth.BluetoothGATTDescriptor
a given descriptor UUID.
BluetoothRemoteGATTCharacteristic.getDescriptor(bluetoothDescriptorUUID).then(function(bluetoothGATTDescriptor) { ... })
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/getDescriptor
Method.
The BluetoothRemoteGATTCharacteristic.getDescriptor() method
a `web.Promise` that resolves to the first `bluetooth.BluetoothGATTDescriptor`
a given descriptor UUID.
`BluetoothRemoteGATTCharacteristic.getDescriptor(bluetoothDescriptorUUID).then(function(bluetoothGATTDescriptor) { ... })`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/getDescriptor`(get-descriptors this bluetooth-descriptor-uuid)Method.
The BluetoothRemoteGATTCharacteristic.getDescriptors() method
a web.Promise that resolves to an web.Array of all bluetooth.BluetoothGATTDescriptor
for a given descriptor UUID.
BluetoothRemoteGATTCharacteristic.getDescriptors(bluetoothDescriptorUUID).then(function(bluetoothGATTDescriptors[]) { ... })
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/getDescriptors
Method.
The BluetoothRemoteGATTCharacteristic.getDescriptors() method
a `web.Promise` that resolves to an `web.Array` of all `bluetooth.BluetoothGATTDescriptor`
for a given descriptor UUID.
`BluetoothRemoteGATTCharacteristic.getDescriptors(bluetoothDescriptorUUID).then(function(bluetoothGATTDescriptors[]) { ... })`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/getDescriptors`(properties this)Property.
The BluetoothRemoteGATTCharacteristic.properties read-only property
a bluetooth.BluetoothCharacteristicProperties instance containing
properties of this characteristic.
var properties = BluetoothRemoteGATTCharacteristic.properties
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/properties
Property. The BluetoothRemoteGATTCharacteristic.properties read-only property a `bluetooth.BluetoothCharacteristicProperties` instance containing properties of this characteristic. `var properties = BluetoothRemoteGATTCharacteristic.properties` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/properties`
(read-value this & args)Method.
The BluetoothRemoteGATTCharacteristic.readValue() method returns
web.Promise that resolves to a web.DataView holding a duplicate
the value property if it is available and supported. Otherwise
throws an error.
BluetoothRemoteGATTCharacteristic.readValue().then(function(dataView) { ... })
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/readValue
Method.
The BluetoothRemoteGATTCharacteristic.readValue() method returns
`web.Promise` that resolves to a `web.DataView` holding a duplicate
the value property if it is available and supported. Otherwise
throws an error.
`BluetoothRemoteGATTCharacteristic.readValue().then(function(dataView) { ... })`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/readValue`(service this)Property.
The BluetoothRemoteGATTCharacteristic.service read-only property
the bluetooth.BluetoothGATTService this characteristic belongs
var bluetoothRemoteGATTServiceInstance = BluetoothRemoteGATTCharacteristic.service
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/service
Property. The BluetoothRemoteGATTCharacteristic.service read-only property the `bluetooth.BluetoothGATTService` this characteristic belongs `var bluetoothRemoteGATTServiceInstance = BluetoothRemoteGATTCharacteristic.service` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/service`
(set-properties! this val)Property.
The BluetoothRemoteGATTCharacteristic.properties read-only property
a bluetooth.BluetoothCharacteristicProperties instance containing
properties of this characteristic.
var properties = BluetoothRemoteGATTCharacteristic.properties
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/properties
Property. The BluetoothRemoteGATTCharacteristic.properties read-only property a `bluetooth.BluetoothCharacteristicProperties` instance containing properties of this characteristic. `var properties = BluetoothRemoteGATTCharacteristic.properties` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/properties`
(set-service! this val)Property.
The BluetoothRemoteGATTCharacteristic.service read-only property
the bluetooth.BluetoothGATTService this characteristic belongs
var bluetoothRemoteGATTServiceInstance = BluetoothRemoteGATTCharacteristic.service
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/service
Property. The BluetoothRemoteGATTCharacteristic.service read-only property the `bluetooth.BluetoothGATTService` this characteristic belongs `var bluetoothRemoteGATTServiceInstance = BluetoothRemoteGATTCharacteristic.service` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/service`
(set-uuid! this val)Property.
The BluetoothRemoteGATTCharacteristic.uuid read-only property
dom.DOMString containing the UUID of the characteristic, for
'00002a37-0000-1000-8000-00805f9b34fb' for the Heart Rate Measurement
var uuid = BluetoothRemoteGATTCharacteristic.uuid
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/uuid
Property. The BluetoothRemoteGATTCharacteristic.uuid read-only property `dom.DOMString` containing the UUID of the characteristic, for '00002a37-0000-1000-8000-00805f9b34fb' for the Heart Rate Measurement `var uuid = BluetoothRemoteGATTCharacteristic.uuid` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/uuid`
(set-value! this val)Property.
The BluetoothRemoteGATTCharacteristic.value read-only property currently cached characteristic value. This value gets updated the value of the characteristic is read or updated via a notification indication.
var value = BluetoothRemoteGATTCharacteristic.value
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/value
Property. The BluetoothRemoteGATTCharacteristic.value read-only property currently cached characteristic value. This value gets updated the value of the characteristic is read or updated via a notification indication. `var value = BluetoothRemoteGATTCharacteristic.value` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/value`
(start-notifications this & args)Method.
The BluetoothRemoteGATTCharacteristic.startNotifications() method
a web.Promise to the BluetoothRemoteGATTCharacteristic instance
there is an active notification on it.
BluetoothRemoteGATTCharacteristic.startNotifications().then(function(BluetoothRemoteGATTCharacteristic) { ... })
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/startNotifications
Method.
The BluetoothRemoteGATTCharacteristic.startNotifications() method
a `web.Promise` to the BluetoothRemoteGATTCharacteristic instance
there is an active notification on it.
`BluetoothRemoteGATTCharacteristic.startNotifications().then(function(BluetoothRemoteGATTCharacteristic) { ... })`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/startNotifications`(stop-notifications this & args)Method.
The BluetoothRemoteGATTCharacteristic.stopNotifications() method
a web.Promise to the BluetoothRemoteGATTCharacteristic instance
there is no longer an active notification on it.
BluetoothRemoteGATTCharacteristic.stopNotifications().then(function(BluetoothRemoteGATTCharacteristic) { ... })
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/stopNotifications
Method.
The BluetoothRemoteGATTCharacteristic.stopNotifications() method
a `web.Promise` to the BluetoothRemoteGATTCharacteristic instance
there is no longer an active notification on it.
`BluetoothRemoteGATTCharacteristic.stopNotifications().then(function(BluetoothRemoteGATTCharacteristic) { ... })`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/stopNotifications`(uuid this)Property.
The BluetoothRemoteGATTCharacteristic.uuid read-only property
dom.DOMString containing the UUID of the characteristic, for
'00002a37-0000-1000-8000-00805f9b34fb' for the Heart Rate Measurement
var uuid = BluetoothRemoteGATTCharacteristic.uuid
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/uuid
Property. The BluetoothRemoteGATTCharacteristic.uuid read-only property `dom.DOMString` containing the UUID of the characteristic, for '00002a37-0000-1000-8000-00805f9b34fb' for the Heart Rate Measurement `var uuid = BluetoothRemoteGATTCharacteristic.uuid` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/uuid`
(value this)Property.
The BluetoothRemoteGATTCharacteristic.value read-only property currently cached characteristic value. This value gets updated the value of the characteristic is read or updated via a notification indication.
var value = BluetoothRemoteGATTCharacteristic.value
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/value
Property. The BluetoothRemoteGATTCharacteristic.value read-only property currently cached characteristic value. This value gets updated the value of the characteristic is read or updated via a notification indication. `var value = BluetoothRemoteGATTCharacteristic.value` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/value`
(write-value this value)Method.
The BluetoothRemoteGATTCharacteristic.writeValue() method sets
value property to the bytes contained in an web.ArrayBuffer
returns a web.Promise.
BluetoothRemoteGATTCharacteristic.writeValue(value).then(function() { ... })
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/writeValue
Method.
The BluetoothRemoteGATTCharacteristic.writeValue() method sets
value property to the bytes contained in an `web.ArrayBuffer`
returns a `web.Promise`.
`BluetoothRemoteGATTCharacteristic.writeValue(value).then(function() { ... })`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/writeValue`cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |