Win2k USB & Short packets

We are developing a USP peripheral device and would like to use the device
similar to a serial port, sending ASCII commands to the device via an
interrupt pipe and reading ASCII responces via another interrupt pipe.

Our main problem seems to be short packets.

Does the Win2k usb driver handle short packets correctly? Will it
terminate a requested read when a short or zero length packet is read?

Thanks

Larry Harmon


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

hello,

Does the Win2k usb driver handle short packets correctly? Will it
terminate a requested read when a short or zero length packet is read?

I have written some of USB drivers for different hardware and I mean
the use from short packets was always OK (for W9xx too).

You must use the USBD_SHORT_TRANSFER_OK flag in each USBD call for
interrupt pipes.

elli


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Works for me.

BTW, what is a USP device?

Marc Reinig
System Solutions

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of xxxxx@hrdcorp.com
Subject: [ntdev] Win2k USB & Short packets

We are developing a USP peripheral device and would like to use the device
similar to a serial port, sending ASCII commands to the device via an
interrupt pipe and reading ASCII responces via another interrupt pipe.

Our main problem seems to be short packets.

Does the Win2k usb driver handle short packets correctly? Will it
terminate a requested read when a short or zero length packet is read?


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com