openharmony 鸿蒙 capi-scsiperipheralddk-scsiperipheral-inquiryrequest

2026-08-25 浏览 (1)

ScsiPeripheral_InquiryRequest

typedef struct ScsiPeripheral_InquiryRequest {...} ScsiPeripheral_InquiryRequest

Overview

Defines the request structure of the inquiry command.

Since: 18

Related module: ScsiPeripheralDDK

Header file: scsi_peripheral_types.h

Summary

Member Variables

NameDescription
uint8_t pageCodePage code field. Set this field if you want to obtain certain types of device information. When an Inquiry command with a specific page code is run, the device returns details related to the page code. If the page code is set to 0x00, it indicates that the standard inquiry data rather than the data of specific pages is requested.
uint16_t allocationLengthAllocation length field used to specify the size of the buffer prepared by the request initiator (usually the host) for the response data.
uint8_t controlControl field used to specify control information.
uint8_t byte1First byte of the CDB.
uint32_t timeoutTimeout 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-scsiperipheralddk-scsiperipheral-response

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

openharmony 鸿蒙 capi-hidddk-hid-relaxesarray

openharmony 鸿蒙 js-apis-driver-deviceManager

openharmony 鸿蒙 capi-hidddk-hid-eventtypearray

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