aloha everyone!
i got a teensy 2.0 and am trying to port my project from a adafruit trinket (attiny85) to a atmega32u4. the attiny85 does not have USB support so i was using VUSB to do it in software. since the atmega32u4 does support USB, i was planning to try and use/learn about that. i downloaded the usb_rawhid example and configured my USB device so it appears correctly when plugged in. the next step was to appropriately respond to messages, but i don't see where the buffer(s) are in the example. can anyone point me in the right direction?
my scenario: when i plug in the device, a third party application detects the device was plugged in and tries to communicate with it. where is the data buffer(s) the in usb_rawhid.c that can be manipulated to send responses back to the host and application over usb? i don't have control over the third party application so i've just been using wireshark to capture the USB data and am trying to match up the data that way.
i got a teensy 2.0 and am trying to port my project from a adafruit trinket (attiny85) to a atmega32u4. the attiny85 does not have USB support so i was using VUSB to do it in software. since the atmega32u4 does support USB, i was planning to try and use/learn about that. i downloaded the usb_rawhid example and configured my USB device so it appears correctly when plugged in. the next step was to appropriately respond to messages, but i don't see where the buffer(s) are in the example. can anyone point me in the right direction?
my scenario: when i plug in the device, a third party application detects the device was plugged in and tries to communicate with it. where is the data buffer(s) the in usb_rawhid.c that can be manipulated to send responses back to the host and application over usb? i don't have control over the third party application so i've just been using wireshark to capture the USB data and am trying to match up the data that way.