bluetooth: Implement FakeRemoteGATTCharacteristic GATT operation responses |
||||
Issue descriptionFunction to allow tests to simulate GATT operations (read, write, notify).
,
Jun 26 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9e70dd389f94b6bfaf90d6ccfdb48967df06d66c commit 9e70dd389f94b6bfaf90d6ccfdb48967df06d66c Author: Giovanni Ortuño Urquidi <ortuno@chromium.org> Date: Mon Jun 26 04:22:53 2017 bluetooth: Implement setNextWriteResponse (characteristic) Also implements getLastWrittenValue() and converts a test to use these. FakeRemoteGattCharacteristic.setNextWriteResponse() allows tests to set the next response for a write with response request. Bug: 719824 Change-Id: Ieba74e14b03569b24c8c29b9badee6d20f55bfc5 Reviewed-on: https://chromium-review.googlesource.com/542755 Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org> Reviewed-by: Vincent Scheib <scheib@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#482195} [modify] https://crrev.com/9e70dd389f94b6bfaf90d6ccfdb48967df06d66c/device/bluetooth/public/interfaces/test/fake_bluetooth.mojom [modify] https://crrev.com/9e70dd389f94b6bfaf90d6ccfdb48967df06d66c/device/bluetooth/test/fake_central.cc [modify] https://crrev.com/9e70dd389f94b6bfaf90d6ccfdb48967df06d66c/device/bluetooth/test/fake_central.h [modify] https://crrev.com/9e70dd389f94b6bfaf90d6ccfdb48967df06d66c/device/bluetooth/test/fake_remote_gatt_characteristic.cc [modify] https://crrev.com/9e70dd389f94b6bfaf90d6ccfdb48967df06d66c/device/bluetooth/test/fake_remote_gatt_characteristic.h [modify] https://crrev.com/9e70dd389f94b6bfaf90d6ccfdb48967df06d66c/third_party/WebKit/LayoutTests/bluetooth/characteristic/writeValue/write-succeeds.html [modify] https://crrev.com/9e70dd389f94b6bfaf90d6ccfdb48967df06d66c/third_party/WebKit/LayoutTests/resources/bluetooth/web-bluetooth-test.js
,
Jul 11 2017
,
Jul 11
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 11
Discussed with odejesush@ during triage and we believe this has been implemented. |
||||
►
Sign in to add a comment |
||||
Comment 1 by bugdroid1@chromium.org
, Jun 21 2017