Liking cljdoc? Tell your friends :D

web.usb.USBDevice

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
raw docstring

claim-interfacecljs

(claim-interface this interface-number)

Method.

The claimInterface() method of the web.usb.USBDevice interface a promise that resolves when the requested interface is claimed 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.usb.USBDevice` interface
a `promise` that resolves when the requested interface is claimed
exclusive access.

`var promise = USBDevice.claimInterface(interfaceNumber)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/claimInterface`
sourceraw docstring

clear-haltcljs

(clear-halt this direction endpoint-number)

Method.

The clearHalt() method of the web.usb.USBDevice interface returns promise that resolves when a halt condition is cleared. A halt is when a data tranfer to or from the device has a status of which requires the web page (the host system, in USB terminology) 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.usb.USBDevice` interface returns
`promise` that resolves when a halt condition is cleared. A halt
is when a data tranfer to or from the device has a status of
which requires the web page (the host system, in USB terminology)
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`
sourceraw docstring

closecljs

(close this)

Method.

The close() method of the web.usb.USBDevice interface returns promise that resolves when all open interfaces are released the device session 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.usb.USBDevice` interface returns
`promise` that resolves when all open interfaces are released
the device session has ended.

`var promise = USBDevice.close()`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/close`
sourceraw docstring

configurationcljs

(configuration this)

Property.

The configuration read only property of the web.usb.USBDevice returns a USBConfiguration object for the currently selected for 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.usb.USBDevice`
returns a `USBConfiguration` object for the currently selected
for a paired USB device.

`var USBConfiguration = USBDevice.configuration`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/configuration`
sourceraw docstring

configurationscljs

(configurations this)

Property.

The configurations read only property of the web.usb.USBDevice an array of device-specific interfaces for controlling a paired 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.usb.USBDevice`
an `array` of device-specific interfaces for controlling a paired
device.

`var USBConfiguration[] = USBDevice.configurations`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/configurations`
sourceraw docstring

control-transfer-incljs

(control-transfer-in this setup length)

Method.

The controlTransferIn() method of the web.usb.USBDevice interface a promise that resolves with a USBInTransferResult when a or status operation has been transmitted to the USB device.

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.usb.USBDevice` interface
a `promise` that resolves with a `USBInTransferResult` when a
or status operation has been transmitted to the USB device.

`var promise = USBDevice.controlTransferIn(setup, length)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/controlTransferIn`
sourceraw docstring

control-transfer-outcljs

(control-transfer-out this setup data)

Method.

The controlTransferOut() method of the web.usb.USBDevice interface a promise that resolves with a USBOutTransferResult when 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.usb.USBDevice` interface
a `promise` that resolves with a `USBOutTransferResult` when
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`
sourceraw docstring

device-classcljs

(device-class this)

Property.

The deviceClass read only property of the web.usb.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.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.usb.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.deviceSubclass and USBDevice.deviceprotocol.

`var number = USBDevice.deviceClass`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/USBDevice.deviceClass`
sourceraw docstring

device-protocolcljs

(device-protocol this)

Property.

The deviceProtocol read only property of the web.usb.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.usb.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`
sourceraw docstring

device-subclasscljs

(device-subclass this)

Property.

The deviceSubclass read only property of the web.usb.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.usb.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`
sourceraw docstring

device-version-majorcljs

(device-version-major this)

Property.

The deviceVersionMajor read only property of the web.usb.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.usb.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`
sourceraw docstring

device-version-minorcljs

(device-version-minor this)

Property.

The deviceVersionMinor read only property of the web.usb.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.usb.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`
sourceraw docstring

device-version-subminorcljs

(device-version-subminor this)

Property.

The deviceVersionSubminor read only property of the web.usb.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.usb.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`
sourceraw docstring

isochronous-transfer-incljs

(isochronous-transfer-in this endpoint-number packet-lengths)

Method.

The isochronousTransferIn() method of the web.usb.USBDevice returns a promise that resolves with a 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.usb.USBDevice`
returns a `promise` that resolves with a `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`
sourceraw docstring

isochronous-transfer-outcljs

(isochronous-transfer-out this endpoint-number data packet-lengths)

Method.

The isochronousTransferOut() method of the web.usb.USBDevice returns a promise that resolves with a 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.usb.USBDevice`
returns a `promise` that resolves with a `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`
sourceraw docstring

manufacturer-namecljs

(manufacturer-name this)

Property.

The manufacturerName read only property of the web.usb.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.usb.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`
sourceraw docstring

opencljs

(open this)

Method.

The open() method of the web.usb.USBDevice interface returns promise 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.usb.USBDevice` interface returns
`promise` 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`
sourceraw docstring

openedcljs

(opened this)

Property.

The opened read only property of the web.usb.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.usb.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`
sourceraw docstring

product-idcljs

(product-id this)

Property.

The productID read only property of the web.usb.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.usb.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`
sourceraw docstring

product-namecljs

(product-name this)

Property.

The productName read only property of the web.usb.USBDevice the 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.usb.USBDevice`
the 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`
sourceraw docstring

release-interfacecljs

(release-interface this interface-number)

Method.

The releaseInterface() method of the web.usb.USBDevice interface a 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.usb.USBDevice` interface
a `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`
sourceraw docstring

resetcljs

(reset this)

Method.

The reset() method of the web.usb.USBDevice interface eturns promise that resolves when the device is reset and all app canceled 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.usb.USBDevice` interface eturns
`promise` that resolves when the device is reset and all app
canceled and their promises rejected.

`var promise = USBDevice.reset()`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/reset`
sourceraw docstring

select-alternate-interfacecljs

(select-alternate-interface this inerface-number alternate-setting)

Method.

The selectAlternateInterface() method of the web.usb.USBDevice returns a 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.usb.USBDevice`
returns a `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`
sourceraw docstring

select-configurationcljs

(select-configuration this configuration-value)

Method.

The selectConfiguration() method of the web.usb.USBDevice interface a promise that resolves when the specified configuration is

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.usb.USBDevice` interface
a `promise` that resolves when the specified configuration is

`var promise = USBDevice.selectConfiguration(configurationValue)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/selectConfiguration`
sourceraw docstring

serial-numbercljs

(serial-number this)

Property.

The serialNumber read only property of the web.usb.USBDevice is the manufacturer-defined serial number for the specific USB

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.usb.USBDevice`
is the manufacturer-defined serial number for the specific USB

`var serialNumber = USBDevice.serialNumber`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/serialNumber`
sourceraw docstring

set-configuration!cljs

(set-configuration! this val)

Property.

The configuration read only property of the web.usb.USBDevice returns a USBConfiguration object for the currently selected for 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.usb.USBDevice`
returns a `USBConfiguration` object for the currently selected
for a paired USB device.

`var USBConfiguration = USBDevice.configuration`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/configuration`
sourceraw docstring

set-configurations!cljs

(set-configurations! this val)

Property.

The configurations read only property of the web.usb.USBDevice an array of device-specific interfaces for controlling a paired 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.usb.USBDevice`
an `array` of device-specific interfaces for controlling a paired
device.

`var USBConfiguration[] = USBDevice.configurations`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/configurations`
sourceraw docstring

set-device-class!cljs

(set-device-class! this val)

Property.

The deviceClass read only property of the web.usb.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.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.usb.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.deviceSubclass and USBDevice.deviceprotocol.

`var number = USBDevice.deviceClass`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/USBDevice.deviceClass`
sourceraw docstring

set-device-protocol!cljs

(set-device-protocol! this val)

Property.

The deviceProtocol read only property of the web.usb.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.usb.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`
sourceraw docstring

set-device-subclass!cljs

(set-device-subclass! this val)

Property.

The deviceSubclass read only property of the web.usb.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.usb.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`
sourceraw docstring

set-device-version-major!cljs

(set-device-version-major! this val)

Property.

The deviceVersionMajor read only property of the web.usb.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.usb.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`
sourceraw docstring

set-device-version-minor!cljs

(set-device-version-minor! this val)

Property.

The deviceVersionMinor read only property of the web.usb.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.usb.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`
sourceraw docstring

set-device-version-subminor!cljs

(set-device-version-subminor! this val)

Property.

The deviceVersionSubminor read only property of the web.usb.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.usb.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`
sourceraw docstring

set-manufacturer-name!cljs

(set-manufacturer-name! this val)

Property.

The manufacturerName read only property of the web.usb.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.usb.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`
sourceraw docstring

set-opened!cljs

(set-opened! this val)

Property.

The opened read only property of the web.usb.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.usb.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`
sourceraw docstring

set-product-id!cljs

(set-product-id! this val)

Property.

The productID read only property of the web.usb.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.usb.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`
sourceraw docstring

set-product-name!cljs

(set-product-name! this val)

Property.

The productName read only property of the web.usb.USBDevice the 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.usb.USBDevice`
the 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`
sourceraw docstring

set-serial-number!cljs

(set-serial-number! this val)

Property.

The serialNumber read only property of the web.usb.USBDevice is the manufacturer-defined serial number for the specific USB

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.usb.USBDevice`
is the manufacturer-defined serial number for the specific USB

`var serialNumber = USBDevice.serialNumber`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/USBDevice/serialNumber`
sourceraw docstring

set-usb-version-major!cljs

(set-usb-version-major! this val)

Property.

The usbVersionMajor read only property of the web.usb.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.usb.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`
sourceraw docstring

set-usb-version-minor!cljs

(set-usb-version-minor! this val)

Property.

The usbVersionMinor read only property of the web.usb.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.usb.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`
sourceraw docstring

set-usb-version-subminor!cljs

(set-usb-version-subminor! this val)

Property.

The usbVersionSubminor read only property of the web.usb.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.usb.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`
sourceraw docstring

set-vendor-id!cljs

(set-vendor-id! this val)

Property.

The vendorID read only property of the web.usb.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.usb.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`
sourceraw docstring

transfer-incljs

(transfer-in this endpoint-number length)

Method.

The transferIn() method of the web.usb.USBDevice interface a promise that resolves with a USBTransferInResult when bulk 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.usb.USBDevice` interface
a `promise` that resolves with a `USBTransferInResult` when bulk
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`
sourceraw docstring

transfer-outcljs

(transfer-out this endpoint-number data)

Method.

The transferOut() method of the web.usb.USBDevice interface a promise that resolves with a USBTransferOutResult when 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.usb.USBDevice` interface
a `promise` that resolves with a `USBTransferOutResult` when
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`
sourceraw docstring

usb-version-majorcljs

(usb-version-major this)

Property.

The usbVersionMajor read only property of the web.usb.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.usb.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`
sourceraw docstring

usb-version-minorcljs

(usb-version-minor this)

Property.

The usbVersionMinor read only property of the web.usb.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.usb.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`
sourceraw docstring

usb-version-subminorcljs

(usb-version-subminor this)

Property.

The usbVersionSubminor read only property of the web.usb.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.usb.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`
sourceraw docstring

vendor-idcljs

(vendor-id this)

Property.

The vendorID read only property of the web.usb.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.usb.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`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close