id

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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

Syntax

var id = instanceOfBluetoothDevice.id

Returns

A DOMString.

Specifications

Specification Status Comment
Web Bluetooth
The definition of 'id' in that specification.
Draft Initial definition.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
id
Experimental
Chrome Full support 74Edge ? Firefox ? IE No support NoOpera Full support YesSafari ? WebView Android No support NoChrome Android Full support 74Firefox Android ? Opera Android Full support YesSafari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.

Document Tags and Contributors

Contributors to this page: mdnwebdocs-bot, ExE-Boss, fscholz, mrenty, jpmedley
Last updated by: mdnwebdocs-bot,