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

Re: [web-bluetooth] How to add disconnect event handler

From: François Beaufort via GitHub <sysbot+gh@w3.org>
Date: Tue, 14 Jun 2016 18:57:54 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issue_comment.created-225981867-1465930673-sysbot+gh@w3.org>
As shown in 
https://googlechrome.github.io/samples/web-bluetooth/device-disconnect.html,
 the `gattserverdisconnected` event must be registered on the 
BluetoothDevice, not the server.

-- 
GitHub Notification of comment by beaufortfrancois
Please view or discuss this issue at 
https://github.com/WebBluetoothCG/web-bluetooth/issues/244#issuecomment-225981867
 using your GitHub account
Received on Tuesday, 14 June 2016 18:57:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 14 June 2016 18:57:56 UTC