Vault 7: Projects

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

// endpoint HID_EP
USBInHandle =
HIDTxPacket(HID_EP,(uint8_t*)&ToSendDataBuffer[0],sizeof(ToSendDataBuffer));
}
Remarks
None
Preconditions
None
Parameters
Parameters Description
uint8_t ep the endpoint you want to send the data out of
uint8_t* data pointer to the data that you wish to send
uint16_t len the length of the data that you wish to send
Return Values
Return Values Description
USB_HANDLE a handle for the transfer. This information should be kept to
track the status of the transfer
Function
USB_HANDLE HIDTxPacket(uint8_t ep, uint8_t* data, uint16_t len)
1.4.1.4.2 Data Types and Constants
Macros
Name Description
BOOT_INTF_SUBCLASS HID Interface Class SubClass Codes
BOOT_PROTOCOL Protocol Selection
HID_PROTOCOL_KEYBOARD This is macro HID_PROTOCOL_KEYBOARD.
HID_PROTOCOL_MOUSE This is macro HID_PROTOCOL_MOUSE.
HID_PROTOCOL_NONE HID Interface Class Protocol Codes
Module
HID Function Driver
Description
1.4.1.4.2.1 BOOT_INTF_SUBCLASS Macro
File
usb_device_hid.h
Syntax
#define BOOT_INTF_SUBCLASS 0x01
Description
HID Interface Class SubClass Codes
1.4 Library Interface MLA - USB Library Help Device/Peripheral
91

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh