Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

56k Modem

Status
Not open for further replies.

JurkMonkey

Programmer
Nov 23, 2004
1,731
CA
I am using the SerialPort class of 2.0 framework to try to connect to an external modem (plugged into the Serial port) and I'm not having much luck making it dial.

Does anyone have any experience doing this?

Thanks
 
Just a thought. Is the stream buffered? You may have to explicitly flush it to make sure the data actually get written to the device.

Steve

[small]"Every program can be reduced by one instruction, and every program has at least one bug. Therefore, any program can be reduced to one instruction which doesn't work." (Object::perlDesignPatterns)[/small]
 
well I got it to behave a little bit better.

You have to set ctsEnabed and dtsEnabled to true before sending any commands. So I did it right after .Open().

Now I jsut have to figure out the right sequence of AT commands to make it do what I want.

I'll try to post my solution once I'm done.
 
ATDT18005551212

(using my Hayes command-set lore)

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top