Liking cljdoc? Tell your friends :D

web.bluetooth.BluetoothRemoteGATTCharacteristic

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.
raw docstring

get-descriptorcljs

(get-descriptor this bluetooth-descriptor-uuid)

Method.

The BluetoothRemoteGATTCharacteristic.getDescriptor() method a js.Promise that resolves to the first 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 `js.Promise` that resolves to the first `BluetoothGATTDescriptor`
a given descriptor UUID.

`BluetoothRemoteGATTCharacteristic.getDescriptor(bluetoothDescriptorUUID).then(function(bluetoothGATTDescriptor) { ... })`

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

get-descriptorscljs

(get-descriptors this)

Property.

The BluetoothRemoteGATTCharacteristic.getDescriptors() method a js.Promise that resolves to an js.Array of all 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

Property.

The BluetoothRemoteGATTCharacteristic.getDescriptors() method
a `js.Promise` that resolves to an `js.Array` of all `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`
sourceraw docstring

propertiescljs

(properties this)

Property.

The BluetoothRemoteGATTCharacteristic.properties read-only property a web.bluetooth.BluetoothCharacteristicProperties instance the 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 `web.bluetooth.BluetoothCharacteristicProperties` instance
the properties of this characteristic.

`var properties = BluetoothRemoteGATTCharacteristic.properties`

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

read-valuecljs

(read-value this)

Property.

The BluetoothRemoteGATTCharacteristic.readValue() method returns js.Promise that resolves to a js.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

Property.

The BluetoothRemoteGATTCharacteristic.readValue() method returns
`js.Promise` that resolves to a `js.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`
sourceraw docstring

servicecljs

(service this)

Property.

The BluetoothRemoteGATTCharacteristic.service read-only property the BluetoothGATTService this characteristic belongs to.

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 `BluetoothGATTService` this characteristic belongs to.

`var bluetoothRemoteGATTServiceInstance = BluetoothRemoteGATTCharacteristic.service`

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

set-get-descriptors!cljs

(set-get-descriptors! this val)

Property.

The BluetoothRemoteGATTCharacteristic.getDescriptors() method a js.Promise that resolves to an js.Array of all 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

Property.

The BluetoothRemoteGATTCharacteristic.getDescriptors() method
a `js.Promise` that resolves to an `js.Array` of all `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`
sourceraw docstring

set-properties!cljs

(set-properties! this val)

Property.

The BluetoothRemoteGATTCharacteristic.properties read-only property a web.bluetooth.BluetoothCharacteristicProperties instance the 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 `web.bluetooth.BluetoothCharacteristicProperties` instance
the properties of this characteristic.

`var properties = BluetoothRemoteGATTCharacteristic.properties`

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

set-read-value!cljs

(set-read-value! this val)

Property.

The BluetoothRemoteGATTCharacteristic.readValue() method returns js.Promise that resolves to a js.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

Property.

The BluetoothRemoteGATTCharacteristic.readValue() method returns
`js.Promise` that resolves to a `js.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`
sourceraw docstring

set-service!cljs

(set-service! this val)

Property.

The BluetoothRemoteGATTCharacteristic.service read-only property the BluetoothGATTService this characteristic belongs to.

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 `BluetoothGATTService` this characteristic belongs to.

`var bluetoothRemoteGATTServiceInstance = BluetoothRemoteGATTCharacteristic.service`

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

set-start-notifications!cljs

(set-start-notifications! this val)

Property.

The BluetoothRemoteGATTCharacteristic.startNotifications() method a js.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

Property.

The BluetoothRemoteGATTCharacteristic.startNotifications() method
a `js.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`
sourceraw docstring

set-stop-notifications!cljs

(set-stop-notifications! this val)

Property.

The BluetoothRemoteGATTCharacteristic.stopNotifications() method a js.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

Property.

The BluetoothRemoteGATTCharacteristic.stopNotifications() method
a `js.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`
sourceraw docstring

set-uuid!cljs

(set-uuid! this val)

Property.

The BluetoothRemoteGATTCharacteristic.uuid read-only property web.dom.DOMString containing the UUID of the characteristic, example '00002a37-0000-1000-8000-00805f9b34fb' for the Heart Measurement characteristic.

var uuid = BluetoothRemoteGATTCharacteristic.uuid

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/uuid

Property.

The BluetoothRemoteGATTCharacteristic.uuid read-only property
`web.dom.DOMString` containing the UUID of the characteristic,
example '00002a37-0000-1000-8000-00805f9b34fb' for the Heart
Measurement characteristic.

`var uuid = BluetoothRemoteGATTCharacteristic.uuid`

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

set-value!cljs

(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`
sourceraw docstring

set-write-value!cljs

(set-write-value! this val)

Property.

The BluetoothRemoteGATTCharacteristic.writeValue() method sets value property to the bytes contained in an js.ArrayBuffer returns a js.Promise.

BluetoothRemoteGATTCharacteristic.writeValue(value).then(function() { ... })

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/writeValue

Property.

The BluetoothRemoteGATTCharacteristic.writeValue() method sets
value property to the bytes contained in an `js.ArrayBuffer`
returns a `js.Promise`.

`BluetoothRemoteGATTCharacteristic.writeValue(value).then(function() { ... })`

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

start-notificationscljs

(start-notifications this)

Property.

The BluetoothRemoteGATTCharacteristic.startNotifications() method a js.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

Property.

The BluetoothRemoteGATTCharacteristic.startNotifications() method
a `js.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`
sourceraw docstring

stop-notificationscljs

(stop-notifications this)

Property.

The BluetoothRemoteGATTCharacteristic.stopNotifications() method a js.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

Property.

The BluetoothRemoteGATTCharacteristic.stopNotifications() method
a `js.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`
sourceraw docstring

uuidcljs

(uuid this)

Property.

The BluetoothRemoteGATTCharacteristic.uuid read-only property web.dom.DOMString containing the UUID of the characteristic, example '00002a37-0000-1000-8000-00805f9b34fb' for the Heart Measurement characteristic.

var uuid = BluetoothRemoteGATTCharacteristic.uuid

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/uuid

Property.

The BluetoothRemoteGATTCharacteristic.uuid read-only property
`web.dom.DOMString` containing the UUID of the characteristic,
example '00002a37-0000-1000-8000-00805f9b34fb' for the Heart
Measurement characteristic.

`var uuid = BluetoothRemoteGATTCharacteristic.uuid`

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

valuecljs

(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`
sourceraw docstring

write-valuecljs

(write-value this)

Property.

The BluetoothRemoteGATTCharacteristic.writeValue() method sets value property to the bytes contained in an js.ArrayBuffer returns a js.Promise.

BluetoothRemoteGATTCharacteristic.writeValue(value).then(function() { ... })

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/writeValue

Property.

The BluetoothRemoteGATTCharacteristic.writeValue() method sets
value property to the bytes contained in an `js.ArrayBuffer`
returns a `js.Promise`.

`BluetoothRemoteGATTCharacteristic.writeValue(value).then(function() { ... })`

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

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

× close