1# ScsiPeripheral_InquiryRequest 2 3 4## Overview 5 6Defines the request structure of the **inquiry** command. 7 8**Since**: 18 9 10**Related module**: [SCSI Peripheral DDK](_s_c_s_i.md) 11 12 13## Summary 14 15 16### Member Variables 17 18| Name| Description| 19| -------- | -------- | 20| uint8_t [pageCode](#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.| 21| uint16_t [allocationLength](#allocationlength) | **Allocation length** field used to specify the size of the buffer prepared by the request initiator (usually the host) for the response data.| 22| uint8_t [control](#control) | **Control** field used to specify control information.| 23| uint8_t [byte1](#byte1) | First byte of the CDB.| 24| uint32_t [timeout](#timeout) | Timeout duration, in ms.| 25 26 27## Member Variable Description 28 29 30### allocationLength 31 32``` 33uint16_t ScsiPeripheral_InquiryRequest::allocationLength 34``` 35 36**Description** 37 38**Allocation length** field used to specify the size of the buffer prepared by the request initiator (usually the host) for the response data. 39 40 41### byte1 42 43``` 44uint8_t ScsiPeripheral_InquiryRequest::byte1 45``` 46 47**Description** 48 49First byte of the CDB. 50 51 52### control 53 54``` 55uint8_t ScsiPeripheral_InquiryRequest::control 56``` 57 58**Description** 59 60**Control** field used to specify control information. 61 62 63### pageCode 64 65``` 66uint8_t ScsiPeripheral_InquiryRequest::pageCode 67``` 68 69**Description** 70 71**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. 72 73 74### timeout 75 76``` 77uint32_t ScsiPeripheral_InquiryRequest::timeout 78``` 79 80**Description** 81 82Timeout duration, in ms. 83