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

Issue 2104043002: arc: bluetooth: Implement Gatt Server add/delete/start/stop service (Closed)

Created:
4 years, 5 months ago by puthik_chromium
Modified:
4 years, 4 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@gs1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: bluetooth: Implement Gatt Server Add/Delete/Start/Stop service Implement the following functionality - Add Gatt service / characteristic / descriptor to Gatt Server "Gatt included service" is currently not support in Chrome side. - Start / Stop Gatt service - Delete Gatt Service BUG=629210 TEST=manual test using step below 1. Create custom Gatt server in nrF connect app. 2. Connect minnie to ryu via chrome interface. 3. Ryu can correctly see minnie's Gatt server object. Committed: https://crrev.com/a8e840b9957e040e0e283cce8a9bbf27802d70b9 Cr-Commit-Position: refs/heads/master@{#407566}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Use running id / implement add descriptor #

Total comments: 2

Patch Set 3 : More descriptive type name for template #

Total comments: 13

Patch Set 4 : Fix code comment #

Patch Set 5 : GattObjectT -> GattAttribute #

Total comments: 25

Patch Set 6 : Rebase / Address lhchavez comment #

Patch Set 7 : fix trybot error #

Patch Set 8 : rebase #

Total comments: 10

Patch Set 9 : More thread check, auto deduce template #

Patch Set 10 : rebase #

Total comments: 23

Patch Set 11 : Address Palmer comment. Add max handle. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+254 lines, -146 lines) Patch
M components/arc/bluetooth/arc_bluetooth_bridge.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +18 lines, -28 lines 0 comments Download
M components/arc/bluetooth/arc_bluetooth_bridge.cc View 1 2 3 4 5 6 7 8 9 10 23 chunks +236 lines, -118 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 64 (39 generated)
puthik_chromium
WIP cl. Head up early to make sure that I use Gatt Server API correctly.
4 years, 5 months ago (2016-06-28 18:41:07 UTC) #2
rkc
https://codereview.chromium.org/2104043002/diff/1/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2104043002/diff/1/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode1068 components/arc/bluetooth/arc_bluetooth_bridge.cc:1068: int32_t id = ConvertGattIdentifierToId(identifier); This function won't work with ...
4 years, 5 months ago (2016-07-01 22:21:46 UTC) #3
puthik_chromium
https://codereview.chromium.org/2104043002/diff/1/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2104043002/diff/1/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode1068 components/arc/bluetooth/arc_bluetooth_bridge.cc:1068: int32_t id = ConvertGattIdentifierToId(identifier); On 2016/07/01 22:21:46, rkc wrote: ...
4 years, 5 months ago (2016-07-14 19:01:47 UTC) #4
rkc
https://codereview.chromium.org/2104043002/diff/1/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2104043002/diff/1/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode1104 components/arc/bluetooth/arc_bluetooth_bridge.cc:1104: // TODO(next patch version) Android send service handle not ...
4 years, 5 months ago (2016-07-14 23:15:25 UTC) #5
puthik_chromium
On 2016/07/14 23:15:25, rkc wrote: > https://codereview.chromium.org/2104043002/diff/1/components/arc/bluetooth/arc_bluetooth_bridge.cc > File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): > > https://codereview.chromium.org/2104043002/diff/1/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode1104 > ...
4 years, 5 months ago (2016-07-15 21:49:07 UTC) #6
puthik_chromium
https://codereview.chromium.org/2104043002/diff/20001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2104043002/diff/20001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode1057 components/arc/bluetooth/arc_bluetooth_bridge.cc:1057: template <class T> On 2016/07/14 23:15:25, rkc wrote: > ...
4 years, 5 months ago (2016-07-15 21:49:33 UTC) #8
puthik_chromium
4 years, 5 months ago (2016-07-15 21:54:35 UTC) #10
rkc
lgtm % comments https://codereview.chromium.org/2104043002/diff/40001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2104043002/diff/40001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode1116 components/arc/bluetooth/arc_bluetooth_bridge.cc:1116: // last characteristic that was added ...
4 years, 5 months ago (2016-07-16 00:37:29 UTC) #11
palmer
(drive-by review) https://codereview.chromium.org/2104043002/diff/40001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2104043002/diff/40001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode868 components/arc/bluetooth/arc_bluetooth_bridge.cc:868: // Common callback function for Gatt operation ...
4 years, 5 months ago (2016-07-16 00:45:13 UTC) #13
puthik_chromium
https://codereview.chromium.org/2104043002/diff/40001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2104043002/diff/40001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode868 components/arc/bluetooth/arc_bluetooth_bridge.cc:868: // Common callback function for Gatt operation that only ...
4 years, 5 months ago (2016-07-18 21:30:13 UTC) #14
rkc
https://codereview.chromium.org/2104043002/diff/40001/components/arc/bluetooth/arc_bluetooth_bridge.h File components/arc/bluetooth/arc_bluetooth_bridge.h (right): https://codereview.chromium.org/2104043002/diff/40001/components/arc/bluetooth/arc_bluetooth_bridge.h#newcode198 components/arc/bluetooth/arc_bluetooth_bridge.h:198: template <class RemoteGattObjectT> On 2016/07/16 00:37:29, rkc wrote: > ...
4 years, 5 months ago (2016-07-18 21:48:16 UTC) #16
puthik_chromium
https://codereview.chromium.org/2104043002/diff/40001/components/arc/bluetooth/arc_bluetooth_bridge.h File components/arc/bluetooth/arc_bluetooth_bridge.h (right): https://codereview.chromium.org/2104043002/diff/40001/components/arc/bluetooth/arc_bluetooth_bridge.h#newcode198 components/arc/bluetooth/arc_bluetooth_bridge.h:198: template <class RemoteGattObjectT> On 2016/07/18 21:48:16, rkc wrote: > ...
4 years, 5 months ago (2016-07-18 22:45:23 UTC) #17
Luis Héctor Chávez
https://codereview.chromium.org/2104043002/diff/80001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2104043002/diff/80001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode758 components/arc/bluetooth/arc_bluetooth_bridge.cc:758: mojom::BluetoothGattDBElementPtr ArcBluetoothBridge::CreateGattDBElement( anonymous namespace? https://codereview.chromium.org/2104043002/diff/80001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode820 components/arc/bluetooth/arc_bluetooth_bridge.cc:820: RemoteGattAttribute* ArcBluetoothBridge::FindGattAttributeFromUuid( Anonymous ...
4 years, 5 months ago (2016-07-19 01:42:18 UTC) #18
puthik_chromium
https://codereview.chromium.org/2104043002/diff/80001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2104043002/diff/80001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode758 components/arc/bluetooth/arc_bluetooth_bridge.cc:758: mojom::BluetoothGattDBElementPtr ArcBluetoothBridge::CreateGattDBElement( On 2016/07/19 01:42:17, Luis Héctor Chávez wrote: ...
4 years, 5 months ago (2016-07-19 22:21:31 UTC) #25
Luis Héctor Chávez
https://codereview.chromium.org/2104043002/diff/140001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2104043002/diff/140001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode96 components/arc/bluetooth/arc_bluetooth_bridge.cc:96: const std::vector<RemoteGattAttribute*> gatt_attrs, should this be a const-reference? https://codereview.chromium.org/2104043002/diff/140001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode889 ...
4 years, 5 months ago (2016-07-20 23:11:04 UTC) #36
puthik_chromium
https://codereview.chromium.org/2104043002/diff/140001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2104043002/diff/140001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode96 components/arc/bluetooth/arc_bluetooth_bridge.cc:96: const std::vector<RemoteGattAttribute*> gatt_attrs, On 2016/07/20 23:11:04, Luis Héctor Chávez ...
4 years, 5 months ago (2016-07-21 00:05:04 UTC) #39
palmer
https://codereview.chromium.org/2104043002/diff/180001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2104043002/diff/180001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode71 components/arc/bluetooth/arc_bluetooth_bridge.cc:71: // We want to convert last digit of the ...
4 years, 5 months ago (2016-07-22 02:56:11 UTC) #46
puthik_chromium
https://codereview.chromium.org/2104043002/diff/180001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2104043002/diff/180001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode71 components/arc/bluetooth/arc_bluetooth_bridge.cc:71: // We want to convert last digit of the ...
4 years, 5 months ago (2016-07-22 21:48:17 UTC) #49
palmer
LGTM
4 years, 5 months ago (2016-07-22 23:42:03 UTC) #52
puthik_chromium
ping Need lhchavez@ owner review.
4 years, 5 months ago (2016-07-23 00:21:42 UTC) #53
Luis Héctor Chávez
lgtm
4 years, 5 months ago (2016-07-25 18:34:17 UTC) #54
commit-bot: I haz the power
This CL has an open dependency (Issue 2104023002 Patch 140001). Please resolve the dependency and ...
4 years, 5 months ago (2016-07-25 18:40:32 UTC) #58
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/2104043002/200001
4 years, 5 months ago (2016-07-25 20:01:07 UTC) #60
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 4 months ago (2016-07-25 20:36:29 UTC) #62
commit-bot: I haz the power
4 years, 4 months ago (2016-07-25 20:39:36 UTC) #64
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/a8e840b9957e040e0e283cce8a9bbf27802d70b9
Cr-Commit-Position: refs/heads/master@{#407566}

Powered by Google App Engine
This is Rietveld 408576698