I
Ian Williamson
Greetings,
I have been trying to perform modem communications for a
few weeks now without any success.
Using Dick Grier's wrapper, I have been able to connect
to Hyperterminal on my desktop and push keystrokes.
However, when I plug into my modem, it seems that the
modem refuses to process my AT commands. I have tried
the same modem using a full framework serial app and have
had no problems.
One thing I do notice is that the Terminal Ready light on
my modem is not on when I open the serial port using CF.
My connection settings are as follows:
CFSerialClass.SerialIO.SerialPort serial = new
CFSerialClass.SerialIO.SerialPort();
serial.EnableOnComm = true;
serial.CommPort = 1;
serial.BitRate = 57600;
serial.Parity = "N";
serial.DataBits = 8;
serial.StopBits = 1;
serial.PortOpen = true;
serial.Output("ATDT#######" + (char)13);
MessageBox.Show("wait");
serial.PortOpen = false;
Any ideas what might be going wrong?
Cheers, Ian Williamson
I have been trying to perform modem communications for a
few weeks now without any success.
Using Dick Grier's wrapper, I have been able to connect
to Hyperterminal on my desktop and push keystrokes.
However, when I plug into my modem, it seems that the
modem refuses to process my AT commands. I have tried
the same modem using a full framework serial app and have
had no problems.
One thing I do notice is that the Terminal Ready light on
my modem is not on when I open the serial port using CF.
My connection settings are as follows:
CFSerialClass.SerialIO.SerialPort serial = new
CFSerialClass.SerialIO.SerialPort();
serial.EnableOnComm = true;
serial.CommPort = 1;
serial.BitRate = 57600;
serial.Parity = "N";
serial.DataBits = 8;
serial.StopBits = 1;
serial.PortOpen = true;
serial.Output("ATDT#######" + (char)13);
MessageBox.Show("wait");
serial.PortOpen = false;
Any ideas what might be going wrong?
Cheers, Ian Williamson