msc_inquiry_pkt_t Struct Reference

Packet structure to answer (SCSI_INQUIRY) request. More...

Detailed Description

Packet structure to answer (SCSI_INQUIRY) request.

See also
Inquiry Command from SCSI Primary Command
Note
Vendor specific information (Byte 36 and above) and flags from bytes 5 to 7 are currently unsupported

Definition at line 173 of file scsi.h.

#include <scsi.h>

Data Fields

uint8_t type
 Byte 0 Peripheral type.
 
uint8_t reserved1: 7
 Byte 1 [B6..B0] Reserved.
 
uint8_t removable: 1
 Byte 1 [B7] Removable device flag.
 
uint8_t version
 Byte 2 SCSI Version.
 
uint8_t response_format: 4
 Byte 3 [B3..B0] Response Data Format.
 
uint8_t reserved3: 4
 Byte 3 [B7..B4] Reserved.
 
uint8_t length
 Byte 4 Additional Length (n-4)
 
uint8_t flags [3]
 Byte 7..5 Miscellaneous flags UNUSED BY USBUS ONLY.
 
uint8_t vendor_id [8]
 Byte 15..8 Vendor Identification.
 
uint8_t product_id [16]
 Byte 31..16 Product Identification.
 
uint8_t product_rev [4]
 Byte 35..32 Product Revision.
 

The documentation for this struct was generated from the following file: