How to create a composite HID device using NCS?

Hi,

I'm implementing a composite hid device using nrf connect sdk 2.0.0, I do checked the hid-cdc and hid alone samples but there's still few problems that confused me a lot.

1. How to create as many interfaces and dedicated endpoints as I want (I'm well aware of the hardware limitation and it won't be a problem), like both IN and OUT for interface 0 and IN alone for interface 1?

2.How to create something like irq handler in ncs so I can handle the interrupt OUT endpoint without polling the buffer?

3.What Kconfig options do I need?

I made my purpose using another usb stack on another chip, but ncs confuses me a lot. I find it quite hard to understand how descriptors are handled.

Thanks in advance.

Parents Reply Children
No Data
Related