On Tue, Jan 8, 2019 at 8:26 PM Sergio A. Quiroga wrote:
>
> my device is a thermometer, it came with a software, and i can take readings 
> with the application included. however i'm trying to include it to a python 
> scripted environment, and need to take readings directly from the thermometer.
>
> anyway, i can find the device, set the configuration, and identify the 
> endpoints of it. but when i try to send the 'test' message (or any message, 
> whatsoever), i keep getting 'Input/output error' from the libusb1.py script.

Hi Sergio,

Often an OUT endpoint used for requests is not a text stream where you
will send text commands, but is rather expecting some structured
command packet. And maybe you just need to read the IN endpoint to
start with. Anyway, if the USB protocol is not documented, you can use
a USB sniffer to see what the delivered (presumably closed source)
software is doing.

Regards,
Tormod


_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to