Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
controlTransferIn() method of the
USBDevice interface returns a
Promise that resolves with a
USBInTransferResult when a command or status request has been transmitted to (received by) the USB device.
An object that sets options for. The available options are:
Must be one of three values specifying whether the transfer is
"standard"(common to all USB devices)
"class"(common to an industry-standard class of devices) or
Specifies the target of the transfer on the device, one of
A vendor-specific command.
Vender-specific request parameters.
The interface number of the recipient.
The maximum number of bytes to read from the device. The actual data is in the
USBInTransferResultin the resolved Promise.
promise that resolves with a
|WebUSB API |
BCD tables only load in the browser