Access Restricted

This page contains internal documentation that is not publicly available.


DHWCtrl.UsbHostTransferOut

OUT transfer on (Addr, Ep). Firmware sends Data and returns once the device has accepted all of it or TimeoutMs elapses.

Parameters (request frame)

Name Type/Size Description
Index Integer (8 bits) Zero-based instance index within this peripheral category. The valid range is firmware / hardware-variant specific; discoverable via ListPeripherals.
Addr Integer (8 bits) USB device address on the host port.
(Minimum value: 0, maximum value: 127)
Ep Integer (8 bits) USB endpoint number. Direction is implied by the command.
(Minimum value: 0, maximum value: 15)
Attr Enumeration (8 bits) Endpoint type for a USB host data transfer.
Values (3):
  • Bulk (0x00)
  • Interrupt (0x01)
  • Iso (0x02)
Mps Integer (16 bits) Endpoint's wMaxPacketSize (16-bit field per USB descriptor).
Length of Data Integer (16 bits) Length of Data in bytes
Data Raw data Bytes to send to the device on the OUT endpoint.
TimeoutMs Integer (16 bits) Maximum time the firmware will wait for the operation to complete, in milliseconds.

Returned values (response frame)

None