# 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
…
- 186
- 187
- 188
- 189
- 190
…
- 311
- 312

1.4.2.3.2.13 USB_HID_DEVICE_ID Structure
File
usb_host_hid.h
Syntax
typedef struct _USB_HID_DEVICE_ID {
uint16_t vid;
uint16_t pid;
uint8_t deviceAddress;
uint8_t clientDriverID;
} USB_HID_DEVICE_ID;
Members
Members Description
uint16_t vid; Vendor ID of the device
uint16_t pid; Product ID of the device
uint8_t deviceAddress; Address of the device on the USB
uint8_t clientDriverID; Client driver ID for device requests
Description
HID Device ID Information
This structure contains identification information about an attached device.
1.4.2.3.2.14 USB_HID_DEVICE_RPT_INFO Structure
File
usb_host_hid_parser.h
Syntax
typedef struct _USB_HID_DEVICE_RPT_INFO {
uint16_t reportPollingRate;
uint8_t interfaceNumber;
bool haveDesignatorMax;
bool haveDesignatorMin;
bool haveStringMax;
bool haveStringMin;
bool haveUsageMax;
bool haveUsageMin;
uint16_t designatorMaximum;
uint16_t designatorMinimum;
uint16_t designatorRanges;
uint16_t designators;
uint16_t rangeUsagePage;
uint16_t stringMaximum;
uint16_t stringMinimum;
uint16_t stringRanges;
uint16_t usageMaximum;
uint16_t usageMinimum;
uint16_t usageRanges;
uint8_t collectionNesting;
uint8_t collections;
uint8_t designatorItems;
uint8_t firstUsageItem;
uint8_t firstDesignatorItem;
uint8_t firstStringItem;
uint8_t globalsNesting;
uint8_t maxCollectionNesting;
uint8_t maxGlobalsNesting;
uint8_t parent;
uint8_t reportItems;
uint8_t reports;
uint8_t sibling;
1.4 Library Interface MLA - USB Library Help Embedded Host API
188

- 1
- 2
…
- 186
- 187
- 188
- 189
- 190
…
- 311
- 312