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

Issue 2347133002: bluetooth: Call error callback when characteristics get destroyed during a GATT Event (mac) (Closed)

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

Description

bluetooth: Call error callback when characteristics get destroyed during a GATT Event (mac) When a device disconnects all its characteristics get destroyed which was causing callbacks for GATT operations to get dropped. This patch fixes only mac's write and read. Follow up patches will fix android and windows. BUG=621901 Committed: https://crrev.com/0fb374e6d52746fa37dc66f9bbb3f56a5eb11883 Cr-Commit-Position: refs/heads/master@{#420558}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add CHECK for connection #

Patch Set 3 : Improve comments #

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

Messages

Total messages: 28 (18 generated)
ortuno
scheib: PTAL. Android and windows patches follow up.
4 years, 3 months ago (2016-09-16 06:16:34 UTC) #4
scheib
LGTM, with either comment fix or test simplification: https://codereview.chromium.org/2347133002/diff/1/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc File device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/2347133002/diff/1/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc#newcode397 device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc:397: // ...
4 years, 3 months ago (2016-09-16 19:50:12 UTC) #7
ortuno
https://codereview.chromium.org/2347133002/diff/1/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc File device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/2347133002/diff/1/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc#newcode397 device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc:397: // On macOS we don't get any events after ...
4 years, 3 months ago (2016-09-20 02:41:43 UTC) #8
scheib
https://codereview.chromium.org/2347133002/diff/1/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc File device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/2347133002/diff/1/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc#newcode397 device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc:397: // On macOS we don't get any events after ...
4 years, 3 months ago (2016-09-20 03:53:17 UTC) #11
ortuno
https://codereview.chromium.org/2347133002/diff/1/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc File device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/2347133002/diff/1/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc#newcode397 device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc:397: // On macOS we don't get any events after ...
4 years, 3 months ago (2016-09-22 03:06:32 UTC) #18
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/2347133002/40001
4 years, 3 months ago (2016-09-22 23:17:36 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/298186)
4 years, 3 months ago (2016-09-23 01:28:04 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/2347133002/40001
4 years, 3 months ago (2016-09-23 01:55:00 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-23 03:05:15 UTC) #26
commit-bot: I haz the power
4 years, 3 months ago (2016-09-23 03:08:49 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0fb374e6d52746fa37dc66f9bbb3f56a5eb11883
Cr-Commit-Position: refs/heads/master@{#420558}

Powered by Google App Engine
This is Rietveld 408576698