has anyone out of the Hid Mouse M2259 Demo, built an additionally output interrupt channel. I need advise or maybe an examble how to set up the descriptors, the reports, and how to receive the data. Thanks a lot for your help.
in fact you need additional MQX USB device HID driver to write, based on original USB-HID. All descriptors are in descriptors.c. It really depends on your specific requirements how to setup report descriptor
Thank You for your massage.
I implement all needed descriptors. As soon as I implement the report descriptor for the output data, I cannot send or receive any data of the payload (before I could send Data to the Host). But the usb analyzer says that all of descriptors were right and has been accepted by the host. Have you got an idea, what the problem could be? And were will the data be received? Is it in the set_Report part or have i to implement my own receive Data function. Thanks again for your help!
It's difficult to find a problem in a case that, as you say, everything is ok. In fact I have not ever experienced with HID device having INTERRUPT OUT descriptor. What can be problem: have you enumerated the INTERRUPT OUT endpoint in the config descriptor? Or, are you sure that a host really needs to send you an interrupt?
Retrieving data ...