usb 2.0.0-alpha.1 → 2.0.3
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/.gitattributes +1 -0
- package/.gitmodules +1 -1
- package/CHANGELOG.md +91 -0
- package/README.md +570 -0
- package/binding.gyp +2 -2
- package/dist/index.d.ts +16 -5
- package/dist/index.js +135 -5
- package/dist/index.js.map +1 -1
- 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.d.ts +0 -2
- package/dist/usb/index.js +75 -112
- 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 +15 -6
- 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 +0 -3
- package/libusb/Xcode/libusb.xcodeproj/project.pbxproj +959 -1
- package/libusb/android/README +4 -2
- package/libusb/android/config.h +0 -6
- 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/node_usb.h +1 -0
- package/src/uv_async_queue.h +33 -25
- package/test/usb.coffee +12 -4
- package/tsc/index.ts +68 -8
- package/tsc/usb/bindings.ts +19 -1
- package/tsc/usb/index.ts +66 -68
- package/tsc/usb/interface.ts +2 -2
- package/tsc/webusb/index.ts +187 -75
- package/tsc/webusb/webusb-device.ts +28 -17
- 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 -173
- package/docs/modules/usb.html +0 -173
- package/docs/modules/usb_bindings.html +0 -2319
- 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,1338 +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>Device | 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_bindings.html">usb/bindings</a>
|
|
57
|
-
</li>
|
|
58
|
-
<li>
|
|
59
|
-
<a href="usb_bindings.device.html">Device</a>
|
|
60
|
-
</li>
|
|
61
|
-
</ul>
|
|
62
|
-
<h1>Class Device</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>Represents a USB device.</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
|
-
<a href="usb_device.extendeddevice.html" class="tsd-signature-type" data-tsd-kind="Class">ExtendedDevice</a>
|
|
81
|
-
<ul class="tsd-hierarchy">
|
|
82
|
-
<li>
|
|
83
|
-
<span class="target">Device</span>
|
|
84
|
-
</li>
|
|
85
|
-
</ul>
|
|
86
|
-
</li>
|
|
87
|
-
</ul>
|
|
88
|
-
</section>
|
|
89
|
-
<section class="tsd-panel-group tsd-index-group">
|
|
90
|
-
<h2>Index</h2>
|
|
91
|
-
<section class="tsd-panel tsd-index-panel">
|
|
92
|
-
<div class="tsd-index-content">
|
|
93
|
-
<section class="tsd-index-section ">
|
|
94
|
-
<h3>Constructors</h3>
|
|
95
|
-
<ul class="tsd-index-list">
|
|
96
|
-
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><a href="usb_bindings.device.html#constructor" class="tsd-kind-icon">constructor</a></li>
|
|
97
|
-
</ul>
|
|
98
|
-
</section>
|
|
99
|
-
<section class="tsd-index-section ">
|
|
100
|
-
<h3>Properties</h3>
|
|
101
|
-
<ul class="tsd-index-list">
|
|
102
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="usb_bindings.device.html#_bosdescriptor" class="tsd-kind-icon">_bos<wbr>Descriptor</a></li>
|
|
103
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="usb_bindings.device.html#busnumber" class="tsd-kind-icon">bus<wbr>Number</a></li>
|
|
104
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="usb_bindings.device.html#deviceaddress" class="tsd-kind-icon">device<wbr>Address</a></li>
|
|
105
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="usb_bindings.device.html#devicedescriptor" class="tsd-kind-icon">device<wbr>Descriptor</a></li>
|
|
106
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="usb_bindings.device.html#interfaces" class="tsd-kind-icon">interfaces</a></li>
|
|
107
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="usb_bindings.device.html#portnumbers" class="tsd-kind-icon">port<wbr>Numbers</a></li>
|
|
108
|
-
</ul>
|
|
109
|
-
</section>
|
|
110
|
-
<section class="tsd-index-section ">
|
|
111
|
-
<h3>Accessors</h3>
|
|
112
|
-
<ul class="tsd-index-list">
|
|
113
|
-
<li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"><a href="usb_bindings.device.html#allconfigdescriptors" class="tsd-kind-icon">all<wbr>Config<wbr>Descriptors</a></li>
|
|
114
|
-
<li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"><a href="usb_bindings.device.html#configdescriptor" class="tsd-kind-icon">config<wbr>Descriptor</a></li>
|
|
115
|
-
<li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"><a href="usb_bindings.device.html#parent" class="tsd-kind-icon">parent</a></li>
|
|
116
|
-
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="usb_bindings.device.html#timeout" class="tsd-kind-icon">timeout</a></li>
|
|
117
|
-
</ul>
|
|
118
|
-
</section>
|
|
119
|
-
<section class="tsd-index-section ">
|
|
120
|
-
<h3>Methods</h3>
|
|
121
|
-
<ul class="tsd-index-list">
|
|
122
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="usb_bindings.device.html#__attachkerneldriver" class="tsd-kind-icon">__attach<wbr>Kernel<wbr>Driver</a></li>
|
|
123
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="usb_bindings.device.html#__claiminterface" class="tsd-kind-icon">__claim<wbr>Interface</a></li>
|
|
124
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="usb_bindings.device.html#__clearhalt" class="tsd-kind-icon">__clear<wbr>Halt</a></li>
|
|
125
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="usb_bindings.device.html#__close" class="tsd-kind-icon">__close</a></li>
|
|
126
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="usb_bindings.device.html#__detachkerneldriver" class="tsd-kind-icon">__detach<wbr>Kernel<wbr>Driver</a></li>
|
|
127
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="usb_bindings.device.html#__getallconfigdescriptors" class="tsd-kind-icon">__get<wbr>All<wbr>Config<wbr>Descriptors</a></li>
|
|
128
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="usb_bindings.device.html#__getconfigdescriptor" class="tsd-kind-icon">__get<wbr>Config<wbr>Descriptor</a></li>
|
|
129
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="usb_bindings.device.html#__getparent" class="tsd-kind-icon">__get<wbr>Parent</a></li>
|
|
130
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="usb_bindings.device.html#__iskerneldriveractive" class="tsd-kind-icon">__is<wbr>Kernel<wbr>Driver<wbr>Active</a></li>
|
|
131
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="usb_bindings.device.html#__open" class="tsd-kind-icon">__open</a></li>
|
|
132
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="usb_bindings.device.html#__releaseinterface" class="tsd-kind-icon">__release<wbr>Interface</a></li>
|
|
133
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="usb_bindings.device.html#__setconfiguration" class="tsd-kind-icon">__set<wbr>Configuration</a></li>
|
|
134
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="usb_bindings.device.html#__setinterface" class="tsd-kind-icon">__set<wbr>Interface</a></li>
|
|
135
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="usb_bindings.device.html#close" class="tsd-kind-icon">close</a></li>
|
|
136
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="usb_bindings.device.html#controltransfer" class="tsd-kind-icon">control<wbr>Transfer</a></li>
|
|
137
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="usb_bindings.device.html#getbosdescriptor" class="tsd-kind-icon">get<wbr>Bos<wbr>Descriptor</a></li>
|
|
138
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="usb_bindings.device.html#getcapabilities" class="tsd-kind-icon">get<wbr>Capabilities</a></li>
|
|
139
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="usb_bindings.device.html#getstringdescriptor" class="tsd-kind-icon">get<wbr>String<wbr>Descriptor</a></li>
|
|
140
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="usb_bindings.device.html#interface" class="tsd-kind-icon">interface</a></li>
|
|
141
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="usb_bindings.device.html#open" class="tsd-kind-icon">open</a></li>
|
|
142
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="usb_bindings.device.html#reset" class="tsd-kind-icon">reset</a></li>
|
|
143
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="usb_bindings.device.html#setconfiguration" class="tsd-kind-icon">set<wbr>Configuration</a></li>
|
|
144
|
-
</ul>
|
|
145
|
-
</section>
|
|
146
|
-
</div>
|
|
147
|
-
</section>
|
|
148
|
-
</section>
|
|
149
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
150
|
-
<h2>Constructors</h2>
|
|
151
|
-
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
|
|
152
|
-
<a name="constructor" class="tsd-anchor"></a>
|
|
153
|
-
<h3>constructor</h3>
|
|
154
|
-
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
|
|
155
|
-
<li class="tsd-signature tsd-kind-icon">new <wbr>Device<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="usb_bindings.device.html" class="tsd-signature-type" data-tsd-kind="Class">Device</a></li>
|
|
156
|
-
</ul>
|
|
157
|
-
<ul class="tsd-descriptions">
|
|
158
|
-
<li class="tsd-description">
|
|
159
|
-
<aside class="tsd-sources">
|
|
160
|
-
<p>Inherited from <a href="usb_device.extendeddevice.html">ExtendedDevice</a>.<a href="usb_device.extendeddevice.html#constructor">constructor</a></p>
|
|
161
|
-
</aside>
|
|
162
|
-
<h4 class="tsd-returns-title">Returns <a href="usb_bindings.device.html" class="tsd-signature-type" data-tsd-kind="Class">Device</a></h4>
|
|
163
|
-
</li>
|
|
164
|
-
</ul>
|
|
165
|
-
</section>
|
|
166
|
-
</section>
|
|
167
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
168
|
-
<h2>Properties</h2>
|
|
169
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
170
|
-
<a name="_bosdescriptor" class="tsd-anchor"></a>
|
|
171
|
-
<h3><span class="tsd-flag ts-flagOptional">Optional</span> _bos<wbr>Descriptor</h3>
|
|
172
|
-
<div class="tsd-signature tsd-kind-icon">_bos<wbr>Descriptor<span class="tsd-signature-symbol">:</span> <a href="../interfaces/usb_descriptors.bosdescriptor.html" class="tsd-signature-type" data-tsd-kind="Interface">BosDescriptor</a></div>
|
|
173
|
-
<aside class="tsd-sources">
|
|
174
|
-
<ul>
|
|
175
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/bindings.ts#L64">tsc/usb/bindings.ts:64</a></li>
|
|
176
|
-
</ul>
|
|
177
|
-
</aside>
|
|
178
|
-
</section>
|
|
179
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
180
|
-
<a name="busnumber" class="tsd-anchor"></a>
|
|
181
|
-
<h3>bus<wbr>Number</h3>
|
|
182
|
-
<div class="tsd-signature tsd-kind-icon">bus<wbr>Number<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
183
|
-
<aside class="tsd-sources">
|
|
184
|
-
<ul>
|
|
185
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/bindings.ts#L53">tsc/usb/bindings.ts:53</a></li>
|
|
186
|
-
</ul>
|
|
187
|
-
</aside>
|
|
188
|
-
<div class="tsd-comment tsd-typography">
|
|
189
|
-
<div class="lead">
|
|
190
|
-
<p>Integer USB device number</p>
|
|
191
|
-
</div>
|
|
192
|
-
</div>
|
|
193
|
-
</section>
|
|
194
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
195
|
-
<a name="deviceaddress" class="tsd-anchor"></a>
|
|
196
|
-
<h3>device<wbr>Address</h3>
|
|
197
|
-
<div class="tsd-signature tsd-kind-icon">device<wbr>Address<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
198
|
-
<aside class="tsd-sources">
|
|
199
|
-
<ul>
|
|
200
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/bindings.ts#L56">tsc/usb/bindings.ts:56</a></li>
|
|
201
|
-
</ul>
|
|
202
|
-
</aside>
|
|
203
|
-
<div class="tsd-comment tsd-typography">
|
|
204
|
-
<div class="lead">
|
|
205
|
-
<p>Integer USB device address</p>
|
|
206
|
-
</div>
|
|
207
|
-
</div>
|
|
208
|
-
</section>
|
|
209
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
210
|
-
<a name="devicedescriptor" class="tsd-anchor"></a>
|
|
211
|
-
<h3>device<wbr>Descriptor</h3>
|
|
212
|
-
<div class="tsd-signature tsd-kind-icon">device<wbr>Descriptor<span class="tsd-signature-symbol">:</span> <a href="../interfaces/usb_descriptors.devicedescriptor.html" class="tsd-signature-type" data-tsd-kind="Interface">DeviceDescriptor</a></div>
|
|
213
|
-
<aside class="tsd-sources">
|
|
214
|
-
<ul>
|
|
215
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/bindings.ts#L62">tsc/usb/bindings.ts:62</a></li>
|
|
216
|
-
</ul>
|
|
217
|
-
</aside>
|
|
218
|
-
<div class="tsd-comment tsd-typography">
|
|
219
|
-
<div class="lead">
|
|
220
|
-
<p>Object with properties for the fields of the device descriptor.</p>
|
|
221
|
-
</div>
|
|
222
|
-
</div>
|
|
223
|
-
</section>
|
|
224
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
|
|
225
|
-
<a name="interfaces" class="tsd-anchor"></a>
|
|
226
|
-
<h3>interfaces</h3>
|
|
227
|
-
<div class="tsd-signature tsd-kind-icon">interfaces<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="usb_interface.interface.html" class="tsd-signature-type" data-tsd-kind="Class">Interface</a><span class="tsd-signature-symbol">[]</span></div>
|
|
228
|
-
<aside class="tsd-sources">
|
|
229
|
-
<p>Inherited from <a href="usb_device.extendeddevice.html">ExtendedDevice</a>.<a href="usb_device.extendeddevice.html#interfaces">interfaces</a></p>
|
|
230
|
-
<ul>
|
|
231
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/device.ts#L13">tsc/usb/device.ts:13</a></li>
|
|
232
|
-
</ul>
|
|
233
|
-
</aside>
|
|
234
|
-
<div class="tsd-comment tsd-typography">
|
|
235
|
-
<div class="lead">
|
|
236
|
-
<p>List of Interface objects for the interfaces of the default configuration of the device.</p>
|
|
237
|
-
</div>
|
|
238
|
-
</div>
|
|
239
|
-
</section>
|
|
240
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
241
|
-
<a name="portnumbers" class="tsd-anchor"></a>
|
|
242
|
-
<h3>port<wbr>Numbers</h3>
|
|
243
|
-
<div class="tsd-signature tsd-kind-icon">port<wbr>Numbers<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></div>
|
|
244
|
-
<aside class="tsd-sources">
|
|
245
|
-
<ul>
|
|
246
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/bindings.ts#L59">tsc/usb/bindings.ts:59</a></li>
|
|
247
|
-
</ul>
|
|
248
|
-
</aside>
|
|
249
|
-
<div class="tsd-comment tsd-typography">
|
|
250
|
-
<div class="lead">
|
|
251
|
-
<p>Array containing the USB device port numbers, or <code>undefined</code> if not supported on this platform.</p>
|
|
252
|
-
</div>
|
|
253
|
-
</div>
|
|
254
|
-
</section>
|
|
255
|
-
</section>
|
|
256
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
257
|
-
<h2>Accessors</h2>
|
|
258
|
-
<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
|
|
259
|
-
<a name="allconfigdescriptors" class="tsd-anchor"></a>
|
|
260
|
-
<h3>all<wbr>Config<wbr>Descriptors</h3>
|
|
261
|
-
<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
|
|
262
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> allConfigDescriptors<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/usb_descriptors.configdescriptor.html" class="tsd-signature-type" data-tsd-kind="Interface">ConfigDescriptor</a><span class="tsd-signature-symbol">[]</span></li>
|
|
263
|
-
</ul>
|
|
264
|
-
<ul class="tsd-descriptions">
|
|
265
|
-
<li class="tsd-description">
|
|
266
|
-
<aside class="tsd-sources">
|
|
267
|
-
<ul>
|
|
268
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/device.ts#L44">tsc/usb/device.ts:44</a></li>
|
|
269
|
-
</ul>
|
|
270
|
-
</aside>
|
|
271
|
-
<div class="tsd-comment tsd-typography">
|
|
272
|
-
<div class="lead">
|
|
273
|
-
<p>Contains all config descriptors of the device (same structure as .configDescriptor above)</p>
|
|
274
|
-
</div>
|
|
275
|
-
</div>
|
|
276
|
-
<h4 class="tsd-returns-title">Returns <a href="../interfaces/usb_descriptors.configdescriptor.html" class="tsd-signature-type" data-tsd-kind="Interface">ConfigDescriptor</a><span class="tsd-signature-symbol">[]</span></h4>
|
|
277
|
-
</li>
|
|
278
|
-
</ul>
|
|
279
|
-
</section>
|
|
280
|
-
<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
|
|
281
|
-
<a name="configdescriptor" class="tsd-anchor"></a>
|
|
282
|
-
<h3>config<wbr>Descriptor</h3>
|
|
283
|
-
<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
|
|
284
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> configDescriptor<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/usb_descriptors.configdescriptor.html" class="tsd-signature-type" data-tsd-kind="Interface">ConfigDescriptor</a></li>
|
|
285
|
-
</ul>
|
|
286
|
-
<ul class="tsd-descriptions">
|
|
287
|
-
<li class="tsd-description">
|
|
288
|
-
<aside class="tsd-sources">
|
|
289
|
-
<ul>
|
|
290
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/device.ts#L29">tsc/usb/device.ts:29</a></li>
|
|
291
|
-
</ul>
|
|
292
|
-
</aside>
|
|
293
|
-
<div class="tsd-comment tsd-typography">
|
|
294
|
-
<div class="lead">
|
|
295
|
-
<p>Object with properties for the fields of the active configuration descriptor.</p>
|
|
296
|
-
</div>
|
|
297
|
-
</div>
|
|
298
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/usb_descriptors.configdescriptor.html" class="tsd-signature-type" data-tsd-kind="Interface">ConfigDescriptor</a></h4>
|
|
299
|
-
</li>
|
|
300
|
-
</ul>
|
|
301
|
-
</section>
|
|
302
|
-
<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
|
|
303
|
-
<a name="parent" class="tsd-anchor"></a>
|
|
304
|
-
<h3>parent</h3>
|
|
305
|
-
<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
|
|
306
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> parent<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="usb_bindings.device.html" class="tsd-signature-type" data-tsd-kind="Class">Device</a></li>
|
|
307
|
-
</ul>
|
|
308
|
-
<ul class="tsd-descriptions">
|
|
309
|
-
<li class="tsd-description">
|
|
310
|
-
<aside class="tsd-sources">
|
|
311
|
-
<ul>
|
|
312
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/device.ts#L59">tsc/usb/device.ts:59</a></li>
|
|
313
|
-
</ul>
|
|
314
|
-
</aside>
|
|
315
|
-
<div class="tsd-comment tsd-typography">
|
|
316
|
-
<div class="lead">
|
|
317
|
-
<p>Contains the parent of the device, such as a hub. If there is no parent this property is set to <code>null</code>.</p>
|
|
318
|
-
</div>
|
|
319
|
-
</div>
|
|
320
|
-
<h4 class="tsd-returns-title">Returns <a href="usb_bindings.device.html" class="tsd-signature-type" data-tsd-kind="Class">Device</a></h4>
|
|
321
|
-
</li>
|
|
322
|
-
</ul>
|
|
323
|
-
</section>
|
|
324
|
-
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
|
325
|
-
<a name="timeout" class="tsd-anchor"></a>
|
|
326
|
-
<h3>timeout</h3>
|
|
327
|
-
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
|
328
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> timeout<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
|
329
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> timeout<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
330
|
-
</ul>
|
|
331
|
-
<ul class="tsd-descriptions">
|
|
332
|
-
<li class="tsd-description">
|
|
333
|
-
<aside class="tsd-sources">
|
|
334
|
-
<ul>
|
|
335
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/device.ts#L19">tsc/usb/device.ts:19</a></li>
|
|
336
|
-
</ul>
|
|
337
|
-
</aside>
|
|
338
|
-
<div class="tsd-comment tsd-typography">
|
|
339
|
-
<div class="lead">
|
|
340
|
-
<p>Timeout in milliseconds to use for control transfers.</p>
|
|
341
|
-
</div>
|
|
342
|
-
</div>
|
|
343
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
|
344
|
-
</li>
|
|
345
|
-
<li class="tsd-description">
|
|
346
|
-
<aside class="tsd-sources">
|
|
347
|
-
<ul>
|
|
348
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/device.ts#L22">tsc/usb/device.ts:22</a></li>
|
|
349
|
-
</ul>
|
|
350
|
-
</aside>
|
|
351
|
-
<div class="tsd-comment tsd-typography">
|
|
352
|
-
<div class="lead">
|
|
353
|
-
<p>Timeout in milliseconds to use for control transfers.</p>
|
|
354
|
-
</div>
|
|
355
|
-
</div>
|
|
356
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
357
|
-
<ul class="tsd-parameters">
|
|
358
|
-
<li>
|
|
359
|
-
<h5>value: <span class="tsd-signature-type">number</span></h5>
|
|
360
|
-
</li>
|
|
361
|
-
</ul>
|
|
362
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
363
|
-
</li>
|
|
364
|
-
</ul>
|
|
365
|
-
</section>
|
|
366
|
-
</section>
|
|
367
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
368
|
-
<h2>Methods</h2>
|
|
369
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
370
|
-
<a name="__attachkerneldriver" class="tsd-anchor"></a>
|
|
371
|
-
<h3>__attach<wbr>Kernel<wbr>Driver</h3>
|
|
372
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
373
|
-
<li class="tsd-signature tsd-kind-icon">__attach<wbr>Kernel<wbr>Driver<span class="tsd-signature-symbol">(</span>addr<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
374
|
-
</ul>
|
|
375
|
-
<ul class="tsd-descriptions">
|
|
376
|
-
<li class="tsd-description">
|
|
377
|
-
<aside class="tsd-sources">
|
|
378
|
-
<ul>
|
|
379
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/bindings.ts#L77">tsc/usb/bindings.ts:77</a></li>
|
|
380
|
-
</ul>
|
|
381
|
-
</aside>
|
|
382
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
383
|
-
<ul class="tsd-parameters">
|
|
384
|
-
<li>
|
|
385
|
-
<h5>addr: <span class="tsd-signature-type">number</span></h5>
|
|
386
|
-
</li>
|
|
387
|
-
</ul>
|
|
388
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
389
|
-
</li>
|
|
390
|
-
</ul>
|
|
391
|
-
</section>
|
|
392
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
393
|
-
<a name="__claiminterface" class="tsd-anchor"></a>
|
|
394
|
-
<h3>__claim<wbr>Interface</h3>
|
|
395
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
396
|
-
<li class="tsd-signature tsd-kind-icon">__claim<wbr>Interface<span class="tsd-signature-symbol">(</span>addr<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
397
|
-
</ul>
|
|
398
|
-
<ul class="tsd-descriptions">
|
|
399
|
-
<li class="tsd-description">
|
|
400
|
-
<aside class="tsd-sources">
|
|
401
|
-
<ul>
|
|
402
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/bindings.ts#L74">tsc/usb/bindings.ts:74</a></li>
|
|
403
|
-
</ul>
|
|
404
|
-
</aside>
|
|
405
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
406
|
-
<ul class="tsd-parameters">
|
|
407
|
-
<li>
|
|
408
|
-
<h5>addr: <span class="tsd-signature-type">number</span></h5>
|
|
409
|
-
</li>
|
|
410
|
-
</ul>
|
|
411
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
412
|
-
</li>
|
|
413
|
-
</ul>
|
|
414
|
-
</section>
|
|
415
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
416
|
-
<a name="__clearhalt" class="tsd-anchor"></a>
|
|
417
|
-
<h3>__clear<wbr>Halt</h3>
|
|
418
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
419
|
-
<li class="tsd-signature tsd-kind-icon">__clear<wbr>Halt<span class="tsd-signature-symbol">(</span>addr<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">?: </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
420
|
-
</ul>
|
|
421
|
-
<ul class="tsd-descriptions">
|
|
422
|
-
<li class="tsd-description">
|
|
423
|
-
<aside class="tsd-sources">
|
|
424
|
-
<ul>
|
|
425
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/bindings.ts#L72">tsc/usb/bindings.ts:72</a></li>
|
|
426
|
-
</ul>
|
|
427
|
-
</aside>
|
|
428
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
429
|
-
<ul class="tsd-parameters">
|
|
430
|
-
<li>
|
|
431
|
-
<h5>addr: <span class="tsd-signature-type">number</span></h5>
|
|
432
|
-
</li>
|
|
433
|
-
<li>
|
|
434
|
-
<h5>callback: <span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">?: </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></h5>
|
|
435
|
-
<ul class="tsd-parameters">
|
|
436
|
-
<li class="tsd-parameter-signature">
|
|
437
|
-
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
438
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">?: </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
439
|
-
</ul>
|
|
440
|
-
<ul class="tsd-descriptions">
|
|
441
|
-
<li class="tsd-description">
|
|
442
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
443
|
-
<ul class="tsd-parameters">
|
|
444
|
-
<li>
|
|
445
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> error: <a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a></h5>
|
|
446
|
-
</li>
|
|
447
|
-
</ul>
|
|
448
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
449
|
-
</li>
|
|
450
|
-
</ul>
|
|
451
|
-
</li>
|
|
452
|
-
</ul>
|
|
453
|
-
</li>
|
|
454
|
-
</ul>
|
|
455
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
456
|
-
</li>
|
|
457
|
-
</ul>
|
|
458
|
-
</section>
|
|
459
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
460
|
-
<a name="__close" class="tsd-anchor"></a>
|
|
461
|
-
<h3>__close</h3>
|
|
462
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
463
|
-
<li class="tsd-signature tsd-kind-icon">__close<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
464
|
-
</ul>
|
|
465
|
-
<ul class="tsd-descriptions">
|
|
466
|
-
<li class="tsd-description">
|
|
467
|
-
<aside class="tsd-sources">
|
|
468
|
-
<ul>
|
|
469
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/bindings.ts#L67">tsc/usb/bindings.ts:67</a></li>
|
|
470
|
-
</ul>
|
|
471
|
-
</aside>
|
|
472
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
473
|
-
</li>
|
|
474
|
-
</ul>
|
|
475
|
-
</section>
|
|
476
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
477
|
-
<a name="__detachkerneldriver" class="tsd-anchor"></a>
|
|
478
|
-
<h3>__detach<wbr>Kernel<wbr>Driver</h3>
|
|
479
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
480
|
-
<li class="tsd-signature tsd-kind-icon">__detach<wbr>Kernel<wbr>Driver<span class="tsd-signature-symbol">(</span>addr<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
481
|
-
</ul>
|
|
482
|
-
<ul class="tsd-descriptions">
|
|
483
|
-
<li class="tsd-description">
|
|
484
|
-
<aside class="tsd-sources">
|
|
485
|
-
<ul>
|
|
486
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/bindings.ts#L76">tsc/usb/bindings.ts:76</a></li>
|
|
487
|
-
</ul>
|
|
488
|
-
</aside>
|
|
489
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
490
|
-
<ul class="tsd-parameters">
|
|
491
|
-
<li>
|
|
492
|
-
<h5>addr: <span class="tsd-signature-type">number</span></h5>
|
|
493
|
-
</li>
|
|
494
|
-
</ul>
|
|
495
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
496
|
-
</li>
|
|
497
|
-
</ul>
|
|
498
|
-
</section>
|
|
499
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
500
|
-
<a name="__getallconfigdescriptors" class="tsd-anchor"></a>
|
|
501
|
-
<h3>__get<wbr>All<wbr>Config<wbr>Descriptors</h3>
|
|
502
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
503
|
-
<li class="tsd-signature tsd-kind-icon">__get<wbr>All<wbr>Config<wbr>Descriptors<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/usb_descriptors.configdescriptor.html" class="tsd-signature-type" data-tsd-kind="Interface">ConfigDescriptor</a><span class="tsd-signature-symbol">[]</span></li>
|
|
504
|
-
</ul>
|
|
505
|
-
<ul class="tsd-descriptions">
|
|
506
|
-
<li class="tsd-description">
|
|
507
|
-
<aside class="tsd-sources">
|
|
508
|
-
<ul>
|
|
509
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/bindings.ts#L70">tsc/usb/bindings.ts:70</a></li>
|
|
510
|
-
</ul>
|
|
511
|
-
</aside>
|
|
512
|
-
<h4 class="tsd-returns-title">Returns <a href="../interfaces/usb_descriptors.configdescriptor.html" class="tsd-signature-type" data-tsd-kind="Interface">ConfigDescriptor</a><span class="tsd-signature-symbol">[]</span></h4>
|
|
513
|
-
</li>
|
|
514
|
-
</ul>
|
|
515
|
-
</section>
|
|
516
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
517
|
-
<a name="__getconfigdescriptor" class="tsd-anchor"></a>
|
|
518
|
-
<h3>__get<wbr>Config<wbr>Descriptor</h3>
|
|
519
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
520
|
-
<li class="tsd-signature tsd-kind-icon">__get<wbr>Config<wbr>Descriptor<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/usb_descriptors.configdescriptor.html" class="tsd-signature-type" data-tsd-kind="Interface">ConfigDescriptor</a></li>
|
|
521
|
-
</ul>
|
|
522
|
-
<ul class="tsd-descriptions">
|
|
523
|
-
<li class="tsd-description">
|
|
524
|
-
<aside class="tsd-sources">
|
|
525
|
-
<ul>
|
|
526
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/bindings.ts#L69">tsc/usb/bindings.ts:69</a></li>
|
|
527
|
-
</ul>
|
|
528
|
-
</aside>
|
|
529
|
-
<h4 class="tsd-returns-title">Returns <a href="../interfaces/usb_descriptors.configdescriptor.html" class="tsd-signature-type" data-tsd-kind="Interface">ConfigDescriptor</a></h4>
|
|
530
|
-
</li>
|
|
531
|
-
</ul>
|
|
532
|
-
</section>
|
|
533
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
534
|
-
<a name="__getparent" class="tsd-anchor"></a>
|
|
535
|
-
<h3>__get<wbr>Parent</h3>
|
|
536
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
537
|
-
<li class="tsd-signature tsd-kind-icon">__get<wbr>Parent<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="usb_bindings.device.html" class="tsd-signature-type" data-tsd-kind="Class">Device</a></li>
|
|
538
|
-
</ul>
|
|
539
|
-
<ul class="tsd-descriptions">
|
|
540
|
-
<li class="tsd-description">
|
|
541
|
-
<aside class="tsd-sources">
|
|
542
|
-
<ul>
|
|
543
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/bindings.ts#L68">tsc/usb/bindings.ts:68</a></li>
|
|
544
|
-
</ul>
|
|
545
|
-
</aside>
|
|
546
|
-
<h4 class="tsd-returns-title">Returns <a href="usb_bindings.device.html" class="tsd-signature-type" data-tsd-kind="Class">Device</a></h4>
|
|
547
|
-
</li>
|
|
548
|
-
</ul>
|
|
549
|
-
</section>
|
|
550
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
551
|
-
<a name="__iskerneldriveractive" class="tsd-anchor"></a>
|
|
552
|
-
<h3>__is<wbr>Kernel<wbr>Driver<wbr>Active</h3>
|
|
553
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
554
|
-
<li class="tsd-signature tsd-kind-icon">__is<wbr>Kernel<wbr>Driver<wbr>Active<span class="tsd-signature-symbol">(</span>addr<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
|
|
555
|
-
</ul>
|
|
556
|
-
<ul class="tsd-descriptions">
|
|
557
|
-
<li class="tsd-description">
|
|
558
|
-
<aside class="tsd-sources">
|
|
559
|
-
<ul>
|
|
560
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/bindings.ts#L78">tsc/usb/bindings.ts:78</a></li>
|
|
561
|
-
</ul>
|
|
562
|
-
</aside>
|
|
563
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
564
|
-
<ul class="tsd-parameters">
|
|
565
|
-
<li>
|
|
566
|
-
<h5>addr: <span class="tsd-signature-type">number</span></h5>
|
|
567
|
-
</li>
|
|
568
|
-
</ul>
|
|
569
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
|
|
570
|
-
</li>
|
|
571
|
-
</ul>
|
|
572
|
-
</section>
|
|
573
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
574
|
-
<a name="__open" class="tsd-anchor"></a>
|
|
575
|
-
<h3>__open</h3>
|
|
576
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
577
|
-
<li class="tsd-signature tsd-kind-icon">__open<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
578
|
-
</ul>
|
|
579
|
-
<ul class="tsd-descriptions">
|
|
580
|
-
<li class="tsd-description">
|
|
581
|
-
<aside class="tsd-sources">
|
|
582
|
-
<ul>
|
|
583
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/bindings.ts#L66">tsc/usb/bindings.ts:66</a></li>
|
|
584
|
-
</ul>
|
|
585
|
-
</aside>
|
|
586
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
587
|
-
</li>
|
|
588
|
-
</ul>
|
|
589
|
-
</section>
|
|
590
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
591
|
-
<a name="__releaseinterface" class="tsd-anchor"></a>
|
|
592
|
-
<h3>__release<wbr>Interface</h3>
|
|
593
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
594
|
-
<li class="tsd-signature tsd-kind-icon">__release<wbr>Interface<span class="tsd-signature-symbol">(</span>addr<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">?: </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
595
|
-
</ul>
|
|
596
|
-
<ul class="tsd-descriptions">
|
|
597
|
-
<li class="tsd-description">
|
|
598
|
-
<aside class="tsd-sources">
|
|
599
|
-
<ul>
|
|
600
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/bindings.ts#L75">tsc/usb/bindings.ts:75</a></li>
|
|
601
|
-
</ul>
|
|
602
|
-
</aside>
|
|
603
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
604
|
-
<ul class="tsd-parameters">
|
|
605
|
-
<li>
|
|
606
|
-
<h5>addr: <span class="tsd-signature-type">number</span></h5>
|
|
607
|
-
</li>
|
|
608
|
-
<li>
|
|
609
|
-
<h5>callback: <span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">?: </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></h5>
|
|
610
|
-
<ul class="tsd-parameters">
|
|
611
|
-
<li class="tsd-parameter-signature">
|
|
612
|
-
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
613
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">?: </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
614
|
-
</ul>
|
|
615
|
-
<ul class="tsd-descriptions">
|
|
616
|
-
<li class="tsd-description">
|
|
617
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
618
|
-
<ul class="tsd-parameters">
|
|
619
|
-
<li>
|
|
620
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> error: <a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a></h5>
|
|
621
|
-
</li>
|
|
622
|
-
</ul>
|
|
623
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
624
|
-
</li>
|
|
625
|
-
</ul>
|
|
626
|
-
</li>
|
|
627
|
-
</ul>
|
|
628
|
-
</li>
|
|
629
|
-
</ul>
|
|
630
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
631
|
-
</li>
|
|
632
|
-
</ul>
|
|
633
|
-
</section>
|
|
634
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
635
|
-
<a name="__setconfiguration" class="tsd-anchor"></a>
|
|
636
|
-
<h3>__set<wbr>Configuration</h3>
|
|
637
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
638
|
-
<li class="tsd-signature tsd-kind-icon">__set<wbr>Configuration<span class="tsd-signature-symbol">(</span>desired<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">?: </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
639
|
-
</ul>
|
|
640
|
-
<ul class="tsd-descriptions">
|
|
641
|
-
<li class="tsd-description">
|
|
642
|
-
<aside class="tsd-sources">
|
|
643
|
-
<ul>
|
|
644
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/bindings.ts#L71">tsc/usb/bindings.ts:71</a></li>
|
|
645
|
-
</ul>
|
|
646
|
-
</aside>
|
|
647
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
648
|
-
<ul class="tsd-parameters">
|
|
649
|
-
<li>
|
|
650
|
-
<h5>desired: <span class="tsd-signature-type">number</span></h5>
|
|
651
|
-
</li>
|
|
652
|
-
<li>
|
|
653
|
-
<h5>callback: <span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">?: </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></h5>
|
|
654
|
-
<ul class="tsd-parameters">
|
|
655
|
-
<li class="tsd-parameter-signature">
|
|
656
|
-
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
657
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">?: </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
658
|
-
</ul>
|
|
659
|
-
<ul class="tsd-descriptions">
|
|
660
|
-
<li class="tsd-description">
|
|
661
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
662
|
-
<ul class="tsd-parameters">
|
|
663
|
-
<li>
|
|
664
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> error: <a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a></h5>
|
|
665
|
-
</li>
|
|
666
|
-
</ul>
|
|
667
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
668
|
-
</li>
|
|
669
|
-
</ul>
|
|
670
|
-
</li>
|
|
671
|
-
</ul>
|
|
672
|
-
</li>
|
|
673
|
-
</ul>
|
|
674
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
675
|
-
</li>
|
|
676
|
-
</ul>
|
|
677
|
-
</section>
|
|
678
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
679
|
-
<a name="__setinterface" class="tsd-anchor"></a>
|
|
680
|
-
<h3>__set<wbr>Interface</h3>
|
|
681
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
682
|
-
<li class="tsd-signature tsd-kind-icon">__set<wbr>Interface<span class="tsd-signature-symbol">(</span>addr<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, altSetting<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">?: </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
683
|
-
</ul>
|
|
684
|
-
<ul class="tsd-descriptions">
|
|
685
|
-
<li class="tsd-description">
|
|
686
|
-
<aside class="tsd-sources">
|
|
687
|
-
<ul>
|
|
688
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/bindings.ts#L73">tsc/usb/bindings.ts:73</a></li>
|
|
689
|
-
</ul>
|
|
690
|
-
</aside>
|
|
691
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
692
|
-
<ul class="tsd-parameters">
|
|
693
|
-
<li>
|
|
694
|
-
<h5>addr: <span class="tsd-signature-type">number</span></h5>
|
|
695
|
-
</li>
|
|
696
|
-
<li>
|
|
697
|
-
<h5>altSetting: <span class="tsd-signature-type">number</span></h5>
|
|
698
|
-
</li>
|
|
699
|
-
<li>
|
|
700
|
-
<h5>callback: <span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">?: </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></h5>
|
|
701
|
-
<ul class="tsd-parameters">
|
|
702
|
-
<li class="tsd-parameter-signature">
|
|
703
|
-
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
704
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">?: </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
705
|
-
</ul>
|
|
706
|
-
<ul class="tsd-descriptions">
|
|
707
|
-
<li class="tsd-description">
|
|
708
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
709
|
-
<ul class="tsd-parameters">
|
|
710
|
-
<li>
|
|
711
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> error: <a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a></h5>
|
|
712
|
-
</li>
|
|
713
|
-
</ul>
|
|
714
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
715
|
-
</li>
|
|
716
|
-
</ul>
|
|
717
|
-
</li>
|
|
718
|
-
</ul>
|
|
719
|
-
</li>
|
|
720
|
-
</ul>
|
|
721
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
722
|
-
</li>
|
|
723
|
-
</ul>
|
|
724
|
-
</section>
|
|
725
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
726
|
-
<a name="close" class="tsd-anchor"></a>
|
|
727
|
-
<h3>close</h3>
|
|
728
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
729
|
-
<li class="tsd-signature tsd-kind-icon">close<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
730
|
-
</ul>
|
|
731
|
-
<ul class="tsd-descriptions">
|
|
732
|
-
<li class="tsd-description">
|
|
733
|
-
<aside class="tsd-sources">
|
|
734
|
-
<p>Inherited from <a href="usb_device.extendeddevice.html">ExtendedDevice</a>.<a href="usb_device.extendeddevice.html#close">close</a></p>
|
|
735
|
-
<ul>
|
|
736
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/device.ts#L84">tsc/usb/device.ts:84</a></li>
|
|
737
|
-
</ul>
|
|
738
|
-
</aside>
|
|
739
|
-
<div class="tsd-comment tsd-typography">
|
|
740
|
-
<div class="lead">
|
|
741
|
-
<p>Close the device.</p>
|
|
742
|
-
</div>
|
|
743
|
-
<p>The device must be open to use this method.</p>
|
|
744
|
-
</div>
|
|
745
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
746
|
-
</li>
|
|
747
|
-
</ul>
|
|
748
|
-
</section>
|
|
749
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
750
|
-
<a name="controltransfer" class="tsd-anchor"></a>
|
|
751
|
-
<h3>control<wbr>Transfer</h3>
|
|
752
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
753
|
-
<li class="tsd-signature tsd-kind-icon">control<wbr>Transfer<span class="tsd-signature-symbol">(</span>bmRequestType<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, bRequest<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, wValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, wIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, data_or_length<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Buffer</span>, callback<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a>, buffer<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="usb_bindings.device.html" class="tsd-signature-type" data-tsd-kind="Class">Device</a></li>
|
|
754
|
-
</ul>
|
|
755
|
-
<ul class="tsd-descriptions">
|
|
756
|
-
<li class="tsd-description">
|
|
757
|
-
<aside class="tsd-sources">
|
|
758
|
-
<p>Inherited from <a href="usb_device.extendeddevice.html">ExtendedDevice</a>.<a href="usb_device.extendeddevice.html#controltransfer">controlTransfer</a></p>
|
|
759
|
-
<ul>
|
|
760
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/device.ts#L127">tsc/usb/device.ts:127</a></li>
|
|
761
|
-
</ul>
|
|
762
|
-
</aside>
|
|
763
|
-
<div class="tsd-comment tsd-typography">
|
|
764
|
-
<div class="lead">
|
|
765
|
-
<p>Perform a control transfer with <code>libusb_control_transfer</code>.</p>
|
|
766
|
-
</div>
|
|
767
|
-
<p>Parameter <code>data_or_length</code> can be an integer length for an IN transfer, or a <code>Buffer</code> for an OUT transfer. The type must match the direction specified in the MSB of bmRequestType.</p>
|
|
768
|
-
<p>The <code>data</code> parameter of the callback is actual transferred for OUT transfers, or will be passed a Buffer for IN transfers.</p>
|
|
769
|
-
<p>The device must be open to use this method.</p>
|
|
770
|
-
</div>
|
|
771
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
772
|
-
<ul class="tsd-parameters">
|
|
773
|
-
<li>
|
|
774
|
-
<h5>bmRequestType: <span class="tsd-signature-type">number</span></h5>
|
|
775
|
-
</li>
|
|
776
|
-
<li>
|
|
777
|
-
<h5>bRequest: <span class="tsd-signature-type">number</span></h5>
|
|
778
|
-
</li>
|
|
779
|
-
<li>
|
|
780
|
-
<h5>wValue: <span class="tsd-signature-type">number</span></h5>
|
|
781
|
-
</li>
|
|
782
|
-
<li>
|
|
783
|
-
<h5>wIndex: <span class="tsd-signature-type">number</span></h5>
|
|
784
|
-
</li>
|
|
785
|
-
<li>
|
|
786
|
-
<h5>data_or_length: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Buffer</span></h5>
|
|
787
|
-
</li>
|
|
788
|
-
<li>
|
|
789
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> callback: <span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a>, buffer<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></h5>
|
|
790
|
-
<div class="tsd-comment tsd-typography">
|
|
791
|
-
</div>
|
|
792
|
-
<ul class="tsd-parameters">
|
|
793
|
-
<li class="tsd-parameter-signature">
|
|
794
|
-
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
795
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a>, buffer<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
796
|
-
</ul>
|
|
797
|
-
<ul class="tsd-descriptions">
|
|
798
|
-
<li class="tsd-description">
|
|
799
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
800
|
-
<ul class="tsd-parameters">
|
|
801
|
-
<li>
|
|
802
|
-
<h5>error: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a></h5>
|
|
803
|
-
</li>
|
|
804
|
-
<li>
|
|
805
|
-
<h5>buffer: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Buffer</span></h5>
|
|
806
|
-
</li>
|
|
807
|
-
</ul>
|
|
808
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
809
|
-
</li>
|
|
810
|
-
</ul>
|
|
811
|
-
</li>
|
|
812
|
-
</ul>
|
|
813
|
-
</li>
|
|
814
|
-
</ul>
|
|
815
|
-
<h4 class="tsd-returns-title">Returns <a href="usb_bindings.device.html" class="tsd-signature-type" data-tsd-kind="Class">Device</a></h4>
|
|
816
|
-
</li>
|
|
817
|
-
</ul>
|
|
818
|
-
</section>
|
|
819
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
820
|
-
<a name="getbosdescriptor" class="tsd-anchor"></a>
|
|
821
|
-
<h3>get<wbr>Bos<wbr>Descriptor</h3>
|
|
822
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
823
|
-
<li class="tsd-signature tsd-kind-icon">get<wbr>Bos<wbr>Descriptor<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">?: </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a>, descriptor<span class="tsd-signature-symbol">?: </span><a href="../interfaces/usb_descriptors.bosdescriptor.html" class="tsd-signature-type" data-tsd-kind="Interface">BosDescriptor</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
824
|
-
</ul>
|
|
825
|
-
<ul class="tsd-descriptions">
|
|
826
|
-
<li class="tsd-description">
|
|
827
|
-
<aside class="tsd-sources">
|
|
828
|
-
<p>Inherited from <a href="usb_device.extendeddevice.html">ExtendedDevice</a>.<a href="usb_device.extendeddevice.html#getbosdescriptor">getBosDescriptor</a></p>
|
|
829
|
-
<ul>
|
|
830
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/device.ts#L229">tsc/usb/device.ts:229</a></li>
|
|
831
|
-
</ul>
|
|
832
|
-
</aside>
|
|
833
|
-
<div class="tsd-comment tsd-typography">
|
|
834
|
-
<div class="lead">
|
|
835
|
-
<p>Perform a control transfer to retrieve an object with properties for the fields of the Binary Object Store descriptor.</p>
|
|
836
|
-
</div>
|
|
837
|
-
<p>The device must be open to use this method.</p>
|
|
838
|
-
</div>
|
|
839
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
840
|
-
<ul class="tsd-parameters">
|
|
841
|
-
<li>
|
|
842
|
-
<h5>callback: <span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">?: </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a>, descriptor<span class="tsd-signature-symbol">?: </span><a href="../interfaces/usb_descriptors.bosdescriptor.html" class="tsd-signature-type" data-tsd-kind="Interface">BosDescriptor</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></h5>
|
|
843
|
-
<div class="tsd-comment tsd-typography">
|
|
844
|
-
</div>
|
|
845
|
-
<ul class="tsd-parameters">
|
|
846
|
-
<li class="tsd-parameter-signature">
|
|
847
|
-
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
848
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">?: </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a>, descriptor<span class="tsd-signature-symbol">?: </span><a href="../interfaces/usb_descriptors.bosdescriptor.html" class="tsd-signature-type" data-tsd-kind="Interface">BosDescriptor</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
849
|
-
</ul>
|
|
850
|
-
<ul class="tsd-descriptions">
|
|
851
|
-
<li class="tsd-description">
|
|
852
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
853
|
-
<ul class="tsd-parameters">
|
|
854
|
-
<li>
|
|
855
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> error: <a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a></h5>
|
|
856
|
-
</li>
|
|
857
|
-
<li>
|
|
858
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> descriptor: <a href="../interfaces/usb_descriptors.bosdescriptor.html" class="tsd-signature-type" data-tsd-kind="Interface">BosDescriptor</a></h5>
|
|
859
|
-
</li>
|
|
860
|
-
</ul>
|
|
861
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
862
|
-
</li>
|
|
863
|
-
</ul>
|
|
864
|
-
</li>
|
|
865
|
-
</ul>
|
|
866
|
-
</li>
|
|
867
|
-
</ul>
|
|
868
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
869
|
-
</li>
|
|
870
|
-
</ul>
|
|
871
|
-
</section>
|
|
872
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
873
|
-
<a name="getcapabilities" class="tsd-anchor"></a>
|
|
874
|
-
<h3>get<wbr>Capabilities</h3>
|
|
875
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
876
|
-
<li class="tsd-signature tsd-kind-icon">get<wbr>Capabilities<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a>, capabilities<span class="tsd-signature-symbol">?: </span><a href="usb_capability.capability.html" class="tsd-signature-type" data-tsd-kind="Class">Capability</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
877
|
-
</ul>
|
|
878
|
-
<ul class="tsd-descriptions">
|
|
879
|
-
<li class="tsd-description">
|
|
880
|
-
<aside class="tsd-sources">
|
|
881
|
-
<p>Inherited from <a href="usb_device.extendeddevice.html">ExtendedDevice</a>.<a href="usb_device.extendeddevice.html#getcapabilities">getCapabilities</a></p>
|
|
882
|
-
<ul>
|
|
883
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/device.ts#L311">tsc/usb/device.ts:311</a></li>
|
|
884
|
-
</ul>
|
|
885
|
-
</aside>
|
|
886
|
-
<div class="tsd-comment tsd-typography">
|
|
887
|
-
<div class="lead">
|
|
888
|
-
<p>Retrieve a list of Capability objects for the Binary Object Store capabilities of the device.</p>
|
|
889
|
-
</div>
|
|
890
|
-
<p>The device must be open to use this method.</p>
|
|
891
|
-
</div>
|
|
892
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
893
|
-
<ul class="tsd-parameters">
|
|
894
|
-
<li>
|
|
895
|
-
<h5>callback: <span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a>, capabilities<span class="tsd-signature-symbol">?: </span><a href="usb_capability.capability.html" class="tsd-signature-type" data-tsd-kind="Class">Capability</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></h5>
|
|
896
|
-
<div class="tsd-comment tsd-typography">
|
|
897
|
-
</div>
|
|
898
|
-
<ul class="tsd-parameters">
|
|
899
|
-
<li class="tsd-parameter-signature">
|
|
900
|
-
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
901
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a>, capabilities<span class="tsd-signature-symbol">?: </span><a href="usb_capability.capability.html" class="tsd-signature-type" data-tsd-kind="Class">Capability</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
902
|
-
</ul>
|
|
903
|
-
<ul class="tsd-descriptions">
|
|
904
|
-
<li class="tsd-description">
|
|
905
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
906
|
-
<ul class="tsd-parameters">
|
|
907
|
-
<li>
|
|
908
|
-
<h5>error: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a></h5>
|
|
909
|
-
</li>
|
|
910
|
-
<li>
|
|
911
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> capabilities: <a href="usb_capability.capability.html" class="tsd-signature-type" data-tsd-kind="Class">Capability</a><span class="tsd-signature-symbol">[]</span></h5>
|
|
912
|
-
</li>
|
|
913
|
-
</ul>
|
|
914
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
915
|
-
</li>
|
|
916
|
-
</ul>
|
|
917
|
-
</li>
|
|
918
|
-
</ul>
|
|
919
|
-
</li>
|
|
920
|
-
</ul>
|
|
921
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
922
|
-
</li>
|
|
923
|
-
</ul>
|
|
924
|
-
</section>
|
|
925
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
926
|
-
<a name="getstringdescriptor" class="tsd-anchor"></a>
|
|
927
|
-
<h3>get<wbr>String<wbr>Descriptor</h3>
|
|
928
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
929
|
-
<li class="tsd-signature tsd-kind-icon">get<wbr>String<wbr>Descriptor<span class="tsd-signature-symbol">(</span>desc_index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">?: </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a>, value<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
930
|
-
</ul>
|
|
931
|
-
<ul class="tsd-descriptions">
|
|
932
|
-
<li class="tsd-description">
|
|
933
|
-
<aside class="tsd-sources">
|
|
934
|
-
<p>Inherited from <a href="usb_device.extendeddevice.html">ExtendedDevice</a>.<a href="usb_device.extendeddevice.html#getstringdescriptor">getStringDescriptor</a></p>
|
|
935
|
-
<ul>
|
|
936
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/device.ts#L205">tsc/usb/device.ts:205</a></li>
|
|
937
|
-
</ul>
|
|
938
|
-
</aside>
|
|
939
|
-
<div class="tsd-comment tsd-typography">
|
|
940
|
-
<div class="lead">
|
|
941
|
-
<p>Perform a control transfer to retrieve a string descriptor</p>
|
|
942
|
-
</div>
|
|
943
|
-
<p>The device must be open to use this method.</p>
|
|
944
|
-
</div>
|
|
945
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
946
|
-
<ul class="tsd-parameters">
|
|
947
|
-
<li>
|
|
948
|
-
<h5>desc_index: <span class="tsd-signature-type">number</span></h5>
|
|
949
|
-
</li>
|
|
950
|
-
<li>
|
|
951
|
-
<h5>callback: <span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">?: </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a>, value<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></h5>
|
|
952
|
-
<div class="tsd-comment tsd-typography">
|
|
953
|
-
</div>
|
|
954
|
-
<ul class="tsd-parameters">
|
|
955
|
-
<li class="tsd-parameter-signature">
|
|
956
|
-
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
957
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">?: </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a>, value<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
958
|
-
</ul>
|
|
959
|
-
<ul class="tsd-descriptions">
|
|
960
|
-
<li class="tsd-description">
|
|
961
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
962
|
-
<ul class="tsd-parameters">
|
|
963
|
-
<li>
|
|
964
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> error: <a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a></h5>
|
|
965
|
-
</li>
|
|
966
|
-
<li>
|
|
967
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> value: <span class="tsd-signature-type">string</span></h5>
|
|
968
|
-
</li>
|
|
969
|
-
</ul>
|
|
970
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
971
|
-
</li>
|
|
972
|
-
</ul>
|
|
973
|
-
</li>
|
|
974
|
-
</ul>
|
|
975
|
-
</li>
|
|
976
|
-
</ul>
|
|
977
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
978
|
-
</li>
|
|
979
|
-
</ul>
|
|
980
|
-
</section>
|
|
981
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
982
|
-
<a name="interface" class="tsd-anchor"></a>
|
|
983
|
-
<h3>interface</h3>
|
|
984
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
985
|
-
<li class="tsd-signature tsd-kind-icon">interface<span class="tsd-signature-symbol">(</span>addr<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="usb_interface.interface.html" class="tsd-signature-type" data-tsd-kind="Class">Interface</a></li>
|
|
986
|
-
</ul>
|
|
987
|
-
<ul class="tsd-descriptions">
|
|
988
|
-
<li class="tsd-description">
|
|
989
|
-
<aside class="tsd-sources">
|
|
990
|
-
<p>Inherited from <a href="usb_device.extendeddevice.html">ExtendedDevice</a>.<a href="usb_device.extendeddevice.html#interface">interface</a></p>
|
|
991
|
-
<ul>
|
|
992
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/device.ts#L183">tsc/usb/device.ts:183</a></li>
|
|
993
|
-
</ul>
|
|
994
|
-
</aside>
|
|
995
|
-
<div class="tsd-comment tsd-typography">
|
|
996
|
-
<div class="lead">
|
|
997
|
-
<p>Return the interface with the specified interface number.</p>
|
|
998
|
-
</div>
|
|
999
|
-
<p>The device must be open to use this method.</p>
|
|
1000
|
-
</div>
|
|
1001
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1002
|
-
<ul class="tsd-parameters">
|
|
1003
|
-
<li>
|
|
1004
|
-
<h5>addr: <span class="tsd-signature-type">number</span></h5>
|
|
1005
|
-
<div class="tsd-comment tsd-typography">
|
|
1006
|
-
</div>
|
|
1007
|
-
</li>
|
|
1008
|
-
</ul>
|
|
1009
|
-
<h4 class="tsd-returns-title">Returns <a href="usb_interface.interface.html" class="tsd-signature-type" data-tsd-kind="Class">Interface</a></h4>
|
|
1010
|
-
</li>
|
|
1011
|
-
</ul>
|
|
1012
|
-
</section>
|
|
1013
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
1014
|
-
<a name="open" class="tsd-anchor"></a>
|
|
1015
|
-
<h3>open</h3>
|
|
1016
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
1017
|
-
<li class="tsd-signature tsd-kind-icon">open<span class="tsd-signature-symbol">(</span>defaultConfig<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
1018
|
-
</ul>
|
|
1019
|
-
<ul class="tsd-descriptions">
|
|
1020
|
-
<li class="tsd-description">
|
|
1021
|
-
<aside class="tsd-sources">
|
|
1022
|
-
<p>Inherited from <a href="usb_device.extendeddevice.html">ExtendedDevice</a>.<a href="usb_device.extendeddevice.html#open">open</a></p>
|
|
1023
|
-
<ul>
|
|
1024
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/device.ts#L67">tsc/usb/device.ts:67</a></li>
|
|
1025
|
-
</ul>
|
|
1026
|
-
</aside>
|
|
1027
|
-
<div class="tsd-comment tsd-typography">
|
|
1028
|
-
<div class="lead">
|
|
1029
|
-
<p>Open the device.</p>
|
|
1030
|
-
</div>
|
|
1031
|
-
</div>
|
|
1032
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1033
|
-
<ul class="tsd-parameters">
|
|
1034
|
-
<li>
|
|
1035
|
-
<h5>defaultConfig: <span class="tsd-signature-type">boolean</span></h5>
|
|
1036
|
-
<div class="tsd-comment tsd-typography">
|
|
1037
|
-
</div>
|
|
1038
|
-
</li>
|
|
1039
|
-
</ul>
|
|
1040
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
1041
|
-
</li>
|
|
1042
|
-
</ul>
|
|
1043
|
-
</section>
|
|
1044
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
1045
|
-
<a name="reset" class="tsd-anchor"></a>
|
|
1046
|
-
<h3>reset</h3>
|
|
1047
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
1048
|
-
<li class="tsd-signature tsd-kind-icon">reset<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">?: </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
1049
|
-
</ul>
|
|
1050
|
-
<ul class="tsd-descriptions">
|
|
1051
|
-
<li class="tsd-description">
|
|
1052
|
-
<aside class="tsd-sources">
|
|
1053
|
-
<ul>
|
|
1054
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/bindings.ts#L86">tsc/usb/bindings.ts:86</a></li>
|
|
1055
|
-
</ul>
|
|
1056
|
-
</aside>
|
|
1057
|
-
<div class="tsd-comment tsd-typography">
|
|
1058
|
-
<div class="lead">
|
|
1059
|
-
<p>Performs a reset of the device. Callback is called when complete.</p>
|
|
1060
|
-
</div>
|
|
1061
|
-
<p>The device must be open to use this method.</p>
|
|
1062
|
-
</div>
|
|
1063
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1064
|
-
<ul class="tsd-parameters">
|
|
1065
|
-
<li>
|
|
1066
|
-
<h5>callback: <span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">?: </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></h5>
|
|
1067
|
-
<div class="tsd-comment tsd-typography">
|
|
1068
|
-
</div>
|
|
1069
|
-
<ul class="tsd-parameters">
|
|
1070
|
-
<li class="tsd-parameter-signature">
|
|
1071
|
-
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
1072
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">?: </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
1073
|
-
</ul>
|
|
1074
|
-
<ul class="tsd-descriptions">
|
|
1075
|
-
<li class="tsd-description">
|
|
1076
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1077
|
-
<ul class="tsd-parameters">
|
|
1078
|
-
<li>
|
|
1079
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> error: <a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a></h5>
|
|
1080
|
-
</li>
|
|
1081
|
-
</ul>
|
|
1082
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
1083
|
-
</li>
|
|
1084
|
-
</ul>
|
|
1085
|
-
</li>
|
|
1086
|
-
</ul>
|
|
1087
|
-
</li>
|
|
1088
|
-
</ul>
|
|
1089
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
1090
|
-
</li>
|
|
1091
|
-
</ul>
|
|
1092
|
-
</section>
|
|
1093
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
1094
|
-
<a name="setconfiguration" class="tsd-anchor"></a>
|
|
1095
|
-
<h3>set<wbr>Configuration</h3>
|
|
1096
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
1097
|
-
<li class="tsd-signature tsd-kind-icon">set<wbr>Configuration<span class="tsd-signature-symbol">(</span>desired<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, callback<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
1098
|
-
</ul>
|
|
1099
|
-
<ul class="tsd-descriptions">
|
|
1100
|
-
<li class="tsd-description">
|
|
1101
|
-
<aside class="tsd-sources">
|
|
1102
|
-
<p>Inherited from <a href="usb_device.extendeddevice.html">ExtendedDevice</a>.<a href="usb_device.extendeddevice.html#setconfiguration">setConfiguration</a></p>
|
|
1103
|
-
<ul>
|
|
1104
|
-
<li>Defined in <a href="https://github.com/tessel/node-usb/blob/37d54e6/tsc/usb/device.ts#L97">tsc/usb/device.ts:97</a></li>
|
|
1105
|
-
</ul>
|
|
1106
|
-
</aside>
|
|
1107
|
-
<div class="tsd-comment tsd-typography">
|
|
1108
|
-
<div class="lead">
|
|
1109
|
-
<p>Set the device configuration to something other than the default (0). To use this, first call <code>.open(false)</code> (which tells it not to auto configure),
|
|
1110
|
-
then before claiming an interface, call this method.</p>
|
|
1111
|
-
</div>
|
|
1112
|
-
<p>The device must be open to use this method.</p>
|
|
1113
|
-
</div>
|
|
1114
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1115
|
-
<ul class="tsd-parameters">
|
|
1116
|
-
<li>
|
|
1117
|
-
<h5>desired: <span class="tsd-signature-type">number</span></h5>
|
|
1118
|
-
</li>
|
|
1119
|
-
<li>
|
|
1120
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> callback: <span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></h5>
|
|
1121
|
-
<div class="tsd-comment tsd-typography">
|
|
1122
|
-
</div>
|
|
1123
|
-
<ul class="tsd-parameters">
|
|
1124
|
-
<li class="tsd-parameter-signature">
|
|
1125
|
-
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
1126
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
1127
|
-
</ul>
|
|
1128
|
-
<ul class="tsd-descriptions">
|
|
1129
|
-
<li class="tsd-description">
|
|
1130
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1131
|
-
<ul class="tsd-parameters">
|
|
1132
|
-
<li>
|
|
1133
|
-
<h5>error: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="usb_bindings.libusbexception.html" class="tsd-signature-type" data-tsd-kind="Class">LibUSBException</a></h5>
|
|
1134
|
-
</li>
|
|
1135
|
-
</ul>
|
|
1136
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
1137
|
-
</li>
|
|
1138
|
-
</ul>
|
|
1139
|
-
</li>
|
|
1140
|
-
</ul>
|
|
1141
|
-
</li>
|
|
1142
|
-
</ul>
|
|
1143
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
1144
|
-
</li>
|
|
1145
|
-
</ul>
|
|
1146
|
-
</section>
|
|
1147
|
-
</section>
|
|
1148
|
-
</div>
|
|
1149
|
-
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
1150
|
-
<nav class="tsd-navigation primary">
|
|
1151
|
-
<ul>
|
|
1152
|
-
<li class=" ">
|
|
1153
|
-
<a href="../modules.html">Exports</a>
|
|
1154
|
-
</li>
|
|
1155
|
-
<li class=" tsd-kind-module">
|
|
1156
|
-
<a href="../modules/index.html">index</a>
|
|
1157
|
-
</li>
|
|
1158
|
-
<li class=" tsd-kind-module">
|
|
1159
|
-
<a href="../modules/usb.html">usb</a>
|
|
1160
|
-
</li>
|
|
1161
|
-
<li class="current tsd-kind-module">
|
|
1162
|
-
<a href="../modules/usb_bindings.html">usb/bindings</a>
|
|
1163
|
-
</li>
|
|
1164
|
-
<li class=" tsd-kind-module">
|
|
1165
|
-
<a href="../modules/usb_capability.html">usb/capability</a>
|
|
1166
|
-
</li>
|
|
1167
|
-
<li class=" tsd-kind-module">
|
|
1168
|
-
<a href="../modules/usb_descriptors.html">usb/descriptors</a>
|
|
1169
|
-
</li>
|
|
1170
|
-
<li class=" tsd-kind-module">
|
|
1171
|
-
<a href="../modules/usb_device.html">usb/device</a>
|
|
1172
|
-
</li>
|
|
1173
|
-
<li class=" tsd-kind-module">
|
|
1174
|
-
<a href="../modules/usb_endpoint.html">usb/endpoint</a>
|
|
1175
|
-
</li>
|
|
1176
|
-
<li class=" tsd-kind-module">
|
|
1177
|
-
<a href="../modules/usb_interface.html">usb/interface</a>
|
|
1178
|
-
</li>
|
|
1179
|
-
<li class=" tsd-kind-module">
|
|
1180
|
-
<a href="../modules/webusb.html">webusb</a>
|
|
1181
|
-
</li>
|
|
1182
|
-
<li class=" tsd-kind-module">
|
|
1183
|
-
<a href="../modules/webusb_mutex.html">webusb/mutex</a>
|
|
1184
|
-
</li>
|
|
1185
|
-
<li class=" tsd-kind-module">
|
|
1186
|
-
<a href="../modules/webusb_typed_event_target.html">webusb/typed-<wbr>event-<wbr>target</a>
|
|
1187
|
-
</li>
|
|
1188
|
-
<li class=" tsd-kind-module">
|
|
1189
|
-
<a href="../modules/webusb_webusb_device.html">webusb/webusb-<wbr>device</a>
|
|
1190
|
-
</li>
|
|
1191
|
-
</ul>
|
|
1192
|
-
</nav>
|
|
1193
|
-
<nav class="tsd-navigation secondary menu-sticky">
|
|
1194
|
-
<ul class="before-current">
|
|
1195
|
-
</ul>
|
|
1196
|
-
<ul class="current">
|
|
1197
|
-
<li class="current tsd-kind-class tsd-parent-kind-module">
|
|
1198
|
-
<a href="usb_bindings.device.html" class="tsd-kind-icon">Device</a>
|
|
1199
|
-
<ul>
|
|
1200
|
-
<li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
|
|
1201
|
-
<a href="usb_bindings.device.html#constructor" class="tsd-kind-icon">constructor</a>
|
|
1202
|
-
</li>
|
|
1203
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
1204
|
-
<a href="usb_bindings.device.html#_bosdescriptor" class="tsd-kind-icon">_bos<wbr>Descriptor</a>
|
|
1205
|
-
</li>
|
|
1206
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
1207
|
-
<a href="usb_bindings.device.html#busnumber" class="tsd-kind-icon">bus<wbr>Number</a>
|
|
1208
|
-
</li>
|
|
1209
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
1210
|
-
<a href="usb_bindings.device.html#deviceaddress" class="tsd-kind-icon">device<wbr>Address</a>
|
|
1211
|
-
</li>
|
|
1212
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
1213
|
-
<a href="usb_bindings.device.html#devicedescriptor" class="tsd-kind-icon">device<wbr>Descriptor</a>
|
|
1214
|
-
</li>
|
|
1215
|
-
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
|
|
1216
|
-
<a href="usb_bindings.device.html#interfaces" class="tsd-kind-icon">interfaces</a>
|
|
1217
|
-
</li>
|
|
1218
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
1219
|
-
<a href="usb_bindings.device.html#portnumbers" class="tsd-kind-icon">port<wbr>Numbers</a>
|
|
1220
|
-
</li>
|
|
1221
|
-
<li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
|
|
1222
|
-
<a href="usb_bindings.device.html#allconfigdescriptors" class="tsd-kind-icon">all<wbr>Config<wbr>Descriptors</a>
|
|
1223
|
-
</li>
|
|
1224
|
-
<li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
|
|
1225
|
-
<a href="usb_bindings.device.html#configdescriptor" class="tsd-kind-icon">config<wbr>Descriptor</a>
|
|
1226
|
-
</li>
|
|
1227
|
-
<li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
|
|
1228
|
-
<a href="usb_bindings.device.html#parent" class="tsd-kind-icon">parent</a>
|
|
1229
|
-
</li>
|
|
1230
|
-
<li class=" tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
|
1231
|
-
<a href="usb_bindings.device.html#timeout" class="tsd-kind-icon">timeout</a>
|
|
1232
|
-
</li>
|
|
1233
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1234
|
-
<a href="usb_bindings.device.html#__attachkerneldriver" class="tsd-kind-icon">__attach<wbr>Kernel<wbr>Driver</a>
|
|
1235
|
-
</li>
|
|
1236
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1237
|
-
<a href="usb_bindings.device.html#__claiminterface" class="tsd-kind-icon">__claim<wbr>Interface</a>
|
|
1238
|
-
</li>
|
|
1239
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1240
|
-
<a href="usb_bindings.device.html#__clearhalt" class="tsd-kind-icon">__clear<wbr>Halt</a>
|
|
1241
|
-
</li>
|
|
1242
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1243
|
-
<a href="usb_bindings.device.html#__close" class="tsd-kind-icon">__close</a>
|
|
1244
|
-
</li>
|
|
1245
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1246
|
-
<a href="usb_bindings.device.html#__detachkerneldriver" class="tsd-kind-icon">__detach<wbr>Kernel<wbr>Driver</a>
|
|
1247
|
-
</li>
|
|
1248
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1249
|
-
<a href="usb_bindings.device.html#__getallconfigdescriptors" class="tsd-kind-icon">__get<wbr>All<wbr>Config<wbr>Descriptors</a>
|
|
1250
|
-
</li>
|
|
1251
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1252
|
-
<a href="usb_bindings.device.html#__getconfigdescriptor" class="tsd-kind-icon">__get<wbr>Config<wbr>Descriptor</a>
|
|
1253
|
-
</li>
|
|
1254
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1255
|
-
<a href="usb_bindings.device.html#__getparent" class="tsd-kind-icon">__get<wbr>Parent</a>
|
|
1256
|
-
</li>
|
|
1257
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1258
|
-
<a href="usb_bindings.device.html#__iskerneldriveractive" class="tsd-kind-icon">__is<wbr>Kernel<wbr>Driver<wbr>Active</a>
|
|
1259
|
-
</li>
|
|
1260
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1261
|
-
<a href="usb_bindings.device.html#__open" class="tsd-kind-icon">__open</a>
|
|
1262
|
-
</li>
|
|
1263
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1264
|
-
<a href="usb_bindings.device.html#__releaseinterface" class="tsd-kind-icon">__release<wbr>Interface</a>
|
|
1265
|
-
</li>
|
|
1266
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1267
|
-
<a href="usb_bindings.device.html#__setconfiguration" class="tsd-kind-icon">__set<wbr>Configuration</a>
|
|
1268
|
-
</li>
|
|
1269
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1270
|
-
<a href="usb_bindings.device.html#__setinterface" class="tsd-kind-icon">__set<wbr>Interface</a>
|
|
1271
|
-
</li>
|
|
1272
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
1273
|
-
<a href="usb_bindings.device.html#close" class="tsd-kind-icon">close</a>
|
|
1274
|
-
</li>
|
|
1275
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
1276
|
-
<a href="usb_bindings.device.html#controltransfer" class="tsd-kind-icon">control<wbr>Transfer</a>
|
|
1277
|
-
</li>
|
|
1278
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
1279
|
-
<a href="usb_bindings.device.html#getbosdescriptor" class="tsd-kind-icon">get<wbr>Bos<wbr>Descriptor</a>
|
|
1280
|
-
</li>
|
|
1281
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
1282
|
-
<a href="usb_bindings.device.html#getcapabilities" class="tsd-kind-icon">get<wbr>Capabilities</a>
|
|
1283
|
-
</li>
|
|
1284
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
1285
|
-
<a href="usb_bindings.device.html#getstringdescriptor" class="tsd-kind-icon">get<wbr>String<wbr>Descriptor</a>
|
|
1286
|
-
</li>
|
|
1287
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
1288
|
-
<a href="usb_bindings.device.html#interface" class="tsd-kind-icon">interface</a>
|
|
1289
|
-
</li>
|
|
1290
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
1291
|
-
<a href="usb_bindings.device.html#open" class="tsd-kind-icon">open</a>
|
|
1292
|
-
</li>
|
|
1293
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
1294
|
-
<a href="usb_bindings.device.html#reset" class="tsd-kind-icon">reset</a>
|
|
1295
|
-
</li>
|
|
1296
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
1297
|
-
<a href="usb_bindings.device.html#setconfiguration" class="tsd-kind-icon">set<wbr>Configuration</a>
|
|
1298
|
-
</li>
|
|
1299
|
-
</ul>
|
|
1300
|
-
</li>
|
|
1301
|
-
</ul>
|
|
1302
|
-
<ul class="after-current">
|
|
1303
|
-
</ul>
|
|
1304
|
-
</nav>
|
|
1305
|
-
</div>
|
|
1306
|
-
</div>
|
|
1307
|
-
</div>
|
|
1308
|
-
<footer>
|
|
1309
|
-
<div class="container">
|
|
1310
|
-
<h2>Legend</h2>
|
|
1311
|
-
<div class="tsd-legend-group">
|
|
1312
|
-
<ul class="tsd-legend">
|
|
1313
|
-
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
|
|
1314
|
-
<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
|
|
1315
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
|
|
1316
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
|
|
1317
|
-
</ul>
|
|
1318
|
-
<ul class="tsd-legend">
|
|
1319
|
-
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
|
|
1320
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
|
|
1321
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
|
|
1322
|
-
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
|
|
1323
|
-
</ul>
|
|
1324
|
-
<ul class="tsd-legend">
|
|
1325
|
-
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
|
|
1326
|
-
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
|
|
1327
|
-
<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
|
|
1328
|
-
</ul>
|
|
1329
|
-
<ul class="tsd-legend">
|
|
1330
|
-
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
|
|
1331
|
-
</ul>
|
|
1332
|
-
</div>
|
|
1333
|
-
</div>
|
|
1334
|
-
</footer>
|
|
1335
|
-
<div class="overlay"></div>
|
|
1336
|
-
<script src="../assets/js/main.js"></script>
|
|
1337
|
-
</body>
|
|
1338
|
-
</html>
|