This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC1768 RL USB Device HID Class - Data Transfer

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

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

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

Children