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

I think if a user would specify the write type rather than leave it out, he/she would have good knowledge of the Bluetooth spec and the different options already. I though have to admit that "response: with" sounds a bit weird so I am open to other naming.

About receiving a promise even for write without response, that might be good for flow controlling. For example, on Android you need to wait for the callback even if you use write without response because it will wait before delivering the callback in case the buffers are full.

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

Received on Friday, 12 April 2019 15:50:32 UTC