cancel
Showing results for 
Search instead for 
Did you mean: 

I wish to add a new interface to the existing custom HID STM32 library

amankumbhani
Associate III

Hi,

I am developing an application with one configuration descriptor & 2 interfaces with 2 endpoints each. The endpoint (CUSTOM_HID) that comes as default while setting up the project via cubeIDE seems to be working alright. I can send and receive data correctly in this interface.

But when I add another interface with two of its new endpoints, the transmission (from device to host) using the in endpoint does not work & generates a pipe error on linux (libusb). Any idea why this could be occuring? Do I need to enable the macro indicating that I want to make the USB device a composite one?

Thanks

1 REPLY 1
Sarra.S
ST Employee

Hello @amankumbhani​,

Please take a look at this libusb training video, it might be helpful

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.