espruino / Espruino

The Espruino JavaScript interpreter - Official Repo
http://www.espruino.com/
Other
2.8k stars 748 forks source link

Bangle.js: hid and uart conflict #1701

Open jasnell opened 5 years ago

jasnell commented 5 years ago

When using NRF.setServices() and setting both uart:true and hid to a hid report, the WebIDE will not properly connect. The WebIDE will see the bangle and will attempt connection but it will hang.

gfwilliams commented 5 years ago

This on Windows 10 again?

I can connect fine with Chrome on my phone (and nRF Connect), and with the Noble-based command-line app. But I can't connect with Chrome on Linux either.

I think this is a Web Bluetooth issue :(

jasnell commented 5 years ago

Yeah, this is that Windows 10 issue. Investigating further it definitely looks to be specific to web bluetooth on Windows so likely just something that needs to be documented as a known issue. I've tried a number of things to work around it and nothing is working.