You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to use a USB port to operate the ink screen here. The ink screen will be recognized as a USB flash drive, and then we need to run custom CBW []+CDB [] format data. Which solution should we use? Thank you! The current situation is that the reply code after sending Inquiry (0x12) is no longer correct, and it can only be recognized as a USB drive because this command is also customized.
HPM5331 is used as the HOST end of USB. After the MSC drive letter is recognized by the connected device, a proprietary command is used for operation.
The manufacturer provided a routine for the WINDOWS system, using bSuccess = DeviceIoControl(hDev,
IOCTL_SCSI_PASS_THROUGH_DIRECT,//IOCTL_SCSI_PASS_THROUGH_DIRECT,//IOCTL_SCSI_PASS_THROUGH,
&stSPTDBuf,
sizeof(SCSI_PASS_THROUGH_DIRECT),//+sizeof(gSPTDataBuf), //sizeof( TSPTWBData),
&stSPTDBuf,
sizeof(SCSI_PASS_THROUGH_DIRECT),//sizeof(gSPTDataBuf), //sizeof( TSPTWBData),
&dwReturnBytes,
NULL );
The text was updated successfully, but these errors were encountered:
We need to use a USB port to operate the ink screen here. The ink screen will be recognized as a USB flash drive, and then we need to run custom CBW []+CDB [] format data. Which solution should we use? Thank you! The current situation is that the reply code after sending Inquiry (0x12) is no longer correct, and it can only be recognized as a USB drive because this command is also customized.
HPM5331 is used as the HOST end of USB. After the MSC drive letter is recognized by the connected device, a proprietary command is used for operation.
The manufacturer provided a routine for the WINDOWS system, using bSuccess = DeviceIoControl(hDev,
IOCTL_SCSI_PASS_THROUGH_DIRECT,//IOCTL_SCSI_PASS_THROUGH_DIRECT,//IOCTL_SCSI_PASS_THROUGH,
&stSPTDBuf,
sizeof(SCSI_PASS_THROUGH_DIRECT),//+sizeof(gSPTDataBuf), //sizeof( TSPTWBData),
&stSPTDBuf,
sizeof(SCSI_PASS_THROUGH_DIRECT),//sizeof(gSPTDataBuf), //sizeof( TSPTWBData),
&dwReturnBytes,
NULL );
The text was updated successfully, but these errors were encountered: