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

[web-bluetooth] writevalue should not update value

From: Vincent Scheib via GitHub <sysbot+gh@w3.org>
Date: Mon, 29 Aug 2016 22:31:02 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issues.opened-173888463-1472509861-sysbot+gh@w3.org>
scheib has just created a new issue for 
https://github.com/WebBluetoothCG/web-bluetooth:

== writevalue should not update value ==
As discussed in 
https://bugs.chromium.org/p/chromium/issues/detail?id=614534, writing 
to a characteristic does not neccesarily mean that subsiquent reads 
will return that value. That behavior is peripheral dependent.

I believe the 
[writevalue](https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothremotegattcharacteristic-writevalue)
 line should be deleted:

> Set this.value to a new DataView wrapping a new ArrayBuffer 
containing bytes.

This applies to characteristics and descriptors. 

Please view or discuss this issue at 
https://github.com/WebBluetoothCG/web-bluetooth/issues/277 using your 
GitHub account
Received on Monday, 29 August 2016 22:31:15 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 August 2016 22:31:17 UTC