Skip to main content
LLYC.1
Associate
March 24, 2021
Solved

USB custom HID increase report Size more than 255 bytes?

  • March 24, 2021
  • 3 replies
  • 1118 views

..

This topic has been closed for replies.
Best answer by LLYC.1

0693W000008xqxjQAA.jpg

3 replies

LLYC.1
LLYC.1AuthorBest answer
Associate
March 25, 2021

0693W000008xqxjQAA.jpg

Technical Moderator
March 25, 2021

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

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

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
TPham.4
Associate
April 1, 2021

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.