Hi,
I am working in a project using [USB_Host_Shield_2.0 library]. I connect my host shield and Arduino MEGA (both official) with a customized USB Hub Device (Device Class Interface: HID (0x03) and FullSpeed) which just sends 64B packages. I just want to watch on Serial Monitor of Arduino IDE the data buffer that the device send, so I have been studying HIDUniversal and HIDComposite library (and all their hereditance) for several months and using [USBHIDMultimediakbd.ino] example (I used others before to study them).
I try to modify this example for my purpose. I think I have to use HIDUniversal library because it has an interesting void function called SaveBuffer , but it does not used in any example.
My question is: What variable contains the buffer of data that Device sends?
It seems to my that there are two variables that could contain all the buffer: buf from hiduniversal.Init or hidcomposite.Init and data from Usb.InTransfer .
If somebody has more documentation about the variables of the libraries, it could be helpful too =).
Thank you so much.
Cas