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

Re: [web-bluetooth] Should connectGATT() time out or wait until a device is available?

From: Vincent Scheib via GitHub <sysbot+gh@w3.org>
Date: Mon, 24 Aug 2015 19:42:53 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issue_comment.created-134352484-1440445372-sysbot+gh@w3.org>
I agree with having the ability to abort. For some devices an unwanted
 connection may be frustrating (e.g. block other connections). 

Having `connectGatt / disconnect` on different levels of the object 
hierarchy seems slightly sad, but OK. An alternative would be 
`device.connectGatt / device.disconnectGatt`.

-- 
GitHub Notif of comment by scheib
See 
https://github.com/WebBluetoothCG/web-bluetooth/issues/152#issuecomment-134352484
Received on Monday, 24 August 2015 19:42:54 UTC

This archive was generated by hypermail 2.3.1 : Monday, 24 August 2015 19:42:55 UTC