Report Supported Operation Codes Command
August 2016 Commands 181
CDB Size Contains the size of the CDB Usage Data field in the parameter data,
and the number of bytes in the CDB for command being queried.
For example, the command specified by the Reporting Options,
Requested Operation Code, and Requested Service Action fields in the
Report Supported Operation Codes CDB.
CDB Usage Data Contains information about the CDB for the command being queried.
The First byte of the field contains the operation code for the
command. If the command being queried contains a service action,
then that service action code is placed in the Usage Data field in the
same location as the Service Action field of the command CDB.
All other bytes of the Usage Data field contains a usage map for bits
in the CDB for the command being queried.
Usage Map:
The bits in the usage map have a one-for-one correspondence to the
CDB for the command being queried.
• If the device server evaluates a bit in the CDB for the command
being queried, the usage map shall contain a one in the
corresponding bit position.
• If any bit representing part of a field is returned as one, all bits for
the field shall be returned as one.
• If the device server ignores or treats as reserved a bit in the CDB
for the command being queried, the usage map shall contain a zero
in the corresponding bit position. The usage map bits for a given
CDB field all shall have the same value.
Parameter Value