+ Details of the "Hayes" AT Command Language + Compiled by Tom Fernandez - June 30, 1986 Please bring any corrections/additions/deletions to the attention of the writer. GEnie EMail Address - TFERNANDEZ MacInternational- Node #2 - SYSOP Call MacInternational #2 - 300/1200/2400 - 24 Hrs. - (815) 965-5606 ------------------------------------------------------------------------ AT Command Function Default Setting ------------------------------------------------------------------------ A Answer Mode A/ Reexcute the last command. AT Attention - must preceed all commands except A/ and +++ Cn Transmitter ON/OFF C0 = Transmitter OFF (Receive only) C1 = Transmitter ON C1 D Dial the number that follows and go to originate mode. Options that may be used with D: P Pulse Dial P T Touch Tone Dial R Reverse Frequency W Wait for second dial tone @ Wait for an answer , (Comma) Pause for 2 seconds ; After dialing, return to cammand state while On-Line "... Dial the letters that follow ! Transfer call (flash switch hook) En Command mode LOCAL echo ON/OFF E0 = Echo OFF E1 = Echo ON Fn Online Local echo ON/OFF F0 = Local echo ON F1 = Local echo OFF F1 Hn ON/OFF Hook control H0 = Hang up (go on hook) H1 = Go off hook In Inquiry I0 Return product code I1 Return checksum I2 Run memory (RAM) test I3 Return call duration or real time (see Kn) I4 Return current modem settings Kn Modem clock operation K0 = Modem time call duration (see ATI3) K1 = sets modem clock to real-time. Modem returns actual time with ATI3. Mn Monitor speaker control M0 Speaker always OFF M1 Speaker ON until carrier is established M1 M2 Speaker always ON M3 Speaker ON after last digit dialed and until carrier is established. O Return on-line after screen execution Qn Quiet mode: modem result messages sent to screen. Q0 = Result messages sent Q0 Q1 = Result messages suppressed Sr=n Set Register commands: n-value must a decimal number between 0 and 255. See S Register listing below. Sr? Query register "r" Vn Verbal/Numeric mode setting V0 = Numeric results V1 = Verbal results V2 Xn Extended result codes, see below. Z Reset modem software & memory to default value +++ Escape code sequence. > Repeat command. $ Help command summary request D$ Help Dial command summary request. S$ Help S-register summary request. . Dot character (Morse Code) - Dash character (Morse Code) / Inter-character space (Morse Code) ============================================================================== ============================================================================== +-------------------------------+ + Functions & Features of the + + S-Register commands + +-------------------------------+ Values in prarenthesis are the ASCII Character. Numeric values are the ASCII Decimal Code value. ------------------------------------------------------------------------------ S0 Sets number of rings before auto-answer Default value is usually 1. S1 Counts & stores the number of rings from an incoming call. S2 Sets the escape code sequence. The default is 43. (+) S3 Sets the ASCII character recognized as a Carriage Return . The default value is usually 13. S4 Sets the ASCII character recognized as a Line Feed. The default value is usually 10. S5 Sets the ASCII character recognized as a Backspace. The default value is usually 8. S6 Sets number of seconds modem will wait for a dial tone. The default value is 2 seconds. S7 Sets the number of seconds the modem is to wait for a carrier signal after dialing, before it sends the NO CARRIER message. The default value is 30 seconds. S8 Sets the duration of the pause for the Comma (,) and the Repeat (>) commands. The default value is 2 seconds. S9 Sets the required duration, in tenths of a second, that the modem modems carrier signal must be present before the local modem will recognize it. (Carrier Detect time). The default value is 0.6 seconds. S10 Sets the duration, in tenths of a second, that the modem waits after loss of carrier before hanging up. The default is 0.7 seconds. You can adjust this value upwards to defeat Call Waiting. S11 Sets the duration and spacing of Touch-Tones during dialing. The default value is 70 milliseconds. S12 Sets the duration, in 50ths of a second, of the guard time required in the escape code sequence. The default value is 1 second. S13 Undefined and unallocated. S14 Sets the modem product result code. The default is 24n. To use Smartcom 2.0 with a 2400 baud modem, try resetting this value to 120. Use S14 to re-set the the I0 request as follows. 1) Issue an ATS14=120 when you load Smartcom 2.0 2) Exit Smartcom 3) Reenter Smartcom. Smartcom 2.1 and later versions work properly with 2400 baud modems. S15 Undefined and unallocated. S16 Modem self testing. The default value is 0. 0 = Data mode - no testing 1 = Analog loopback test 2 = Dial test 3 = Undefined and unallocated 4 = Test pattern 5 = Analog loopback and Test pattern. You can perform these tests at either 1200 or 2400 baud. HOW TO CHANGE AN S-REGISTER VALUE --------------------------------- You may change any S-Register value. For example...To change the default value of S-Register #7 to decrease the amount of the the modem waits for a carrier detect before issuing the NO CARRIER command, you would first query the default setting, and then issue a new setting. 1) Type the following string ATS7=? 2) Modem will answer with a result, usually 30 (seconds). 3) Type the following string ATS7=15 4) Modem will answer OK What you have just done will make the modem issue the NO CARRIER command if carrier is not received within 15 seconds, instead of 30 seconds. This is helpful in dialing busy bulletin board systems. =============================================================================== =============================================================================== +------------------------------+ + The "X" Command Set of + + Extended Response Codes + +------------------------------+ ============================================================================== RESULT CODE XO X1 X2 X3 X4 X5 X6 ============================================================================== 0-OK X X X X X X X 1-CONNECT X X X X X X X 2-RING X X X X X X X 3-NO CARRIER X X X X X X X 4-ERROR X X X X X X X 5-CONNECT 1200 X X X X X X 6-NO DIAL TONE X X X 7-BUSY X X X X 8-NO ANSWER (Req. @; replaces NO CARRIER) X X X X 9-RESERVED FOR FUTURE USE 10-CONNECT 2400 X X X X X X 11-RINGING X X 12-VOICE X X ----------------------------------------------------------------------------- FUNCTIONS ----------------------------------------------------------------------------- Adaptive Dialing X X X X X Wait for second dial tone (W) X X X X Wait for ANSWER (@) X X X X Fast Dial X X X X ============================================================================= ============================================================================= Download complete. Turn off Capture File.