Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Issue 2357993002: Don't send a value changed notification when a characteristic is written (Closed)

Created:
4 years, 3 months ago by jlebel
Modified:
4 years, 2 months ago
Reviewers:
ortuno
CC:
chromium-reviews, ortuno+watch_chromium.org, scheib+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Bluetooth: mac: When a characteristic is written, a gatt characteristic value changed notification is send. This notification should not be sent since. BUG=647500 Committed: https://crrev.com/0405e3b684cf2cddeadacbe13c035a3eb0bdd80d Cr-Commit-Position: refs/heads/master@{#423337}

Patch Set 1 #

Patch Set 2 : Better cleanup #

Patch Set 3 : Adding unittest #

Total comments: 2

Patch Set 4 : Removing wrong code #

Total comments: 2

Patch Set 5 : Adding #if to avoid the test for windows (and with the todo and the bug number) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -5 lines) Patch
M device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm View 1 2 3 4 1 chunk +0 lines, -5 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (18 generated)
jlebel
Hello Giovanni, Can you review this patch to fix notification while writing characteristic? Thanks,
4 years, 3 months ago (2016-09-21 15:13:20 UTC) #5
ortuno
Could you also update the relevant tests to make sure no event was dispatched and ...
4 years, 3 months ago (2016-09-21 23:23:25 UTC) #10
jlebel
On 2016/09/21 23:23:25, ortuno wrote: > Could you also update the relevant tests to make ...
4 years, 2 months ago (2016-10-05 14:53:22 UTC) #11
jlebel
4 years, 2 months ago (2016-10-05 14:54:00 UTC) #13
ortuno
https://codereview.chromium.org/2357993002/diff/40001/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc File device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/2357993002/diff/40001/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc#newcode566 device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc:566: characteristic1_->ReadRemoteCharacteristic( I'm not sure why you are adding this?
4 years, 2 months ago (2016-10-05 21:42:23 UTC) #17
jlebel
Should exclude windows for that test? I guess I should create a bug for it? ...
4 years, 2 months ago (2016-10-05 22:07:38 UTC) #18
ortuno
lgtm with windows #if defined and comment pointing to the issue https://codereview.chromium.org/2357993002/diff/60001/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc File device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc (right): ...
4 years, 2 months ago (2016-10-05 22:13:50 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2357993002/80001
4 years, 2 months ago (2016-10-05 22:33:00 UTC) #22
jlebel
https://codereview.chromium.org/2357993002/diff/60001/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc File device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/2357993002/diff/60001/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc#newcode573 device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc:573: EXPECT_EQ(0, observer.gatt_characteristic_value_changed_count()); On 2016/10/05 22:13:50, ortuno wrote: > You ...
4 years, 2 months ago (2016-10-05 22:35:36 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2357993002/80001
4 years, 2 months ago (2016-10-05 23:24:46 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-05 23:34:11 UTC) #28
commit-bot: I haz the power
4 years, 2 months ago (2016-10-05 23:35:52 UTC) #30
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0405e3b684cf2cddeadacbe13c035a3eb0bdd80d
Cr-Commit-Position: refs/heads/master@{#423337}

Powered by Google App Engine
This is Rietveld 408576698