-
• #2
I'm in the middle of writing up some docs at the moment, but unfortunately Web Bluetooth support for Chrome on Windows is planned to arrive in the first few months of next year (when I did the KickStarter everything I heard pointed to it being done by now).
To make matters worse, the existing BLE library for Node.js wants to 'claim' the BLE device, so only really works on Windows 7 and below. As a result I'm actually having to make my own Node.js BLE library - so you'll have to download an app, which will be a 'native' IDE.
Hopefully that'll all change when Google update Chrome, but until then if you want to use Web Bluetooth it's probably best to do so with an Android phone.
-
• #3
Thanks. I don't have an android phone. What about running under virtual box using USB passthrough ( I have a USB dongle). Is there a browser for Linux that supports web Bluetooth?
-
• #4
This might help.
-
• #5
The current implementation state is here: https://github.com/WebBluetoothCG/web-bluetooth/blob/master/implementation-status.md
Yesterday I just finished a build of the web IDE for windows that should handle Bluetooth on pretty much any version of windows.
However if you really want Web Bluetooth you might well have some luck running Linux with VirtualBox (or even possibly on a Raspberry Pi?). The important thing is you want a version of the bluetooth libraries in Linux that's 5.40 or later (Ubuntu 16.04/Mint 18 still doesn't have that). I've written a guide to installing it afterwards which'll be online soon (maybe today) though.
Having said all that it is only a few months until it gets added to the Windows build of Chrome, so it might be worth holding out for that...
-
• #6
Just to add, if you installed Ubuntu 16.10 it looks like you get a new enough BlueZ version that it should 'just work' - that'd be the best bet
-
• #7
And... A downloadable Web IDE for Windows is now here: http://www.espruino.com/Web+IDE
It supports directly connecting to BLE adaptors for Windows versions <8.1, or in the case of 8.1 and later it'll use the Windows APIs to go via the drivers... So even though Web Bluetooth isn't there yet you'll still be fine.
I'm using Version 54.0.2840.99 m chrome on windows 10.
https://googlechrome.github.io/samples/web-bluetooth/device-info.html
this leads to here:
chrome://flags/#enable-web-bluetooth
How do you enable?
Thanks