The Guardian Wars
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Welcome to The Guardian Wars Series...In forum form
 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  

 

 Handshake packets

Go down 
AuthorMessage
meodingu

meodingu


Posts : 201
Join date : 2010-09-30

Handshake packets  Empty
PostSubject: Handshake packets    Handshake packets  I_icon_minitimeMon 10 Jan 2011, 3:36 pm


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.


Übersetzungsbüro Deutsch Italiensch
graduation honor cords
Back to top Go down
 
Handshake packets
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
The Guardian Wars :: Soul Realm :: Moonshine Town-
Jump to: