Resolved! How to transmit and receive data with USB Custom HID device?
I am using a custom board with a STM32F4. It seems that I can receive the data through this function that is called by interrupt and adding the pointer read_buffer, that I use inside the RxUSB() function to get the data and do the necessary operation...