| OLD | NEW |
| 1 <h1>Bluetooth</h1> | 1 <h1>Bluetooth</h1> |
| 2 | 2 |
| 3 <p> | 3 <p> |
| 4 This document describes how to use the <a href="bluetooth.html">Bluetooth</a>, | 4 This document describes how to use the <a href="bluetooth.html">Bluetooth</a>, |
| 5 <a href="bluetoothSocket.html">Bluetooth Socket</a> and | 5 <a href="bluetoothSocket.html">Bluetooth Socket</a> and |
| 6 <a href="bluetoothLowEnergy.html">Bluetooth Low Energy</a> APIs to | 6 <a href="bluetoothLowEnergy.html">Bluetooth Low Energy</a> APIs to |
| 7 communicate with Bluetooth and Bluetooth Low Energy devices. | 7 communicate with Bluetooth and Bluetooth Low Energy devices. |
| 8 </p> | 8 </p> |
| 9 | 9 |
| 10 <p> | 10 <p> |
| 11 For background information about Bluetooth, see the official | 11 For background information about Bluetooth, see the official |
| 12 <a href="http://www.bluetooth.org">Bluetooth specifications</a>. | 12 <a href="http://www.bluetooth.org">Bluetooth specifications</a>. |
| 13 </p> | 13 </p> |
| 14 | 14 |
| 15 <h2 id="manifest">Manifest requirements</h2> | 15 <h2 id="manifest">Manifest requirements</h2> |
| 16 | 16 |
| 17 <p> | 17 <p> |
| 18 For Chrome Apps that use Bluetooth, add the | 18 For Chrome Apps that use Bluetooth, add the |
| 19 <a href="manifest/bluetooth.html">bluetooth</a> entry to the manifest | 19 <a href="manifest/bluetooth">bluetooth</a> entry to the manifest |
| 20 and specify, if appropriate, the UUIDs of profiles, protocols or services | 20 and specify, if appropriate, the UUIDs of profiles, protocols or services |
| 21 you wish to implement. | 21 you wish to implement. |
| 22 For example: | 22 For example: |
| 23 </p> | 23 </p> |
| 24 | 24 |
| 25 <pre data-filename="manifest.json"> | 25 <pre data-filename="manifest.json"> |
| 26 "bluetooth": { | 26 "bluetooth": { |
| 27 "uuids": [ "1105", "1106" ] | 27 "uuids": [ "1105", "1106" ] |
| 28 } | 28 } |
| 29 </pre> | 29 </pre> |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 <h3 id="stop-accepting">Stop accepting client connections</h3> | 494 <h3 id="stop-accepting">Stop accepting client connections</h3> |
| 495 | 495 |
| 496 <p> | 496 <p> |
| 497 To stop accepting client connections and unpublish the service use | 497 To stop accepting client connections and unpublish the service use |
| 498 $(ref:bluetoothSocket.disconnect). | 498 $(ref:bluetoothSocket.disconnect). |
| 499 </p> | 499 </p> |
| 500 | 500 |
| 501 <pre> | 501 <pre> |
| 502 chrome.bluetoothSocket.disconnect(serverSocketId); | 502 chrome.bluetoothSocket.disconnect(serverSocketId); |
| 503 </pre> | 503 </pre> |
| OLD | NEW |