What is the proper way to send HID key codes to host?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-02-05 09:12 PM
Posted on February 06, 2015 at 06:12
I am using the st32cube HID middle ware library to implement a keyboard device. I am using USBD_HID_SendReport to send key data to the host. But this function will exit without doing anything if the bus is not available. How do I ensure that what I want to send actually gets sent?
I can replicate the code which checks if the bus is available, but that seems crude. Is there a proper way? Thanks
0 REPLIES 0