Packet structure to answer (SCSI_INQUIRY) request. More...
Packet structure to answer (SCSI_INQUIRY) request.
#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.  | |