Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
// as well as the first byte of the string itself
}
break;
}
USBTasks();
}
Remarks
The returned string descriptor will be in the exact format as obtained from the device. The length of the entire descriptor will
be in the first byte, and the descriptor type will be in the second. The string itself is represented in UNICODE. Refer to the
USB 2.0 Specification for more information about the format of string descriptors.
Preconditions
None
Parameters
Parameters Description
deviceAddress Address of the device
stringNumber Index of the desired string descriptor
LangID The Language ID of the string to read (should be 0 if trying to
read the language ID list
*stringDescriptor Pointer to where to store the string.
stringLength Maximum length of the returned string.
clientDriverID Client driver to return the completion event to.
Return Values
Return Values Description
USB_SUCCESS The request was started successfully.
USB_UNKNOWN_DEVICE Device not found
USB_INVALID_STATE We must be in a normal running state.
USB_ENDPOINT_BUSY The endpoint is currently processing a request.
Function
uint8_t USBHostGetStringDescriptor ( uint8_t deviceAddress, uint8_t stringNumber,
uint8_t LangID, uint8_t *stringDescriptor, uint8_t stringLength,
uint8_t clientDriverID )
1.4.2.1.1.27 USBHostReadIsochronous Macro
This function initiates a read from an isochronous endpoint on the attached device.
File
usb_host.h
Syntax
#define USBHostReadIsochronous( a, e, p ) USBHostRead( a, e, (uint8_t *)p, (uint32_t)0 );
Description
This function initiates a read from an isochronous endpoint on the attached device. If the endpoint is not isochronous, use
USBHostRead().
Once started, an isochronous transfer will continue with no upper layer intervention until USBHostTerminateTransfer() is
called.
Remarks
None
1.4 Library Interface MLA - USB Library Help Embedded Host API
119
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_usb.pdf