uweseimet / scsi2pi

Advanced performant SCSI/SASI emulation and tools for the PiSCSI/RaSCSI board
https://www.scsi2pi.net
BSD 3-Clause "New" or "Revised" License
9 stars 2 forks source link

s2pexec: Accept data for DATA OUT phase on the command line #50

Closed uweseimet closed 8 months ago

uweseimet commented 8 months ago

Sometimes only a few bytes of data need be sent with a SCSI command in the DATA OUT phase. Being able to provide these data on the command line can be more convenient than passing a file with these data. s2pexec shall provide an additional command line option "-d" that accepts these data, e.g.

>s2pexec -i 0 -c 15:10:00:00:0c:00 -d 00:00:00:08:00:00:00:00:00:00:02:00