How to receive data with USBD Custom HID
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-06-13 11:38 AM
Posted on June 13, 2016 at 20:38
Hi all,
I work on a USB project with my STM32F103. I want to use USB HID because it don't need any driver and it easy to integrate with the help of Cube32MX. i can sucessfully send data from STM32 to PC and grap it with simple C based program. i use USBD_CUSTOM_HID_SendReport_FS for sending data. But i can't find the function for receiving data ? Could you please post me an exemple ?
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-06-13 2:21 PM
Posted on June 13, 2016 at 23:21
HiSmithers25,
You can refer to this with same topic. RegardsOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-06-14 3:00 AM
Posted on June 14, 2016 at 12:00
Hi,
First thank you very much for your reply ! i have made modification writed in these but i can't understand how these works.. actually here is my code for sending data over USB HID : uint8_t report = 5; USBD_CUSTOM_HID_SendReport_FS(&report, 1); but if i want report is = my data sended from computer to STM what is the name of function i must call ?