- From: Giovanni Ortuno via GitHub <sysbot+gh@w3.org>
- Date: Tue, 27 Sep 2016 07:14:34 +0000
- To: public-web-bluetooth-log@w3.org
g-ortuno has just created a new issue for https://github.com/WebBluetoothCG/web-bluetooth: == How to retrieve a device's name. == Up until now the implementations have been relying in the platform's provided way of retrieving the name e.g. android: BluetoothDevice.getName(), osx [CBPeripheral name], etc. We recently found out that BluetoothDevice.getName() is really slow. So I started thinking of how to implement our own name retrieval and wondering if that's something we should spec. The spec simply states: > 6. If device has a partial or complete Bluetooth Device Name, set result.name to that string. Should that be more specific? For example what name do we use if the device is advertising one name but generic access has a different name? Should we update the name after connecting to the device? If the user changes the name do we update BluetoothDevice's name? Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/299 using your GitHub account
Received on Tuesday, 27 September 2016 07:14:48 UTC