Google Chrome to Get “WebBluetooth” Support

I’ll start with a declaimer that I do not have much information about this feature yet. Read on!

Google Chrome is getting support for WebBluetooth, a technology to  establish a DOM API to set up and communicate with Bluetooth devices.  This includes setting properties on adapters and devices, scanning for devices, bonding, and socket initialization.

I am assuming that this will be the API that allows websites to use Bluetooth hardware of devices, (say phones and Chromebooks for example).

Here is the commit log:

bluetooth: Add a WebBluetooth command line flag.

Adds WebBluetooth command line flag for enabling WebBluetooth. Also adds
it to about:flags and to bad_flags_prompt to make sure users know using
the flag is dangerous.

This feature has been added to Chromium code and most probably will be moved to the Canary and Dev channels soon. Now, here is one more thing about WebBluetooth. Mozilla’s Firefox OS is one of the leading consumers of this technology.

Firefox OS is the main consumer of WebBluetooth for the moment. Most operating systems already provide a configuration layer for bluetooth, and we do not plan on overriding that. However, Firefox OS will require its own settings and initialization code, so the focus of the API is on that platform for the time being, a Mozilla document states.

That’s all I know! 🙁 I will wait for more information from other sources and people (there is a comment form right below this post if you have something to share) to come out with more thoughts on this.

Comments?

  1. Yep, it’s coming: https://www.chromestatus.com/feature/5264933985976320 and https://webbluetoothcg.github.io/web-bluetooth/. The API we’re working on with the W3C is basically compatible with FirefoxOS’s Bluetooth support, with the exception of device discovery: FirefoxOS lets a privileged app find and use any nearby Bluetooth device, while the W3C API uses a dialog to let the user “pair” individual devices with a website.

    1. Thanks for explaining further!

Leave a Reply

Your email address will not be published.