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

Issue 2595373003: Bluetooth: mac: Working on macOS descriptor implementation. (Closed)

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

Description

Bluetooth: mac: Working on macOS descriptor implementation. Descriptors are discovered. Read and write are still not implemented yet. Once a characteristic is discovered, the descriptor request is send. After receive the response the characteristic is set as been discovered. Unit tests are been enabled for descriptor discovery. BUG=624017 Review-Url: https://codereview.chromium.org/2595373003 Cr-Commit-Position: refs/heads/master@{#442440} Committed: https://chromium.googlesource.com/chromium/src/+/9bb8cf24e8585342e57493dea8acc31772f48438

Patch Set 1 #

Patch Set 2 : Update #

Patch Set 3 : More test #

Total comments: 4

Patch Set 4 : Fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+512 lines, -58 lines) Patch
M device/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M device/bluetooth/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.mm View 1 2 3 3 chunks +42 lines, -16 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_peripheral_delegate.mm View 2 chunks +12 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h View 1 6 chunks +22 lines, -1 line 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm View 1 9 chunks +89 lines, -17 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc View 1 2 2 chunks +0 lines, -5 lines 0 comments Download
A device/bluetooth/bluetooth_remote_gatt_descriptor_mac.h View 1 2 3 1 chunk +65 lines, -0 lines 0 comments Download
A device/bluetooth/bluetooth_remote_gatt_descriptor_mac.mm View 1 2 3 1 chunk +77 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_descriptor_unittest.cc View 1 2 3 chunks +13 lines, -5 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_service_mac.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_service_mac.mm View 1 3 chunks +12 lines, -0 lines 0 comments Download
M device/bluetooth/test/bluetooth_test_mac.h View 1 2 chunks +6 lines, -1 line 0 comments Download
M device/bluetooth/test/bluetooth_test_mac.mm View 1 2 chunks +20 lines, -1 line 0 comments Download
M device/bluetooth/test/mock_bluetooth_cbcharacteristic_mac.h View 2 chunks +5 lines, -2 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_cbcharacteristic_mac.mm View 6 chunks +21 lines, -2 lines 0 comments Download
A device/bluetooth/test/mock_bluetooth_cbdescriptor_mac.h View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
A device/bluetooth/test/mock_bluetooth_cbdescriptor_mac.mm View 1 2 3 1 chunk +61 lines, -0 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_cbperipheral_mac.h View 1 2 chunks +5 lines, -1 line 0 comments Download
M device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm View 1 4 chunks +27 lines, -7 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 27 (22 generated)
jlebel
Hello Vincent, Can you review this about about implementing descriptor discovery? Thanks,
3 years, 11 months ago (2017-01-07 16:50:18 UTC) #7
scheib
LGTM, small requests: https://codereview.chromium.org/2595373003/diff/120001/device/bluetooth/bluetooth_low_energy_device_mac.h File device/bluetooth/bluetooth_low_energy_device_mac.h (right): https://codereview.chromium.org/2595373003/diff/120001/device/bluetooth/bluetooth_low_energy_device_mac.h#newcode111 device/bluetooth/bluetooth_low_energy_device_mac.h:111: void SendNotificationIfComplete(); Perhaps naming such as ...
3 years, 11 months ago (2017-01-09 21:07:37 UTC) #20
jlebel
Fixed. Thanks, https://codereview.chromium.org/2595373003/diff/120001/device/bluetooth/bluetooth_low_energy_device_mac.h File device/bluetooth/bluetooth_low_energy_device_mac.h (right): https://codereview.chromium.org/2595373003/diff/120001/device/bluetooth/bluetooth_low_energy_device_mac.h#newcode111 device/bluetooth/bluetooth_low_energy_device_mac.h:111: void SendNotificationIfComplete(); On 2017/01/09 21:07:37, scheib wrote: ...
3 years, 11 months ago (2017-01-09 22:58:32 UTC) #21
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/2595373003/140001
3 years, 11 months ago (2017-01-09 22:59:27 UTC) #24
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 01:29:39 UTC) #27
Message was sent while issue was closed.
Committed patchset #4 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/9bb8cf24e8585342e57493dea8ac...

Powered by Google App Engine
This is Rietveld 408576698