W3C home > Mailing lists > Public > public-web-bluetooth-log@w3.org > June 2015

Re: [web-bluetooth] Add code examples to the spec

From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
Date: Wed, 17 Jun 2015 18:16:12 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issue_comment.created-112901676-1434564972-sysbot+gh@w3.org>
I'm going to remove the 
 for being out of date, so here's a list of things it intended to 
document that we don't have code examples for yet:

* Add a device using a non-standard UUID to show off the non-string 
* Show how to get all instances of a given service UUID, for example 
to support multiple battery services in a device.
* Show an example of querying a service's UUID to motivate the 
bluetoothUUID.get*() functions.
* [Not spec'ed yet] Register to get notified when a particular device 
comes in range. UA would present user with a dialog asking "which app 
do you want to handle this device?"
* Write a characteristic
* Read/write a descriptor

The existing examples could use more exposition, too. 

GitHub Notif of comment by jyasskin
Received on Wednesday, 17 June 2015 18:16:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 17 June 2015 18:16:33 UTC