Скачиваний:
8
Добавлен:
02.05.2014
Размер:
3.51 Mб
Скачать

Chapter 8

 

Wire Adapter

Wireless Universal Serial Bus Specification, Revision 1.0

Table 8-15. Transfer/Packet Status (cont.)

Bit

 

 

 

Description

5:0

7

TRANSFER_STATUS_TRANSACTION_ERROR

 

 

Returned in the transfer result when the Wire Adapter encountered a transaction

 

 

error while performing this transfer.

 

 

Bits

Description

 

 

7:6

Indicates whether this was an error or a warning.

 

 

 

Value

Meaning

 

 

 

00B

Undefined

 

 

 

01B

The transfer completed successfully but transaction errors

 

 

 

 

occurred which were successfully retried.

 

 

 

10B

The transaction failed after the number of retry attempts

 

 

 

 

specified in bmRetryOptions field of the RPipe descriptor.

 

 

 

11B

Undefined

 

 

Timeout, Bad PID, CRC error are examples of DWA transaction errors.

 

 

Timeout, Bad PID, FCS error, Bad sequence number are examples of HWA

 

 

transaction errors.

 

 

8

TRANSFER_STATUS_ABORTED

 

 

The transfer was aborted by an Abort Transfer Request or by an AbortRPipe

 

 

command.

 

 

9

TRANSFER_STATUS_RPIPE_NOT_READY

 

 

The transfer request was sent to an unconfigured RPipe.

 

10

INVALID_REQUEST_FORMAT

 

 

This status may be sent back for one of two reasons:

 

 

The transfer request length was not equal to the length field for the specified

 

 

request type

 

 

 

The request type was unknown.

 

11

UNEXPECTED_SEGMENT_NUMBER

 

 

The transfer request segment numbers were not received in incrementing order

 

 

starting with zero.

 

 

12

TRANSFER_STATUS_RPIPE_TYPE_MISMATCH

 

 

The transfer type in the transfer request did not match the transfer type that the

 

 

RPipe was previously configured to.

 

13-63

Reserved

 

 

6Warning This bit is set when the status is warning.

7Error This bit is set when the status is error

8.3.3.5Abort Transfer

The Abort Transfer request shown in Table 8-16 allows the host to abort a specific transfer. When the Wire Adapter receives this request, it will abort the specified transfer, send a Transfer completion notification, Transfer Result and any data that it received and acknowledged from the targeted endpoint back to the host. The Transfer Result must indicate that the transfer was aborted and the number of bytes that were sent or received before the request was aborted. The Abort Transfer request itself is acknowledged by the Wire Adapter when it ACKs the request.

216

Соседние файлы в папке Wireless USB Specification Revision 1.0 May 12, 2005