OLD | NEW |
1 Web Bluetooth | 1 Web Bluetooth |
2 ============= | 2 ============= |
3 | 3 |
4 `Source/modules/bluetooth` implements [Web Bluetooth][WB]. | 4 `Source/modules/bluetooth` implements [Web Bluetooth][WB]. |
5 | 5 |
6 [WB]: https://webbluetoothcg.github.io/web-bluetooth/ | 6 [WB]: https://webbluetoothcg.github.io/web-bluetooth/ |
7 | 7 |
| 8 Scanning |
| 9 -------------------------------------------------------------------------------- |
| 10 There isn't much support for GATT over BR/EDR from neither platforms nor |
| 11 devices so performing a Dual scan will find devices that the API is not |
| 12 able to interact with. To avoid wasting power and confusing users with |
| 13 devices they are not able to interact with, navigator.bluetooth.requestDevice |
| 14 performs an LE-only Scan. |
| 15 |
8 Testing | 16 Testing |
9 -------------------------------------------------------------------------------- | 17 -------------------------------------------------------------------------------- |
10 | 18 |
11 Bluetooth layout tests in `LayoutTests/bluetooth/` rely on | 19 Bluetooth layout tests in `LayoutTests/bluetooth/` rely on |
12 fake Bluetooth implementation classes constructed in | 20 fake Bluetooth implementation classes constructed in |
13 `content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider`. | 21 `content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider`. |
14 These tests span JavaScript binding to the `device/bluetooth` API layer. | 22 These tests span JavaScript binding to the `device/bluetooth` API layer. |
15 | 23 |
16 | 24 |
17 Design Documents | 25 Design Documents |
18 -------------------------------------------------------------------------------- | 26 -------------------------------------------------------------------------------- |
19 | 27 |
20 See: [Class Diagram of Web Bluetooth through Bluetooth Android][Class] | 28 See: [Class Diagram of Web Bluetooth through Bluetooth Android][Class] |
21 | 29 |
22 [Class]: https://sites.google.com/a/chromium.org/dev/developers/design-documents
/bluetooth-design-docs/web-bluetooth-through-bluetooth-android-class-diagram | 30 [Class]: https://sites.google.com/a/chromium.org/dev/developers/design-documents
/bluetooth-design-docs/web-bluetooth-through-bluetooth-android-class-diagram |
23 | 31 |
OLD | NEW |