meodingu
Posts : 201 Join date : 2010-09-30
| Subject: Handshake packets Mon 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 Italienschgraduation honor cords | |
|