Hello,

I am trying to write a driver for an interactive whiteboard.

The device needs to be put into a state that will get it sending the pen data.

However I have been looking examples on the internet and when using
interruptRead or bulkRead you have to specify the number of bytes you are 
expecting.

There are 30+ commands in the protocol with the device with a length which will
be unknown until I read the first byte.

I want to have a control loop that will read the interrupt and respond to that
data.  With a user interface sending change of state commands.

Does anybody have an example of the use of interruptRead and interruptWrite?

Regards
Phil Hannent

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Pyusb-users mailing list
Pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to