# 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
…
- 144
- 145
- 146
- 147
- 148
…
- 311
- 312

uint8_t bDscSubType; Call Management functional descriptor subtype, as defined
in [USBCDC1.2].
uint8_t bmCapabilities; The capabilities that this configuration supports:
uint8_t bDataInterface; Interface number of Data Class interface optionally used for
call management.
Description
Call Management Functional Descriptor
1.4.2.2.2.5 USB_CDC_CONTROL_SIGNAL_BITMAP Union
File
usb_host_cdc.h
Syntax
typedef union _USB_CDC_CONTROL_SIGNAL_BITMAP {
uint8_t _uint8_t;
struct {
unsigned DTE_PRESENT : 1;
unsigned CARRIER_CONTROL : 1;
}
} USB_CDC_CONTROL_SIGNAL_BITMAP;
Members
Members Description
unsigned DTE_PRESENT : 1; 0] Not Present [1] Present
unsigned CARRIER_CONTROL : 1; 0] Deactivate [1] Activate
Description
This is type USB_CDC_CONTROL_SIGNAL_BITMAP.
1.4.2.2.2.6 USB_CDC_DEVICE_INFO Structure
File
usb_host_cdc.h
Syntax
typedef struct _USB_CDC_DEVICE_INFO {
uint8_t* userData;
uint16_t reportSize;
uint16_t remainingBytes;
uint16_t bytesTransferred;
union {
struct {
uint8_t bfDirection : 1;
uint8_t bfReset : 1;
uint8_t bfClearDataIN : 1;
uint8_t bfClearDataOUT : 1;
}
uint8_t val;
} flags;
uint8_t driverSupported;
uint8_t deviceAddress;
uint8_t errorCode;
uint8_t state;
uint8_t returnState;
uint8_t noOfInterfaces;
uint8_t interface;
uint8_t endpointDATA;
uint8_t commRequest;
uint8_t clientDriverID;
COMM_INTERFACE_DETAILS commInterface;
1.4 Library Interface MLA - USB Library Help Embedded Host API
146

- 1
- 2
…
- 144
- 145
- 146
- 147
- 148
…
- 311
- 312