I try to send bytes to scanner connecting as HID-device. But hid_write() dosn't send bytes to it, giving a number as a result of successful sending. I say about Linux. In Windows I send bytes with windows.h functions and have success, that means scanner to be OK. Why?
Maybe, hidapi.h I use can't send bytes to scanner, and I must use libusb. Then I ask: how to connect lbusb correctly, what name to be included into #include
Hi! I have 2 questions:
Thanx!