Charles Lepple wrote:
On Jan 8, 2010, at 6:16 AM, Tim Nicholson wrote:

I am trying to write an interface in C so I can communicate with a PIC chip via USB using libhid, but I do not understand how to use the path information I am seeing to send and receive massages.

Your device's HID report descriptor does not specify any report IDs, so the paths don't matter.

However, there is a chance that the device is only expecting you to read and write to the interrupt endpoints (not the control endpoint). Is the source code for this device available online?

Charles,

Thanks so much for replying so quickly.

The code is part of the Microchip USB framework which can be downloaded from the microchip website. It is the generic HID example code for the low pin count development board which uses the PIC18F14K50.
Is there anything I can post that will help? I could email you the source I used to compile the .hex if you wouldn't mind taking a look?

Tim

_______________________________________________
libhid-discuss mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/

Reply via email to