Technics MT5634SMI-34, MT5634SMI-92 AT Commands, S-Registers Result Codes, AT Command Summary

Page 23

Chapter 5 – AT Commands, S-Registers, and Result Codes

Chapter 5 – AT Commands, S-Registers,

and Result Codes

Introduction

The AT commands are used to control the operation of your modem. They are called AT commands because the characters AT must precede each command to get the ATtention of the modem.

AT commands can be issued only when the modem is in command mode or online command mode.

￿The modem is in command mode whenever it is not connected to another modem.

￿The modem is in data mode whenever it is connected to another modem and ready to exchange data. Online command mode is a temporary state in which you can issue commands to the modem while connected to another modem.

￿To put the modem into online command mode from data mode, you must issue an escape sequence (+++) followed immediately by the AT characters and the command, e.g., +++ATH to hang up the modem. To return to data mode from online command mode, you must issue the command ATO.

To send AT commands to the modem you must use a communications program, such as the HyperTerminal applet in Windows 98/95 and NT 4.0, or some other available terminal program. You can issue commands to the modem either directly, by typing them in the terminal window of the communications program, or indirectly, by configuring the operating system or communications program to send the commands automatically. Fortunately, communications programs make daily operation of modems effortless by hiding the commands from the user. Most users, therefore, need to use AT commands only when reconfiguring the modem, e.g., to turn auto answer on or off.

The format for entering an AT command is ATXn, where X is the command and n is the specific value for the command, sometimes called the command parameter. The value is always a number. If the value is zero, you can omit it from the command; thus, AT&W is equivalent to AT&W0. Most commands have a default value, which is the value that is set at the factory. The default values are shown in the “AT Command Summary” (See below).

You must press ENTER (it could be some other key depending on the terminal program) to send the command to the modem. Any time the modem receives a command, it sends a response known as a result code. The most common result codes are OK, ERROR, and the CONNECT messages that the modem sends to the computer when it is connecting to another modem. See a table of valid result codes at the end of this chapter.

You can issue several commands in one line, in what is called a command string. The command string begins with AT and ends when you press ENTER. Spaces to separate the commands are optional; the command interpreter ignores them. The most familiar command string is the initialization string, which is used to configure the modem when it is turned on or reset, or when your communications software calls another modem.

AT Command Summary

Organization of AT Commands on the following pages: 1st, by the initial command character (e.g., &, +, %, etc.) 2nd, alphabetized by the second command character (Except for listing of AT).

Command

Description

AT

Attention Code

A

Answer

A/

Repeat Last Command

Bn

Communication Standard Setting

Ds

Dial

DS=y

Dial Stored Telephone Number

En

Echo Command Mode Characters

Fn

Echo Online Data Characters

Hn

Hook Control

In

Information Request

Mn

Monitor Speaker Mode

SocketModem Global MT5634SMI Developer’s Guide

23

Image 23
Contents MT5634SMI-34 MT5634SMI-92 Revisions Table of Contents Multi-Tech’s Flash Programming Protocol Appendix C Country Configuration and Result Codes Index Product Description Product Description SpecificationsIntroduction MT5634SMI Features MatrixTIA/EIA TR29.2 Technical Specifications and FeaturesStandard MT5634SMI-IT-92 Industrial Temperature 3.3V Build OptionPhysical Dimensions All Models Mechanical SpecificationsDigital Ground Pin ConfigurationsPin # Signal Name I/O Type Description Active High RDX status Tip Signal from TelcoRing Signal from Telco Active High DCD statusVCC PWR Pin # Signal Description NameDgnd GND INTElectrical Characteristics Electrical CharacteristicsTiming Requirements for Parallel Read Handling PrecautionsTiming Requirements Timing Requirements for Parallel WriteSocketModem Mimic MMM Operation SocketModem Parallel Interface a Programmer’s DescriptionSocketModem Parallel Interface Internal Registers Register Name Register Description Host Access Special Register Set Note *2 Time Out InterruptsRegister Functional Descriptions Internal RegistersTHR Transmit Holding Register TX Fifo IER Interrupt EnableBit Priority Interrupt Source Interrupt Reset Control RBR Receive Buffer RX FifoMCR Modem Control FCR Fifo ControlLCR Line Control MSR Modem Status LSR Line StatusBaud Rate Clock Divisor Decimal DLM Value HEX DLL Value HEX SCR ScratchDLL Divisor Latch LSByte DLM Divisor Latch MSByteAT Command Summary AT Commands, S-Registers Result CodesSet Register Value Modulation HandshakeDS= y Dial Stored Telephone Number AT CommandsEnter Key Dial string modifiersReturn Online to Data Mode Sr? Sr= n Set Register ValueXON/XOFF Pacing Control \Bn Transmit Break Zy=x Store Dialing Command\An Select Maximum MNP Block Size Data mode. The modem receives the break from the computer \Nn Error Correction Mode Selection\Tn Inactivity Timer \Kn Break Control\Xn XON/XOFF Pass-Through DCn AT Command Control$MBn Online BPS Speed $RPn Ring Priority vs. AT Command Priority$Dn DTR Dialing $EBn Asynchronous Word Length#CBNy=x Store Callback Password #CBDn Callback DelayCallback Failed Attempts Reset #CBIn Local Callback Inactivity TimerEscape AT Commands Modulation Possible rates bps1 Commands+MS= Modulation Selection Subparameters+PIG=n PCM Upstream Ignore +PCW=n Call Waiting Enable+PMH=n Modem on Hold Enable Mod value Valid maxrate values bps+PMHR=n Modem on Hold Initiate +PMHT=n Modem on Hold Timer+PMHF V.92 Modem Hook Flash +VCID=n Caller ID Selection +PQC=n Quick Connect Control#S=x Store Setup Password #Sx Enter Setup PasswordRegisters Register Unit Range Default DescriptionS48=7 S48=128 S38Terse Verbose Description Result Codes111 Voice Commands Voice S-Register Summary Voice CommandsCommands That Change for Voice Mode Support +FCLASS= mode Enter Select Modem Operating Mode Voice +V Commands SummaryVoice +V Commands Detail Command Description+FCLASS=8 Dtmf Detect Detect and Control Dtmf Touch Tone Signals Digit Low frequency High frequencyAT+FCLASS=? Enter Display Service Class Capabilities +FMR?Enter Report Version Level +VNH=hookEnter Automatic Hang-Up Control+FMI?Enter Report Manufacturers ID +FMM?Enter Report Product IDEnter Voice Receive State +VTS=string Produce Dtmf and Tone Generation in Voice Mode+VGR=gain Set the Gain for Received Voice Samples +VTS=? Report Frequency SupportAT+VTS=? Start Voice Transmission ProcessCode Description +VGT=level Set the Volume for Transmitted Voice Samples+VIT=timer Set DTE/DCE Inactivity Timer +VLS=label Select Analog Source/Destination+VRA=interval Set Ring Back Goes Away Timer +VSM=cml,vsr,scs,sel Select Voice Compression Method +VRN=interval Set Ring Back Never Appeared Timer+VSD=sds,sdi Set Silence Detection Sensitivity Identifier Description +VSM=? Report Voice Compression MethodAT+VSM=? Lsltcq Enable Report Description+VDT=enable,report Control Tone Cadence Reporting +VEM=? Report Event Reporting and Masking Capabilities +VEM=mask Event Reporting and MaskingAT+VBT=? Interface Configuration Commands+VPP=enable Enable or Disable Voice Mode Packet Protocol +VBT=? Report Modem Flow Control Assert and Deassert Points+VPR=rate Select DTE/DCE Interface Rate Turn Off Autobaud Voice Mode Result CodesFlow Control Tag Description Unsolicited Voice Mode Result CodesValid Complex Event Report Tags Shielded Code Hex Event Report Description Voice Mode Shielded CodesAscii Sample Rate Selection and Suggested Compression Method Command ResponseSample Sessions AT+VLS=0 AT+VLS=4AT+VTX DLE ETXAT+VNH=1 AT+VLS=2AT+VRX DLE NULAdditional Information DTE/DCE Interface RatesRelated Manuals Fax Commands Setup Remote Configuration Country Code ConfigurationRemote Configuration Basic ProcedureCountry AT Command Result Code Hexadecimal Decimal Country Code ConfigurationUsing the Global Wizard Utility Using AT CommandsUpgrade Steps Firmware Upgrade ProcedureUpgrade Overview Identify the Current Version of the Firmware Download the Upgrade FileInstall the Flash Wizard Extract the Firmware Upgrade .Hex FilesRestore Your Parameters Upgrade the Modem’s FirmwareUsing the Flash Wizard Handshake Sequence Multi-Tech Systems, Inc. Flash Programming ProtocolProgramming the Modem Modem CommentsATI4 Other Supported Boot Code CommandsOther Programming Concerns End of File Record Char Pos Field Type Value Description Intel Hex FormatData Record Char Pos Field Type Value Description Example Extended Address Record in Intel FormatExample End of File in Intel Format Serial Test/Demo Board Components Appendix a Mechanical Details5V / 3.3V Jumper JP1 Serial Test/Demo Board Block DiagramOperating Voltage Select Jumper JP4 Parallel Test/Demo Board ComponentsAddress/COM Port/ IRQ Select Jumpers JP2 and JP3 Figure A-4. Parallel Test/Demo Board Block Diagram Parallel Test/Demo Board Block DiagramTelecom Approvals Safety and EMC ApprovalsHardware Considerations Regulatory Design ConsiderationsSafety 5V Tolerant Inputs for 3.3V Modules Industry Canada FCC Part 15 RegulationTelecom Labeling Requirements FCC Part 68 TelecomReregistration From FCC Part 68 Subpart D Conditions for RegistrationCanadian Limitations Notice Fax Branding StatementMultiple Listing EMC, Safety, and R&TTE Directive ComplianceIndustry Canada CS-03 International Modem RestrictionsSouth African Notice New Zealand Telecom Warning NoticeCountry Country Config. hex ATI9 Response Appendix C Country Configuration Result CodesAppendix C Country Configuration and Result Codes Appendix C Country Configuration and Result Codes Appendix C Country Configuration and Result Codes Page Index Index Index Index