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.
Properties
- Command code: 0xE129
- Command timeout: 100 ms
- Possible status codes: General status codes, DHWCtrl.ErrInvalidIndex, DHWCtrl.ErrNotActive, DHWCtrl.ErrUsbNotConnected, DHWCtrl.ErrUsbStall, DHWCtrl.ErrUsbTransfer, DHWCtrl.ErrUsbBufferOverflow, DHWCtrl.ErrTimeout, DHWCtrl.ErrInvalidParam, DHWCtrl.ErrHardware
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):
|
|
| 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