[web-bluetooth] How to tell which device is the correct device when they all have the same name

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

== How to tell which device is the correct device when they all have the same name ==
We currently use the chrome.bluetooth API on Chrome OS to discover our nearby BLE devices and at the same time retrieve RSSI information on these devices. This allows us to indicate to the user which is the closest device without the need for a pairing or a connection. 

Given that all our devices have the same name, there more than likely will be multiple devices operating within discoverable distance and the security restrictions with Web Bluetooth which, as I understand require the user to select (pair) the relevant devices from the list before viewing the RSSI information, how can the user know they are selecting the correct (closest) device without pairing with all devices.

My initial thought was that there could be a RSSI filter attribute on requestDevice on requestLEScan but given the current approach to security this may be a vulnerability as well.

This issue is more pertinent to us now given issues being raised against Chrome OS are being directed to Web Bluetooth as the new solution.

Apologies if I am missing something obvious. I assume this an issue which other products will have.

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

Received on Saturday, 6 May 2017 14:12:56 UTC