cancel
Showing results for 
Search instead for 
Did you mean: 

USB custom HID increase report Size more than 255 bytes?

LLYC.1
Associate II
 
1 ACCEPTED SOLUTION

Accepted Solutions
LLYC.1
Associate II
3 REPLIES 3
LLYC.1
Associate II

0693W000008xqxjQAA.jpg

Imen.D
ST Employee

Hello @LLYC.1​ and welcome to the STM32 Community 🙂

The max descriptor size is 255. This is specific to the USB protocol.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
TPham.4
Associate II

I notice the comment is incorrect. At first I thought this is to increase the size of the IN/OUT Endpoint but is is actually increasing the size of the descriptor. And the generated code is incorrect. It still left at 2.

It seems to be a bug in CubeMX.