[web-bluetooth] Pull Request: Remove the device info and device class fields from BluetoothDevice.

jyasskin has just submitted a new pull request for 
https://github.com/WebBluetoothCG/web-bluetooth:

== Remove the device info and device class fields from 
BluetoothDevice. ==
Preview at 
https://rawgit.com/jyasskin/web-bluetooth-1/remove-device-info/index.html#bluetoothdevice.

These fields are in the API because it started life as 
[chrome.bluetooth.Device](https://developer.chrome.com/apps/bluetooth#type-Device),
 but they don't exist in either the [Core 
Bluetooth](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBPeripheral_Class/index.html)
 or (except for device class) the 
[Android](http://developer.android.com/reference/android/bluetooth/BluetoothDevice.html#lfields)
 APIs. Developers can still navigate the GATT tree to look them up; 
they just won't be available at the top level anymore.

I asked for opinions on doing this at
https://lists.w3.org/Archives/Public/public-web-bluetooth/2016Apr/0017.html
and the limited response was positive.

@beaufortfrancois FYI, we'll have to rewrite the 
https://googlechrome.github.io/samples/web-bluetooth/device-info.html 
once this makes it to Chromium.

See https://github.com/WebBluetoothCG/web-bluetooth/pull/229

Received on Wednesday, 20 April 2016 00:42:36 UTC