Closed archimede2021 closed 5 years ago
Which OS did you test with? Can you share logs? see https://www.chromium.org/developers/how-tos/file-web-bluetooth-bugs
Hello guys, first sorry my english.. I was very excited with the printer example, but does not work.
I am using Android 7.1.2. When i click on button print, i select a printer on list, but nothing happens. Debugging on chrome, i note that the code stop on "device.gatt.connect()".
Any advice? Thanks
@entertailion may help
Unfortunately, I don't have the printer with me. You might want to try this on a different platform like a desktop or a chromebook to see if it makes any difference.
Hello guys, i forgot to comment, but I already tested with my notebook, but it also did not work...
On a chromebook it is possible to enable logging for the bluetooth stack and that might give a better idea of what is going wrong. You will have to use the command line console to do this while trying to connect to the device via the browser.
https://www.chromium.org/developers/how-tos/file-web-bluetooth-bugs has tips for getting logs.
On Fri, Jul 7, 2017 at 8:21 AM, Leon Nicholls notifications@github.com wrote:
On a chromebook it is possible to enable logging for the bluetooth stack and that might give a better idea of what is going wrong. You will have to use the command line console to do this while trying to connect to the device via the browser.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/WebBluetoothCG/demos/issues/64#issuecomment-313712332, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXnm4Ynpht4XEOr6wfYEm5TxLlBks-eks5sLk0HgaJpZM4MkN8d .
I'm tried view chrome://bluetooth-internals on google-chrome in android 7.1.2. Follows some screenshots... It seems to me that my printer is not compatible because GATT "never connect"
The printer linked above does not support BLE (Bluetooth 4.0)[1] it only supports Bluetooth 2.0. So it would not work with Web Bluetooth.
@scheib Yes connected
g-ortuno@ has it right (but had a typo in comment, since it does not support BLE it "would not work with Web Bluetooth") (I'll edit the comment to correct it). nrf connect also shows that because after connecting you can see it doesn't have any printing services listed.
Thank's for all, I knew it that works only BLE devices. My printer support bluetooth 4.0 but not BLE, the solution i found, was to use a cordova plugin, and make a hybrid app.
Does this software only work with BLE devices? I have this same printer, and its got 4.0 support but not sure if the software has been updated to give it support.
Hi guys
Just tested Bluetooth demo with the printer and it doesn't work.
I have enabled chrome experimental web platform feature . chrome://flags/#enable-experimental-web-platform-features
No device in list to pair when I tap print button.
Any advice?
Thank you