Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
1.4.2.3.4 usb_host_hid_parser.h
Enumerations
Name Description
HIDReportTypeEnum This is type HIDReportTypeEnum.
USB_HID_RPT_DESC_ERROR HID parser error codes
This enumerates the error encountered during the parsing of report
descriptor. In case of any error parsing is sttopped and the error is
flagged. Device is not attched successfully.
Functions
Name Description
USBHostHID_HasUsage This function is used to locate the usage in a report descriptor. Function
will look into the data structures created by the HID parser and return the
appropriate location.
Module
HID Client Driver
Structures
Name Description
_HID_COLLECTION HID Collection Details
This structure contains information about each collection encountered in
the report descriptor.
_HID_GLOBALS HID Global Item Information
This structure contains information about each Global Item of the report
descriptor.
_HID_ITEM_INFO HID Item Information
This structure contains information about each Item of the report
descriptor.
_HID_REPORT HID Report details
This structure contains information about each report exchanged with the
device.
_HID_REPORTITEM HID Report Details
This structure contains information about each Report encountered in the
report descriptor.
_HID_STRINGITEM HID String Item Details
This structure contains information about each Report encountered in the
report descriptor.
_HID_USAGEITEM HID Report Details
This structure contains information about each Usage Item encountered
in the report descriptor.
_USB_HID_DEVICE_RPT_INFO Report Descriptor Information
This structure contains top level information of the report descriptor. This
information is important and is used to understand the information during
th ecourse of parsing. This structure also stores temporary data needed
during parsing the report descriptor. All of this information may not be of
much inportance to the application.
_USB_HID_ITEM_LIST List of Items
This structure contains array of pointers to all the Items in the report
descriptor. HID parser will populate the lists while parsing the report
descriptor. This data is used by interface functions provided in file
usb_host_hid_interface.c to retrive data from the report received from the
device. Application can also access these details to retreive the intended
information incase provided interface function fail to do so.
1.4 Library Interface MLA - USB Library Help Embedded Host API
201
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_usb.pdf