USB Driver Development -- How to set the MaxPacketSize for the endpoint pipes RRS feed

  • Question

  • 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.

    Can anyone point me out to where I can modify the Max Packet Size that the USB functions use?
    • Moved by Sean LimingMVP Tuesday, February 16, 2016 4:08 AM WinCE question
    Monday, October 12, 2009 8:31 PM

All replies