usb 2.0.0-alpha.2 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitmodules +1 -1
- package/CHANGELOG.md +81 -0
- package/README.md +570 -0
- package/binding.gyp +2 -2
- package/dist/usb/bindings.d.ts +13 -0
- package/dist/usb/bindings.js +2 -1
- package/dist/usb/bindings.js.map +1 -1
- package/dist/usb/index.js +86 -2
- package/dist/usb/index.js.map +1 -1
- package/dist/usb/interface.js.map +1 -1
- package/dist/webusb/index.d.ts +28 -19
- package/dist/webusb/index.js +152 -66
- package/dist/webusb/index.js.map +1 -1
- package/dist/webusb/webusb-device.d.ts +1 -1
- package/dist/webusb/webusb-device.js +9 -4
- package/dist/webusb/webusb-device.js.map +1 -1
- package/libusb/.private/pre-commit.sh +7 -1
- package/libusb/.travis.yml +49 -0
- package/libusb/AUTHORS +44 -3
- package/libusb/Brewfile +4 -0
- package/libusb/ChangeLog +74 -2
- package/libusb/README.md +32 -0
- package/libusb/TODO +1 -1
- package/libusb/Xcode/common.xcconfig +12 -0
- package/libusb/Xcode/config.h +25 -0
- package/libusb/Xcode/libusb.xcodeproj/project.pbxproj +959 -1
- package/libusb/android/README +4 -2
- package/libusb/android/config.h +75 -0
- package/libusb/appveyor.yml +41 -0
- package/libusb/appveyor_cygwin.bat +11 -0
- package/libusb/appveyor_minGW.bat +19 -0
- package/libusb/autogen.sh +1 -1
- package/libusb/bootstrap.sh +3 -16
- package/libusb/configure.ac +108 -80
- package/libusb/doc/doxygen.cfg.in +1785 -739
- package/libusb/examples/Makefile.am +1 -1
- package/libusb/examples/dpfp.c +3 -1
- package/libusb/examples/dpfp_threaded.c +23 -10
- package/libusb/examples/ezusb.c +3 -3
- package/libusb/examples/ezusb.h +2 -2
- package/libusb/examples/fxload.c +31 -9
- package/libusb/examples/hotplugtest.c +35 -7
- package/libusb/examples/listdevs.c +3 -1
- package/libusb/examples/sam3u_benchmark.c +3 -3
- package/libusb/examples/testlibusb.c +277 -0
- package/libusb/examples/xusb.c +40 -34
- package/libusb/libusb/Makefile.am +49 -23
- package/libusb/libusb/core.c +855 -457
- package/libusb/libusb/descriptor.c +72 -78
- package/libusb/libusb/hotplug.c +122 -76
- package/libusb/libusb/hotplug.h +42 -25
- package/libusb/libusb/io.c +625 -390
- package/libusb/libusb/libusb-1.0.def +12 -0
- package/libusb/libusb/libusb.h +218 -150
- package/libusb/libusb/libusbi.h +346 -176
- package/libusb/libusb/os/darwin_usb.c +604 -319
- package/libusb/libusb/os/darwin_usb.h +61 -20
- package/libusb/libusb/os/haiku_pollfs.cpp +367 -0
- package/libusb/libusb/os/haiku_usb.h +113 -0
- package/libusb/libusb/os/haiku_usb_backend.cpp +533 -0
- package/libusb/libusb/os/haiku_usb_raw.cpp +267 -0
- package/libusb/libusb/os/haiku_usb_raw.h +188 -0
- package/libusb/libusb/os/linux_netlink.c +186 -146
- package/libusb/libusb/os/linux_udev.c +36 -14
- package/libusb/libusb/os/linux_usbfs.c +426 -225
- package/libusb/libusb/os/linux_usbfs.h +5 -3
- package/libusb/libusb/os/netbsd_usb.c +21 -77
- package/libusb/libusb/os/openbsd_usb.c +32 -115
- package/libusb/libusb/os/poll_posix.c +38 -5
- package/libusb/libusb/os/poll_posix.h +3 -0
- package/libusb/libusb/os/poll_windows.c +277 -626
- package/libusb/libusb/os/poll_windows.h +11 -44
- package/libusb/libusb/os/sunos_usb.c +1695 -0
- package/libusb/libusb/os/sunos_usb.h +80 -0
- package/libusb/libusb/os/threads_posix.c +24 -26
- package/libusb/libusb/os/threads_posix.h +73 -21
- package/libusb/libusb/os/threads_windows.c +71 -157
- package/libusb/libusb/os/threads_windows.h +68 -44
- package/libusb/libusb/os/wince_usb.c +276 -420
- package/libusb/libusb/os/wince_usb.h +23 -28
- package/libusb/libusb/os/windows_common.h +78 -58
- package/libusb/libusb/os/windows_nt_common.c +1010 -0
- package/libusb/libusb/os/windows_nt_common.h +110 -0
- package/libusb/libusb/os/windows_nt_shared_types.h +147 -0
- package/libusb/libusb/os/windows_usbdk.c +830 -0
- package/libusb/libusb/os/windows_usbdk.h +103 -0
- package/libusb/libusb/os/windows_winusb.c +4391 -0
- package/libusb/libusb/os/windows_winusb.h +783 -0
- package/libusb/libusb/strerror.c +41 -7
- package/libusb/libusb/sync.c +41 -13
- package/libusb/libusb/version.h +1 -1
- package/libusb/libusb/version_nano.h +1 -1
- package/libusb/libusb-1.0.pc.in +1 -1
- package/libusb/msvc/appveyor.bat +27 -0
- package/libusb/msvc/config.h +5 -4
- package/libusb/msvc/ddk_build.cmd +87 -43
- package/libusb/msvc/fxload_2010.vcxproj +24 -104
- package/libusb/msvc/fxload_2012.vcxproj +24 -107
- package/libusb/msvc/fxload_2013.vcxproj +24 -107
- package/libusb/msvc/fxload_2015.vcxproj +91 -0
- package/libusb/msvc/fxload_2017.vcxproj +114 -0
- package/libusb/msvc/fxload_sources +1 -1
- package/libusb/msvc/getopt_2010.vcxproj +16 -75
- package/libusb/msvc/getopt_2012.vcxproj +16 -79
- package/libusb/msvc/getopt_2013.vcxproj +16 -79
- package/libusb/msvc/getopt_2015.vcxproj +73 -0
- package/libusb/msvc/getopt_2017.vcxproj +98 -0
- package/libusb/msvc/getopt_sources +6 -2
- package/libusb/msvc/hotplugtest_2010.vcxproj +18 -99
- package/libusb/msvc/hotplugtest_2012.vcxproj +18 -102
- package/libusb/msvc/hotplugtest_2013.vcxproj +18 -102
- package/libusb/msvc/hotplugtest_2015.vcxproj +83 -0
- package/libusb/msvc/hotplugtest_2017.vcxproj +106 -0
- package/libusb/msvc/hotplugtest_sources +1 -1
- package/libusb/msvc/libusb_2005.sln +20 -20
- package/libusb/msvc/libusb_2010.sln +57 -46
- package/libusb/msvc/libusb_2012.sln +57 -46
- package/libusb/msvc/libusb_2013.sln +57 -50
- package/libusb/msvc/libusb_2015.sln +59 -52
- package/libusb/msvc/libusb_2017.sln +186 -0
- package/libusb/msvc/libusb_dll.dsp +2 -2
- package/libusb/msvc/libusb_dll_2005.vcproj +30 -2
- package/libusb/msvc/libusb_dll_2010.vcxproj +26 -90
- package/libusb/msvc/libusb_dll_2012.vcxproj +28 -96
- package/libusb/msvc/libusb_dll_2013.vcxproj +28 -96
- package/libusb/msvc/libusb_dll_2015.vcxproj +107 -0
- package/libusb/msvc/libusb_dll_2017.vcxproj +134 -0
- package/libusb/msvc/libusb_dll_wince.vcproj +9 -1
- package/libusb/msvc/libusb_sources +10 -5
- package/libusb/msvc/libusb_static.dsp +2 -2
- package/libusb/msvc/libusb_static_2005.vcproj +32 -4
- package/libusb/msvc/libusb_static_2010.vcxproj +24 -83
- package/libusb/msvc/libusb_static_2012.vcxproj +25 -87
- package/libusb/msvc/libusb_static_2013.vcxproj +25 -87
- package/libusb/msvc/libusb_static_2015.vcxproj +98 -0
- package/libusb/msvc/libusb_static_2017.vcxproj +117 -0
- package/libusb/msvc/libusb_static_wince.vcproj +20 -26
- package/libusb/msvc/libusb_wince.sln +88 -88
- package/libusb/msvc/listdevs_2010.vcxproj +16 -99
- package/libusb/msvc/listdevs_2012.vcxproj +16 -102
- package/libusb/msvc/listdevs_2013.vcxproj +16 -102
- package/libusb/msvc/listdevs_2015.vcxproj +83 -0
- package/libusb/msvc/listdevs_2017.vcxproj +106 -0
- package/libusb/msvc/listdevs_sources +2 -1
- package/libusb/msvc/stress_2010.vcxproj +20 -101
- package/libusb/msvc/stress_2012.vcxproj +20 -104
- package/libusb/msvc/stress_2013.vcxproj +20 -104
- package/libusb/msvc/stress_2015.vcxproj +87 -0
- package/libusb/msvc/stress_2017.vcxproj +110 -0
- package/libusb/msvc/stress_sources +21 -0
- package/libusb/msvc/testlibusb_2010.vcxproj +82 -0
- package/libusb/msvc/testlibusb_2012.vcxproj +83 -0
- package/libusb/msvc/testlibusb_2013.vcxproj +83 -0
- package/libusb/msvc/testlibusb_2015.vcxproj +83 -0
- package/libusb/msvc/testlibusb_2017.vcxproj +106 -0
- package/libusb/msvc/testlibusb_sources +20 -0
- package/libusb/msvc/xusb_2010.vcxproj +17 -98
- package/libusb/msvc/xusb_2012.vcxproj +17 -101
- package/libusb/msvc/xusb_2013.vcxproj +17 -101
- package/libusb/msvc/xusb_2015.vcxproj +83 -0
- package/libusb/msvc/xusb_2017.vcxproj +106 -0
- package/libusb/msvc/xusb_sources +1 -1
- package/libusb/tests/stress.c +2 -2
- package/libusb/tests/testlib.c +0 -4
- package/libusb/travis-autogen.sh +39 -0
- package/libusb.gypi +13 -2
- package/package.json +23 -13
- package/prebuilds/android-arm/node.napi.armv7.node +0 -0
- package/prebuilds/android-arm64/node.napi.armv8.node +0 -0
- package/prebuilds/darwin-x64+arm64/node.napi.node +0 -0
- package/prebuilds/linux-arm/node.napi.armv6.node +0 -0
- package/prebuilds/linux-arm/node.napi.armv7.node +0 -0
- package/prebuilds/linux-arm64/node.napi.armv8.node +0 -0
- package/prebuilds/linux-ia32/node.napi.node +0 -0
- package/prebuilds/linux-x64/node.napi.glibc.node +0 -0
- package/prebuilds/linux-x64/node.napi.musl.node +0 -0
- package/prebuilds/win32-ia32/node.napi.node +0 -0
- package/prebuilds/win32-x64/node.napi.node +0 -0
- package/src/device.cc +7 -7
- package/src/node_usb.cc +43 -1
- package/src/uv_async_queue.h +33 -25
- package/test/usb.coffee +6 -0
- package/tsc/index.ts +1 -1
- package/tsc/usb/bindings.ts +19 -1
- package/tsc/usb/index.ts +67 -19
- package/tsc/usb/interface.ts +2 -2
- package/tsc/webusb/index.ts +187 -75
- package/tsc/webusb/webusb-device.ts +19 -15
- package/.github/workflows/prebuild.yml +0 -48
- package/Readme.md +0 -339
- package/dist/webusb/typed-event-target.d.ts +0 -11
- package/dist/webusb/typed-event-target.js +0 -21
- package/dist/webusb/typed-event-target.js.map +0 -1
- package/docs/assets/css/main.css +0 -2660
- package/docs/assets/images/icons.png +0 -0
- package/docs/assets/images/icons@2x.png +0 -0
- package/docs/assets/images/widgets.png +0 -0
- package/docs/assets/images/widgets@2x.png +0 -0
- package/docs/assets/js/main.js +0 -248
- package/docs/assets/js/search.js +0 -1
- package/docs/classes/usb_bindings.device.html +0 -1338
- package/docs/classes/usb_bindings.libusbexception.html +0 -234
- package/docs/classes/usb_bindings.transfer.html +0 -344
- package/docs/classes/usb_capability.capability.html +0 -297
- package/docs/classes/usb_device.extendeddevice.html +0 -766
- package/docs/classes/usb_endpoint.endpoint.html +0 -472
- package/docs/classes/usb_endpoint.inendpoint.html +0 -766
- package/docs/classes/usb_endpoint.outendpoint.html +0 -582
- package/docs/classes/usb_interface.interface.html +0 -648
- package/docs/classes/webusb.webusb-1.html +0 -615
- package/docs/classes/webusb_mutex.mutex.html +0 -270
- package/docs/classes/webusb_typed_event_target.typedeventtarget.html +0 -443
- package/docs/classes/webusb_webusb_device.webusbdevice.html +0 -904
- package/docs/index.html +0 -500
- package/docs/interfaces/usb.deviceevents.html +0 -242
- package/docs/interfaces/usb_descriptors.bosdescriptor.html +0 -293
- package/docs/interfaces/usb_descriptors.capabilitydescriptor.html +0 -274
- package/docs/interfaces/usb_descriptors.configdescriptor.html +0 -388
- package/docs/interfaces/usb_descriptors.devicedescriptor.html +0 -464
- package/docs/interfaces/usb_descriptors.endpointdescriptor.html +0 -370
- package/docs/interfaces/usb_descriptors.interfacedescriptor.html +0 -407
- package/docs/interfaces/webusb.usboptions.html +0 -226
- package/docs/modules/index.html +0 -304
- package/docs/modules/usb.html +0 -173
- package/docs/modules/usb_bindings.html +0 -2248
- package/docs/modules/usb_capability.html +0 -156
- package/docs/modules/usb_descriptors.html +0 -176
- package/docs/modules/usb_device.html +0 -156
- package/docs/modules/usb_endpoint.html +0 -164
- package/docs/modules/usb_interface.html +0 -156
- package/docs/modules/webusb.html +0 -165
- package/docs/modules/webusb_mutex.html +0 -156
- package/docs/modules/webusb_typed_event_target.html +0 -156
- package/docs/modules/webusb_webusb_device.html +0 -156
- package/docs/modules.html +0 -156
- package/libusb/INSTALL +0 -234
- package/libusb/README +0 -28
- package/libusb/libusb/os/windows_usb.c +0 -5347
- package/libusb/libusb/os/windows_usb.h +0 -971
- package/libusb/msvc/fxload_2010.vcxproj.filters +0 -25
- package/libusb/msvc/fxload_2012.vcxproj.filters +0 -25
- package/libusb/msvc/getopt_2010.vcxproj.filters +0 -26
- package/libusb/msvc/getopt_2012.vcxproj.filters +0 -26
- package/libusb/msvc/hotplugtest_2010.vcxproj.filters +0 -14
- package/libusb/msvc/hotplugtest_2012.vcxproj.filters +0 -14
- package/libusb/msvc/libusb_dll_2010.vcxproj.filters +0 -81
- package/libusb/msvc/libusb_dll_2012.vcxproj.filters +0 -84
- package/libusb/msvc/libusb_static_2010.vcxproj.filters +0 -74
- package/libusb/msvc/libusb_static_2012.vcxproj.filters +0 -74
- package/libusb/msvc/listdevs_2010.vcxproj.filters +0 -14
- package/libusb/msvc/listdevs_2012.vcxproj.filters +0 -14
- package/libusb/msvc/stress_2010.vcxproj.filters +0 -25
- package/libusb/msvc/stress_2012.vcxproj.filters +0 -25
- package/libusb/msvc/xusb_2010.vcxproj.filters +0 -14
- package/libusb/msvc/xusb_2012.vcxproj.filters +0 -14
- package/tsc/webusb/typed-event-target.ts +0 -23
|
@@ -1,407 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html class="default no-js">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>InterfaceDescriptor | Node USB</title>
|
|
7
|
-
<meta name="description" content="Documentation for Node USB">
|
|
8
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
-
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
|
-
<script async src="../assets/js/search.js" id="search-script"></script>
|
|
11
|
-
</head>
|
|
12
|
-
<body>
|
|
13
|
-
<header>
|
|
14
|
-
<div class="tsd-page-toolbar">
|
|
15
|
-
<div class="container">
|
|
16
|
-
<div class="table-wrap">
|
|
17
|
-
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
|
|
18
|
-
<div class="field">
|
|
19
|
-
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
|
|
20
|
-
<input id="tsd-search-field" type="text" />
|
|
21
|
-
</div>
|
|
22
|
-
<ul class="results">
|
|
23
|
-
<li class="state loading">Preparing search index...</li>
|
|
24
|
-
<li class="state failure">The search index is not available</li>
|
|
25
|
-
</ul>
|
|
26
|
-
<a href="../index.html" class="title">Node USB</a>
|
|
27
|
-
</div>
|
|
28
|
-
<div class="table-cell" id="tsd-widgets">
|
|
29
|
-
<div id="tsd-filter">
|
|
30
|
-
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
|
|
31
|
-
<div class="tsd-filter-group">
|
|
32
|
-
<div class="tsd-select" id="tsd-filter-visibility">
|
|
33
|
-
<span class="tsd-select-label">All</span>
|
|
34
|
-
<ul class="tsd-select-list">
|
|
35
|
-
<li data-value="public">Public</li>
|
|
36
|
-
<li data-value="protected">Public/Protected</li>
|
|
37
|
-
<li data-value="private" class="selected">All</li>
|
|
38
|
-
</ul>
|
|
39
|
-
</div>
|
|
40
|
-
<input type="checkbox" id="tsd-filter-inherited" checked />
|
|
41
|
-
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
<div class="tsd-page-title">
|
|
50
|
-
<div class="container">
|
|
51
|
-
<ul class="tsd-breadcrumb">
|
|
52
|
-
<li>
|
|
53
|
-
<a href="../modules.html">Node USB</a>
|
|
54
|
-
</li>
|
|
55
|
-
<li>
|
|
56
|
-
<a href="../modules/usb_descriptors.html">usb/descriptors</a>
|
|
57
|
-
</li>
|
|
58
|
-
<li>
|
|
59
|
-
<a href="usb_descriptors.interfacedescriptor.html">InterfaceDescriptor</a>
|
|
60
|
-
</li>
|
|
61
|
-
</ul>
|
|
62
|
-
<h1>Interface InterfaceDescriptor</h1>
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|
|
65
|
-
</header>
|
|
66
|
-
<div class="container container-main">
|
|
67
|
-
<div class="row">
|
|
68
|
-
<div class="col-8 col-content">
|
|
69
|
-
<section class="tsd-panel tsd-comment">
|
|
70
|
-
<div class="tsd-comment tsd-typography">
|
|
71
|
-
<div class="lead">
|
|
72
|
-
<p>A structure representing the standard USB interface descriptor</p>
|
|
73
|
-
</div>
|
|
74
|
-
</div>
|
|
75
|
-
</section>
|
|
76
|
-
<section class="tsd-panel tsd-hierarchy">
|
|
77
|
-
<h3>Hierarchy</h3>
|
|
78
|
-
<ul class="tsd-hierarchy">
|
|
79
|
-
<li>
|
|
80
|
-
<span class="target">InterfaceDescriptor</span>
|
|
81
|
-
</li>
|
|
82
|
-
</ul>
|
|
83
|
-
</section>
|
|
84
|
-
<section class="tsd-panel-group tsd-index-group">
|
|
85
|
-
<h2>Index</h2>
|
|
86
|
-
<section class="tsd-panel tsd-index-panel">
|
|
87
|
-
<div class="tsd-index-content">
|
|
88
|
-
<section class="tsd-index-section ">
|
|
89
|
-
<h3>Properties</h3>
|
|
90
|
-
<ul class="tsd-index-list">
|
|
91
|
-
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="usb_descriptors.interfacedescriptor.html#balternatesetting" class="tsd-kind-icon">b<wbr>Alternate<wbr>Setting</a></li>
|
|
92
|
-
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="usb_descriptors.interfacedescriptor.html#bdescriptortype" class="tsd-kind-icon">b<wbr>Descriptor<wbr>Type</a></li>
|
|
93
|
-
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="usb_descriptors.interfacedescriptor.html#binterfaceclass" class="tsd-kind-icon">b<wbr>Interface<wbr>Class</a></li>
|
|
94
|
-
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="usb_descriptors.interfacedescriptor.html#binterfacenumber" class="tsd-kind-icon">b<wbr>Interface<wbr>Number</a></li>
|
|
95
|
-
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="usb_descriptors.interfacedescriptor.html#binterfaceprotocol" class="tsd-kind-icon">b<wbr>Interface<wbr>Protocol</a></li>
|
|
96
|
-
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="usb_descriptors.interfacedescriptor.html#binterfacesubclass" class="tsd-kind-icon">b<wbr>Interface<wbr>Sub<wbr>Class</a></li>
|
|
97
|
-
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="usb_descriptors.interfacedescriptor.html#blength" class="tsd-kind-icon">b<wbr>Length</a></li>
|
|
98
|
-
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="usb_descriptors.interfacedescriptor.html#bnumendpoints" class="tsd-kind-icon">b<wbr>Num<wbr>Endpoints</a></li>
|
|
99
|
-
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="usb_descriptors.interfacedescriptor.html#endpoints" class="tsd-kind-icon">endpoints</a></li>
|
|
100
|
-
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="usb_descriptors.interfacedescriptor.html#extra" class="tsd-kind-icon">extra</a></li>
|
|
101
|
-
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="usb_descriptors.interfacedescriptor.html#iinterface" class="tsd-kind-icon">i<wbr>Interface</a></li>
|
|
102
|
-
</ul>
|
|
103
|
-
</section>
|
|
104
|
-
</div>
|
|
105
|
-
</section>
|
|
106
|
-
</section>
|
|
107
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
108
|
-
<h2>Properties</h2>
|
|
109
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
110
|
-
<a name="balternatesetting" class="tsd-anchor"></a>
|
|
111
|
-
<h3>b<wbr>Alternate<wbr>Setting</h3>
|
|
112
|
-
<div class="tsd-signature tsd-kind-icon">b<wbr>Alternate<wbr>Setting<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
113
|
-
<aside class="tsd-sources">
|
|
114
|
-
<ul>
|
|
115
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/639b0a3/tsc/usb/descriptors.ts#L91">tsc/usb/descriptors.ts:91</a></li>
|
|
116
|
-
</ul>
|
|
117
|
-
</aside>
|
|
118
|
-
<div class="tsd-comment tsd-typography">
|
|
119
|
-
<div class="lead">
|
|
120
|
-
<p>Value used to select this alternate setting for this interface.</p>
|
|
121
|
-
</div>
|
|
122
|
-
</div>
|
|
123
|
-
</section>
|
|
124
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
125
|
-
<a name="bdescriptortype" class="tsd-anchor"></a>
|
|
126
|
-
<h3>b<wbr>Descriptor<wbr>Type</h3>
|
|
127
|
-
<div class="tsd-signature tsd-kind-icon">b<wbr>Descriptor<wbr>Type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
128
|
-
<aside class="tsd-sources">
|
|
129
|
-
<ul>
|
|
130
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/639b0a3/tsc/usb/descriptors.ts#L85">tsc/usb/descriptors.ts:85</a></li>
|
|
131
|
-
</ul>
|
|
132
|
-
</aside>
|
|
133
|
-
<div class="tsd-comment tsd-typography">
|
|
134
|
-
<div class="lead">
|
|
135
|
-
<p>Descriptor type.</p>
|
|
136
|
-
</div>
|
|
137
|
-
</div>
|
|
138
|
-
</section>
|
|
139
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
140
|
-
<a name="binterfaceclass" class="tsd-anchor"></a>
|
|
141
|
-
<h3>b<wbr>Interface<wbr>Class</h3>
|
|
142
|
-
<div class="tsd-signature tsd-kind-icon">b<wbr>Interface<wbr>Class<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
143
|
-
<aside class="tsd-sources">
|
|
144
|
-
<ul>
|
|
145
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/639b0a3/tsc/usb/descriptors.ts#L97">tsc/usb/descriptors.ts:97</a></li>
|
|
146
|
-
</ul>
|
|
147
|
-
</aside>
|
|
148
|
-
<div class="tsd-comment tsd-typography">
|
|
149
|
-
<div class="lead">
|
|
150
|
-
<p>USB-IF class code for this interface.</p>
|
|
151
|
-
</div>
|
|
152
|
-
</div>
|
|
153
|
-
</section>
|
|
154
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
155
|
-
<a name="binterfacenumber" class="tsd-anchor"></a>
|
|
156
|
-
<h3>b<wbr>Interface<wbr>Number</h3>
|
|
157
|
-
<div class="tsd-signature tsd-kind-icon">b<wbr>Interface<wbr>Number<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
158
|
-
<aside class="tsd-sources">
|
|
159
|
-
<ul>
|
|
160
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/639b0a3/tsc/usb/descriptors.ts#L88">tsc/usb/descriptors.ts:88</a></li>
|
|
161
|
-
</ul>
|
|
162
|
-
</aside>
|
|
163
|
-
<div class="tsd-comment tsd-typography">
|
|
164
|
-
<div class="lead">
|
|
165
|
-
<p>Number of this interface.</p>
|
|
166
|
-
</div>
|
|
167
|
-
</div>
|
|
168
|
-
</section>
|
|
169
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
170
|
-
<a name="binterfaceprotocol" class="tsd-anchor"></a>
|
|
171
|
-
<h3>b<wbr>Interface<wbr>Protocol</h3>
|
|
172
|
-
<div class="tsd-signature tsd-kind-icon">b<wbr>Interface<wbr>Protocol<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
173
|
-
<aside class="tsd-sources">
|
|
174
|
-
<ul>
|
|
175
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/639b0a3/tsc/usb/descriptors.ts#L103">tsc/usb/descriptors.ts:103</a></li>
|
|
176
|
-
</ul>
|
|
177
|
-
</aside>
|
|
178
|
-
<div class="tsd-comment tsd-typography">
|
|
179
|
-
<div class="lead">
|
|
180
|
-
<p>USB-IF protocol code for this interface, qualified by the bInterfaceClass and bInterfaceSubClass values.</p>
|
|
181
|
-
</div>
|
|
182
|
-
</div>
|
|
183
|
-
</section>
|
|
184
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
185
|
-
<a name="binterfacesubclass" class="tsd-anchor"></a>
|
|
186
|
-
<h3>b<wbr>Interface<wbr>Sub<wbr>Class</h3>
|
|
187
|
-
<div class="tsd-signature tsd-kind-icon">b<wbr>Interface<wbr>Sub<wbr>Class<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
188
|
-
<aside class="tsd-sources">
|
|
189
|
-
<ul>
|
|
190
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/639b0a3/tsc/usb/descriptors.ts#L100">tsc/usb/descriptors.ts:100</a></li>
|
|
191
|
-
</ul>
|
|
192
|
-
</aside>
|
|
193
|
-
<div class="tsd-comment tsd-typography">
|
|
194
|
-
<div class="lead">
|
|
195
|
-
<p>USB-IF subclass code for this interface, qualified by the bInterfaceClass value.</p>
|
|
196
|
-
</div>
|
|
197
|
-
</div>
|
|
198
|
-
</section>
|
|
199
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
200
|
-
<a name="blength" class="tsd-anchor"></a>
|
|
201
|
-
<h3>b<wbr>Length</h3>
|
|
202
|
-
<div class="tsd-signature tsd-kind-icon">b<wbr>Length<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
203
|
-
<aside class="tsd-sources">
|
|
204
|
-
<ul>
|
|
205
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/639b0a3/tsc/usb/descriptors.ts#L82">tsc/usb/descriptors.ts:82</a></li>
|
|
206
|
-
</ul>
|
|
207
|
-
</aside>
|
|
208
|
-
<div class="tsd-comment tsd-typography">
|
|
209
|
-
<div class="lead">
|
|
210
|
-
<p>Size of this descriptor (in bytes)</p>
|
|
211
|
-
</div>
|
|
212
|
-
</div>
|
|
213
|
-
</section>
|
|
214
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
215
|
-
<a name="bnumendpoints" class="tsd-anchor"></a>
|
|
216
|
-
<h3>b<wbr>Num<wbr>Endpoints</h3>
|
|
217
|
-
<div class="tsd-signature tsd-kind-icon">b<wbr>Num<wbr>Endpoints<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
218
|
-
<aside class="tsd-sources">
|
|
219
|
-
<ul>
|
|
220
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/639b0a3/tsc/usb/descriptors.ts#L94">tsc/usb/descriptors.ts:94</a></li>
|
|
221
|
-
</ul>
|
|
222
|
-
</aside>
|
|
223
|
-
<div class="tsd-comment tsd-typography">
|
|
224
|
-
<div class="lead">
|
|
225
|
-
<p>Number of endpoints used by this interface (excluding the control endpoint).</p>
|
|
226
|
-
</div>
|
|
227
|
-
</div>
|
|
228
|
-
</section>
|
|
229
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
230
|
-
<a name="endpoints" class="tsd-anchor"></a>
|
|
231
|
-
<h3>endpoints</h3>
|
|
232
|
-
<div class="tsd-signature tsd-kind-icon">endpoints<span class="tsd-signature-symbol">:</span> <a href="usb_descriptors.endpointdescriptor.html" class="tsd-signature-type" data-tsd-kind="Interface">EndpointDescriptor</a><span class="tsd-signature-symbol">[]</span></div>
|
|
233
|
-
<aside class="tsd-sources">
|
|
234
|
-
<ul>
|
|
235
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/639b0a3/tsc/usb/descriptors.ts#L112">tsc/usb/descriptors.ts:112</a></li>
|
|
236
|
-
</ul>
|
|
237
|
-
</aside>
|
|
238
|
-
<div class="tsd-comment tsd-typography">
|
|
239
|
-
<div class="lead">
|
|
240
|
-
<p>Array of endpoint descriptors.</p>
|
|
241
|
-
</div>
|
|
242
|
-
</div>
|
|
243
|
-
</section>
|
|
244
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
245
|
-
<a name="extra" class="tsd-anchor"></a>
|
|
246
|
-
<h3>extra</h3>
|
|
247
|
-
<div class="tsd-signature tsd-kind-icon">extra<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div>
|
|
248
|
-
<aside class="tsd-sources">
|
|
249
|
-
<ul>
|
|
250
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/639b0a3/tsc/usb/descriptors.ts#L109">tsc/usb/descriptors.ts:109</a></li>
|
|
251
|
-
</ul>
|
|
252
|
-
</aside>
|
|
253
|
-
<div class="tsd-comment tsd-typography">
|
|
254
|
-
<div class="lead">
|
|
255
|
-
<p>Extra descriptors.</p>
|
|
256
|
-
</div>
|
|
257
|
-
</div>
|
|
258
|
-
</section>
|
|
259
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
260
|
-
<a name="iinterface" class="tsd-anchor"></a>
|
|
261
|
-
<h3>i<wbr>Interface</h3>
|
|
262
|
-
<div class="tsd-signature tsd-kind-icon">i<wbr>Interface<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
263
|
-
<aside class="tsd-sources">
|
|
264
|
-
<ul>
|
|
265
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/639b0a3/tsc/usb/descriptors.ts#L106">tsc/usb/descriptors.ts:106</a></li>
|
|
266
|
-
</ul>
|
|
267
|
-
</aside>
|
|
268
|
-
<div class="tsd-comment tsd-typography">
|
|
269
|
-
<div class="lead">
|
|
270
|
-
<p>Index of string descriptor describing this interface.</p>
|
|
271
|
-
</div>
|
|
272
|
-
</div>
|
|
273
|
-
</section>
|
|
274
|
-
</section>
|
|
275
|
-
</div>
|
|
276
|
-
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
277
|
-
<nav class="tsd-navigation primary">
|
|
278
|
-
<ul>
|
|
279
|
-
<li class=" ">
|
|
280
|
-
<a href="../modules.html">Exports</a>
|
|
281
|
-
</li>
|
|
282
|
-
<li class=" tsd-kind-module">
|
|
283
|
-
<a href="../modules/index.html">index</a>
|
|
284
|
-
</li>
|
|
285
|
-
<li class=" tsd-kind-module">
|
|
286
|
-
<a href="../modules/usb.html">usb</a>
|
|
287
|
-
</li>
|
|
288
|
-
<li class=" tsd-kind-module">
|
|
289
|
-
<a href="../modules/usb_bindings.html">usb/bindings</a>
|
|
290
|
-
</li>
|
|
291
|
-
<li class=" tsd-kind-module">
|
|
292
|
-
<a href="../modules/usb_capability.html">usb/capability</a>
|
|
293
|
-
</li>
|
|
294
|
-
<li class="current tsd-kind-module">
|
|
295
|
-
<a href="../modules/usb_descriptors.html">usb/descriptors</a>
|
|
296
|
-
</li>
|
|
297
|
-
<li class=" tsd-kind-module">
|
|
298
|
-
<a href="../modules/usb_device.html">usb/device</a>
|
|
299
|
-
</li>
|
|
300
|
-
<li class=" tsd-kind-module">
|
|
301
|
-
<a href="../modules/usb_endpoint.html">usb/endpoint</a>
|
|
302
|
-
</li>
|
|
303
|
-
<li class=" tsd-kind-module">
|
|
304
|
-
<a href="../modules/usb_interface.html">usb/interface</a>
|
|
305
|
-
</li>
|
|
306
|
-
<li class=" tsd-kind-module">
|
|
307
|
-
<a href="../modules/webusb.html">webusb</a>
|
|
308
|
-
</li>
|
|
309
|
-
<li class=" tsd-kind-module">
|
|
310
|
-
<a href="../modules/webusb_mutex.html">webusb/mutex</a>
|
|
311
|
-
</li>
|
|
312
|
-
<li class=" tsd-kind-module">
|
|
313
|
-
<a href="../modules/webusb_typed_event_target.html">webusb/typed-<wbr>event-<wbr>target</a>
|
|
314
|
-
</li>
|
|
315
|
-
<li class=" tsd-kind-module">
|
|
316
|
-
<a href="../modules/webusb_webusb_device.html">webusb/webusb-<wbr>device</a>
|
|
317
|
-
</li>
|
|
318
|
-
</ul>
|
|
319
|
-
</nav>
|
|
320
|
-
<nav class="tsd-navigation secondary menu-sticky">
|
|
321
|
-
<ul class="before-current">
|
|
322
|
-
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
323
|
-
<a href="usb_descriptors.bosdescriptor.html" class="tsd-kind-icon">Bos<wbr>Descriptor</a>
|
|
324
|
-
</li>
|
|
325
|
-
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
326
|
-
<a href="usb_descriptors.capabilitydescriptor.html" class="tsd-kind-icon">Capability<wbr>Descriptor</a>
|
|
327
|
-
</li>
|
|
328
|
-
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
329
|
-
<a href="usb_descriptors.configdescriptor.html" class="tsd-kind-icon">Config<wbr>Descriptor</a>
|
|
330
|
-
</li>
|
|
331
|
-
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
332
|
-
<a href="usb_descriptors.devicedescriptor.html" class="tsd-kind-icon">Device<wbr>Descriptor</a>
|
|
333
|
-
</li>
|
|
334
|
-
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
335
|
-
<a href="usb_descriptors.endpointdescriptor.html" class="tsd-kind-icon">Endpoint<wbr>Descriptor</a>
|
|
336
|
-
</li>
|
|
337
|
-
</ul>
|
|
338
|
-
<ul class="current">
|
|
339
|
-
<li class="current tsd-kind-interface tsd-parent-kind-module">
|
|
340
|
-
<a href="usb_descriptors.interfacedescriptor.html" class="tsd-kind-icon">Interface<wbr>Descriptor</a>
|
|
341
|
-
<ul>
|
|
342
|
-
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
343
|
-
<a href="usb_descriptors.interfacedescriptor.html#balternatesetting" class="tsd-kind-icon">b<wbr>Alternate<wbr>Setting</a>
|
|
344
|
-
</li>
|
|
345
|
-
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
346
|
-
<a href="usb_descriptors.interfacedescriptor.html#bdescriptortype" class="tsd-kind-icon">b<wbr>Descriptor<wbr>Type</a>
|
|
347
|
-
</li>
|
|
348
|
-
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
349
|
-
<a href="usb_descriptors.interfacedescriptor.html#binterfaceclass" class="tsd-kind-icon">b<wbr>Interface<wbr>Class</a>
|
|
350
|
-
</li>
|
|
351
|
-
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
352
|
-
<a href="usb_descriptors.interfacedescriptor.html#binterfacenumber" class="tsd-kind-icon">b<wbr>Interface<wbr>Number</a>
|
|
353
|
-
</li>
|
|
354
|
-
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
355
|
-
<a href="usb_descriptors.interfacedescriptor.html#binterfaceprotocol" class="tsd-kind-icon">b<wbr>Interface<wbr>Protocol</a>
|
|
356
|
-
</li>
|
|
357
|
-
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
358
|
-
<a href="usb_descriptors.interfacedescriptor.html#binterfacesubclass" class="tsd-kind-icon">b<wbr>Interface<wbr>Sub<wbr>Class</a>
|
|
359
|
-
</li>
|
|
360
|
-
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
361
|
-
<a href="usb_descriptors.interfacedescriptor.html#blength" class="tsd-kind-icon">b<wbr>Length</a>
|
|
362
|
-
</li>
|
|
363
|
-
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
364
|
-
<a href="usb_descriptors.interfacedescriptor.html#bnumendpoints" class="tsd-kind-icon">b<wbr>Num<wbr>Endpoints</a>
|
|
365
|
-
</li>
|
|
366
|
-
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
367
|
-
<a href="usb_descriptors.interfacedescriptor.html#endpoints" class="tsd-kind-icon">endpoints</a>
|
|
368
|
-
</li>
|
|
369
|
-
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
370
|
-
<a href="usb_descriptors.interfacedescriptor.html#extra" class="tsd-kind-icon">extra</a>
|
|
371
|
-
</li>
|
|
372
|
-
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
373
|
-
<a href="usb_descriptors.interfacedescriptor.html#iinterface" class="tsd-kind-icon">i<wbr>Interface</a>
|
|
374
|
-
</li>
|
|
375
|
-
</ul>
|
|
376
|
-
</li>
|
|
377
|
-
</ul>
|
|
378
|
-
<ul class="after-current">
|
|
379
|
-
</ul>
|
|
380
|
-
</nav>
|
|
381
|
-
</div>
|
|
382
|
-
</div>
|
|
383
|
-
</div>
|
|
384
|
-
<footer>
|
|
385
|
-
<div class="container">
|
|
386
|
-
<h2>Legend</h2>
|
|
387
|
-
<div class="tsd-legend-group">
|
|
388
|
-
<ul class="tsd-legend">
|
|
389
|
-
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
|
|
390
|
-
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
|
|
391
|
-
<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
|
|
392
|
-
</ul>
|
|
393
|
-
<ul class="tsd-legend">
|
|
394
|
-
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
|
|
395
|
-
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
|
|
396
|
-
</ul>
|
|
397
|
-
<ul class="tsd-legend">
|
|
398
|
-
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
|
|
399
|
-
<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
|
|
400
|
-
</ul>
|
|
401
|
-
</div>
|
|
402
|
-
</div>
|
|
403
|
-
</footer>
|
|
404
|
-
<div class="overlay"></div>
|
|
405
|
-
<script src="../assets/js/main.js"></script>
|
|
406
|
-
</body>
|
|
407
|
-
</html>
|
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html class="default no-js">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>USBOptions | Node USB</title>
|
|
7
|
-
<meta name="description" content="Documentation for Node USB">
|
|
8
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
-
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
|
-
<script async src="../assets/js/search.js" id="search-script"></script>
|
|
11
|
-
</head>
|
|
12
|
-
<body>
|
|
13
|
-
<header>
|
|
14
|
-
<div class="tsd-page-toolbar">
|
|
15
|
-
<div class="container">
|
|
16
|
-
<div class="table-wrap">
|
|
17
|
-
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
|
|
18
|
-
<div class="field">
|
|
19
|
-
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
|
|
20
|
-
<input id="tsd-search-field" type="text" />
|
|
21
|
-
</div>
|
|
22
|
-
<ul class="results">
|
|
23
|
-
<li class="state loading">Preparing search index...</li>
|
|
24
|
-
<li class="state failure">The search index is not available</li>
|
|
25
|
-
</ul>
|
|
26
|
-
<a href="../index.html" class="title">Node USB</a>
|
|
27
|
-
</div>
|
|
28
|
-
<div class="table-cell" id="tsd-widgets">
|
|
29
|
-
<div id="tsd-filter">
|
|
30
|
-
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
|
|
31
|
-
<div class="tsd-filter-group">
|
|
32
|
-
<div class="tsd-select" id="tsd-filter-visibility">
|
|
33
|
-
<span class="tsd-select-label">All</span>
|
|
34
|
-
<ul class="tsd-select-list">
|
|
35
|
-
<li data-value="public">Public</li>
|
|
36
|
-
<li data-value="protected">Public/Protected</li>
|
|
37
|
-
<li data-value="private" class="selected">All</li>
|
|
38
|
-
</ul>
|
|
39
|
-
</div>
|
|
40
|
-
<input type="checkbox" id="tsd-filter-inherited" checked />
|
|
41
|
-
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
<div class="tsd-page-title">
|
|
50
|
-
<div class="container">
|
|
51
|
-
<ul class="tsd-breadcrumb">
|
|
52
|
-
<li>
|
|
53
|
-
<a href="../modules.html">Node USB</a>
|
|
54
|
-
</li>
|
|
55
|
-
<li>
|
|
56
|
-
<a href="../modules/webusb.html">webusb</a>
|
|
57
|
-
</li>
|
|
58
|
-
<li>
|
|
59
|
-
<a href="webusb.usboptions.html">USBOptions</a>
|
|
60
|
-
</li>
|
|
61
|
-
</ul>
|
|
62
|
-
<h1>Interface USBOptions</h1>
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|
|
65
|
-
</header>
|
|
66
|
-
<div class="container container-main">
|
|
67
|
-
<div class="row">
|
|
68
|
-
<div class="col-8 col-content">
|
|
69
|
-
<section class="tsd-panel tsd-comment">
|
|
70
|
-
<div class="tsd-comment tsd-typography">
|
|
71
|
-
<div class="lead">
|
|
72
|
-
<p>USB Options</p>
|
|
73
|
-
</div>
|
|
74
|
-
</div>
|
|
75
|
-
</section>
|
|
76
|
-
<section class="tsd-panel tsd-hierarchy">
|
|
77
|
-
<h3>Hierarchy</h3>
|
|
78
|
-
<ul class="tsd-hierarchy">
|
|
79
|
-
<li>
|
|
80
|
-
<span class="target">USBOptions</span>
|
|
81
|
-
</li>
|
|
82
|
-
</ul>
|
|
83
|
-
</section>
|
|
84
|
-
<section class="tsd-panel-group tsd-index-group">
|
|
85
|
-
<h2>Index</h2>
|
|
86
|
-
<section class="tsd-panel tsd-index-panel">
|
|
87
|
-
<div class="tsd-index-content">
|
|
88
|
-
<section class="tsd-index-section ">
|
|
89
|
-
<h3>Properties</h3>
|
|
90
|
-
<ul class="tsd-index-list">
|
|
91
|
-
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="webusb.usboptions.html#devicesfound" class="tsd-kind-icon">devices<wbr>Found</a></li>
|
|
92
|
-
</ul>
|
|
93
|
-
</section>
|
|
94
|
-
</div>
|
|
95
|
-
</section>
|
|
96
|
-
</section>
|
|
97
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
98
|
-
<h2>Properties</h2>
|
|
99
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
100
|
-
<a name="devicesfound" class="tsd-anchor"></a>
|
|
101
|
-
<h3><span class="tsd-flag ts-flagOptional">Optional</span> devices<wbr>Found</h3>
|
|
102
|
-
<div class="tsd-signature tsd-kind-icon">devices<wbr>Found<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span>devices<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">USBDevice</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">USBDevice</span><span class="tsd-signature-symbol">></span></div>
|
|
103
|
-
<aside class="tsd-sources">
|
|
104
|
-
<ul>
|
|
105
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/639b0a3/tsc/webusb/index.ts#L12">tsc/webusb/index.ts:12</a></li>
|
|
106
|
-
</ul>
|
|
107
|
-
</aside>
|
|
108
|
-
<div class="tsd-comment tsd-typography">
|
|
109
|
-
<div class="lead">
|
|
110
|
-
<p>A <code>device found</code> callback function to allow the user to select a device</p>
|
|
111
|
-
</div>
|
|
112
|
-
</div>
|
|
113
|
-
<div class="tsd-type-declaration">
|
|
114
|
-
<h4>Type declaration</h4>
|
|
115
|
-
<ul class="tsd-parameters">
|
|
116
|
-
<li class="tsd-parameter-signature">
|
|
117
|
-
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-interface">
|
|
118
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>devices<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">USBDevice</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">USBDevice</span><span class="tsd-signature-symbol">></span></li>
|
|
119
|
-
</ul>
|
|
120
|
-
<ul class="tsd-descriptions">
|
|
121
|
-
<li class="tsd-description">
|
|
122
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
123
|
-
<ul class="tsd-parameters">
|
|
124
|
-
<li>
|
|
125
|
-
<h5>devices: <span class="tsd-signature-type">USBDevice</span><span class="tsd-signature-symbol">[]</span></h5>
|
|
126
|
-
</li>
|
|
127
|
-
</ul>
|
|
128
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">USBDevice</span><span class="tsd-signature-symbol">></span></h4>
|
|
129
|
-
</li>
|
|
130
|
-
</ul>
|
|
131
|
-
</li>
|
|
132
|
-
</ul>
|
|
133
|
-
</div>
|
|
134
|
-
</section>
|
|
135
|
-
</section>
|
|
136
|
-
</div>
|
|
137
|
-
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
138
|
-
<nav class="tsd-navigation primary">
|
|
139
|
-
<ul>
|
|
140
|
-
<li class=" ">
|
|
141
|
-
<a href="../modules.html">Exports</a>
|
|
142
|
-
</li>
|
|
143
|
-
<li class=" tsd-kind-module">
|
|
144
|
-
<a href="../modules/index.html">index</a>
|
|
145
|
-
</li>
|
|
146
|
-
<li class=" tsd-kind-module">
|
|
147
|
-
<a href="../modules/usb.html">usb</a>
|
|
148
|
-
</li>
|
|
149
|
-
<li class=" tsd-kind-module">
|
|
150
|
-
<a href="../modules/usb_bindings.html">usb/bindings</a>
|
|
151
|
-
</li>
|
|
152
|
-
<li class=" tsd-kind-module">
|
|
153
|
-
<a href="../modules/usb_capability.html">usb/capability</a>
|
|
154
|
-
</li>
|
|
155
|
-
<li class=" tsd-kind-module">
|
|
156
|
-
<a href="../modules/usb_descriptors.html">usb/descriptors</a>
|
|
157
|
-
</li>
|
|
158
|
-
<li class=" tsd-kind-module">
|
|
159
|
-
<a href="../modules/usb_device.html">usb/device</a>
|
|
160
|
-
</li>
|
|
161
|
-
<li class=" tsd-kind-module">
|
|
162
|
-
<a href="../modules/usb_endpoint.html">usb/endpoint</a>
|
|
163
|
-
</li>
|
|
164
|
-
<li class=" tsd-kind-module">
|
|
165
|
-
<a href="../modules/usb_interface.html">usb/interface</a>
|
|
166
|
-
</li>
|
|
167
|
-
<li class="current tsd-kind-module">
|
|
168
|
-
<a href="../modules/webusb.html">webusb</a>
|
|
169
|
-
</li>
|
|
170
|
-
<li class=" tsd-kind-module">
|
|
171
|
-
<a href="../modules/webusb_mutex.html">webusb/mutex</a>
|
|
172
|
-
</li>
|
|
173
|
-
<li class=" tsd-kind-module">
|
|
174
|
-
<a href="../modules/webusb_typed_event_target.html">webusb/typed-<wbr>event-<wbr>target</a>
|
|
175
|
-
</li>
|
|
176
|
-
<li class=" tsd-kind-module">
|
|
177
|
-
<a href="../modules/webusb_webusb_device.html">webusb/webusb-<wbr>device</a>
|
|
178
|
-
</li>
|
|
179
|
-
</ul>
|
|
180
|
-
</nav>
|
|
181
|
-
<nav class="tsd-navigation secondary menu-sticky">
|
|
182
|
-
<ul class="before-current">
|
|
183
|
-
<li class=" tsd-kind-class tsd-parent-kind-module">
|
|
184
|
-
<a href="../classes/webusb.webusb-1.html" class="tsd-kind-icon">WebUSB</a>
|
|
185
|
-
</li>
|
|
186
|
-
</ul>
|
|
187
|
-
<ul class="current">
|
|
188
|
-
<li class="current tsd-kind-interface tsd-parent-kind-module">
|
|
189
|
-
<a href="webusb.usboptions.html" class="tsd-kind-icon">USBOptions</a>
|
|
190
|
-
<ul>
|
|
191
|
-
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
192
|
-
<a href="webusb.usboptions.html#devicesfound" class="tsd-kind-icon">devices<wbr>Found</a>
|
|
193
|
-
</li>
|
|
194
|
-
</ul>
|
|
195
|
-
</li>
|
|
196
|
-
</ul>
|
|
197
|
-
<ul class="after-current">
|
|
198
|
-
</ul>
|
|
199
|
-
</nav>
|
|
200
|
-
</div>
|
|
201
|
-
</div>
|
|
202
|
-
</div>
|
|
203
|
-
<footer>
|
|
204
|
-
<div class="container">
|
|
205
|
-
<h2>Legend</h2>
|
|
206
|
-
<div class="tsd-legend-group">
|
|
207
|
-
<ul class="tsd-legend">
|
|
208
|
-
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
|
|
209
|
-
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
|
|
210
|
-
<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
|
|
211
|
-
</ul>
|
|
212
|
-
<ul class="tsd-legend">
|
|
213
|
-
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
|
|
214
|
-
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
|
|
215
|
-
</ul>
|
|
216
|
-
<ul class="tsd-legend">
|
|
217
|
-
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
|
|
218
|
-
<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
|
|
219
|
-
</ul>
|
|
220
|
-
</div>
|
|
221
|
-
</div>
|
|
222
|
-
</footer>
|
|
223
|
-
<div class="overlay"></div>
|
|
224
|
-
<script src="../assets/js/main.js"></script>
|
|
225
|
-
</body>
|
|
226
|
-
</html>
|