- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your answer.
Yes I did it using Control Center and USBFS component and was able to send more then 1 byte and recieve. When I changed the class into HID I was already unable to use Control center, because data to sent wasn't active. I need configure PSoC 3 as a HID device. I'm using Libusb, because it's allowed to be used in different operating systems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@kharatgn: were u able to send the data more than 1 byte from your HID device to PC ?