Libusbpp icon indicating copy to clipboard operation
Libusbpp copied to clipboard

An object-oriented C++ wrapper for libusb/libusbx

Results 10 Libusbpp issues
Sort by recently updated
recently updated
newest added

Good afternoon. The wording of the name of this example is a bit confusing https://github.com/zarthcode/Libusbpp/blob/389ceea9bc974f1c2b1cf3151a32795c04832288/examples/LibusbTest.cpp#L355 I think it is not necessary to mix the concepts of asynchronous and multi-threading. Asynchronous...

I have a device that has two bulk endpoints with addresses `0x05` and `0x85`. Libusbcpp ignores the latter completely for the following reason. In `InterfaceImpl::CreateEndpoints()`, a new `std::shared_ptr` named `pEndpoint`...

An endpoint address is made up of two nibbles. The upper nibble specifies the endpoint direction, and the lower nibble is the endpoint number. libusbpp currently treats endpoint numbers as...

Added a mutex for blocking accesses to the container and a method for working with it. Fixes zarthcode/Libusbpp#8

hi, i comipler the lastest code( 10.0.19042.541, vs2019 16.7.4, ZPL Priter: USB\VID_1FC9&PID_2016\ or USB\VID_154F&PID_1300), except modifyed the vid && pid of ZPL Printer. then it crashed. tpis is: Unhandled exception...

https://github.com/zarthcode/Libusbpp/blob/389ceea9bc974f1c2b1cf3151a32795c04832288/src/TransferImpl.hpp#L142 This field is static. Access to change it is shared by all objects of the class. Creating multiple objects in different threads results in a data race. Please use...

Hi there A wrapper for libusb was exactly what i needed. I was about to write my own, when I discovered your work. For starters, I have made a Makefile...

There are a few issues which prevent a full build on linux with gcc - libusb.h include path assumes that the file lies in /libusb/, which might not be true...

LibUSB::InterfaceImpl::getEndpoint() throws a logic_error exception if the index and endpoint number are not equal. This presents a problem communicating with my USB device, based on the Cypress cy7c68001 chip which...

bug

On Mac OS X I have: ```c++ -I../headers LibusbTest.cpp -o LibusbTest In file included from LibusbTest.cpp:18: In file included from ../headers/libusbpp.h:3: In file included from ../headers/device.h:2: In file included from...

bug