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

Issue 1739383002: Implement read & write remote GATT characteristic value for Windows (Closed)

Created:
4 years, 10 months ago by gogerald1
Modified:
4 years, 9 months ago
Reviewers:
scheib, brucedawson
CC:
chromium-reviews, scheib+watch_chromium.org, ortuno+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement read & write remote GATT characteristic value for Windows This CL implements read & write remote GATT characteristic value for Windows and related unit tests. BUG=579202 Committed: https://crrev.com/50818ce5049e84526cdadfe11a0ea08405b5c036 Cr-Commit-Position: refs/heads/master@{#379103}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : rebase #

Patch Set 5 : rename #

Patch Set 6 : #

Patch Set 7 : rename #

Patch Set 8 : fix conversion from 'size_t' to 'ULONG' error on trybot #

Total comments: 12

Patch Set 9 : address comments #

Patch Set 10 : format #

Total comments: 4

Patch Set 11 : address comments #

Total comments: 6

Patch Set 12 : Fix unit test error for Android #

Patch Set 13 : address comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+608 lines, -59 lines) Patch
M device/bluetooth/bluetooth_gatt_characteristic_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 17 chunks +79 lines, -48 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_win.h View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_win.cc View 1 2 3 4 5 6 7 8 1 chunk +48 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_win_fake.h View 1 2 3 4 5 6 7 8 5 chunks +28 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_win_fake.cc View 1 2 3 4 5 6 7 8 6 chunks +100 lines, -5 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_win.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +14 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_win.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +90 lines, -5 lines 1 comment Download
M device/bluetooth/bluetooth_task_manager_win.h View 1 2 3 4 5 6 4 chunks +30 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_task_manager_win.cc View 1 2 3 4 5 6 7 8 2 chunks +62 lines, -0 lines 0 comments Download
M device/bluetooth/test/bluetooth_test_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +33 lines, -1 line 0 comments Download
M device/bluetooth/test/bluetooth_test_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +110 lines, -0 lines 0 comments Download

Messages

Total messages: 64 (30 generated)
gogerald1
Hi Vincent, PTAL. This is the next CL of https://codereview.chromium.org/1728163006/. I've tried to keep it ...
4 years, 10 months ago (2016-02-26 23:04:42 UTC) #5
gogerald1
Hi Vincent, PTAL. This is the next CL of https://codereview.chromium.org/1728163006/. I've tried to keep it ...
4 years, 10 months ago (2016-02-26 23:04:42 UTC) #6
gogerald1
Hi Vincent, PTAL. This is the next CL of https://codereview.chromium.org/1728163006/. I've tried to keep it ...
4 years, 10 months ago (2016-02-26 23:05:12 UTC) #8
gogerald1
Hi Roger, thanks for taking a look.
4 years, 9 months ago (2016-02-29 22:16:14 UTC) #10
Roger Tawa OOO till Jul 10th
Looks good, one question below. https://codereview.chromium.org/1739383002/diff/60001/device/bluetooth/bluetooth_low_energy_win_fake.h File device/bluetooth/bluetooth_low_energy_win_fake.h (right): https://codereview.chromium.org/1739383002/diff/60001/device/bluetooth/bluetooth_low_energy_win_fake.h#newcode76 device/bluetooth/bluetooth_low_energy_win_fake.h:76: PBTH_LE_GATT_CHARACTERISTIC_VALUE value) = 0; ...
4 years, 9 months ago (2016-03-01 15:22:54 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1739383002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1739383002/120001
4 years, 9 months ago (2016-03-01 20:47:30 UTC) #13
gogerald1
https://codereview.chromium.org/1739383002/diff/60001/device/bluetooth/bluetooth_low_energy_win_fake.h File device/bluetooth/bluetooth_low_energy_win_fake.h (right): https://codereview.chromium.org/1739383002/diff/60001/device/bluetooth/bluetooth_low_energy_win_fake.h#newcode76 device/bluetooth/bluetooth_low_energy_win_fake.h:76: PBTH_LE_GATT_CHARACTERISTIC_VALUE value) = 0; On 2016/03/01 15:22:54, Roger Tawa ...
4 years, 9 months ago (2016-03-01 20:56:08 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/176174)
4 years, 9 months ago (2016-03-01 21:43:29 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1739383002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1739383002/160001
4 years, 9 months ago (2016-03-01 22:09:33 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/176242)
4 years, 9 months ago (2016-03-01 23:08:39 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1739383002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1739383002/180001
4 years, 9 months ago (2016-03-01 23:22:47 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/182421)
4 years, 9 months ago (2016-03-02 01:27:13 UTC) #25
scheib
https://codereview.chromium.org/1739383002/diff/180001/device/bluetooth/bluetooth_gatt_characteristic_unittest.cc File device/bluetooth/bluetooth_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/1739383002/diff/180001/device/bluetooth/bluetooth_gatt_characteristic_unittest.cc#newcode473 device/bluetooth/bluetooth_gatt_characteristic_unittest.cc:473: characteristic2_->ReadRemoteCharacteristic( This changes the test meaning, in that two ...
4 years, 9 months ago (2016-03-02 05:59:05 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1739383002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1739383002/240001
4 years, 9 months ago (2016-03-02 23:52:42 UTC) #30
gogerald1
https://codereview.chromium.org/1739383002/diff/180001/device/bluetooth/bluetooth_gatt_characteristic_unittest.cc File device/bluetooth/bluetooth_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/1739383002/diff/180001/device/bluetooth/bluetooth_gatt_characteristic_unittest.cc#newcode473 device/bluetooth/bluetooth_gatt_characteristic_unittest.cc:473: characteristic2_->ReadRemoteCharacteristic( On 2016/03/02 05:59:05, scheib wrote: > This changes ...
4 years, 9 months ago (2016-03-02 23:56:30 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1739383002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1739383002/260001
4 years, 9 months ago (2016-03-03 00:05:22 UTC) #34
scheib
https://codereview.chromium.org/1739383002/diff/260001/device/bluetooth/bluetooth_remote_gatt_characteristic_win.h File device/bluetooth/bluetooth_remote_gatt_characteristic_win.h (right): https://codereview.chromium.org/1739383002/diff/260001/device/bluetooth/bluetooth_remote_gatt_characteristic_win.h#newcode107 device/bluetooth/bluetooth_remote_gatt_characteristic_win.h:107: read_remote_characteristic_value_callbacks_; optional, but those names seem long vs: read_callbacks_ ...
4 years, 9 months ago (2016-03-03 00:39:42 UTC) #35
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/32639)
4 years, 9 months ago (2016-03-03 00:41:15 UTC) #37
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1739383002/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1739383002/280001
4 years, 9 months ago (2016-03-03 16:01:54 UTC) #39
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1739383002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1739383002/300001
4 years, 9 months ago (2016-03-03 16:07:59 UTC) #42
gogerald1
https://codereview.chromium.org/1739383002/diff/260001/device/bluetooth/bluetooth_remote_gatt_characteristic_win.h File device/bluetooth/bluetooth_remote_gatt_characteristic_win.h (right): https://codereview.chromium.org/1739383002/diff/260001/device/bluetooth/bluetooth_remote_gatt_characteristic_win.h#newcode107 device/bluetooth/bluetooth_remote_gatt_characteristic_win.h:107: read_remote_characteristic_value_callbacks_; On 2016/03/03 00:39:42, scheib wrote: > optional, but ...
4 years, 9 months ago (2016-03-03 16:09:24 UTC) #43
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/32954)
4 years, 9 months ago (2016-03-03 16:54:53 UTC) #45
gogerald1
4 years, 9 months ago (2016-03-03 18:26:42 UTC) #47
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1739383002/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1739383002/320001
4 years, 9 months ago (2016-03-03 18:27:18 UTC) #48
scheib
https://codereview.chromium.org/1739383002/diff/300001/device/bluetooth/test/bluetooth_test_win.cc File device/bluetooth/test/bluetooth_test_win.cc (right): https://codereview.chromium.org/1739383002/diff/300001/device/bluetooth/test/bluetooth_test_win.cc#newcode422 device/bluetooth/test/bluetooth_test_win.cc:422: // Run pending Bluetooth tasks until one monitored callback ...
4 years, 9 months ago (2016-03-03 19:03:28 UTC) #49
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1739383002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1739383002/340001
4 years, 9 months ago (2016-03-03 19:21:28 UTC) #51
gogerald1
https://codereview.chromium.org/1739383002/diff/300001/device/bluetooth/test/bluetooth_test_win.cc File device/bluetooth/test/bluetooth_test_win.cc (right): https://codereview.chromium.org/1739383002/diff/300001/device/bluetooth/test/bluetooth_test_win.cc#newcode422 device/bluetooth/test/bluetooth_test_win.cc:422: // Run pending Bluetooth tasks until one monitored callback ...
4 years, 9 months ago (2016-03-03 19:27:33 UTC) #52
gogerald1
4 years, 9 months ago (2016-03-03 19:28:20 UTC) #53
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-03 20:33:08 UTC) #55
scheib
lgtm LGTM
4 years, 9 months ago (2016-03-03 21:48:38 UTC) #57
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1739383002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1739383002/340001
4 years, 9 months ago (2016-03-03 21:49:10 UTC) #58
commit-bot: I haz the power
Committed patchset #13 (id:340001)
4 years, 9 months ago (2016-03-03 21:55:57 UTC) #60
commit-bot: I haz the power
Patchset 13 (id:??) landed as https://crrev.com/50818ce5049e84526cdadfe11a0ea08405b5c036 Cr-Commit-Position: refs/heads/master@{#379103}
4 years, 9 months ago (2016-03-03 21:57:01 UTC) #62
brucedawson
4 years, 9 months ago (2016-03-08 02:03:57 UTC) #64
Message was sent while issue was closed.
Found an apparent bug when looking at this CL (pointed to me by my /analyze
bog). See referenced bug for details.

https://codereview.chromium.org/1739383002/diff/340001/device/bluetooth/bluet...
File device/bluetooth/bluetooth_remote_gatt_characteristic_win.cc (right):

https://codereview.chromium.org/1739383002/diff/340001/device/bluetooth/bluet...
device/bluetooth/bluetooth_remote_gatt_characteristic_win.cc:333: case
ERROR_INVALID_USER_BUFFER:
This is a semantically invalid case statement. I opened crbug.com/592843 for
this issue.

Powered by Google App Engine
This is Rietveld 408576698