openharmony 鸿蒙 capi-scsiperipheralddk-scsiperipheral-response

2026-08-25 浏览 (1)

ScsiPeripheral_Response

typedef struct ScsiPeripheral_Response {...} ScsiPeripheral_Response

Overview

Defines the response structure.

Since: 18

Related module: ScsiPeripheralDDK

Header file: scsi_peripheral_types.h

Summary

Member Variables

NameDescription
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.
ScsiPeripheral_Status statusStatus when the call is complete, for example, Good or Busy.
uint8_t maskedStatusMasked status, which is used in SCSI Generic (SG) interfaces of Linux to store the processed SCSI status for easy access by applications.
uint8_t msgStatusMessage status.
uint8_t sbLenWrNumber of bytes that are actually written to the sense buffer.
uint16_t hostStatusHost adapter status, for example, success (0x00), connection failure (0x01), busy bus (0x02), or timeout (0x03).
uint16_t driverStatusDriver status, for example, success (0x00) or busy device or resource (0x01).
int32_t resIdLength deviation of the actually transmitted data, that is, the number of bytes that are not transmitted.
uint32_t durationCommand execution duration, in ms.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-scsiperipheralddk-scsiperipheral-request

openharmony 鸿蒙 capi-usbddk-usbconfigdescriptor

openharmony 鸿蒙 capi-hidddk

openharmony 鸿蒙 capi-usbddk

openharmony 鸿蒙 capi-hidddk-hid-absaxesarray

openharmony 鸿蒙 capi-scsi-peripheral-api-h

openharmony 鸿蒙 capi-hidddk-hid-relaxesarray

openharmony 鸿蒙 js-apis-driver-deviceManager

openharmony 鸿蒙 capi-hidddk-hid-eventtypearray

openharmony 鸿蒙 capi-baseddk

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/9cgybbWF