Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(563)

Side by Side Diff: chrome/common/extensions/docs/server2/templates/articles/app_hardware.html

Issue 10834130: Extensions Docs Server: Doc conversion script - SVN (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <div id="pageData-name" class="pageData">Accessing Hardware Devices</div> 1 <h1>Accessing Hardware Devices</h1>
2 <div id="pageData-showTOC" class="pageData">true</div> 2
3 3
4 <p> 4 <p>
5 This doc shows you how packaged apps can connect to USB devices 5 This doc shows you how packaged apps can connect to USB devices
6 and read from and write to a user's serial ports. 6 and read from and write to a user's serial ports.
7 See also the reference docs for the 7 See also the reference docs for the
8 <a href="experimental.usb.html">USB API</a> 8 <a href="experimental.usb.html">USB API</a>
9 and the 9 and the
10 <a href="experimental.serial.html">Serial API</a>. 10 <a href="experimental.serial.html">Serial API</a>.
11 The <a href="experimental.bluetooth.html">Bluetooth API</a> has just landed and 11 The <a href="experimental.bluetooth.html">Bluetooth API</a> has just landed and
12 we'll write more on this soon. 12 we'll write more on this soon.
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 <p> 686 <p>
687 You can flush your serial device buffer by issuing the flush command on the API: 687 You can flush your serial device buffer by issuing the flush command on the API:
688 </p> 688 </p>
689 689
690 <pre> 690 <pre>
691 var flushSerial=function(str) { 691 var flushSerial=function(str) {
692 chrome.experimental.serial.flush(connectionInfo.connectionId, onFlush); 692 chrome.experimental.serial.flush(connectionInfo.connectionId, onFlush);
693 } 693 }
694 </pre> 694 </pre>
695 695
696 <p class="backtotop"><a href="#top">Back to top</a></p> 696 <p class="backtotop"><a href="#top">Back to top</a></p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698