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
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.