|
|
Add support for local services/characteristics/descriptors.
We currently only support remote services, characteristics and descriptors.
This prevents us from implementing GATT server support. This CL refactors
the current code to allow us to have remote and local versions of these
attributes.
BluetoothGattDescriptors wasn't refactored into multiple classes since the
only difference between local and remote was one flag. In the future, we
might even remove this flag (at the moment it doesn't seem to have any
purpose).
R=scheib@chromium.org
BUG= 601935
Committed: https://crrev.com/4e63c0523e9e45a715f00371bbee0e93b95516c0
Cr-Commit-Position: refs/heads/master@{#387516}
Total comments: 6
Total comments: 2
Total comments: 96
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+838 lines, -547 lines) |
Patch |
 |
M |
device/bluetooth/BUILD.gn
|
View
|
1
|
1 chunk |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluetooth.gyp
|
View
|
1
2
3
4
5
|
1 chunk |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluetooth_adapter_bluez.h
|
View
|
1
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluetooth_adapter_bluez.cc
|
View
|
1
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluetooth_device_bluez.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A |
device/bluetooth/bluetooth_gatt_characteristic_bluez.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+79 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/bluetooth/bluetooth_gatt_characteristic_bluez.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+54 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
device/bluetooth/bluetooth_gatt_descriptor_bluez.h
|
View
|
1
|
4 chunks |
+18 lines, -16 lines |
0 comments
|
Download
|
 |
A + |
device/bluetooth/bluetooth_gatt_descriptor_bluez.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+30 lines, -24 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluetooth_gatt_service.h
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
A |
device/bluetooth/bluetooth_gatt_service_bluez.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+81 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/bluetooth/bluetooth_gatt_service_bluez.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+91 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/bluetooth/bluetooth_local_gatt_characteristic_bluez.h
|
View
|
1
2
3
4
5
|
1 chunk |
+68 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/bluetooth/bluetooth_local_gatt_characteristic_bluez.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+91 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/bluetooth/bluetooth_local_gatt_service_bluez.h
|
View
|
1
2
3
4
5
|
1 chunk |
+69 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/bluetooth/bluetooth_local_gatt_service_bluez.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+92 lines, -0 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluetooth_remote_gatt_characteristic_bluez.h
|
View
|
1
2
3
4
5
|
6 chunks |
+14 lines, -37 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluetooth_remote_gatt_characteristic_bluez.cc
|
View
|
1
2
3
4
5
|
18 chunks |
+72 lines, -99 lines |
0 comments
|
Download
|
 |
D |
device/bluetooth/bluetooth_remote_gatt_descriptor_bluez.h
|
View
|
|
1 chunk |
+0 lines, -81 lines |
0 comments
|
Download
|
 |
D |
device/bluetooth/bluetooth_remote_gatt_descriptor_bluez.cc
|
View
|
|
1 chunk |
+0 lines, -124 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluetooth_remote_gatt_service_android.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluetooth_remote_gatt_service_bluez.h
|
View
|
1
2
3
4
5
|
7 chunks |
+9 lines, -44 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluetooth_remote_gatt_service_bluez.cc
|
View
|
1
2
3
4
5
|
11 chunks |
+39 lines, -104 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluetooth_remote_gatt_service_win.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 43 (14 generated)
|