9 years, 1 month ago.

how to send data in parallel using the high-level codings of mbed?

Hello

I want to send/receive data in parallel in USBHID (one way for data exchange and one for commands). There is a function named hid.send(), which sends data from micro to pc. I don't know this function uses which endpoints to handle it. I think I should set up another endpoint and define appropriate functions (e.g. hid2.send) so that I can send some other data in parallel. The problem is that I don't know how to define this endpoint and appropriate functions.

Question relating to:

I changed the sample of mbed for HELLOW_WORLD, and I defined another HID_REPORT (send_report2) and I can send some other data by putting it in send_report2. Now, my problem is that in the pc side, how can I realize which received data is send_report and which one is send_report2?

posted by Ghasem Pasandi 17 Mar 2015
Be the first to answer this question.