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

Questions for user gestures of |Bluetooth.requestDevice(...)| provided by UA

From: Bruce Sun <brsun@mozilla.com>
Date: Wed, 13 Jan 2016 18:40:03 +0800
Message-ID: <CAKfcOeO6_8ZmV7FgW_bxW2wCbWieb=uT2v7VSET-BvupO3eyuA@mail.gmail.com>
To: public-web-bluetooth@w3.org

Well...not exactly questions, more like double confirming the behavior of
how UA interacts with users after |Bluetooth.requestDevice(...)| has been

There are some wordings on the spec mentioning that a user gesture is
required to reduce the frequency of scans some[1][2]; and UA must inform
the user what capabilities the requested services can provide[3]; and a
prompt is required to show the user the human-readable name of each

So if I understand it correctly, UA ought to be able to provide at least
two kinds of prompts:
 - One is used to declare the usage of each service in the filter, and to
provide an option at the same time for users to switch Bluetooth on to
perform scan. The timing to show this prompt is right after
|Bluetooth.requestDevice(...)| has been called but before the real scanning
process begins.
 - Another one is used to display all scanned devices after adapting the
filter, and to let users choose one single device for further interaction.
The timing to show this prompt is right after the real scanning process

Are the above two kinds of prompts exactly the same as what spec expects?
Kindly help to share information if I misunderstand something or miss
something. Any comments are appreciated.

Best regards,
Bruce Sun.

[1] https://webbluetoothcg.github.io/web-bluetooth/#ua-bluetooth-address
Received on Wednesday, 13 January 2016 13:40:16 UTC

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