| OLD | NEW |
| 1 <h1>Accessing Hardware Devices</h1> | 1 <h1>Accessing Hardware Devices</h1> |
| 2 | 2 |
| 3 <p> | 3 <p> |
| 4 This doc shows you how Chrome Apps can connect to USB devices and read from | 4 This doc shows you how Chrome Apps can connect to USB devices and read from |
| 5 and write to a user's serial ports. See also the reference docs for the <a | 5 and write to a user's serial ports. See also the reference docs for the <a |
| 6 href="usb.html">USB API</a> and the <a href="serial.html">Serial API</a>. | 6 href="usb.html">USB API</a> and the <a href="serial.html">Serial API</a>. |
| 7 The <a href="bluetooth.html">Bluetooth API</a> is also available; we've | 7 The <a href="bluetooth.html">Bluetooth API</a> is also available; we've |
| 8 included a link to a Bluetooth sample below. | 8 included a link to a Bluetooth sample below. |
| 9 </p> | 9 </p> |
| 10 | 10 |
| (...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 837 | 837 |
| 838 <p> | 838 <p> |
| 839 You can flush your serial port buffer by issuing the flush command: | 839 You can flush your serial port buffer by issuing the flush command: |
| 840 </p> | 840 </p> |
| 841 | 841 |
| 842 <pre> | 842 <pre> |
| 843 chrome.serial.flush(connectionId, onFlush); | 843 chrome.serial.flush(connectionId, onFlush); |
| 844 </pre> | 844 </pre> |
| 845 | 845 |
| 846 <p class="backtotop"><a href="#top">Back to top</a></p> | 846 <p class="backtotop"><a href="#top">Back to top</a></p> |
| OLD | NEW |