6.Command Specification | REPORT DEVICE IDENTIFIER |
6.20.REPORT DEVICE IDENTIFIER A3h
Bit | 7 | 6 | 5 | 4 |
| 3 |
| 2 |
| 1 | 0 |
Byte |
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
| Operation Code (A3h) |
|
| |||||
1 |
| Reserved |
|
|
|
| Service Action (05h) |
|
| ||
2 - 5 |
|
|
|
| Reserved |
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
| ||
6 - 9 |
|
|
| Allocation Length |
|
|
|
|
| ||
10 |
|
|
|
| Reserved |
|
|
|
|
| |
11 |
|
|
|
| Control |
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
The REPORT DEVICE IDENTIFIER command requests that the logical unit send device identification information to the initiator.
Service Action: Must be 05h.
For any value other than 05h, the command is terminated with a CHECK CONDITION status, the sense key is set to ILLEGAL REQUEST, and the ASC/ASCQ is set to INVALID FIELD IN CDB.
Allocation Length: If the Allocation Length is not sufficient to allow all of the parameter data to be returned, the first portion of the data is returned (i.e., truncated). This is not considered an error.
Note: The actual length of the parameter data is calculated using the Identifier Length field in the parameter data plus 4.
Table
Bit | 7 | 6 | 5 | 4 |
| 3 | 2 | 1 | 0 |
Byte |
|
|
|
|
|
|
|
|
|
0 - 3 |
|
|
| Identifier Length (n – 3) |
|
|
| ||
4 - n |
|
|
|
| Identifier |
|
|
|
Identifier Length: Specifies the length in bytes of the Identifier field. If the Allocation Length field in the CDB is too small to transfer the header and all of the identifiers, the length is not adjusted to reflect the truncation.
The identifier length is initially equal to zero, and is changed only by a successful SET DEVICE IDENTIFIER command.
Identifier: The value reported is the last value provided by a successful SET DEVICE IDENTIFIER command. The value of the identifier is changed only by a successful SET DEVICE IDENTIFIER command.
The identifier value persists through resets, power cycles, media write operations, and media replacement. If Identifier Length = 00000000h, this field is not present or has zero length.
SONY |