harmony 鸿蒙ScsiPeripheral_InquiryRequest

  • 2025-06-12
  • 浏览 (5)

ScsiPeripheral_InquiryRequest

Overview

Defines the request structure of the inquiry command.

Since: 18

Related module: SCSI Peripheral DDK

Header file: scsi_peripheral_types.h

Summary

Member Variables

Name Description
uint8_t pageCode Page code field. Set this filed 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 allocationLength Allocation length field used to specify the size of the buffer prepared by the request initiator (usually the host) for the response data.
uint8_t control Control field used to specify control information.
uint8_t byte1 First byte of the CDB.
uint32_t timeout Timeout duration, in ms.

Member Variable Description

allocationLength

uint16_t ScsiPeripheral_InquiryRequest::allocationLength

Description

Allocation length field used to specify the size of the buffer prepared by the request initiator (usually the host) for the response data.

byte1

uint8_t ScsiPeripheral_InquiryRequest::byte1

Description

First byte of the CDB.

control

uint8_t ScsiPeripheral_InquiryRequest::control

Description

Control field used to specify control information.

pageCode

uint8_t ScsiPeripheral_InquiryRequest::pageCode

Description

Page code field. Set this filed 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.

timeout

uint32_t ScsiPeripheral_InquiryRequest::timeout

Description

Timeout duration, in ms.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Driver Development Kit

harmony 鸿蒙Base DDK

harmony 鸿蒙DDK_Ashmem

harmony 鸿蒙Hid_AbsAxesArray

harmony 鸿蒙Hid_Device

harmony 鸿蒙Hid_EmitItem

harmony 鸿蒙Hid_EventProperties

harmony 鸿蒙Hid_EventTypeArray

harmony 鸿蒙Hid_KeyCodeArray

harmony 鸿蒙Hid_MscEventArray

0  赞