Chrome is not finding any bluetooth devices in Android as well as WebChrome in Linux Issues

2,813 views
Skip to first unread message

Dinesh vasan

unread,
Aug 24, 2017, 5:24:05 AM8/24/17
to web-bluetooth

Dear Friends,
I'm using Web Bluetooth technology,I'm trying to connect  an Android 6.0.1(Galaxy J7 prime) with an another Android device  6.0.1(Galaxy J5) in chrome (Version 60.0.311),it doest not scaning any device.
How do I list the nearby or paired Bluetooth devices on Chrome mobile for Android?
I searched Bluetooth device natively,it connected automatically and showed the list. But it does not search any device in Chrome.
I tried many sample Web Bluetooth Project,it's not scanning any devices on chrome browser as well as Android chrome browser. Give some working sample project.



This is for sample example ( https://dineshvasan.github.io/test/)
i have written for connecting bluetooth device for printing the text but it is not working. kindly check it whether i have made mistake in that code . kindly give me working solution for web bluetooth using service worker. i have referred all the website but it not working properly.

As well as i have enabled flag of enable-experimental-web-platform-features in chrome (chrome://flags/#enable-experimental-web-platform-features).

As well as i have attached log file and print picture device

As per my requirement to access the web bluetooth print the text using service worker.
Kindly do the Needful
Printer Name : Epson
Printer Model : Epson TM-P20

Operating System : Ubuntu 16.04

Note: https://googlechrome.github.io/samples/web-bluetooth/device-info.html?allDevices=true
 
I tried the above link ,it did not show any devices on chrome so that i can't able to finish my project . please guide me for fix this issue
20170821_153111.jpg
20170821_153102.jpg
btmon.btsnoop

François Beaufort 🇫🇷

unread,
Aug 24, 2017, 5:28:44 AM8/24/17
to Dinesh vasan, web-bluetooth
Hello Dinesh,

See https://github.com/WebBluetoothCG/web-bluetooth/issues/375#issuecomment-324579568 for the printer.
According to logs you've shared, I believe your device is Bluetooth Classic, not Bluetooth Low Energy.
This is why it won't work with the Web Bluetooth API for now.

--
You received this message because you are subscribed to the Google Groups "web-bluetooth" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web-bluetoot...@chromium.org.
To post to this group, send email to web-bl...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/web-bluetooth/70647243-c452-477d-8349-86f10cf69442%40chromium.org.

François Beaufort 🇫🇷

unread,
Aug 24, 2017, 5:37:19 AM8/24/17
to Dinesh vasan, web-bluetooth
May I recommend you install the Android BLE Peripheral App?
This app simulates BLE peripherals easing experiments with the Web Bluetooth API by providing another device to connect to.

Reply all
Reply to author
Forward
0 new messages