The USBDevice interface of the the WebUSB API provides access metadata about a paired USB device and methods for controlling
The USBDevice interface of the the WebUSB API provides access metadata about a paired USB device and methods for controlling
(claim-interface this interface-number)
Method.
The claimInterface() method of the web.USBDevice
interface
a web.promise
that resolves when the requested interface is
for exclusive access.
var promise = USBDevice.claimInterface(interfaceNumber)
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/claimInterface
Method. The claimInterface() method of the `web.USBDevice` interface a `web.promise` that resolves when the requested interface is for exclusive access. `var promise = USBDevice.claimInterface(interfaceNumber)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/claimInterface`
(clear-halt this direction endpoint-number)
Method.
The clearHalt() method of the web.USBDevice
interface returns
web.promise
that resolves when a halt condition is cleared.
halt condition is when a data tranfer to or from the device has
status of 'stall', which requires the web page (the host system,
USB terminology) to clear that condition. See the for details.
var promise = USBDevice.clearHalt(direction, endpointNumber)
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/clearHalt
Method. The clearHalt() method of the `web.USBDevice` interface returns `web.promise` that resolves when a halt condition is cleared. halt condition is when a data tranfer to or from the device has status of 'stall', which requires the web page (the host system, USB terminology) to clear that condition. See the for details. `var promise = USBDevice.clearHalt(direction, endpointNumber)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/clearHalt`
(close this)
Method.
The close() method of the web.USBDevice
interface returns a
that resolves when all open interfaces are released and the device
has ended.
var promise = USBDevice.close()
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/close
Method. The close() method of the `web.USBDevice` interface returns a that resolves when all open interfaces are released and the device has ended. `var promise = USBDevice.close()` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/close`
(configuration this)
Property.
The configuration read only property of the web.USBDevice
interface
a web.USBConfiguration
object for the currently selected interface
a paired USB device.
var USBConfiguration = USBDevice.configuration
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/configuration
Property. The configuration read only property of the `web.USBDevice` interface a `web.USBConfiguration` object for the currently selected interface a paired USB device. `var USBConfiguration = USBDevice.configuration` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/configuration`
(configurations this)
Property.
The configurations read only property of the web.USBDevice
an web.array
of device-specific interfaces for controlling
paired USB device.
var USBConfiguration[] = USBDevice.configurations
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/configurations
Property. The configurations read only property of the `web.USBDevice` an `web.array` of device-specific interfaces for controlling paired USB device. `var USBConfiguration[] = USBDevice.configurations` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/configurations`
(control-transfer-in this setup length)
Method.
The controlTransferIn() method of the web.USBDevice
interface
a web.promise
that resolves with a web.USBInTransferResult
a command or status operation has been transmitted to the USB
var promise = USBDevice.controlTransferIn(setup, length)
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/controlTransferIn
Method. The controlTransferIn() method of the `web.USBDevice` interface a `web.promise` that resolves with a `web.USBInTransferResult` a command or status operation has been transmitted to the USB `var promise = USBDevice.controlTransferIn(setup, length)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/controlTransferIn`
(control-transfer-out this setup data)
Method.
The controlTransferOut() method of the web.USBDevice
interface
a web.promise
that resolves with a web.USBOutTransferResult
a command or status operation has been transmitted from the USB
var promise = USBDevice.controlTransferOut(setup, data)
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/controlTransferOut
Method. The controlTransferOut() method of the `web.USBDevice` interface a `web.promise` that resolves with a `web.USBOutTransferResult` a command or status operation has been transmitted from the USB `var promise = USBDevice.controlTransferOut(setup, data)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/controlTransferOut`
(device-class this)
Property.
The deviceClass read only property of the web.USBDevice
interface
of three properties that identify USB devices for the purpose
loading a USB driver that will work with that device. The other
properties are USBDevice.deviceSubclass and USBDevice.deviceprotocol.
var number = USBDevice.deviceClass
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/USBDevice.deviceClass
Property. The deviceClass read only property of the `web.USBDevice` interface of three properties that identify USB devices for the purpose loading a USB driver that will work with that device. The other properties are USBDevice.deviceSubclass and USBDevice.deviceprotocol. `var number = USBDevice.deviceClass` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/USBDevice.deviceClass`
(device-protocol this)
Property.
The deviceProtocol read only property of the web.USBDevice
one of three properties that identify USB devices for the purpose
loading a USB driver that will work with that device. The other
properties are USBDevice.deviceClass and USBDevice.deviceSubclass.
var number = USBDevice.deviceProtocol
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceProtocol
Property. The deviceProtocol read only property of the `web.USBDevice` one of three properties that identify USB devices for the purpose loading a USB driver that will work with that device. The other properties are USBDevice.deviceClass and USBDevice.deviceSubclass. `var number = USBDevice.deviceProtocol` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceProtocol`
(device-subclass this)
Property.
The deviceSubclass read only property of the web.USBDevice
one of three properties that identify USB devices for the purpose
loading a USB driver that will work with that device. The other
properties are USBDevice.deviceClass and USBDevice.deviceProtocol.
var serialNumber = USBDevice.deviceSubclass
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceSubclass
Property. The deviceSubclass read only property of the `web.USBDevice` one of three properties that identify USB devices for the purpose loading a USB driver that will work with that device. The other properties are USBDevice.deviceClass and USBDevice.deviceProtocol. `var serialNumber = USBDevice.deviceSubclass` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceSubclass`
(device-version-major this)
Property.
The deviceVersionMajor read only property of the web.USBDevice
he major version number of the device in a semantic versioning
var serialNumber = USBDevice.deviceVersionMajor
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceVersionMajor
Property. The deviceVersionMajor read only property of the `web.USBDevice` he major version number of the device in a semantic versioning `var serialNumber = USBDevice.deviceVersionMajor` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceVersionMajor`
(device-version-minor this)
Property.
The deviceVersionMinor read only property of the web.USBDevice
the minor version number of the device in a semantic versioning
var serialNumber = USBDevice.deviceVersionMinor
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceVersionMinor
Property. The deviceVersionMinor read only property of the `web.USBDevice` the minor version number of the device in a semantic versioning `var serialNumber = USBDevice.deviceVersionMinor` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceVersionMinor`
(device-version-subminor this)
Property.
The deviceVersionSubminor read only property of the web.USBDevice
the patch version number of the device in a semantic versioning
var serialNumber = USBDevice.deviceVersionSubminor
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceVersionSubminor
Property. The deviceVersionSubminor read only property of the `web.USBDevice` the patch version number of the device in a semantic versioning `var serialNumber = USBDevice.deviceVersionSubminor` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceVersionSubminor`
(isochronous-transfer-in this endpoint-number packet-lengths)
Method.
The isochronousTransferIn() method of the web.USBDevice
interface
a web.promise
that resolves with a web.USBIsochronousInTransferResult
time sensitive information has been transmitted to the USB device.
var promise = USBDevice.isochronousTransferIn(endpointNumber, packetLengths)
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/isochronousTransferIn
Method. The isochronousTransferIn() method of the `web.USBDevice` interface a `web.promise` that resolves with a `web.USBIsochronousInTransferResult` time sensitive information has been transmitted to the USB device. `var promise = USBDevice.isochronousTransferIn(endpointNumber, packetLengths)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/isochronousTransferIn`
(isochronous-transfer-out this endpoint-number data packet-lengths)
Method.
The isochronousTransferOut() method of the web.USBDevice
interface
a web.promise
that resolves with a web.USBIsochronousOutTransferResult
time sensitive information has been transmitted from the USB
var promise = USBDevice.isochronousTransferOut(endpointNumber, data, packetLengths)
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/isochronousTransferOut
Method. The isochronousTransferOut() method of the `web.USBDevice` interface a `web.promise` that resolves with a `web.USBIsochronousOutTransferResult` time sensitive information has been transmitted from the USB `var promise = USBDevice.isochronousTransferOut(endpointNumber, data, packetLengths)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/isochronousTransferOut`
(manufacturer-name this)
Property.
The manufacturerName read only property of the web.USBDevice
the of the organization that manufactured the USB device.
var serialNumber = USBDevice.manufacturerName
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/manufacturerName
Property. The manufacturerName read only property of the `web.USBDevice` the of the organization that manufactured the USB device. `var serialNumber = USBDevice.manufacturerName` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/manufacturerName`
(open this)
Method.
The open() method of the web.USBDevice
interface returns a
that resolves when a device session has started.
var promise = USBDevice.open()
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/open
Method. The open() method of the `web.USBDevice` interface returns a that resolves when a device session has started. `var promise = USBDevice.open()` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/open`
(opened this)
Property.
The opened read only property of the web.USBDevice
interface
whether a session has been started with a paired USB device.
device must be opened before it can conrolled by a web page.
var serialNumber = USBDevice.opened
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/opened
Property. The opened read only property of the `web.USBDevice` interface whether a session has been started with a paired USB device. device must be opened before it can conrolled by a web page. `var serialNumber = USBDevice.opened` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/opened`
(product-id this)
Property.
The productID read only property of the web.USBDevice
interface
manufacturer-defined code that identifies a USB device.
var serialNumber = USBDevice.productID
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/productID
Property. The productID read only property of the `web.USBDevice` interface manufacturer-defined code that identifies a USB device. `var serialNumber = USBDevice.productID` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/productID`
(product-name this)
Property.
The productName read only property of the web.USBDevice
interface
manufacturer-defined name that identifies a USB device.
var serialNumber = USBDevice.productName
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/productName
Property. The productName read only property of the `web.USBDevice` interface manufacturer-defined name that identifies a USB device. `var serialNumber = USBDevice.productName` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/productName`
(release-interface this interface-number)
Method.
The releaseInterface() method of the web.USBDevice
interface
a web.promise
that resolves when a cliamed interface is released
exclusive access.
var promise = USBDevice.releaseInterface(interfaceNumber)
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/releaseInterface
Method. The releaseInterface() method of the `web.USBDevice` interface a `web.promise` that resolves when a cliamed interface is released exclusive access. `var promise = USBDevice.releaseInterface(interfaceNumber)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/releaseInterface`
(reset this)
Method.
The reset() method of the web.USBDevice
interface eturns a
that resolves when the device is reset and all app operations
and their promises rejected.
var promise = USBDevice.reset()
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/reset
Method. The reset() method of the `web.USBDevice` interface eturns a that resolves when the device is reset and all app operations and their promises rejected. `var promise = USBDevice.reset()` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/reset`
(select-alternate-interface this inerface-number alternate-setting)
Method.
The selectAlternateInterface() method of the web.USBDevice
returns a web.promise
that resolves when the specified alternative
is selected.
var promise = USBDevice.selectAlternateInterface(inerfaceNumber, alternateSetting)
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/selectAlternateInterface
Method. The selectAlternateInterface() method of the `web.USBDevice` returns a `web.promise` that resolves when the specified alternative is selected. `var promise = USBDevice.selectAlternateInterface(inerfaceNumber, alternateSetting)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/selectAlternateInterface`
(select-configuration this configuration-value)
Method.
The selectConfiguration() method of the web.USBDevice
interface
a web.promise
that resolves when the specified configuration
selected.
var promise = USBDevice.selectConfiguration(configurationValue)
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/selectConfiguration
Method. The selectConfiguration() method of the `web.USBDevice` interface a `web.promise` that resolves when the specified configuration selected. `var promise = USBDevice.selectConfiguration(configurationValue)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/selectConfiguration`
(serial-number this)
Property.
The serialNumber read only property of the web.USBDevice
interface
the manufacturer-defined serial number for the specific USB device.
var serialNumber = USBDevice.serialNumber
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/serialNumber
Property. The serialNumber read only property of the `web.USBDevice` interface the manufacturer-defined serial number for the specific USB device. `var serialNumber = USBDevice.serialNumber` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/serialNumber`
(set-configuration! this val)
Property.
The configuration read only property of the web.USBDevice
interface
a web.USBConfiguration
object for the currently selected interface
a paired USB device.
var USBConfiguration = USBDevice.configuration
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/configuration
Property. The configuration read only property of the `web.USBDevice` interface a `web.USBConfiguration` object for the currently selected interface a paired USB device. `var USBConfiguration = USBDevice.configuration` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/configuration`
(set-configurations! this val)
Property.
The configurations read only property of the web.USBDevice
an web.array
of device-specific interfaces for controlling
paired USB device.
var USBConfiguration[] = USBDevice.configurations
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/configurations
Property. The configurations read only property of the `web.USBDevice` an `web.array` of device-specific interfaces for controlling paired USB device. `var USBConfiguration[] = USBDevice.configurations` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/configurations`
(set-device-class! this val)
Property.
The deviceClass read only property of the web.USBDevice
interface
of three properties that identify USB devices for the purpose
loading a USB driver that will work with that device. The other
properties are USBDevice.deviceSubclass and USBDevice.deviceprotocol.
var number = USBDevice.deviceClass
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/USBDevice.deviceClass
Property. The deviceClass read only property of the `web.USBDevice` interface of three properties that identify USB devices for the purpose loading a USB driver that will work with that device. The other properties are USBDevice.deviceSubclass and USBDevice.deviceprotocol. `var number = USBDevice.deviceClass` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/USBDevice.deviceClass`
(set-device-protocol! this val)
Property.
The deviceProtocol read only property of the web.USBDevice
one of three properties that identify USB devices for the purpose
loading a USB driver that will work with that device. The other
properties are USBDevice.deviceClass and USBDevice.deviceSubclass.
var number = USBDevice.deviceProtocol
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceProtocol
Property. The deviceProtocol read only property of the `web.USBDevice` one of three properties that identify USB devices for the purpose loading a USB driver that will work with that device. The other properties are USBDevice.deviceClass and USBDevice.deviceSubclass. `var number = USBDevice.deviceProtocol` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceProtocol`
(set-device-subclass! this val)
Property.
The deviceSubclass read only property of the web.USBDevice
one of three properties that identify USB devices for the purpose
loading a USB driver that will work with that device. The other
properties are USBDevice.deviceClass and USBDevice.deviceProtocol.
var serialNumber = USBDevice.deviceSubclass
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceSubclass
Property. The deviceSubclass read only property of the `web.USBDevice` one of three properties that identify USB devices for the purpose loading a USB driver that will work with that device. The other properties are USBDevice.deviceClass and USBDevice.deviceProtocol. `var serialNumber = USBDevice.deviceSubclass` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceSubclass`
(set-device-version-major! this val)
Property.
The deviceVersionMajor read only property of the web.USBDevice
he major version number of the device in a semantic versioning
var serialNumber = USBDevice.deviceVersionMajor
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceVersionMajor
Property. The deviceVersionMajor read only property of the `web.USBDevice` he major version number of the device in a semantic versioning `var serialNumber = USBDevice.deviceVersionMajor` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceVersionMajor`
(set-device-version-minor! this val)
Property.
The deviceVersionMinor read only property of the web.USBDevice
the minor version number of the device in a semantic versioning
var serialNumber = USBDevice.deviceVersionMinor
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceVersionMinor
Property. The deviceVersionMinor read only property of the `web.USBDevice` the minor version number of the device in a semantic versioning `var serialNumber = USBDevice.deviceVersionMinor` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceVersionMinor`
(set-device-version-subminor! this val)
Property.
The deviceVersionSubminor read only property of the web.USBDevice
the patch version number of the device in a semantic versioning
var serialNumber = USBDevice.deviceVersionSubminor
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceVersionSubminor
Property. The deviceVersionSubminor read only property of the `web.USBDevice` the patch version number of the device in a semantic versioning `var serialNumber = USBDevice.deviceVersionSubminor` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/deviceVersionSubminor`
(set-manufacturer-name! this val)
Property.
The manufacturerName read only property of the web.USBDevice
the of the organization that manufactured the USB device.
var serialNumber = USBDevice.manufacturerName
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/manufacturerName
Property. The manufacturerName read only property of the `web.USBDevice` the of the organization that manufactured the USB device. `var serialNumber = USBDevice.manufacturerName` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/manufacturerName`
(set-opened! this val)
Property.
The opened read only property of the web.USBDevice
interface
whether a session has been started with a paired USB device.
device must be opened before it can conrolled by a web page.
var serialNumber = USBDevice.opened
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/opened
Property. The opened read only property of the `web.USBDevice` interface whether a session has been started with a paired USB device. device must be opened before it can conrolled by a web page. `var serialNumber = USBDevice.opened` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/opened`
(set-product-id! this val)
Property.
The productID read only property of the web.USBDevice
interface
manufacturer-defined code that identifies a USB device.
var serialNumber = USBDevice.productID
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/productID
Property. The productID read only property of the `web.USBDevice` interface manufacturer-defined code that identifies a USB device. `var serialNumber = USBDevice.productID` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/productID`
(set-product-name! this val)
Property.
The productName read only property of the web.USBDevice
interface
manufacturer-defined name that identifies a USB device.
var serialNumber = USBDevice.productName
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/productName
Property. The productName read only property of the `web.USBDevice` interface manufacturer-defined name that identifies a USB device. `var serialNumber = USBDevice.productName` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/productName`
(set-serial-number! this val)
Property.
The serialNumber read only property of the web.USBDevice
interface
the manufacturer-defined serial number for the specific USB device.
var serialNumber = USBDevice.serialNumber
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/serialNumber
Property. The serialNumber read only property of the `web.USBDevice` interface the manufacturer-defined serial number for the specific USB device. `var serialNumber = USBDevice.serialNumber` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/serialNumber`
(set-usb-version-major! this val)
Property.
The usbVersionMajor read only property of the web.USBDevice
is one of three properties that declare the USB protocol version
by the device. The other two properties are USBDevice.usbVersionMinor
USBDevice.usbVersionSubminor.
var serialNumber = USBDevice.usbVersionMajor
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/usbVersionMajor
Property. The usbVersionMajor read only property of the `web.USBDevice` is one of three properties that declare the USB protocol version by the device. The other two properties are USBDevice.usbVersionMinor USBDevice.usbVersionSubminor. `var serialNumber = USBDevice.usbVersionMajor` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/usbVersionMajor`
(set-usb-version-minor! this val)
Property.
The usbVersionMinor read only property of the web.USBDevice
is one of three properties that declare the USB protocol version
by the device. The other two properties are USBDevice.usbVersionMajor
USBDevice.usbVersionSubminor.
var serialNumber = USBDevice.usbVersionMinor
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/usbVersionMinor
Property. The usbVersionMinor read only property of the `web.USBDevice` is one of three properties that declare the USB protocol version by the device. The other two properties are USBDevice.usbVersionMajor USBDevice.usbVersionSubminor. `var serialNumber = USBDevice.usbVersionMinor` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/usbVersionMinor`
(set-usb-version-subminor! this val)
Property.
The usbVersionSubminor read only property of the web.USBDevice
is one of three properties that declare the USB protocol version
by the device. The other two properties are USBDevice.usbVersionMajor
USBDevice.usbVersionMinor.
var serialNumber = USBDevice.usbVersionSubminor
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/usbVersionSubminor
Property. The usbVersionSubminor read only property of the `web.USBDevice` is one of three properties that declare the USB protocol version by the device. The other two properties are USBDevice.usbVersionMajor USBDevice.usbVersionMinor. `var serialNumber = USBDevice.usbVersionSubminor` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/usbVersionSubminor`
(set-vendor-id! this val)
Property.
The vendorID read only property of the web.USBDevice
interface
the official usg.org-assigned vendor ID.
var serialNumber = USBDevice.vendorID
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/vendorID
Property. The vendorID read only property of the `web.USBDevice` interface the official usg.org-assigned vendor ID. `var serialNumber = USBDevice.vendorID` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/vendorID`
(transfer-in this endpoint-number length)
Method.
The transferIn() method of the web.USBDevice
interface returns
web.promise
that resolves with a web.USBTransferInResult
bulk or interrupt data is transmitted to the USB device.
var promise = USBDevice.transferIn(endpointNumber, length)
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/transferIn
Method. The transferIn() method of the `web.USBDevice` interface returns `web.promise` that resolves with a `web.USBTransferInResult` bulk or interrupt data is transmitted to the USB device. `var promise = USBDevice.transferIn(endpointNumber, length)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/transferIn`
(transfer-out this endpoint-number data)
Method.
The transferOut() method of the web.USBDevice
interface returns
web.promise
that resolves with a web.USBTransferOutResult
bulk or interrupt data is transmitted from the USB device.
var promise = USBDevice.transferOut(endpointNumber, data)
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/transferOut
Method. The transferOut() method of the `web.USBDevice` interface returns `web.promise` that resolves with a `web.USBTransferOutResult` bulk or interrupt data is transmitted from the USB device. `var promise = USBDevice.transferOut(endpointNumber, data)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/transferOut`
(usb-version-major this)
Property.
The usbVersionMajor read only property of the web.USBDevice
is one of three properties that declare the USB protocol version
by the device. The other two properties are USBDevice.usbVersionMinor
USBDevice.usbVersionSubminor.
var serialNumber = USBDevice.usbVersionMajor
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/usbVersionMajor
Property. The usbVersionMajor read only property of the `web.USBDevice` is one of three properties that declare the USB protocol version by the device. The other two properties are USBDevice.usbVersionMinor USBDevice.usbVersionSubminor. `var serialNumber = USBDevice.usbVersionMajor` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/usbVersionMajor`
(usb-version-minor this)
Property.
The usbVersionMinor read only property of the web.USBDevice
is one of three properties that declare the USB protocol version
by the device. The other two properties are USBDevice.usbVersionMajor
USBDevice.usbVersionSubminor.
var serialNumber = USBDevice.usbVersionMinor
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/usbVersionMinor
Property. The usbVersionMinor read only property of the `web.USBDevice` is one of three properties that declare the USB protocol version by the device. The other two properties are USBDevice.usbVersionMajor USBDevice.usbVersionSubminor. `var serialNumber = USBDevice.usbVersionMinor` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/usbVersionMinor`
(usb-version-subminor this)
Property.
The usbVersionSubminor read only property of the web.USBDevice
is one of three properties that declare the USB protocol version
by the device. The other two properties are USBDevice.usbVersionMajor
USBDevice.usbVersionMinor.
var serialNumber = USBDevice.usbVersionSubminor
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/usbVersionSubminor
Property. The usbVersionSubminor read only property of the `web.USBDevice` is one of three properties that declare the USB protocol version by the device. The other two properties are USBDevice.usbVersionMajor USBDevice.usbVersionMinor. `var serialNumber = USBDevice.usbVersionSubminor` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/usbVersionSubminor`
(vendor-id this)
Property.
The vendorID read only property of the web.USBDevice
interface
the official usg.org-assigned vendor ID.
var serialNumber = USBDevice.vendorID
See also: https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/vendorID
Property. The vendorID read only property of the `web.USBDevice` interface the official usg.org-assigned vendor ID. `var serialNumber = USBDevice.vendorID` See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/vendorID`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close