serial device driver communicating with java comm api.

Discussion in 'Windows Vista Drivers' started by byrnel, Oct 3, 2005.

  1. byrnel

    byrnel Guest

    I am writing a serial device driver for a custom piece of hardware on Windows
    XP. I am interfacing to an application that uses the java comm api. I am
    wondering how the driver is supposed to notify the application when data is
    received. I believe there is event listener and the driver is supposed to
    trigger a DATA_AVAILABLE event somehow in the java api. I have looked at the
    serial port driver that ships with the windows xp ddk and it looks like if
    there is no read IRP outstanding the rx data just gets dumped in an internal
    interrupt buffer. How does the serial device driver get the rx data to the
    java comm. api? Any help would be greatly appreciated.
     
    byrnel, Oct 3, 2005
    #1
    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.