Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
Preconditions
None
Parameters
Parameters Description
uint8_t deviceAddress Address of the attached device.
Return Values
Return Values Description
TRUE HID present and ready
FALSE HID not present or not ready
Function
bool USBHostHIDDeviceDetect( uint8_t deviceAddress )
1.4.2.3.1.7 USBHostHIDDeviceStatus Function
File
usb_host_hid.h
Syntax
uint8_t USBHostHIDDeviceStatus(uint8_t deviceAddress);
Description
This function determines the status of a HID device.
Remarks
None
Preconditions
None
Parameters
Parameters Description
uint8_t deviceAddress address of device to query
Return Values
Return Values Description
USB_HID_DEVICE_NOT_FOUND Illegal device address, or the device is not an HID
USB_HID_INITIALIZING HID is attached and in the process of initializing
USB_PROCESSING_REPORT_DESCRIPTOR HID device is detected and report descriptor is being parsed
USB_HID_NORMAL_RUNNING HID Device is running normal, ready to send and receive
reports
USB_HID_DEVICE_HOLDING Driver has encountered error and could not recover
USB_HID_DEVICE_DETACHED HID detached.
Function
uint8_t USBHostHIDDeviceStatus( uint8_t deviceAddress )
1.4.2.3.1.8 USBHostHIDEventHandler Function
This function is the event handler for this client driver.
File
usb_host_hid.h
1.4 Library Interface MLA - USB Library Help Embedded Host API
170
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_usb.pdf