Hello,

All appears to be going to plan, I have sent a hello to my device and
got a hello back (via interruptWrite then interruptRead).

I can query the devices current key state using the same interruptWrite
then Read, however the next time I send a query asking it about its
storage capacity it returns random data.

Is there something I have to do to clear a buffer?  Again if I send the
hello and ask the device to enter transmit mode (where pen coordinates
are issued) I just get junk out.

I guess I am failing to understand just how to receive data from a USB
device.  The data I am getting is not an out of sequence packet so I do
not understand, what the data is.

I could do with some more examples, do people have any that are not:
missle.py
lsusb.py
usbenum.py
PlugUSB.py
gotemp-pyusb.py

Which are all the examples I have found on the internet.

Regards
Phil Hannent

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to