(1)SET WINDOW command: COMMAND phase (initiator Æ target) The SET WINDOW command is used to set a window.

The CDB of this command is shown in the following illustration.

 

7

6

5

4

3

2

 

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

Byte 0

 

 

 

 

Operation code X©24￿

 

 

 

 

 

 

 

Logical unit number

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(Reserved)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(Reserved)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6

(MSB)

 

 

 

 

 

 

 

 

 

7

 

 

 

 

Transfer length

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(LSB)

 

 

 

 

 

 

 

 

 

 

 

 

9

 

 

 

 

Control byte

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

a.TRANSFER LENGTH: Bytes 6 to 8

Specifies the number of window data bytes sent in the DATA OUT phase.

A zero (0) means that no data is to be transferred; this situation is not considered an error.

If the number of bytes is not enough (less than 48) to set a window, the scanner returns the following error information:

f Status:

B©00001￿ (CHECK CONDITION)

fSense key: X©5￿ (ILLEGAL REQUEST)

4 $ 38