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: Reilly Grant via GitHub <sysbot+gh@w3.org>
Date: Fri, 12 Apr 2019 14:07:19 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issue_comment.created-482587753-1555078037-sysbot+gh@w3.org>
I think the advantage of `"auto"`, `"with"` and `"without"` is that they somewhat map to the language in the spec but in isolation I feel like `writeValue(someData, { response: 'with' })` will be hard for a reader to interpret. Does it mean that the response is "with"? As an alternative can I suggest `"optional"` (the current behavior, `"required"` (write with response), and `"never"` (write without response)?

-- 
GitHub Notification of comment by reillyeon
Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/238#issuecomment-482587753 using your GitHub account
Received on Friday, 12 April 2019 14:07:21 UTC

This archive was generated by hypermail 2.3.1 : Friday, 12 April 2019 14:07:21 UTC