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

I'm also in favor for adding this option.

>From the Bluetooth spec:
> This sub-procedure is used to write a Characteristic Value to a 
server when the client knows the Characteristic Value Handle and the 
client does not need an acknowledgement that the write was 
successfully performed.

It basically informs that Write Without Response should be chosen when
 the client does not need an acknowledgement. In this case I guess the
 "client" should refer to the application (and not the stack or 
browser) since the application is the only one who knows if an 
acknowledgement is really needed or not. The Bluetooth spec does _not_
 state that Write Without Response can only be used if no other write 
sub-procedures are allowed according to the characteristic's 
permissions.

If the client wants to write many values and it ignores Write 
Responses, and the browser by itself chooses Write With Response, it 
results in wasteful significant delays.

-- 
GitHub Notification of comment by Emill
Please view or discuss this issue at 
https://github.com/WebBluetoothCG/web-bluetooth/issues/238#issuecomment-247487926
 using your GitHub account

Received on Friday, 16 September 2016 00:05:25 UTC