Use the libusb based sense and status reading from afaerber
authorKarl Palsson <karlp@tweak.net.au>
Thu, 3 Nov 2011 21:28:19 +0000 (21:28 +0000)
committerKarl Palsson <karlp@tweak.net.au>
Thu, 3 Nov 2011 21:28:19 +0000 (21:28 +0000)
commitf587baa03ac9598130fac7f4ab58bef4030cb8df
tree72abfd9c1748c69586226f12b0ba74cba5065d37
parent9ff594a6a76ec29b3f979c2b143b9816a6505c75
Use the libusb based sense and status reading from afaerber

Before, I could a single operation (get version) after plugging in, now I can issue two at least
:)  I suspect there are two problems still.  1, I'm not using tags properly, as the original
sg-utils code seemed to skip that.  2) I'm pretty sure I need to be sending variable lengths for
the cdb field.
src/stlink-sg.c
src/stlink-sg.h