Libusbpp
Libusbpp copied to clipboard
Endpoints addresses assumed to be consecutively assigned
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 only implements endpoints 2,4,6 and 8 in addition to 0. Shouldn't this configuration be handled in Libusbpp?
There was an issue w/endpoint addresses - I had incorrectly made a few assumptions that gave me similar issues. This is probably one of them. Simply remove that logic_error and push, or I can do the same this afternoon.