We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi
I have tried the endpoint 0 to send the data in HID is working well . But the problem is, how to send the data in USB endpoint 2 or other endpoints. Can u help me, any initialize is there?
Hi, You need take care the following things. 1. Endpoint Descriptor (in Configuration Descriptor) Define your endpoint at Configuration Descriptor as IN or OUT. Also make sure the bNumEndpoints is correct in the Interface Descriptor. 2. HID Report Descriptor You need define Input or Output Report in the HID Report Descriptor depend on the direction of your data (IN or OUT). 3. If the enumeration is find, you can use ReadFile/WriteFile to send/receive data for the IN/OUT interrut endpoint. Hope the information is useful to you. Sincerely, WT