How to read from an endpoint pipe? #1088
-
|
Hi, using TinyUSB (as device) in a Raspberry Pico, I created a custom app driver to deal with an interface with 2 endpoints (IN and OUT). I'm opening the endpoints as: and successfully sending data to the IN endpoint as: Now, how should I implement the OUT callback to receive data? I was hoping that the function assigned to I also checked that the endpoint is correctly detected as Could you please give me some hints, or point me to a similar piece of code on how to receive data from an endpoint? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
You can try vendor class ( |
Beta Was this translation helpful? Give feedback.
You can try vendor class (
class/vendor_device), it handles a pair of bulk endpoints. If you want is raw bulk transfer you don't need a custom driver.