1# ScsiPeripheral_Response 2<!--Kit: Driver Development Kit--> 3<!--Subsystem: Driver--> 4<!--Owner: @lixinsheng2--> 5<!--Designer: @w00373942--> 6<!--Tester: @dong-dongzhen--> 7<!--Adviser: @w_Machine_cc--> 8 9## Overview 10 11Defines the response structure. 12 13**Since**: 18 14 15**Related module**: [SCSIPeripheralDDK](capi-scsiperipheralddk.md) 16 17**Header file**: [scsi_peripheral_types.h](capi-scsi-peripheral-types-h.md) 18 19## Summary 20 21### Member Variables 22 23| Name| Description| 24| -- | -- | 25| uint8_t senseData[SCSIPERIPHERAL_MAX_SENSE_DATA_LEN] | Sense data, that is, information returned by the SCSI device to the host to report the device status, error information, and diagnosis information.| 26| ScsiPeripheral_Status status | Status when the call is complete, for example, **Good** or **Busy**.| 27| uint8_t maskedStatus | Masked status, which is used in SCSI Generic (SG) interfaces of Linux to store the processed SCSI status for easy access by applications.| 28| uint8_t msgStatus | Message status.| 29| uint8_t sbLenWr | Number of bytes that are actually written to the sense buffer.| 30| uint16_t hostStatus | Host adapter status, for example, success (0x00), connection failure (0x01), busy bus (0x02), or timeout (0x03).| 31| uint16_t driverStatus | Driver status, for example, success (0x00) or busy device or resource (0x01).| 32| int32_t resId | Length deviation of the actually transmitted data, that is, the number of bytes that are not transmitted.| 33| uint32_t duration | Command execution duration, in ms.| 34