Re: USB Function Driver in 5.0

From: Ajay (ajaykuee_at_gmail.com)
Date: 10/21/04


Date: 20 Oct 2004 22:02:52 -0700

Hi David,

Thanks a lot for your reply !
I hv one more doubt. The endpoints details provided in USB serial
client driver has
BULK IN ,BULK OUT and INTERRUPT IN endpoints (written below) for both
high speed and full speed.
I am supporting only Interrupt In (EP2) and Interrupt out (EP4)
endpoints in my USB Fn driver.

Now what all i need to do to make it compatible with MS provided serial
client driver?
OR I must use BULK IN and BULK OUT endpoints only in my USB Fn driver?

static UFN_ENDPOINT g_HighSpeedEndpoints[] = {
{
sizeof(UFN_ENDPOINT),
{
sizeof(USB_ENDPOINT_DESCRIPTOR),// bLength
USB_ENDPOINT_DESCRIPTOR_TYPE, // bDescriptorType
BULK_IN_ENDPOINT_ADDRESS, // bEndpointAddress
(endpoint 1, in)
USB_ENDPOINT_TYPE_BULK, // bmAttributes
HIGH_SPEED_BULK_PACKET_SIZES, // wMaxPacketSize
0x00 // bInterval (interrupt
only)
},
NULL
},
{
sizeof(UFN_ENDPOINT),
{
sizeof(USB_ENDPOINT_DESCRIPTOR),// bLength
USB_ENDPOINT_DESCRIPTOR_TYPE, // bDescriptorType
BULK_OUT_ENDPOINT_ADDRESS, // bEndpointAddress
(endpoint 2, out)
USB_ENDPOINT_TYPE_BULK, // bmAttributes
HIGH_SPEED_BULK_PACKET_SIZES, // wMaxPacketSize
0x00 // bInterval (interrupt
only)
},
NULL
},
{
sizeof(UFN_ENDPOINT),
{
sizeof(USB_ENDPOINT_DESCRIPTOR),// bLength
USB_ENDPOINT_DESCRIPTOR_TYPE, // bDescriptorType
INTERRUPT_IN_ENDPOINT_ADDRESS, // bEndpointAddress
(endpoint 2, out)
USB_ENDPOINT_TYPE_INTERRUPT, // bmAttributes
MAX_INTERRUPT_ENDPOINT_PACKET_SIZE, // wMaxPacketSize
0xc // bInterval (interrupt
only)
        },
        NULL
    }
};

With Regards,
Ajay



Relevant Pages

  • Re: AVStream Device - Isochronous or Bulk
    ... But in the event that my device supports both bulk ... is there a way to switch between the different endpoints? ... "Tim Roberts" wrote: ... >>I'm trying to display video over a usb device. ...
    (microsoft.public.development.device.drivers)
  • Re: USB Function Driver in 5.0
    ... I believe you has have Bulk In and Bulk Out in order to make USB function ... The endpoints details provided in USB serial ... > client driver has ...
    (microsoft.public.windowsce.embedded)
  • Re: Iyonix USB: Bulk IN endpoints
    ... You can check the buffer flags to determine if any ... Bulk and interrupt endpoints work differently. ...
    (comp.sys.acorn.programmer)
  • Re: Iyonix USB: Bulk IN endpoints
    ... You can check the buffer flags to determine if any ... Bulk and interrupt endpoints work differently. ...
    (comp.sys.acorn.programmer)
  • Re: Streaming on USB 2.0 bulk camera device
    ... lower driver for bulk transfer so as not to intermit data stream from camera ... possbile to send one Irp per bulk end point. ... bulk endpoints and alternately transfer data on two bulk OUT endpoints ... change if you want to write your own Windows 1394 driver. ...
    (microsoft.public.development.device.drivers)

Loading