How to send more then 1 byte to the HID device

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 Dear PSoC Developers

   


I'm using USBFS component and I wrote program that I'm sending data from the PC to the PSoC 3 device (I configured as a HID device) and getting the same data back to the PC.
In the PC I'm using Libusb 1.0 library.
I was able to have the connection, but I cannot send more then 1 byte data, when I'm trying to send for example 2 bytes, it only sends the last 1 byte.
Is it possible to send more then 1 byte and how?
What should I change (maybe in HID descriptors)?

Thanks in advance
Gurgen

0 Likes
4 Replies