Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

USB Device Driver - How to set max packet size on endpoint pipes

15 views
Skip to first unread message

chrisduran

unread,
Oct 13, 2009, 11:09:25 AM10/13/09
to
I have a driver for my USB device that works for WinCE 5.0 and 6.0. We are rolling out a new product that is similar but uses a slightly different DSP. In the USBDeviceAttach function I set up the USB Interface pipes by finding one bulk-in and one bulk-out endpoint pipes. The previous product reported the wMaxPacketSize on the pipe as 64 KB and everything worked fine. The new product is reporting 512 KB. In our regular Windows (and Linux) drivers the Max Packet Size is changed to 64 KB, but I am unable to figure out where to change this for the WinCE driver. I am thinking that this is the root of the communication problems I am having.

Can anyone point me out to where I can modify the Max Packet Size that the USB functions use?

EggHeadCafe - Software Developer Portal of Choice
WebService BinaryFormatter / Image Serialization
http://www.eggheadcafe.com/tutorials/aspnet/d125a91e-0c2d-4ef4-a505-4250336dab5a/webservice-binaryformatte.aspx

0 new messages