Gregory . Josephs on Mon, 26 Jul 1999 14:26:51 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re[2]: [Plug] New Modem--Troubleshooting help Needed


Under MS-DOS, with the modem on COM2:, you should be able to test the modem by
entering a command line at the keyboard, like _COPY COM2: < Carriage Return >_,
followed by the string you want to send (presumably modem instructions like
_ATDT 9,1234567_), followed by _< Control X >_ to transmit the string to the
modem.  The sample string given would dial 9, pause, then dial 123-4567 on a
touch-tone phone line.

Hayes-compatible commands include:

ATDP       Dial on a pulse (dial) phone
ATDT        Dial on a touch-tone phone
ATH          Hang up
ATZ          Hang up and reset to default settings
A/             Repeat last command
ATB0        Use international protocol
ATB1        Revert to Bell mode
ATC0       Turn off carrier signal
ATC1       Turn on carrier signal
ATE0       Turn off echo to screen
ATE1       Turn on echo to screen
ATF0       Turn off half duplex
ATF1       Turn on half duplex
ATLn        Set speaker volume; n = 1 .. 3
ATM0       Turn speaker off
ATM1       Turn speaker on
ATQ0       Turn on result codes
ATQ1       Turn off result codes
ATS0n     Set register 0 to number of ring to answer on; n = 0 to 255 rings
ATS6n     Set register 6 to wait time for dial tone; n = 2 -255 seconds
ATS7n     Set register 7 to wait time for carrier;  n = 1-60 seconds
ATV0       Display result codes as digits
ATV1       Display result codes as words
ATY0       Neither send nor respond to break signals
ATY1       Send four seconds of break signal before disconnecting.
               Disconnect if 1.6 seconds of break signal is received.


[Note:  Each command string must begin with _AT_ or _at_, not _aT_ or _At_. 
This lets the modem determine the baud rate, word length, and parity.]

When the modem is in online mode (that is, expecting data), it can be returned
to local command mode without disconnecting by (at least) one second of silence,
then _+++_, then one more second of silence.

Result codes are:

0      OK                       Command executed
1      CONNECT            Connect at 0-300 bps
2      RING                    Ringing signal detected
3      NO CARRIER       
4      ERROR                 Error in command line
5      CONNECT 1200    Connected at 1200 bps
6      NO DIALTONE
7      BUSY
8      NO ANSWER
10    CONNECT 2400    Connected at 2400 bps

GregJ

_______________________________________________
Plug maillist  -  Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug