I have written a driver for a USB Modem. It is connecting well through Hyperterminal to both serial port and the Modem.
While Connecting to Internet via DUN, It Gives DTR, CTS , DCD and DSR High, but does not proceed further after “verifying username and password” in DUN dialog box. I didn’t set any username and passwords for connection.
While Connecting to Internet via DUN, It Gives DTR, CTS , DCD and
DSR High, but does not proceed further after “verifying username
and password” in DUN dialog box. I didn’t set any username and
passwords for connection.
No I didn’t handled SERIAL_EV_RXFLAG .
But I am Handling IOCTL_SERIAL_GET_WAIT_MASK, IOCTL_SERIAL_SET_WAIT_MASK and IOCTL_SERIAL_WAIT_ON_MASK as done in fakemodem sample of KMDF in Winddk .
refer to the DDK on what each flag in mask mean.
You need to complete the wait _on_mask accordingly.
SERIAL_EV_RXFLAG is one such flag, there are many such flags ex, SERIAL_EV_TXEMPTY, SERIAL_EV_RXCHAR, SERIAL_EV_RLSD etc
Well, you say you don’t handle it, but then you say you’re completing WAIT_MASK with the bit set. So which one is it? Either way, as Sunil said, you need to properly implement the serial spec for your driver to work.