W3C home > Mailing lists > Public > public-web-bluetooth-log@w3.org > April 2019

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

From: Emill via GitHub <sysbot+gh@w3.org>
Date: Fri, 12 Apr 2019 15:50:31 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issue_comment.created-482625675-1555084230-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Friday, 12 April 2019 15:50:33 UTC