Handshake packets

Go down

Handshake packets

Post  meodingu on Mon Jan 10, 2011 8:38 am

Handshake packets
Handshake packets consist of nothing but a PID byte, and are generally sent in response to data packets. The three basic types are ACK, indicating that data was successfully received, NAK, indicating that the data cannot be received at this time and should be retried, and STALL, indicating that the device has an error and will never be able to successfully transfer data until some corrective action (such as device initialization) is performed.
USB 2.0 added two additional handshake packets, NYET which indicates that a split transaction is not yet complete. A NYET packet is also used to tell the host that the receiver has accepted a data packet, but cannot accept any more due to buffers being full. The host will then send PING packets and will continue with data packets once the device ACK's the PING. The other packet added was the ERR handshake to indicate that a split transaction failed.
The only handshake packet the USB host may generate is ACK; if it is not ready to receive data, it should not instruct a device to send any.


Ben 10 Games
Flue Liners
avatar
meodingu
steve harmisson

Posts : 208
Join date : 2010-09-28

View user profile

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum