Hi,
I'm trying to write a little program to communicate with a USB device
(ChipCard Reader) through the libusb-win32.First, I tried to send a
usb_bulk_write message without setting configuration, I had a "invalid
configuration -1" error; so I tried to set configuration with
bConfigurationValue before sending the bulk message but when I run the
program, it freeze totally until I detach the device physically or
reboot the computer ! I tried also to set configuration with other
values, the program doesn't freeze but I had a "wrong parameter" error.
thank you for your help in advance.
Fouzi Belhadj
|