Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 8 months 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.
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