Command Block Wrapper packet structure. More...
Command Block Wrapper packet structure.
#include <scsi.h>
Data Fields | |
uint32_t | signature |
CBW signature (SCSI_CBW_SIGNATURE) | |
uint32_t | tag |
ID for the current command. | |
uint32_t | data_len |
Number of bytes host expects to transfer from/to. | |
uint8_t | flags |
Command block flags. | |
uint8_t | lun |
Target Logical Unit Number. | |
uint8_t | cb_len |
Length of the block in bytes (max: 16 bytes) | |
uint8_t | cb [16] |
Command block buffer. | |