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

[web-bluetooth] Missing API for GATT Write w/o Response

From: Martijn Thé via GitHub <sysbot+gh@w3.org>
Date: Wed, 04 May 2016 14:38:49 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issues.opened-153028400-1462372728-sysbot+gh@w3.org>
martijnthe has just created a new issue for 
https://github.com/WebBluetoothCG/web-bluetooth:

== Missing API for GATT Write w/o Response ==
There does not seem to be a way to specify that the GATT Write w/o 
Response operation should be used when calling `writeValue()`.

I don't think this should be "abstracted away" / left up to the UA 
implementation because this is the only GATT operation by which GATT 
clients can have more than one GATT packets in flight towards the GATT
 server. The other write operations have to be ack'd before the next 
write can be sent out, making it very slow.

Most applications that I've seen that need to optimize for throughput 
(Pebble smartwatch, Parrot's drones, ...), usually use GATT Write w/o 
Response in combination with GATT Value Notifications for data in the 
other direction.

Also related: 
https://github.com/WebBluetoothCG/web-bluetooth/issues/26

Please view or discuss this issue at 
https://github.com/WebBluetoothCG/web-bluetooth/issues/238 using your 
GitHub account
Received on Wednesday, 4 May 2016 14:40:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 4 May 2016 14:40:45 UTC