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

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