- From: Giovanni Ortuno via GitHub <sysbot+gh@w3.org>
- Date: Fri, 21 Aug 2015 15:34:44 +0000
- To: public-web-bluetooth-log@w3.org
so:
```javascript
navigator.bluetooth.requestDevice({...})
.then(device => {
device.connectGATT(handle_connect);
// device.gattServer.connected === false
});
```
SGTM. One question: Would `gattServer.disconnect()` make the promise
reject?
--
GitHub Notif of comment by g-ortuno
See
https://github.com/WebBluetoothCG/web-bluetooth/issues/152#issuecomment-133464540
Received on Friday, 21 August 2015 15:34:45 UTC