W3C home > Mailing lists > Public > public-web-bluetooth-log@w3.org > April 2016

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

From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
Date: Wed, 20 Apr 2016 00:42:34 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <pull_request.opened-67112849-1461112953-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 20 April 2016 00:42:36 UTC