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.
(ad-data this)
Property.
[Read Only] [Non Standard] [Obsolute]
The BluetoothDevice.adData read-only property returns instance
web.bluetooth.BluetoothAdvertisingData
containing the most
advertising data received for the device.
var instanceOfBluetoothAdData = instanceOfBluetoothDevice.adData
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/adData
Property. [Read Only] [Non Standard] [Obsolute] The BluetoothDevice.adData read-only property returns instance `web.bluetooth.BluetoothAdvertisingData` containing the most advertising data received for the device. `var instanceOfBluetoothAdData = instanceOfBluetoothDevice.adData` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/adData`
(connect-gatt this & args)
Method.
[Non Standard] [Obsolute]
The BluetoothDevice.connectGATT() method returns a js.Promise
resolves to an instance of BluetoothGATTRemoteServer
.
instanceOfBluetoothDevice.connectGATT().then(function(BluetoothGATTRemoteServer) { ... })
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/connectGATT
Method. [Non Standard] [Obsolute] The BluetoothDevice.connectGATT() method returns a `js.Promise` resolves to an instance of `BluetoothGATTRemoteServer`. `instanceOfBluetoothDevice.connectGATT().then(function(BluetoothGATTRemoteServer) { ... })` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/connectGATT`
(device-class this)
Property.
[Read Only] [Non Standard] [Obsolute]
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. [Read Only] [Non Standard] [Obsolute] 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`
(gatt this)
Property.
[Read Only] [Experimental]
The BluetoothDevice.gatt read-only property returns a reference
the device's web.bluetooth.BluetoothRemoteGATTServer
.
var gattServer = instanceOfBluetoothDevice.gatt
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/gatt
Property. [Read Only] [Experimental] The BluetoothDevice.gatt read-only property returns a reference the device's `web.bluetooth.BluetoothRemoteGATTServer`. `var gattServer = instanceOfBluetoothDevice.gatt` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/gatt`
(gatt-server this)
Property.
[Read Only] [Non Standard] [Obsolute]
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. [Read Only] [Non Standard] [Obsolute] 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`
(id this)
Property.
[Read Only] [Experimental]
The BluetoothDevice.id read-only property returns a web.DOMString
uniquely identifies a device.
var id = instanceOfBluetoothDevice.id
See also: https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/id
Property. [Read Only] [Experimental] The BluetoothDevice.id read-only property returns a `web.DOMString` uniquely identifies a device. `var id = instanceOfBluetoothDevice.id` See also: `https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice/id`
(name this)
Property.
[Read Only] [Experimental]
The BluetoothDevice.name read-only property returns a web.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. [Read Only] [Experimental] The BluetoothDevice.name read-only property returns a `web.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`
(paired this)
Property.
[Read Only] [Non Standard] [Obsolute]
The BluetoothDevice.paired read-only property returns a js.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. [Read Only] [Non Standard] [Obsolute] The BluetoothDevice.paired read-only property returns a `js.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`
(product-id this)
Property.
[Read Only] [Non Standard] [Obsolute]
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. [Read Only] [Non Standard] [Obsolute] 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`
(product-version this)
Property.
[Read Only] [Non Standard] [Obsolute]
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. [Read Only] [Non Standard] [Obsolute] 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`
(set-watching-advertisements! this val)
Property.
If advertisments were activated using BluetoothDevice.watchAdvertisements().
Property. If advertisments were activated using BluetoothDevice.watchAdvertisements().
(unwatch-advertisments this & args)
Method.
Stops watching for advertisments.
Method. Stops watching for advertisments.
(uuids this)
Property.
[Read Only] [Experimental]
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. [Read Only] [Experimental] 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`
(vendor-id this)
Property.
[Read Only] [Non Standard] [Obsolute]
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. [Read Only] [Non Standard] [Obsolute] 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`
(vendor-id-source this)
Property.
[Read Only] [Non Standard] [Obsolute]
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. [Read Only] [Non Standard] [Obsolute] 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`
(watch-advertisments this & args)
Method.
A Promise that resolves to undefined or is rejected with an error advetisments can’t shown for any reason.
Method. A Promise that resolves to undefined or is rejected with an error advetisments can’t shown for any reason.
(watching-advertisements this)
Property.
If advertisments were activated using BluetoothDevice.watchAdvertisements().
Property. If advertisments were activated using BluetoothDevice.watchAdvertisements().
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close