×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Program to control the modem

Program to control the modem

Program to control the modem

(OP)
Hi,
I'm trying to find out how to write a program to control the modem to dial telephone number. What I've found so far seems to be related to interfacing the PC to the modem, but stops short of saying how the dialling is done. Anyone can point me in the right dirction?
Thanks!
J.

RE: Program to control the modem

The modem manufacturers used to provide a manual with the "AT" commands. For example from dos copy con: com1 ATDT 5551212 would dial 5551212 on the modem if it was attached to com1. The syntax may be incorrect but thats the idea.

If your not interfacing with the modem through a PC, I don't know.

Gerald Austin
Weldinginspectionsvcs.com

RE: Program to control the modem

Hi jumbled,

the only way that I have ever heard of being able to program a modem is through the serial port, be that a physical one such as RS-232 or through a virtual port supported by the operating system. To control the modem you use the AT command set as Gerald pointed out. To get a modem to dial you issue the command AT DT 555 1234. The 'D' tells the model to dial, and the 'T' tells it to use tones (as opposed to 'P' for the old decadic pulse dialing). The modem will respond back with a 'CONNECT' message when it has successfully dialed the other party. You can then send whatever charaters you want to the serial port and onto the other end.

Hope this helps.

RE: Program to control the modem

jumbled ...I did make one prgram 1 yr back which used to dial using VC++...For ISDN i remeber i used RasDial(..) APIs
and for Normal modem InternetDial(..) functions ...hope this will solve yur problem..

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources