0

I'm trying to use the new navigator.bluetooth Web Bluetooth APIs to connect to an older Bluetooth device, however using the requestDevice({acceptAllDevices: true}) method seems to not working.

According to the docs, it should show all of the bluetooth devices without any filters, but the Chrome beta on Android is not picking up any devices whatsoever, as seen in the picture.

I'm using the Web Bluetooth Terminal with the modified mentioned method above, and getting zero luck in listing any devices.

My device is not BLE, and I'm trying to use the SerialPort "SPP" profile similar to this question, which I believe has the UUID of 0x1101 or 00001101-0000-1000-8000-00805f9b34fb.

How do I list the nearby or paired Bluetooth devices on Chrome mobile for Android?

(Additional Info: Chrome 56 on Android 6.0, the Bluetooth device is a HC-05 module - tested and confirmed working correctly with a dozen of Android Bluetooth terminal apps.)


Community
  • 1
  • 1
David Refoua
  • 3,476
  • 3
  • 31
  • 55
  • NOTE - [This related question](http://stackoverflow.com/q/40441258/1454514) does NOT help as my device is not a BLE device. – David Refoua Apr 12 '17 at 22:54
  • So you are using an API which specifically states its for Bluetooth 4.0 (or Bluetooth Low Energy) and you are wonder why it doesn't work for 'Classic' Bluetooth (3.0)? – Morrison Chang Apr 12 '17 at 23:34
  • @Morrison Chang I thought it could at least discover classic Bluetooth devices – David Refoua Apr 13 '17 at 10:11

1 Answers1

1

Web Bluetooth supports only Bluetooth Low Energy devices for now. You won't be able to connect to Bluetooth Classic devices with this Web API.

François Beaufort
  • 4,843
  • 3
  • 29
  • 38