CDC/ACM Endpoint question

Discussion in 'Windows Vista Drivers' started by Florian Praxmair, Feb 11, 2009.

  1. Hello,

    I am developing a CDC/ACM wdm driver. There are 2 Interfaces (Interface1: 1
    control endpoint; Interface2: 1 Bulk IN, 1 Bulk OUT).
    Do I have to poll the control (interrupt) endpoint or the bulk IN endpoint
    to receive data from the device (the device gets data from another device
    over infrared)?
    So the main question is what endpoint do I have to poll to get data?

    Thank you,
    Florian Praxmair, Feb 11, 2009
    1. Advertisements

  2. The host controller will do the polling once you submit a bulk IN URB
    for each pipe (interrupt IN, bulk IN). When the transfer completes,
    the IRP containing the URB will be completed back to you, at which
    point you can deal with it accordingly.
    chris.aseltine, Feb 11, 2009
    1. Advertisements

  3. Florian Praxmair

    Tim Roberts Guest

    I *assume* you mean that interface 1 consists of an interrupt endpoint, not
    a control endpoint. That would be the "communication class" interface,
    Only you can answer this question. You will probably want to poll the
    interrupt endpoint to learn about events, but the data will travel over the
    bulk endpoints.

    Do you know that Vista can handle a CDC device without writing a driver?
    Tim Roberts, Feb 12, 2009
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.