USB: 1 device, 1 config, 2 HID endpoints on NCS 2.91. is this possible?

Im trying to write software on a custom PCB based on the 5340/7002.

A single device/single config/single endpoint (in and out) works great.

However if I try and do a second HID endpoint I cannot get ncs 2.9.1 to enumerate 2 HID devices on windows.  Looking at the source in usb_descriptor.c in 2.9.1 there are a few places where the code does stuff like this:

if (if_descr->bInterfaceNumber == 0U) {
which seems like it is only really service the first interface?

Are the HID/USB examples showing a composite implementation or any guidance you can offer.  I'm using the legacy USB stack not 'next'.
 
Parents Reply Children
No Data
Related