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.
Dear Friends, I use RL USB HID V 4.22. I've sent 8bit data to the PC successfully, but I do not have any idea how can I send 12 bits (and even more) data to the PC. I tried to change the length;
usbd_hid_get_report_trigger(0, buf, 2);
and send data in groups of 8bits separately but I wasn't successful.
Please let me know what should I do?
Thanks
Firstly, update to latest version of MDK and middleware components: http://keil.com/download/
Afterwards, go through the below link for documentation: www.keil.com/.../_h_i_d.html
I checked the document but I couldn't find anything that describe how should I send 12 bits data (I must receive integrated data in other side).
I'm looking forward to hear from you, friends. Thanks
I think there should be a problem to send more than one bytes with:
USBD_HID_GetReportTrigger ( uint8_t instance, uint8_t rid, const uint8_t * buf, uint32_t len )
there isn't any access to usb libraries. As I search for "USBD_HID_GetReportTrigger", it can not find the main function. When I change the length, cann't receive anything in other side. Please help me.
Can not anyone help me?
Hi Jim,
you have to change USBD_HID_INREPORT_NUM in usb_config.c file from 1 to 2, that means IN report will be 2 bytes.