Multi-Tech Systems MT3334HD8 Escape Sequences, +++ATCR In-Band Escape Sequence, Force Answer Mode

Page 45

3 AT Commands

Escape Sequences

Escape sequences are also known as escape codes. They are used to cause the modem to enter command mode from online mode without disconnecting the call. There are two local escape sequences used by the modem, +++AT<CR> and <BREAK>AT<CR>, and one remote escape sequence, %%%AT<CR> (see “Remote Configuration.”).

+++AT<CR> In-Band Escape Sequence

If the modem is online with a remote modem, you can cause the modem to enter command mode, without disconnecting the call, by typing an escape code. The default escape code used by the modem is three plus signs (+++) followed by the letters AT, up to 10 command characters (most typically H, to hang up), and ENTER. The modem then escapes to command mode, executes the command (if any), and remains in command mode. For example, to hang up the modem at the end of a call, type +++ATH <CR>.

<BREAK>AT<CR> Out-of-Band Escape Sequence

The MT3334HD8 provides an alternate escape method that uses a break signal as the escape code. The break signal— ten or more zero bits issued by data communications software—allows the DTE to signal the modem without the risk of the modem interpreting data characters as modem control characters. The break signal is followed by the letters AT, up to 60 command characters, and ENTER. When this sequence is used, the modem executes the command and immediately returns to online mode, unless the command is to hang up and/or reset the modem (an H or Z command). In the latter case, the modem escapes to command mode after executing the H or Z command.

%En Escape Sequence Options

n = 0–5

Defaults: %E1 and %E4

The default setting is for the modem to respond to the +++ escape method. Optional settings are for the modem to respond to the <BREAK> method, for the modem to respond to either the +++ or the <BREAK> methods, and for the modem to ignore both methods and not escape. The %E command is used to select these options as follows:

%E0

Modem won’t escape

%E1

+++ AT<CR> escape method (factory default).

%E2

<BREAK> escape method.

%E3

Either +++ or <BREAK> escape methods.

%E4

Disables OK response to +++ (factory default).

%E5

Enables OK response to +++.

%E1 %E5 Enables +++ method and OK responses to +++.

%E3 %E5 Enables +++ or <BREAK> method and OK responses to +++.

AForce Answer Mode

You can use the A command to force the modem into answer mode. Type ATA when in command mode to immediately bring your modem off-hook, out of command mode, and into online answer mode, and to cause it to transmit its carrier signal over the phone line. If no responding carrier tone is received by your modem within forty-five seconds (or by the time you have specified in register S7), your modem stops transmitting its tone, hangs up, and goes back into command mode.

CommPlete Communications Server

39

Image 45
Contents MT3334HD8 Modem User Guide Multi-Tech Systems, Inc Woodale Drive Mounds View, Minnesota CommPlete Communications Server Canadian Limitations Notice FCC Fax WarningTable of Contents Warranty, Service, and Technical Support Testing the MT3334HD8Appendix D Appendix FIntroduction Power Supplies LED IndicatorsIntroduction Manual OrganizationInstallation Data Rates Modem Technical SpecificationsIntroduction 2400 & 1200 bps MT3334HD8 User Guide Power Installation MT3334HD8 modem card Safety WarningsInstallation Procedure Pre-Installation NotesPage AT Commands Working with AT Commands Command StructureModes of Operation Command Editing AT Commands by Function $BA Dial Modifier Commands Dialing CommandsDs Dial Continuous RedialWait for New Dial Tone Pulse or Tone DialingReturn to Command Mode After Dialing Rn Reverse Originate/Answer ModeDialing Pause Flash On-Hook@ Quiet Answer Phone Number Memory CommandsCall Card Tone Detect DsNd Store a Phone NumberWn Store Configuration Configuration Storage and Recall CommandsNdNe Number Linking List Stored Telephone NumbersModem Response Result Code Commands Fn Load Default ConfigurationReset Modem Echo Command Mode Characters Result Codes Verbose/Terse An Answerback Online Connection Commands#An Auto Speed Detection Bn Answer ToneDCn AT Command Control CDn Cleardown at DisconnectDTn Dtmf Detection Gn Guard Tones #Fn Fallback ModesHn Busy-Out After Disconnect Pn Set Pulse-Dial RatiosRDn Square Wave Ring Detect $Tn Calling Tone#Tn Trellis-Coded Modulation Fn Echo Canceler Frequency Offset Compensation CommandsYn Long Space Disconnect RAn Asymmetric Bit RateRS-232 Interface Commands Cn Carrier Detect ControlDn Data Terminal Ready Control Sn Data Set Ready Control Rn Clear to Send ControlRFn CTS/RTS Interaction Control SFn DSR/CD Interaction ControlEn Error Correction Modes Error Correction and Data Compression Commands#Ln V.42 Error Correction Modes En Data Compression$En V.42 Error Correction at 300 bps $Fn Auto-Reliable Fallback Character Enable/Disable$An Auto-Reliable Buffering Speed Conversion Commands $BAn Baud Adjust$Rn Retransmit Count $SBn Serial Port Baud Rate $MBn Modem Baud RateRepeat Last Command Immediate Action CommandsInquire Product Code L5, L7 List Current Operating ParametersFlow Control Commands En Non-Error Correction Mode Flow Control E3 Flow Control DisableE4 Hardware Flow Control E5 XON/XOFF Flow Control#Xn Number of Xoff Characters Sent En Pacing Computer-Initiated Flow ControlEscape Sequences Force Answer Mode+++ATCR In-Band Escape Sequence Breakatcr Out-of-Band Escape SequenceAtcr Remote Configuration Escape Sequence Remote Configuration Commands#Ixxxxxx Change Login Password Go Back Online#Syyyyyy Change Setup Password Line Probe CommandsDPn Read Line Probe Data DFn Format Line Probe DataTn Respond to Remote Digital Loopback Signal Diagnostic CommandsRP Immediate Line Probe Ln Display Line Probe DataUn Loopback Test Modes MT3334HD8 User Guide Registers S0 Number of Rings Until Modem Answers RegistersS1 Ring Count S2 Escape Code CharacterS4 Line Feed Character S7 Time for Carrier Abort TimerS5 Backspace Character S6 Wait Time for Dial ToneS13 Remote Configuration Escape Character S10 Carrier Loss Disconnect Delay TimeS9 Carrier Detect Response Time S11 Tone Dialing Spacing and DurationS34 Command Buffer Length After Online Escape Sequence S30 Inactivity TimerS24 PBX/CBX Disconnect Drop Time for DSR/CTS/CD S25 DTR Dropout TimeS37 DTR Busy-In Time S94 Out-of-Service TimeS43 Force V.34 Connect Speed S48 Maximum V.34 Connect SpeedReading and Assigning S-Register Values AT Commands that Affect S-RegistersExamples of Assigning Values Examples of Reading ValuesAT&E2$SP1#L3$R0$MB19200$SB115200$EB1S0=10&W0CR Testing the MT3334HD8 Local Analog Loopback Test V.54 Loop Test procedureRemote Digital Loopback Test V.54 Loop Testing the MT3334HD8Dial the remote modem and establish your online connection Local digital loopback test Local Digital Loopback Test V.54 LoopPage Warranty, Service, and Technical Support Service Limited WarrantyRecording Product Information Technical SupportMulti-Tech BBS Logging onto the Multi-Tech BBSDownloading a File Reading a Message About CompuServeLeaving a Message BulletinsAbout the Internet About the Multi-Tech Fax-Back ServiceUpgrading the MT3334HD8 Firmware Using FlashPro to Upgrade FirmwareMT3334HD8 User Guide Appendixes Ctrl Code HEX DEC Appendix a Ascii Conversion ChartAppendix B Dial Pulses and Tones Dial PulsesTone Dial Frequencies Figure B-2. Standard Dtmf frequencies Multi-Tech Result Codes &Q0 Appendix C Result Code SummaryStandard AT Result Codes &Q1 Appendix D S-Register Summary Register Unit Range Default DescriptionSets fixed V.34 connect speed = 28800 bps Return Appendix E AT Command SummaryCDn AT Command Summary $Fn Command Values Description Command Values Description $MBn RAn Command Values Description SFn Command Values Description #Vn Breakatcr Appendix F Remote Configuration Basic ProcedureSetup Changing the Remote Escape Character Changing the PasswordsIndex MT3334HD8 User Guide Index Long space break Pacing, 36, 37, 38 enable/disable, 38 ENQ/ACK Commands Loopback tests, 42, 43, 54, 56 tone detection