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.
Vendor-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.
|WebUSB API |
BCD tables only load in the browser