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

Re: [web-bluetooth] Consider an event when a device is physically disconnected

From: Vincent Scheib via GitHub <sysbot+gh@w3.org>
Date: Wed, 24 Feb 2016 19:13:10 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issue_comment.created-188411536-1456341185-sysbot+gh@w3.org>
The use case I heard, a site wanting to know when a peripheral 
disconnects,
seems to be satisfied with a gattserverdisconnected message without 
more
information.

If a disconnection happens at any general time, the site can explain 
the
connection was lost, and prompt to reconnect. However, when the site
performs an operation that it expects will result in a disconnection 
upon
completion, it can wait for gattserverdisconnected and then show a
confirmation.

The chance that a false disconnection and confirmation will occur due 
to
other reasons seems low.


-- 
GitHub Notification of comment by scheib
Please view or discuss this issue at 
https://github.com/WebBluetoothCG/web-bluetooth/issues/215#issuecomment-188411536
 using your GitHub account
Received on Wednesday, 24 February 2016 19:13:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 24 February 2016 19:13:12 UTC