Line 30:
Line 30:
uint8_t if_protocol; /* Interface protocol */
uint8_t if_protocol; /* Interface protocol */
} UhsInterfaceFilter;
} UhsInterfaceFilter;
+
+
/* USB interface descriptor */
+
typedef struct
+
{
+
uint8_t bLength;
+
uint8_t bDescriptorType;
+
uint8_t bInterfaceNumber;
+
uint8_t bAlternateSetting;
+
uint8_t bNumEndpoints;
+
uint8_t bInterfaceClass;
+
uint8_t bInterfaceSubClass;
+
uint8_t bInterfaceProtocol;
+
uint8_t iInterface;
+
} UhsInterfaceDescriptor;
/* Output buffer */
/* Output buffer */
Line 37:
Line 51:
char unknown4[0x30 - 0x4];
char unknown4[0x30 - 0x4];
uint16_t vid, pid;
uint16_t vid, pid;
−
char unknown34[0x48 - 0x34];
+
char unknown34[0x43 - 0x34];
−
uint8_t class;
+
UhsInterfaceDescriptor if_desc;
−
char unknown49[0x16c - 0x49];
+
char unknown49[0x16c - 0x4c];
−
} UhsInterfaceDescriptor;
+
} UhsInterfaceProfile;
</syntaxhighlight>
</syntaxhighlight>