ACK to host

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
Maxx

ACK to host

Post by Maxx » Thu Dec 18, 2014 11:09 pm

I use the Control Transfers for sending data to the device. If I correctly understand when the host sends
data in the device by means of the libusb_control_transfer (LibUSB) function, he shall receive the response from the device - ACK,
confirming that the device processed request.
Where in a code of the program it is possible to check, the device sent the message of AСK or not?

ulao
Rank 4
Rank 4
Posts: 481
Joined: Mon Aug 25, 2008 8:45 pm

Re: ACK to host

Post by ulao » Wed Feb 11, 2015 8:54 pm

I don't quite follow you here but most of the communication is handled in;

usbFunctionDescriptor
usbFunctionSetup
and
usbFunctionWrite

If I knew more of what you were after I may be able to help.

Post Reply