Link to home
Start Free TrialLog in
Avatar of mombino
mombinoFlag for Sudan

asked on

modem commands

I found a book that supply with a huge list of modem commands...but did not know where to use them or under wich platform or interface....it did not work with the command prompt or assimbly...

simply..how can i use AT set commands and where to be written....???
like ATDT 3334565 (dailing the number with the tone mode)???????  
Avatar of oldgreyguy
oldgreyguy

not quite sure what it is you are wanting, the command ATDT 3334565 is going to dial the phone number 3334565.

here is a listing of fairly common modem commands:

http://www.computercraft.com/docs/hayescom.html
> simply..how can i use AT set commands
> and where to be written....???

Simply use "HyperTerminal",
(Start -> Programs -> Accessories -> ..)
and use your keyboard, while HyperTerminal is "online".

Either that, or use MS Kermit (http://www.columbia.edu/kermit/).
Avatar of mombino

ASKER

realy iam trying to make a programm that uses A modem.....phone-pc-phone connection and tring to get known with the control of the modem......so how can i do so in a program..??
 
Just open the port and then call whatever function your program language has to move data to the communications device.
All the "source" files for MS Kermit are available -- study how they do it.
ASKER CERTIFIED SOLUTION
Avatar of Edio
Edio

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
    Ops.. the part number is RC224ATL not RS224ATL
You can send modem commands directly to your modem by using a terminal program like Hyper Terminal in Windows 95/98. The AT commands can also be used to modify how the modem works by entering a modem "string", containing the specific AT commands you prefer, in the Advanced Connection settings area of Modem Properties.
A more clear example: a QBASIC (even GW-BASIC !!) program like this would you what you want:

10 OPEN "COM1:9600,O,8,1,CS,DS" AS 1
20 PRINT #1,"ATDT 3334565"

That will send the characters "ATDT..." to the COM1 port [*] and, magically :) , the modem will dial the number.

Of course, once connection is established you must know what to do after that, i.e.: how to log in the remote system, or how to exchange a file, etc..


[*] Watch out: those OPEN command work only with COM1 and COM2 (COM3 and above will result in an error).