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

Dropping the device-info fields from BluetoothDevice

From: Jeffrey Yasskin <jyasskin@google.com>
Date: Fri, 15 Apr 2016 15:17:53 -0700
Message-ID: <CANh-dXmdXhN0+DFn3TuV0i7XBOb-zf_X2LQFMeaoW4G-RQJyNA@mail.gmail.com>
To: public-web-bluetooth <public-web-bluetooth@w3.org>
Hi all,

I'm strongly considering dropping the 4 fields from BluetoothDevice
that are populated from the Device Info service: vendorIDSource,
vendorID, productID, and productVersion (and maybe deviceClass while
I'm at it). They're holdovers from copying the interface from
chrome.bluetooth.Device and don't exist on Android
or CoreBluetooth
Folks will still be able to explicitly navigate the GATT tree to read
those fields.

They're also the only thing that requires connecting to the device
while the UA's creating a BluetoothDevice instance
and the resulting asynchrony is causing a small problem specifying the
navigator.bluetooth.referringDevice field in
This could be solved by moving the referring device inside the result
of navigator.permissions.query({"bluetooth"}), but if we can get rid
of the fields, that's easier.

Any objections?

Received on Friday, 15 April 2016 22:18:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:57:54 UTC