# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Protego

# MLA -- USB Library

20 December, 2013

- 1
- 2
…
- 184
- 185
- 186
- 187
- 188
…
- 311
- 312

Description
HID Report Details
This structure contains information about each Report encountered in the report descriptor.
1.4.2.3.2.8 HID_STRINGITEM Structure
File
usb_host_hid_parser.h
Syntax
typedef struct _HID_STRINGITEM {
bool isRange;
uint16_t index;
uint16_t minimum;
uint16_t maximum;
} HID_STRINGITEM, HID_DESIGITEM;
Members
Members Description
bool isRange; If range of String Item is valid
uint16_t index; String index for a String descriptor; allows a string to be
associated with a particular item or control
uint16_t minimum; Specifies the first string index when assigning a group of
sequential strings to controls in an array or bitmap
uint16_t maximum; Specifies the last string index when assigning a group of
sequential strings to controls in an array or bitmap
Description
HID String Item Details
This structure contains information about each Report encountered in the report descriptor.
1.4.2.3.2.9 HID_TRANSFER_DATA Structure
File
usb_host_hid.h
Syntax
typedef struct _HID_TRANSFER_DATA {
uint32_t dataCount;
uint8_t bErrorCode;
} HID_TRANSFER_DATA;
Members
Members Description
uint32_t dataCount; Count of bytes transferred.
uint8_t bErrorCode; Transfer error code.
Description
HID Transfer Information
This structure is used when the event handler is used to notify the upper layer of transfer completion
(EVENT_HID_READ_DONE or EVENT_HID_WRITE_DONE).
1.4 Library Interface MLA - USB Library Help Embedded Host API
186

- 1
- 2
…
- 184
- 185
- 186
- 187
- 188
…
- 311
- 312