• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# ScsiPeripheral_InquiryRequest
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 request structure of the **inquiry** command.
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 pageCode | **Page 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.|
26| 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.|
27| uint8_t control | **Control** field used to specify control information.|
28| uint8_t byte1 | First byte of the CDB.|
29| uint32_t timeout | Timeout duration, in ms.|
30