[web-bluetooth] Getting current device's information (#482)

stanleynguyen has just created a new issue for https://github.com/WebBluetoothCG/web-bluetooth:

== Getting current device's information ==
It can sometimes be confusing to figure out where the best place is to
file an issue or ask a question about a web platform API. Before
reporting an issue here please ask yourself these questions:

1. Are you reporting a bug in the Web Bluetooth implementation in a
   particular browser? If so then please use their issue tracker. For
   example, the Chromium issue tracker is at https://crbug.com.
N/A

2. Do you have a question about how to use the Web Bluetooth API?
   Please consider asking on StackOverflow and tag it with
   "web-bluetooth". Questions asked on StackOverflow are better indexed
   by search engines and so the answers will help other developers.
   Questions asked here will be answered and the issue closed which
   makes them much more difficult for others to find.

I'm using WebBluetooth API in Chrome 80 with experimental flag enabled. I can retrieved all nearby devices' info with navigator.bluetooth.requestLEScan. However, when it comes to the current device that I'm making scan from, there doesn't seem to be a way to retrieve information about it. Is there anyway that I can retrieve information of the current bluetooth device?

I couldn't find anything from [here](https://developers.google.com/web/updates/2015/07/interact-with-ble-devices-on-the-web), [here](https://googlechrome.github.io/samples/web-bluetooth/), nor [here](https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth)

3. Have you found a problem with the way this API is specified or have
   a feature request? File it here.
If the above mentioned feature has not been implemented yet, this is my request for it to be available. 

Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/482 using your GitHub account

Received on Monday, 23 March 2020 14:05:44 UTC