User manual
SCM3712 REFERENCE MANUAL 71
BYTE byGtLen;// Length of the general bytes
BYTE byGt[47];//Generalbytesshall be optional and designate general information.
} INITIATOR_CONNECT_RESP, *PINITIATOR_CONNECT_RESP;
8.8.2.4. Return Value
Return Value
Value
Description
ERROR _SUCCESS
0
Successful execution
ERROR_GEN_FAILURE
31
Operation failed
ERROR_INSUFFICIENT_BUFFER
122
Input or output buffer too small
8.8.3. IOCTL_INITIATOR_TRANSCEIVE
8.8.3.1. Description
This IOCTL is sent to the initiator device with the data from the host application. The
initiator device would in turn send this data to the target device. The initiator then receives
the response from the target and sends it to the application.
8.8.3.2. Input Buffer
Input buffer should contain data to be sent to the target.
8.8.3.3. Output Buffer
Output buffer will hold target’s output data.
8.8.3.4. Return Value
Return Value
Value
Description
ERROR _SUCCESS
0
Successful execution
ERROR_GEN_FAILURE
31
Operation failed
ERROR_INSUFFICIENT_BUFFER
122
Input or output buffer too small
8.8.4. IOCTL_INITIATOR_DISCONNECT
8.8.4.1. Description
This IOCTL is sent to the device that would act as the initiator. On receiving this IOCTL,
the initiator would disconnect the target device.
8.8.4.2. Input Buffer
Byte #
Value
Description
B0
0xXX
Logical number of the Target