Liking cljdoc? Tell your friends :D

bluetooth.BluetoothDevice

The BluetoothDevice interface of the Web Bluetooth API represents Bluetooth device inside a particular script execution environment.

The BluetoothDevice interface of the Web Bluetooth API represents
Bluetooth device inside a particular script execution environment.
raw docstring

ad-datacljs

(ad-data this)

Property.

The BluetoothDevice.adData read-only property returns instance bluetooth.BluetoothAdvertisingData containing the most recent data received for the device.

var instanceOfBluetoothAdData = instanceOfBluetoothDevice.adData

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/adData

Property.

The BluetoothDevice.adData read-only property returns instance
`bluetooth.BluetoothAdvertisingData` containing the most recent
data received for the device.

`var instanceOfBluetoothAdData = instanceOfBluetoothDevice.adData`

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

connect-gattcljs

(connect-gatt this & args)

Method.

The BluetoothDevice.connectGATT() method returns a web.Promise resolves to an instance of bluetooth.BluetoothGATTRemoteServer.

instanceOfBluetoothDevice.connectGATT().then(function(BluetoothGATTRemoteServer) { ... })

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/connectGATT

Method.

The BluetoothDevice.connectGATT() method returns a `web.Promise`
resolves to an instance of `bluetooth.BluetoothGATTRemoteServer`.

`instanceOfBluetoothDevice.connectGATT().then(function(BluetoothGATTRemoteServer) { ... })`

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

device-classcljs

(device-class this)

Property.

The BluetoothDevice.deviceClass read-only property returns a representing the Bluetooth devices "Class of Device".

var deviceClass = instanceOfBluetoothDevice.deviceClass

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/deviceClass

Property.

The BluetoothDevice.deviceClass read-only property returns a
representing the Bluetooth devices \"Class of Device\".

`var deviceClass = instanceOfBluetoothDevice.deviceClass`

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

gattcljs

(gatt this)

Property.

The BluetoothDevice.gatt read-only property returns a reference the device's bluetooth.BluetoothRemoteGATTServer.

var gattServer = instanceOfBluetoothDevice.gatt

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/gatt

Property.

The BluetoothDevice.gatt read-only property returns a reference
the device's `bluetooth.BluetoothRemoteGATTServer`.

`var gattServer = instanceOfBluetoothDevice.gatt`

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

gatt-servercljs

(gatt-server this)

Property.

The BluetoothDevice.gattServer read-only property returns a reference the device's GATT server or null if the device is disconnected.

var gattServer = instanceOfBluetoothDevice.gattServer

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/gattServer

Property.

The BluetoothDevice.gattServer read-only property returns a reference
the device's GATT server or null if the device is disconnected.

`var gattServer = instanceOfBluetoothDevice.gattServer`

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

idcljs

(id this)

Property.

The BluetoothDevice.id read-only property returns a dom.DOMString uniquely identifies a device.

var id = instanceOfBluetoothDevice.id

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/id

Property.

The BluetoothDevice.id read-only property returns a `dom.DOMString`
uniquely identifies a device.

`var id = instanceOfBluetoothDevice.id`

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

namecljs

(name this)

Property.

The BluetoothDevice.name read-only property returns a dom.DOMString provides a human-readable name for the device.

var name = instanceOfBluetoothDevice.name

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/name

Property.

The BluetoothDevice.name read-only property returns a `dom.DOMString`
provides a human-readable name for the device.

`var name = instanceOfBluetoothDevice.name`

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

pairedcljs

(paired this)

Property.

The BluetoothDevice.paired read-only property returns a web.Boolean indicating whether the device is paired with the system.

var paired = instanceOfBluetoothDevice.paired

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/paired

Property.

The BluetoothDevice.paired read-only property returns a `web.Boolean`
indicating whether the device is paired with the system.

`var paired = instanceOfBluetoothDevice.paired`

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

product-idcljs

(product-id this)

Property.

The BluetoothDevice.productID read-only property returns the Product ID field in the pnp_id characteristic in the device_information

var productID = instanceOfBluetoothDevice.productID

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/productID

Property.

The BluetoothDevice.productID read-only property returns the
Product ID field in the pnp_id characteristic in the device_information

`var productID = instanceOfBluetoothDevice.productID`

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

product-versioncljs

(product-version this)

Property.

The BluetoothDevice.productVersion read-only property returns 16-bit Product Version field in the pnp_id characteristic in device_information service.

var productVersion = instanceOfBluetoothDevice.productVersion

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/productVersion

Property.

The BluetoothDevice.productVersion read-only property returns
16-bit Product Version field in the pnp_id characteristic in
device_information service.

`var productVersion = instanceOfBluetoothDevice.productVersion`

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

set-ad-data!cljs

(set-ad-data! this val)

Property.

The BluetoothDevice.adData read-only property returns instance bluetooth.BluetoothAdvertisingData containing the most recent data received for the device.

var instanceOfBluetoothAdData = instanceOfBluetoothDevice.adData

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/adData

Property.

The BluetoothDevice.adData read-only property returns instance
`bluetooth.BluetoothAdvertisingData` containing the most recent
data received for the device.

`var instanceOfBluetoothAdData = instanceOfBluetoothDevice.adData`

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

set-device-class!cljs

(set-device-class! this val)

Property.

The BluetoothDevice.deviceClass read-only property returns a representing the Bluetooth devices "Class of Device".

var deviceClass = instanceOfBluetoothDevice.deviceClass

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/deviceClass

Property.

The BluetoothDevice.deviceClass read-only property returns a
representing the Bluetooth devices \"Class of Device\".

`var deviceClass = instanceOfBluetoothDevice.deviceClass`

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

set-gatt!cljs

(set-gatt! this val)

Property.

The BluetoothDevice.gatt read-only property returns a reference the device's bluetooth.BluetoothRemoteGATTServer.

var gattServer = instanceOfBluetoothDevice.gatt

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/gatt

Property.

The BluetoothDevice.gatt read-only property returns a reference
the device's `bluetooth.BluetoothRemoteGATTServer`.

`var gattServer = instanceOfBluetoothDevice.gatt`

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

set-gatt-server!cljs

(set-gatt-server! this val)

Property.

The BluetoothDevice.gattServer read-only property returns a reference the device's GATT server or null if the device is disconnected.

var gattServer = instanceOfBluetoothDevice.gattServer

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/gattServer

Property.

The BluetoothDevice.gattServer read-only property returns a reference
the device's GATT server or null if the device is disconnected.

`var gattServer = instanceOfBluetoothDevice.gattServer`

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

set-id!cljs

(set-id! this val)

Property.

The BluetoothDevice.id read-only property returns a dom.DOMString uniquely identifies a device.

var id = instanceOfBluetoothDevice.id

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/id

Property.

The BluetoothDevice.id read-only property returns a `dom.DOMString`
uniquely identifies a device.

`var id = instanceOfBluetoothDevice.id`

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

set-name!cljs

(set-name! this val)

Property.

The BluetoothDevice.name read-only property returns a dom.DOMString provides a human-readable name for the device.

var name = instanceOfBluetoothDevice.name

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/name

Property.

The BluetoothDevice.name read-only property returns a `dom.DOMString`
provides a human-readable name for the device.

`var name = instanceOfBluetoothDevice.name`

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

set-paired!cljs

(set-paired! this val)

Property.

The BluetoothDevice.paired read-only property returns a web.Boolean indicating whether the device is paired with the system.

var paired = instanceOfBluetoothDevice.paired

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/paired

Property.

The BluetoothDevice.paired read-only property returns a `web.Boolean`
indicating whether the device is paired with the system.

`var paired = instanceOfBluetoothDevice.paired`

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

set-product-id!cljs

(set-product-id! this val)

Property.

The BluetoothDevice.productID read-only property returns the Product ID field in the pnp_id characteristic in the device_information

var productID = instanceOfBluetoothDevice.productID

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/productID

Property.

The BluetoothDevice.productID read-only property returns the
Product ID field in the pnp_id characteristic in the device_information

`var productID = instanceOfBluetoothDevice.productID`

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

set-product-version!cljs

(set-product-version! this val)

Property.

The BluetoothDevice.productVersion read-only property returns 16-bit Product Version field in the pnp_id characteristic in device_information service.

var productVersion = instanceOfBluetoothDevice.productVersion

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/productVersion

Property.

The BluetoothDevice.productVersion read-only property returns
16-bit Product Version field in the pnp_id characteristic in
device_information service.

`var productVersion = instanceOfBluetoothDevice.productVersion`

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

set-uuids!cljs

(set-uuids! this val)

Property.

The BluetoothDevice.uuids read-only property lists the UUIDs GATT services provided by the device, that the current origin allowed to access.

var uuids[] =​ instanceOfBluetoothDevice.uuids

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/uuids

Property.

The BluetoothDevice.uuids read-only property lists the UUIDs
GATT services provided by the device, that the current origin
allowed to access.

`var uuids[] =​ instanceOfBluetoothDevice.uuids`

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

set-vendor-id!cljs

(set-vendor-id! this val)

Property.

The BluetoothDevice.vendorID read-only property returns the 16-bit ID field in the pnp_id characteristic in the device_information

var vendorID = instanceOfBluetoothDevice.vendorID

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/vendorID

Property.

The BluetoothDevice.vendorID read-only property returns the 16-bit
ID field in the pnp_id characteristic in the device_information

`var vendorID = instanceOfBluetoothDevice.vendorID`

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

set-vendor-id-source!cljs

(set-vendor-id-source! this val)

Property.

The BluetoothDevice.vendorIDSource read-only property returns Vendor ID Source field in the pnp_id characteristic in the device_information

var vendorIDSource = instanceOfBluetoothDevice.vendorIDSource

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/vendorIDSource

Property.

The BluetoothDevice.vendorIDSource read-only property returns
Vendor ID Source field in the pnp_id characteristic in the device_information

`var vendorIDSource = instanceOfBluetoothDevice.vendorIDSource`

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

uuidscljs

(uuids this)

Property.

The BluetoothDevice.uuids read-only property lists the UUIDs GATT services provided by the device, that the current origin allowed to access.

var uuids[] =​ instanceOfBluetoothDevice.uuids

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/uuids

Property.

The BluetoothDevice.uuids read-only property lists the UUIDs
GATT services provided by the device, that the current origin
allowed to access.

`var uuids[] =​ instanceOfBluetoothDevice.uuids`

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

vendor-idcljs

(vendor-id this)

Property.

The BluetoothDevice.vendorID read-only property returns the 16-bit ID field in the pnp_id characteristic in the device_information

var vendorID = instanceOfBluetoothDevice.vendorID

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/vendorID

Property.

The BluetoothDevice.vendorID read-only property returns the 16-bit
ID field in the pnp_id characteristic in the device_information

`var vendorID = instanceOfBluetoothDevice.vendorID`

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

vendor-id-sourcecljs

(vendor-id-source this)

Property.

The BluetoothDevice.vendorIDSource read-only property returns Vendor ID Source field in the pnp_id characteristic in the device_information

var vendorIDSource = instanceOfBluetoothDevice.vendorIDSource

See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/vendorIDSource

Property.

The BluetoothDevice.vendorIDSource read-only property returns
Vendor ID Source field in the pnp_id characteristic in the device_information

`var vendorIDSource = instanceOfBluetoothDevice.vendorIDSource`

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

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

× close