2010/9/6 Kaan AKŞİT :
> Dear all,
>
> I am trying to immigrate some code from C to Python. I am stuck with above C
> line:
>
> libusb_bulk_transfer(handle, endpoint | LIBUSB_ENDPOINT_IN, data, size,
> &recvd, 0)
Just use self.read(endpoint, size)
This is enough...
>
> What I have noticed, self.
* When I use this command below:
print e.bEndpointAddress,usb.util.endpoint_type(e.bEndpointAddress)
It returns types as in integer but I am not sure which integer corresponds
to these:
ENDPOINT_TYPE_CTRL, ENDPOINT_TYPE_ISO, ENDPOINT_TYPE_BULK or
ENDPOINT_TYPE_INTR.
Currently I am using an end
Dear all,
I am trying to immigrate some code from C to Python. I am stuck with above C
line:
libusb_bulk_transfer(handle, endpoint | LIBUSB_ENDPOINT_IN, data, size,
&recvd, 0)
What I have noticed, self.dev.write(endpoint,data) is not totally same with
above line. I am looking forward to hear yo