You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am creating a CDC class device and would like endpoint bulk writes from the host to block until they have been processed by the device. is there any way to achieve this with LUFA?
The text was updated successfully, but these errors were encountered:
That's really up to the host driver implementation, but generally speaking, no. Bulk transfers are enqueued on the host side in advance and scheduled/sent via the low level USB controller driver via DMA as bus bandwidth permits. That's how bulk transfers end up having larger thoughput than other fixed interval endpoint types at the expense of higher latency.
The best way to approach this would be to add in an application level command/response layer above the CDC layer, so you can send (potentially multiple) commands with a given sequence number and have the device reply back with an acknowledges for each command that has been processed.
i am creating a CDC class device and would like endpoint bulk writes from the host to block until they have been processed by the device. is there any way to achieve this with LUFA?
The text was updated successfully, but these errors were encountered: