thank you Tormod, the usb sniffer actually provided me with enough information of what i needed. i was trying to configure the device through the usb port, but what i'm getting from the IN endpoint is quite enough.
On Tue, Jan 8, 2019 at 1:32 PM Tormod Volden <lists.tor...@gmail.com> wrote: > 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 > -- SQ
_______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users