OLD | NEW |
1 Bluetooth | 1 Bluetooth |
2 ========= | 2 ========= |
3 | 3 |
4 `device/bluetooth` abstracts | 4 `device/bluetooth` abstracts |
5 [Bluetooth Classic](https://en.wikipedia.org/wiki/Bluetooth) and | 5 [Bluetooth Classic](https://en.wikipedia.org/wiki/Bluetooth) and |
6 [Low Energy](https://en.wikipedia.org/wiki/Bluetooth_low_energy) features | 6 [Low Energy](https://en.wikipedia.org/wiki/Bluetooth_low_energy) features |
7 across multiple platforms. | 7 across multiple platforms. |
8 | 8 |
9 Classic and Low Energy based profiles differ substantially. Platform | 9 Classic and Low Energy based profiles differ substantially. Platform |
10 implementations may support only one or the other, even though several classes | 10 implementations may support only one or the other, even though several classes |
11 have interfaces for both, e.g. `BluetoothAdapter` & `BluetoothDevice`. | 11 have interfaces for both, e.g. `BluetoothAdapter` & `BluetoothDevice`. |
12 | 12 |
13 | | Classic | Low Energy | | 13 | | Classic | Low Energy | |
14 |----------|:-------:|:-----------:| | 14 |----------|:-------:|:-----------:| |
15 | Android | no | in progress | | 15 | Android | no | yes | |
16 | ChromeOS | yes | yes | | 16 | ChromeOS | yes | yes | |
17 | Linux | yes | yes | | 17 | Linux | yes | yes | |
18 | Mac OSX | yes | in progress | | 18 | Mac OSX | yes | yes | |
19 | Windows | some | in progress | | 19 | Windows | some | nearly | |
20 | 20 |
21 ChromeOS and Linux are supported via BlueZ, see `*_bluez` files. | 21 ChromeOS and Linux are supported via BlueZ, see `*_bluez` files. |
22 | 22 |
23 | 23 |
24 Maintainer History | 24 Maintainer History |
25 -------------------------------------------------------------------------------- | 25 -------------------------------------------------------------------------------- |
26 | 26 |
27 Initial implementation OWNERS were youngki@chromium.org, keybuk@chromium.org, | 27 Initial implementation OWNERS were youngki@chromium.org, keybuk@chromium.org, |
28 armansito@chromium.org, and rpaquay@chromium.org. They no longer contribute to | 28 armansito@chromium.org, and rpaquay@chromium.org. They no longer contribute to |
29 chromium fulltime. They were responsible for support for ChromeOS Bluetooth | 29 chromium fulltime. They were responsible for support for ChromeOS Bluetooth |
30 features and the Chrome Apps APIs: | 30 features and the Chrome Apps APIs: |
31 | 31 |
32 * [bluetooth](https://developer.chrome.com/apps/bluetooth) | 32 * [bluetooth](https://developer.chrome.com/apps/bluetooth) |
33 * [bluetoothLowEnergy](https://developer.chrome.com/apps/bluetoothLowEnergy) | 33 * [bluetoothLowEnergy](https://developer.chrome.com/apps/bluetoothLowEnergy) |
34 * [bluetoothSocket](https://developer.chrome.com/apps/bluetoothSocket) | 34 * [bluetoothSocket](https://developer.chrome.com/apps/bluetoothSocket) |
35 | 35 |
36 Active development in 2015 & 2016 is focused on enabling GATT features for: | 36 Active development in 2015 & 2016 is focused on enabling GATT features for: |
37 | 37 |
38 * [Web Bluetooth](https://crbug.com/419413) | 38 * [Web Bluetooth](https://crbug.com/419413) |
| 39 * Perhipheral mode for ChromeOS. |
39 | 40 |
40 Known future work is tracked in the | 41 Known future work is tracked in the |
41 [Refactoring meta issue](https://crbug.com/580406). | 42 [Refactoring meta issue](https://crbug.com/580406). |
42 | 43 |
43 | 44 |
44 Testing | 45 Testing |
45 -------------------------------------------------------------------------------- | 46 -------------------------------------------------------------------------------- |
46 | 47 |
47 Implementation of the Bluetooth component is tested via unittests. Client code | 48 Implementation of the Bluetooth component is tested via unittests. Client code |
48 uses Mock Bluetooth objects: | 49 uses Mock Bluetooth objects: |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 * `android/.../Wrappers.java`: `BluetoothServiceWrapper` | 123 * `android/.../Wrappers.java`: `BluetoothServiceWrapper` |
123 * Which under test is a `FakeBluetoothService` | 124 * Which under test is a `FakeBluetoothService` |
124 * ... and so on for characteristics and descriptors. | 125 * ... and so on for characteristics and descriptors. |
125 | 126 |
126 Fake objects are controlled by `bluetooth_test_android.cc`. | 127 Fake objects are controlled by `bluetooth_test_android.cc`. |
127 | 128 |
128 See also: [Class Diagram of Web Bluetooth through Bluetooth Android][Class] | 129 See also: [Class Diagram of Web Bluetooth through Bluetooth Android][Class] |
129 | 130 |
130 [Class]: https://sites.google.com/a/chromium.org/dev/developers/design-documents
/bluetooth-design-docs/web-bluetooth-through-bluetooth-android-class-diagram | 131 [Class]: https://sites.google.com/a/chromium.org/dev/developers/design-documents
/bluetooth-design-docs/web-bluetooth-through-bluetooth-android-class-diagram |
131 | 132 |
| 133 Design Documents |
| 134 -------------------------------------------------------------------------------- |
| 135 |
| 136 * [Bluetooth Notifications](https://docs.google.com/document/d/1guBtAnQUP8ZoZre4
VQGrjR5uX0ZYxfK-lwKNeqY0-z4/edit?usp=sharing) 2016-08-26 |
| 137 * Web Bluetooth through Android implementation details, class diagram and |
| 138 call flow. |
OLD | NEW |