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

Re: [web-bluetooth] GATT operation in progress - how to handle it?

From: François Beaufort via GitHub <sysbot+gh@w3.org>
Date: Thu, 20 Oct 2016 14:26:13 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issue_comment.created-255121220-1476973571-sysbot+gh@w3.org>
For the record, here are not supported parallel operations and their 
respective errors I've found on current Dev Channel (55.0.2883.17):

### Android 
- readValue - DOMException: GATT operation failed for unknown reason.
- writeValue - DOMException: GATT operation already in progress.

### Chrome OS / Linux
- connect - DOMException: Connection failed for unknown reason.
- readValue - DOMException: GATT Error Unknown.
- writeValue - DOMException: GATT operation already in progress.

### Mac OS
- readValue - DOMException: GATT Error: Not supported.
- writeValue - DOMException: GATT operation already in progress.
- stopNotifications is not implemented yet.

As you can see, parallel connects works fine on Android and Mac OS 
while they're not on Chrome OS and Linux (BlueZ).
readValue error message is not consistent across platforms.
stopNotifications is not implemented yet on Mac OS but I suspect it 
should work fine eventually.

-- 
GitHub Notification of comment by beaufortfrancois
Please view or discuss this issue at 
https://github.com/WebBluetoothCG/web-bluetooth/issues/188#issuecomment-255121220
 using your GitHub account
Received on Thursday, 20 October 2016 14:26:22 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 20 October 2016 14:26:23 UTC