Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not detect Bluetooth device with requestDevice. #388

Closed
goldingdamien opened this issue Mar 1, 2018 · 3 comments
Closed

Can not detect Bluetooth device with requestDevice. #388

goldingdamien opened this issue Mar 1, 2018 · 3 comments

Comments

@goldingdamien
Copy link

I have tried navigator.bluetooth.requestDevice(options) with options = {acceptAllDevices: true} and using the name in filters against a new Bluetooth phone(Bluetooth 4+) and an older device which both are fine at pairing with my computer.

I have tried following the guides for a solution but everything seems to result in the scanning overlay being shown and it never finding anything.

I have tried using Chrome Canary, an onclick event, and using https.

I have also tried the below, and nothing is shown.
chrome://bluetooth-internals/#devices

I just want to be able to test the Bluetooth functionality, so any way of getting this working would be much appreciated, thank you.

@goldingdamien goldingdamien changed the title Can not detect Bluetooth with requestDevice. Can not detect Bluetooth device with requestDevice. Mar 1, 2018
@x1mrdonut1x
Copy link

What operating system are you using?

Try launching Chrome with the --enable-web-bluetooth flag, and make sure you have set the chrome://flags/#enable-experimental-web-platform-features to true.

@reillyeon
Copy link
Contributor

Closing this issue as OP has not provided information on what platform they are using. Note that as of Chrome 70 Windows is now fully supported and so this may have fixed your problem.

@piyush2cloud
Copy link

@reillyeon Can u please help me with how to get heart rate from Fitbit Versa device using BLE,GATT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants