SocketModem™ MT5600SMI MT5656SMI AT Commands Fax Class 1 Commands Fax Class 2 Commands Voice Commands Reference Guide
Copyright and Technical Support SocketModem Reference Guide MT5600SMI and MT5656SMI PN S000306B, Version B Copyright This publication may not be reproduced, in whole or in part, without prior expressed written permission from Multi-Tech Systems, Inc. All rights reserved. Copyright © 2002-2004, by Multi-Tech Systems, Inc. Multi-Tech Systems, Inc.
Table of Contents Contents Chapter 1 – AT Commands, S-Registers and Result Codes .................................................................... 4 Introduction................................................................................................................................................ 4 Escape Code Sequence – +++ ................................................................................................................. 4 Data Commands............................................
Chapter 1 – AT Commands, S-Registers and Result Codes Chapter 1 – AT Commands, SRegisters 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.
Chapter 1 – AT Commands, S-Registers and Result Codes Data Commands The modem will respond to the commands detailed below. Parameters applicable to each command are listed with the command description. Generic Modem Control Commands Command: Z Description: Causes the modem to perform a soft reset and restore (recall) the configuration profile. If no value is specified, zero is assumed. None Number corresponding to the selected profile: Z0 Soft reset and restore stored profile 0.
Chapter 1 – AT Commands, S-Registers and Result Codes Command: +VRID Description: Report Retrieved Caller ID (CID) Report Commands: Reports the data associated with the Caller ID services in the Incoming Caller Line (ICLID) data format for the last received call. U.S. only None +VRID0 Reports Caller ID with formatted presentation to the DTE. The modem presents the data items in a pair format. The expected pairs are date, time, name, and caller code (telephone number).
Chapter 1 – AT Commands, S-Registers and Result Codes Command: +GMI Description: Typical Response: Command +GMM Description: Typical Response: Command: +GMR Description: Typical Response: Command: +GCAP Description: Example Responses: Command: +GCI Description: Default: Report Commands: Command: Description: Default: Values: Result Codes: &F Request Manufacturer Identification Causes the modem to report the modem product manufacturer.
Chapter 1 – AT Commands, S-Registers and Result Codes Command: &T Description: The modem will perform the local analog loopback test if &T1 is selected. The test can be run only when in an asynchronous operation in non-errorcorrection mode (normal), e.g., AT&Q6. To terminate the test in progress, the escape sequence must be entered first. None &T0 Terminates test in progress. Clears S16. &T1 Initiates local analog loopback, V.54 Loop 3. Sets S16 bit 0.
Chapter 1 – AT Commands, S-Registers and Result Codes Command %8 Description: Sets and stores Vendor ID and product number for serial Plug and Play and for ISA Plug and Play which use the Conexant 11596 Plug and Play device. Applicable to Desktop configuration only.
Chapter 1 – AT Commands, S-Registers and Result Codes 7. After the FLM has been loaded, if uploading new firmware to the modem, perform an XMODEM upload of the new modem firmware hex file (e.g., 206s4712.S37) from the host computer to the modem RAM using industry standard communications software or an equivalent process. If downloading existing firmware from the modem, using an industry standard communications software or equivalent, put the host PC in XMODEM receive mode. 8.
Chapter 1 – AT Commands, S-Registers and Result Codes DTE-Modem Interface Commands The parameters defined in this section control the operation of the interface between the DTE and modem. Command: E Description: The modem enables or disables the echo of characters to the DTE. The parameter value, if valid, is written to S14 bit 1. 1 E0 Disables command echo. E1 Enables command echo.
Chapter 1 – AT Commands, S-Registers and Result Codes Command: Description: Default: Defined Values: Result Codes: X Extended Result Codes Selects the subset of the result code messages used by the modem to inform the DTE of the results of commands. Blind dialing is enabled or disabled by country parameters. If the user wishes to enforce dial tone detection, a "W" can be placed in the dial string (see D command). The information below is based upon the default implementation of the X results table.
Chapter 1 – AT Commands, S-Registers and Result Codes Command: &C Description: The modem controls the RLSD output in accordance with the parameter supplied. The parameter value, if valid, is written to S21 bit 5. 1 &C0 RLSD remains ON at all times. &C1 RLSD follows the state of the carrier.
Chapter 1 – AT Commands, S-Registers and Result Codes Command: &R RTS/CTS (Request to Send/Clear to Send) Option Description: This selects how the modem controls CTS. CTS operation is modified if hardware flow control is selected (see &K command). The parameter value, if valid, is written to S21 bit 2. None &R0 In sync mode, CTS tracks the state of RTS; the RTS-to-CTS delay is defined by S26. In async mode, CTS is normally ON and will turn OFF only if required by flow control.
Chapter 1 – AT Commands, S-Registers and Result Codes Command: +IFC DTE-Modem Local Flow Control Description: This extended-format compound parameter controls the operation of local flow control between the DTE and the modem during the data state when V.42 error control is used, or when fallback to non-error control mode is specified to include buffering and flow control. It accepts two numeric subparameters.
Chapter 1 – AT Commands, S-Registers and Result Codes Call Control Commands Command: Description: Defined Values: D Dial Directs the modem to go on-line, dial according to the string entered and attempt to establish a connection. If no dial string is supplied, the modem will go on-line and attempt the handshake in originate mode. Note: If the ATD command is issued before the S1 register has cleared, the modem will respond with the NO CARRIER result code.
Chapter 1 – AT Commands, S-Registers and Result Codes of silence before the expiration of the call abort timer (S7), the modem will terminate the call attempt with a NO ANSWER message. If busy detection is enabled, the modem may terminate the call with the BUSY result code. If answer tone arrives during execution of this parameter, the modem handshakes. & Wait for credit card dialing tone before continuing with the dial string.
Chapter 1 – AT Commands, S-Registers and Result Codes Command: A Description: Command: The modem will go off-hook and attempt to answer an incoming call if correct conditions are met. Upon successful completion of answer handshake, the modem will go on-line in answer mode. This command may be affected by the state of Line Current Sense, if enabled. (Most countries do not require Line Current Sense.) Operation is also dependent upon +FCLASS command and country-specific requirements.
Chapter 1 – AT Commands, S-Registers and Result Codes Command: L Description: Sets the speaker volume control. The parameter value, if valid, is written to S22 bits 0 and 1. 1 L0 Low volume. L1 Low volume. (Default.) L2 Medium volume. L3 High volume.
Chapter 1 – AT Commands, S-Registers and Result Codes Command: Description: Result Code: Example: &V Display Current Configuration and Stored Profiles Reports the current (active) configuration, the stored (user) profiles, and the first four stored telephone numbers. The stored profiles and telephone numbers are not displayed if the NVRAM is not installed or is not operational as detected by the NVRAM test during reset processing.
Chapter 1 – AT Commands, S-Registers and Result Codes Command: Description: &V1 Display Last Connection Statistics Displays the last connection statistics in the following format (shown with typical results): TERMINATION REASON LOCAL REQUEST LAST TX rate 26400 BPS HIGHEST TX rate 26400 BPS LAST RX rate.
Chapter 1 – AT Commands, S-Registers and Result Codes Command: \V Description: Default: Defined Values: Command: %L Description: Description: Example: Result Codes: Report Line Signal Level Returns a value, which indicates the received signal level. The value returned is a direct indication (DAA dependent) of the receive level at the MDP, not at the telephone line connector. For example, 009 = -9 dBm, 043 = -43 dBm, and so on.
Chapter 1 – AT Commands, S-Registers and Result Codes Command: –STE= Description: Set Telephony Extension Enables/disables Line-In-Use, Extension Pickup, and Remote Hangup detection features. Note: Additional hardware may be required to support these features. The corresponds to the selected bit-mapped options. The bit fields are defined as follows: Bit 0 Line-In-Use detection enable/disable. Bit 1 Extension Pickup detection enable/disable. Bit 2 Remote Hangup detection enable/disable.
Chapter 1 – AT Commands, S-Registers and Result Codes Case 2: Telephone Line is in Use but Disconnected If an ATDT, ATDP or ATDL is issued while Line-In-Use detection is enabled and the telephone line is NOT in use, the modem will go offhook after a short pause, then respond with CONNECT or NO CARRIER message.
Chapter 1 – AT Commands, S-Registers and Result Codes An extension is off-hook but there is silence on the line and the modem tries to dial AT-STE=3 ATDT555-1212 Modem goes off-hook NO DIAL TONE Modem is connected in data mode and remote modem goes on-hook AT-STE=4 ATDT555-1212 CONNECT NO CARRIER Remote modem drops line ATS86=? 025 Modem is in answer machine mode and an extension goes off-hook AT-STE=2 AT+FCLASS=8 OK h Local handset on-hook R Ring AT+VLS=1 OK AT+VSM=1,7200,0,0 AT+VTX Starts to pl
Chapter 1 – AT Commands, S-Registers and Result Codes Modulation Control Commands Command: Description: Syntax: +MS Modulation Selection This extended-format compound parameter controls the manner of operation of the modulation capabilities in the modem. It accepts six subparameters. +MS=[[,[,[, [, [,]]]]]] Where possible , , , , and values are listed in Table 1-3.
Chapter 1 – AT Commands, S-Registers and Result Codes = lowest () and highest () rate supported by the selected carrier.) Report Commands: Result Code: and Numeric values which specify the lowest () and highest () rate at which the modem may establish a transmit connection. Non-zero values for this subparameter are decimal encoded, in units of bit/s. The possible values for each modulation are listed in Table 1-3.
Chapter 1 – AT Commands, S-Registers and Result Codes Command: +MR Description: Default: Defined Values: Report Commands: Modulation Reporting Control This extended-format numeric parameter controls whether or not the extended-format +MCR: and +MRR: intermediate result codes are transmitted from the modem to the DTE.
Chapter 1 – AT Commands, S-Registers and Result Codes Command: %E Description: Controls whether or not the modem will automatically monitor the line quality and request a retrain (%E1) or fall back when line quality is insufficient or fall forward when line quality is sufficient (%E2). The parameter value, if valid, is written to S41 bits 2 and 6. If enabled, the modem attempts to retrain for a maximum of 30 seconds. Fallback/Fall Forward. When %E2 is active, the modem monitors the line quality (EQM).
Chapter 1 – AT Commands, S-Registers and Result Codes Error Control Commands Command: Description: Default: Defined Values: Examples: +ES Error Control and Synchronous Mode Selection This extended-format command specifies the initial requested mode of operation when the modem is operating as the originator.
Chapter 1 – AT Commands, S-Registers and Result Codes +ES=3 +ES=,,2 +ES=3,,2 Report Commands: +ES? +ES=? Command: +EB Description: Default: Defined Values: Report Commands: Command: +ESR Description: Report Commands: Command: +EFCS Description: Defined Values: Report Commands: Enable V.42 with Detection Phase originator. Disable V.80 Synchronous Access Mode originator. Allow LAPM, MNP, or Normal Mode connection answerer. Disable V.80 Synchronous Access Mode answerer. Enable V.
Chapter 1 – AT Commands, S-Registers and Result Codes Command: +ER Description: Default: Defined Values: Report Commands: Command: Description: Defined Values: Error Control Reporting This extended-format numeric parameter controls whether or not the intermediate result code is transmitted from the modem to the DTE. S95 bit 3 is reset to 0 for +ER=0 and is set to a 1 for +ER=1.
Chapter 1 – AT Commands, S-Registers and Result Codes Command: +ETBM Description: Default: Defined Values: Report Commands: Command: Description: Defined Values: Result Codes: \B Call Termination Buffer Management This extended-format compound parameter controls the handling of data remaining in modem buffers upon call termination.
Chapter 1 – AT Commands, S-Registers and Result Codes Command: \K Description: Controls the response of the modem to a break received from the DTE or the remote modem or the \B command. The parameter value, if valid, is written to S40 bits 3, 4, and 5. The response is different in three separate states. The first state is where the modem receives a break from the DTE when the modem is operating in data transfer mode: \K0 Enter on-line command mode, no break sent to the remote modem.
Chapter 1 – AT Commands, S-Registers and Result Codes Data Compression Commands This section contains parameters to condition modem use of standard ITU-T V.42bis Data Compression Procedures. Command: +DS Description: Defined Values: Report Commands: Command: Description: Defined Values: +DS44 Data Compression This extended-format compound parameter controls the V.42bis data compression function if provided in the modem.
Chapter 1 – AT Commands, S-Registers and Result Codes Report Commands: Decimal number 256 to 2048 that specifies the maximum number of codewords which should be negotiated in the transmit direction. (Default = 2048.) Decimal number 256 to 2048 that specifies the maximum number of codewords which should be negotiated in the receive direction. (Default = 2048.
Chapter 1 – AT Commands, S-Registers and Result Codes Command: +DR Data Compression Reporting Description: This extended-format numeric parameter controls whether or not the extended-format +DR: intermediate result code is transmitted from the modem to the DTE. S95 bit 5 is reset to 0 for +DR=0 and is set to a 1 for +DR=1. The more recent setting of +DR or S95 bit 5, and the W command setting, determines the actual data compression result code reporting (see S95 Parameter and W Command).
Chapter 1 – AT Commands, S-Registers and Result Codes V.8/V.8bis Commands Command: +A8E Description: Defined Values: Default values: Report Commands: V.8 and V.8bis Operation Controls This command is defined for two conditions: as a parameter while the modem is on-hook and as an action command while the modem is offhook. If enabled, V.8 negotiation does not preclude simultaneous implementation of other negotiation means (e.g., V.8bis, V.18, V.32bis Annex A).
Chapter 1 – AT Commands, S-Registers and Result Codes Command: Description: Defined Values: Example: +A8I: CI Signal Indication This indication is issued by an answering modem, if +A8E, .0, to indicate detection of a V.8 CI signal, and report the recovered Call Function octet(s). A hexadecimal code octet representation of the Call Function octet(s). +A8I:0 indicates that the modem timed out waiting for CI. +A8I:0 The modem timed out waiting for CI. +A8I:X YYY Multi-Tech Systems, Inc.
Chapter 1 – AT Commands, S-Registers and Result Codes Diagnostic Commands Command: Description: #UD Last Call Status Report #UD is an action command requesting logged operation events reporting. It does not take parameters and must be the last command in the command line. The modem logs aspects of their operation for each call, and saves these results until cleared by one of the following events: Power off. Hard reset (e.g., negate DTR with &D3 set; reset button). Soft reset = ATZ or AT&F.
Chapter 1 – AT Commands, S-Registers and Result Codes Unless otherwise noted, all values are hexadecimal numbers. Any numeric values from tables in ITU V.58 are converted to hexadecimal. Multi-digit values are reported MSD first. Leading 0’s may be deleted. See examples in Table 1-13. Monitoring an Active Connection This command is intended for use after call termination. However, codes are defined so that a modem can respond before the first call is placed, and during a call for live monitoring purposes.
Chapter 1 – AT Commands, S-Registers and Result Codes 55 56 57 58 59 60 61 0-FFFF 0-FFFFFFFF 0-FFFFFFFF 0-FFFF 0-FFFF Table 1-12 0-FF Call Received characters lost (data overrun errors to DTE) Transmit I- Frame count, if error control protocol running Received I-Frame count, if error control protocol running Transmit I-Frame error count, if error control protocol running Received I- Frame error count, if error control protocol running Termination Cause Waiting event count Table 1-5.
Chapter 1 – AT Commands, S-Registers and Result Codes Table 1-10. errorControl Active from 3.5.2/V.58 Value Description 0 1 2 80 Disable/none V.42 LAPM V.42 Alternative protocol (MNP™) MNP10™ Table 1-11. compressionActive from 3.2.2/V.58 Value Description 0 1 80 None V.42bis and V.44 MNP5™ Table 1-12. callCleared codes from 3.6.4/V.
Chapter 1 – AT Commands, S-Registers and Result Codes Example Modem Response and Usage Example #UD commend response are shown in Table 1-13. Table 1-13. Completed Data Call, with some errors and rate retrain during the call Modem Response Line Description DIAG <2A4D3263 0=09> DIAG <2A4D3263 1=06 2=0 3=0> This is version 0.9 Data Answer signal detected; Data only; Character async V.8 Call Menu indicates: V.
Chapter 1 – AT Commands, S-Registers and Result Codes Compatibility Commands Command: &L Description: Requests leased line or dial-up operation. This command is provided for compatibility only; no mode change is performed, dial-up operation continues. The OK response is returned for a valid parameter, but no other action is performed. The parameter value, if valid, is written to S27 bit 2. &L0 Requests dial-up operation. Dial-up operation continues.
Chapter 1 – AT Commands, S-Registers and Result Codes Fast Connect Commands Command: Description: Defined Values: $F FastConnect Control Allows configuring of the client modem to connect to a central site modem that supports non-standard V.22 and V.22 bis FastConnect protocols. Specifies the initial requested mode of operation when the modem is operating as the originator.
Chapter 1 – AT Commands, S-Registers and Result Codes V.92 +P and –Q Commands This section describes the +P (PCM DCE) and –Q commands and parameters used to control the V.92 Mode operation. Command: +PCW Description: Defined Values: Result Codes: Report Commands: Command: +PMH Description: Defined Values: Result Codes: Report Commands: Call Waiting Enable Controls the operation of the modem in the presence of call waiting.
Chapter 1 – AT Commands, S-Registers and Result Codes Command: +PMHR Initiate Modem-on-Hold Description: Requests the modem to initiate or to confirm a modem-on-hold procedure. The modem will return ERROR if modem-on-hold is not enabled or if the modem is in an idle condition. The modem will return the string response +PMHR: where is a decimal value corresponding to the status of the modem's hold exchange procedure as defined below.
Chapter 1 – AT Commands, S-Registers and Result Codes Command: +PIG Description: Defined Values: Result Codes: Report Commands: Command: +PMHF Description: Controls the selection of PCM upstream in the modem. The actual state of PCM upstream is determined by the state of this command as well as the state of a negotiated handshake with a V.92-compliant server in V.92 Mode. +PIG0 Enable PCM upstream negotiation. +PIG1 Disable PCM upstream negotiation. (Default.) OK 0 or 1 in V.92 Mode (+MS=V.
Chapter 1 – AT Commands, S-Registers and Result Codes Command: +PSS Description: Defined Values: Result Codes: Report Commands: Command: -QCPC Description: Causes a calling modem to force either a V.92 short or full startup sequence as defined by the +PQC command on the next and subsequent connections. +PSS0 The modems decide whether or not to use the short startup procedures. The short startup procedures can only be used if enabled by the +PQC command. (Default.) +PSS1 Reserved.
Chapter 1 – AT Commands, S-Registers and Result Codes S-Registers Certain modem values, or parameters, are stored in memory locations called S-registers. Use the S command to read or to alter the contents of S-registers (see previous section). * Register value may be stored on one of two user profiles with the command &W. Register Unit Range Default Description S0 1 ring 0–255 0 Number of Rings to Auto-Answer: Sets the number of rings until the modem answers. ATS0=0 disables autoanswer completely.
Chapter 1 – AT Commands, S-Registers and Result Codes Register S9 Unit 0.1 s Range 1–255 Default 6 Description Carrier Detect Response Time: Supported for backward compatibility only. No value can be written. Responds with default value. * S10 0.1 s 1–255 14 Lost Carrier to Hang Up Delay: Sets the length of time, in tenths of a second that the modem waits before hanging up after a loss of carrier. This allows for a temporary carrier loss without causing the local modem to disconnect.
Chapter 1 – AT Commands, S-Registers and Result Codes Register S21 Unit Range Default 52 (34h) Description V.24/General Bit-Mapped Options Status: Indicates the status of command options. Bits 0 - 1 Reserved (0) Bit 2 CTS behavior (&Rn) 0= CTS tracks RTS (&R0) 1= CTS always on (&R1) (Default.) Bits 3-4 DTR behavior (&Dn) 0= &D0 selected 1= &D1 selected 2= &D2 selected (Default.) 3= &D3 selected Bit 5 RLSD (DCD) behavior (&Cn) 0= &C0 selected 1= &C1 selected (Default.
Chapter 1 – AT Commands, S-Registers and Result Codes Register S27 Unit Range S28 Default Description 73 (49Ah) General Bit-Mapped Options Status: Indicates the status of command options. Default: 73 (49h) (01001001b) Bits 0, 1, 3 Synchronous/asynchronous selection (&Mn/&Qn) 3 1 0 0 0 0 &M0 or &Q0 0 0 1 &M1 or &Q1 0 1 0 &M2 or &Q2 0 1 1 &M3 or &Q3 1 0 0 Reserved 1 0 1 &Q5 (Default.) 1 1 0 &Q6 Bit 2 Leased line control (&Ln) 0= Dial up line (&L0) (Default.
Chapter 1 – AT Commands, S-Registers and Result Codes Register S36 Unit Range Default 7 Description LAPM Failure Control: This value indicates what should happen upon a LAPM failure. These fallback options are initiated immediately upon connection if S48=128. If an invalid number is entered, the number is accepted into the register, but S36 will act as if the default value has been entered. * Default: 7 (00000111b) Bits 0-2 0 = Modem disconnects.
Chapter 1 – AT Commands, S-Registers and Result Codes Register S41 Unit Range Default Description 195 (C3h) General Bit-Mapped Options Status. Indicates the status of command options. * Default: 13 (C3h) (00001101b) Bits 0 -1 Compression selection (%Cn) 0 = Disabled (%C0) 1 = MNP 5 (%C1) 2 = V.42 bis (%C2) 3 = MNP 5 and V.42 bis (%C3) (Default.
Chapter 1 – AT Commands, S-Registers and Result Codes Register S86 S91 S95 Unit dBm Range 0–26 0–15 Default 21 Description Call Failure Indication. When the modem issues a NO CARRIER result code, a value is written to S86 Register to help determine the reason for the failed connection. S86 records the first event that contributes to a NO CARRIER message. The code definitions are: S86=0 Normal hangup, no error occurred. S86=1 Reserved. S86=2 Reserved. S86=3 Call Waiting caused disconnect.
Chapter 1 – AT Commands, S-Registers and Result Codes Register S210 Unit Range Default Description 0–255 13 (0Dh) V.34 Symbol Rate. The bits in this parameter control V.34 symbols rates and enable/disable V.34 asymmetric rates. This parameter is used for diagnostic purposes only. Default: Bits 0 -2 2 1 0 0 0 0 0 1 0 1 1 0 1 0 13 (0Dh) (00001101b) Selects the range of allowed V.34 symbol rates.
Chapter 1 – AT Commands, S-Registers and Result Codes Result Codes In command mode your modem can send responses called result codes to your computer. Result codes are used by communications programs and can also appear on your monitor.
Chapter 1 – AT Commands, S-Registers and Result Codes Short Form 77 78 79 80 81 83 84 91 134 135 136 137 138 139 140 141 142 144 145 150 151 152 153 154 155 156 157 158 159 160 161 162 165 166 167 168 169 170 171 172 173 174 175 176 177 178 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 Long Form +ER: L APM +MRR: 31200 +MRR: 33600 +ER: A LT +ER: A LT-CELLULAR LINE-IN-USE CONNECT 33600 CONNECT 31200 +MCR: B 103 +MCR: B 212 +MCR: V 21 +MCR: V 22 +MCR: V 22B +MCR: V 23 +MCR: V 32 +MCR: V 32B
Chapter 1 – AT Commands, S-Registers and Result Codes Short Form 196 197 198 199 200 201 202 203 204 205 206 207 208 209 Long Form +MRR: 29333 +MRR: 30667 +MRR: 33333 +MRR: 34667 +MRR: 37333 +MRR: 38667 +MRR: 41333 +MRR: 42667 +MRR: 45333 +MRR: 46667 +MRR: 49333 +MRR: 50667 +MRR: 53333 +MRR: 54667 Multi-Tech Systems, Inc.
Chapter 2 – Fax Class1 Commands Chapter 2 – Fax Class 1 Commands Fax I/O Processing The fax I/O interface supports asynchronous serial and parallel interfaces. The character format is 8 bit data, no parity, and 1 stop bit. Start and stop elements are removed from the transmit data and added to the receive data. Both transmit and receive data are buffered. Flow control using XON/XOFF or RTS/CTS is provided. Unique control character strings are identified, filtered, or reinserted into the I/O data stream.
Chapter 2 – Fax Class1 Commands Fax Mode Selection Fax Class 1 and Fax Class 1.0 commands are identified in Table 2-1. Table 2-1. Fax Class 1 and Fax Class 1.0 Commands Command/Parameter +FCLASS= +FAA= +FAE= +FTS=
Chapter 2 – Fax Class1 Commands If no more data is in the transmit buffer and the final bit was a 1 (bit 4 of the second byte received from the DTE), the modem generates the OK result code and returns to the command mode. If the final bit was a 0, the modem generates the CONNECT message and waits for further data from the DTE while transmitting HDLC flags. If no more data is received before 5 seconds elapse, the modem drops carrier, goes on-hook, and generates the ERROR result code.
Chapter 2 – Fax Class1 Commands Fax Data Transmission Fax data transmission is initiated by the AT+FTM= command. After this command is issued, the modem generates the CONNECT message and transmits carrier in the modulation scheme specified by the parameter n. The modem then transmits constant 1 bits for a minimum of one second and continues to transmit constant 1 bits until it receives a character from the DTE.
Chapter 2 – Fax Class1 Commands Commands and Parameters Mode Entry Commands +FCLASS=1 Select Facsimile Class 1 Mode +FCLASS=1 selects the Fax Class 1 Mode. The Fax Class 1 Mode commands and responses described in this section are applicable when command +FCLASS=1 as shown in Table 2-1. +FCLASS=1.0 - Select Facsimile Class 1.0 Mode +FCLASS=1.0 selects the Fax Class 1.0. The Fax Class 1.0 Mode commands and responses described in this section are applicable when command +FCLASS=1.0 as shown in Table 2-1.
Chapter 2 – Fax Class1 Commands Command: +FRS Receive Silence Description: This command causes the modem to listen and report an OK result code when silence has been detected on the line for the specified period of time. This command will terminate when the required period of silence is detected or when the DTE sends the modem another character other than XON or XOFF, which is discarded. In either event, the OK result code is returned.
Chapter 2 – Fax Class1 Commands Reporting Current or Selected Values: Command: +FTM? Response: +FTM: Example: +FTM: 98 For V.17 9600 bps. Reporting Supported Range of Parameter Values: Command: +FTM=? Response: +FTM: ( range) Example: +FTM: 3,24,48,72,73,74,96,97,98,121,122,145,146 Command: +FRM Receive Facsimile Description: This command causes the modem to enter the receiver mode using the modulation defined below.
Chapter 2 – Fax Class1 Commands Command: +FRH Receive Data with HDLC Framing Description: This command causes the modem to receive frames using HDLC protocol and the modulation defined below. An ERROR response code results if this command is issued while the modem is on-hook. Defined Values: Decimal number corresponding to the selected modulation mode and data rates shown in Table 2-2. Reporting Current or Selected Values: Command: +FRH? Response: +FRH: Example: +FRH: 98 For V.17 9600 bps.
Chapter 2 – Fax Class1 Commands Service Class 1 Commands Command: +FAR Adaptive Reception Control Description: If Adaptive Reception is enabled, the modem adaptively detects the selected message carrier or V.21 control messages. If the expected carrier is detected, the modem operates as specified in the respective +FRM=
Chapter 2 – Fax Class1 Commands Command: +FDD Double Escape Character Replacement Description: This parameter conditions the use of the ˜DLE˜˜˜SUB˜ pair to encode consecutive <1/0 €<1/0 in data. This may be used to prevent unbound expansion of data that contains many <1/0 patterns. Defined Values: Decimal number corresponding to the selected option.
Chapter 2 – Fax Class1 Commands Command: +FPR Fixed DTE Rate Description: This numeric extended-format parameter specifies the data rate at which the modem will accept commands during on-line operation. It may be used to select operation at rates at which the modem is not capable of automatically detecting the data rate being used by the DTE. Specifying a value of 0 disables the function and allows operation only at rates automatically detectable by the modem.
Chapter 2 – Fax Class1 Commands Command: +FLO Flow Control Description: This parameter allows the DTE to identify and select the type of flow control used. Syntax: +FLO= Defined Values: Decimal number corresponding to the selected option. 0 XON/XOFF and RTS/CTS flow control turned off. 1 Use XON/XOFF flow control in either direction. 2 Use RTS for flow control of the modem by the DTE; use CTS for flow control of the DTE by the modem.
Chapter 2 – Fax Class1 Commands Examples Examples of calling (transmitting) and answering (receiving) one page using Fax Class 1 commands are shown in Table 2-4 and Table 2-5, respectively. The examples show the interchange between the DTE and the modem for various cases. Comments are included to explain how to handle various situations. Commands and responses are in upper case and comments are in lower case. All streams of data denoted by <..frame> are terminated by the characters. Table 2-4.
Chapter 2 – Fax Class1 Commands Table 2-5. Fax Class 1 Answering Sequence (Receiving a Single Page) DTE Commands AT+FCLASS=1 Modem Responses OK RING<- ATA CONNECT CONNECT OK AT+FRH=3 AT+FRH=3 AT+FRH=3 AT+FTM=96 AT+FRH=3 AT+FTM=96 AT+FRH=3 AT+FRH=3 Local Modem Action Set Class 1 Remote Station Action detect ringing dials [,send CNG] off-hook, send CED, send V.
Chapter 3 – Fax Class 2 Commands Chapter 3 – Fax Class 2 Commands Fax Class 2 commands apply to the MT5656SMI only and are summarized in Table 3-1. Table 3-1.
Chapter 3 – Fax Class 2 Commands Command and Syntax Guidelines Mode Entry Commands +FCLASS=2 - Select Facsimile Class 2 Mode +FCLASS=2 selects the Fax Class 2 Mode (see Generic Modem Control). DTE Commands The ISO 646 character set (CCITT T.50 International Alphabet 5, American Standard Code for Information Interchange) is used for the issuance of commands and responses. Only the low-order 7 bits of each character are used for commands or parameters; the high order bit is ignored.
Chapter 3 – Fax Class 2 Commands The service class may be set by the DTE from the choices available using the “+FCLASS=” command. General Rules 1. +Fnnn commands must be entered completely, otherwise an ERROR response is sent. 2. All response messages are preceded and followed by . Multiple response commands (e.g., +FDIS: +FCSI: and +FDCS:) will, therefore, appear to a have a blank line between them. 3. Fax Class 2 commands can be separated by the “:” character.
Chapter 3 – Fax Class 2 Commands Auto Answer The DCE can answer as a data DCE or as a fax DCE. It can answer the call adaptively, i.e., it can determine whether the call is 'data' or 'fax'. The +FAA parameter controls this feature. Fax adaptive answer operates only when +FCLASS=0. AT+FAA=1 ; Auto answer as a facsimile or a data modem depending on the call CONNECT XXXX ; DCE status response if data call +FCON ; DCE status response if fax call Identification of T.
Chapter 3 – Fax Class 2 Commands Service Class 2 Identification and Selection Three commands report identification and selection information. Each of these three commands cause the DCE to send a message to the DTE. +FMFR? - Request Manufacturer Identification The +FMFR? command causes the DCE to send a message identifying the DCE product manufacturer. The default message is: CONEXANT OK +FMDL? - Identify Product Model The +FMDL? command causes the DCE to send a message identifying the DCE product model.
Chapter 3 – Fax Class 2 Commands Service Class 2 Action Commands These commands transfer data, and punctuate sessions. They also release specific T.30 messages. All action commands must be the last command on a command line as indicated by the terminating . All action commands initiate processes. The modem will not accept other commands from the DTE until the modem issues a final result code (e.g., OK, CONNECT).
Chapter 3 – Fax Class 2 Commands The DTE should report the initial received T.30 negotiation messages, including the DCS frame. The +FDCS: report will be followed by the OK final result code. Automatic Answer The modem provides for automatic answering of incoming calls. If configured for automatic answer, the modem answers an incoming call in compliance with T.30, and reports the same messages as described for manual answer.
Chapter 3 – Fax Class 2 Commands If the DCE finds more than one consecutive EOL in Phase C data (e.g., RTC), it will send only one EOL. 1. Phase C data must conform to T.4 specifications. 2. The DTE need not include a final RTC, since the DCE will append an RTC in response to an FET= command. 3. Some facsimile machines may treat two EOLs as an RTC. - Escape from Transmission The DCE may request the DTE to halt Phase C transmission, by sending a cancel character (024) to the DTE.
Chapter 3 – Fax Class 2 Commands Command: +FET Transmit Page Punctuation Description: This command is used to punctuate page and document transmission after one or more +FDT commands. This command generates T.30 Post Page Messages selected by the code. The +FET= command indicates that the current page is complete; no more data will be appended to it.
Chapter 3 – Fax Class 2 Commands Command: +FDR Begin or Continue Phase C Receive Data Description: The +FDR command initiates transition to Phase C data reception. This can occur after answering, dialing, a document is received, or a page is received. The DCE reports the negotiated T.30 parameters, with the remote ID information if available. When the DCE is ready to commence data transfer, it issues a CONNECT response code.
Chapter 3 – Fax Class 2 Commands Phase C Data Framing Phase C data may be presented to the DTE in stream mode. The DCE will transfer a stream of data to the DTE, followed by the stream termination characters. The DCE will filter the stream as described in Voice Commands -- Shielded Codes Sent to the Modem (DCE). Phase C Data Format The received data format is negotiated under T.30 reported by the +FDCS:VR,BR,WD,LN,DF,EC,BF,ST response.
Chapter 3 – Fax Class 2 Commands Command: +FSPL Enable Polling Description: This command allows setting up an originating modem to be able to request to receive a document from a polled station. Syntax: AT+FSPL=? 0,1 OK AT+FSPL=1 OK AT+FSPL? 1 Table 3-5.
Chapter 3 – Fax Class 2 Commands Service Class 2 DCE Responses The DCE sends information responses to the DTE as a facsimile session proceeds. They indicate the state of the facsimile session and convey needed information. These messages are solicited messages generated in execution of DTE action commands. The DCE precedes and follows the information responses with . The DCE provides the on-line status of several session parameters when they are available during T.30 handshaking.
Chapter 3 – Fax Class 2 Commands Command: +FPTS: Receive Page Transfer Status Description: Syntax: The +FPTS: is generated by the DCE at the end of Phase C data reception in execution of a +FDR command. The is generated by the DCE; it depends on the DCE capabilities at T.4 error checking. The receiving DCE will count the lines.
Chapter 3 – Fax Class 2 Commands Command: +FCIG: Report the Polled Station ID Description: Syntax: This response reports the received transmit station ID string, if any. This message is generated in execution of Originate, Answer, +FDT, or +FDR commands. +FCIG: “< ID string>” Polled Station ID Command: +FDTC: Report the Polled Station Capabilities Description: Syntax: If the answerer has a document to poll, it would be communicated to the originator in bit 9 of the DIS frame.
Chapter 3 – Fax Class 2 Commands Service Class 2 Parameters All Service Class 2 parameters can be read, written, and tested for range of legal values by the DCE. The general syntax is described in the Voice Commands Overview section. Group 3 FAX devices negotiate session parameters in DIS, DCS, and DTC frames. The following parameters are provided to condition the facsimile DCE for the capabilities it will offer and to report the session settings negotiated. The three primary T.
Chapter 3 – Fax Class 2 Commands Command: +FDCS Current Session Results Parameters Description: Read syntax: +FDCS? DCE response: Valid values: Default values: Example: The +FDCS parameter is loaded with the negotiated T.30 parameters for the current session. A transmitting DCE generates DCS; a receiving DCE gets DCS from the remote station. The DTE may read this parameter. The +FDCS parameter is initialized 0,0,0,0,0,0,0,0 upon initialization and at the beginning of a session.
Chapter 3 – Fax Class 2 Commands Command: +FCR Capability to Receive Description: +FCR=0 indicates that the DCE will not receive message data. This can be used when the DTE has insufficient storage. The DCE can send and can be polled for a file. +FCR is sampled in CCITT T.30 Phase A and Phase D.
Chapter 3 – Fax Class 2 Commands Command: +FBOR Data Bit Order Description: Write syntax: Valid values: Default value: This parameter controls the mapping between PSTN facsimile data and the DTE-DCE link. There are two choices: Direct: The first bit transferred to each byte on the DTE-DCE link is the first bit transferred on the PSTN data carrier. Reversed: The last bit transferred of each byte on the DTE-DCE link is the first bit transferred on the PSTN data carrier.
Chapter 3 – Fax Class 2 Commands Example Sessions Table 3-6 and Table 3-7 show the typical command and responses for sending and receiving two pages, respectively. Table 3-6.
Chapter 3 – Fax Class 2 Commands Table 3-7.
Chapter 4 – Voice Commands Chapter 4 – Voice Commands Voice Commands Overview Voice commands are identified in Table 4-1. Table 4-1. Voice Commands Command +FCLASS +VCID +VNH +FMI? +FMM? +FMR? +FLO +VIP +VRX +VTS +VTX +VGR +VGT +VIT +VLS +VRA +VRN +VSD +VSM +VTD +VDR +VDT +VPR Function Configuration Set Mode Caller ID (CID) Automatic Hang-up control Manufacturer Identification Product Identification Version, Revision, etc.
Chapter 4 – Voice Commands Shielded Event Codes Sent to the DTE Table 4-2 lists the supported shielded codes sent to the DTE in the expression . The number in parenthesis in the second column corresponds to the T.50 equivalent. Table 4-2. Supported Shielded Codes Sent to the DTE Code T.50 Equivalent (1/0) X .
Chapter 4 – Voice Commands Shielded Codes Sent to the Modem (DCE) Table 4-3 lists the supported shielded codes sent to the modem in the expression . The number in parenthesis in the second column corresponds to the T.50 equivalent. Table 4-3.
Chapter 4 – Voice Commands Voice Configuration Commands Command: +FCLASS=8 Select Voice Mode +FCLASS=8 selects the Voice Mode. The Voice Mode commands and responses described in this section are applicable when command +FCLASS=8. (See the Generic Modem Control section for the definition of the FCLASS command.) Command: +VNH Syntax: Defined Values: Automatic Hang-up Control This command enables or disables automatic hangups.
Chapter 4 – Voice Commands Basic Voice Commands Command: +VIP Voice Initialize All Parameters Description: his command causes the modem to initialize all voice parameters to their default values. +VIP OK ERROR If not in Voice Mode. Syntax: Result Code: Command: +VRX Start Modem Receive (Record): Description: Syntax: Result Codes: This command causes the modem to start the voice reception process. +VRX OK ERROR If not in Voice Mode.
Chapter 4 – Voice Commands Reporting Supported Range of Parameter Values: Command: +VTS=? Response: ( range), ( range), ( range) Example: (200-3000),(200-3000),(0-255) OK Result Codes: OK Valid command. ERROR The command is invalid, or a selected frequency is out of range. Example 1. This example illustrates tone generation without using any null elements. The command example is followed by a description of command execution.
Chapter 4 – Voice Commands Command: +VGT Voice Gain Transmit (Playback Volume) Description: This command causes the modem to set the volume level. Syntax: +VGT= Defined Values: Decimal number corresponding to the volume level. Reporting Current or Selected Values: Command: +VGT? Response: Example: 128 For the default setting. Reporting Supported Range of Parameter Values: Command: +VGT=? Response: range Example: 0-255 Result Codes: OK = 0-255.
Chapter 4 – Voice Commands Command: +VLS Analog Source/Destination Selection Description: This command causes the modem to select one or more source/destinations of the analog data. Syntax: +VLS=
Chapter 4 – Voice Commands Label Primitives 9 S1T 10 MS1T 11 M1 12 M1ST 13 M1S1T 14 H 15 HT 16 MS 17 M1S 18 MS1 19 M1S1 Description Local phone connected to the line. External Speaker connected to the line. DCE off-hook. DCE connected to the line. Local phone provided with power to detect hook condition. Internal microphone and External Speaker connected to the line. DCE off-hook. DCE connected to the line. Local phone provided with power to detect hook condition.
Chapter 4 – Voice Commands Table 4-6. Events Detectable in the Voice Mode per V.253 Event Number Event Description Event Reporting 0 Caller Id Report Message 1 DID Report Message 2 Distinctive Ringing Pattern 3 RING Simple 4 DTMF Received Simple 5 Receive Buffer Overrun Simple 6 Facsimile Calling (e.g., 1100 Hz) Simple 7 Data Calling (e.g.
Chapter 4 – Voice Commands Command: +VRA Ringback Goes Away Timer Description: This command sets the length of time the modem will wait between ringbacks during call origination before the modem can assume that the remote station has gone off-hook. Syntax: +VRA= Defined Values: Decimal number (0-255) specifying the silence interval time in units of 0.10 second between the end of one ring interval and the start of the next ring interval.
Chapter 4 – Voice Commands Command: +VSD Silence Detection (Quiet and Silence) Description: This command causes the modem to set the silence detection sensitivity and the required period of silence before the modem reports silence detected at the end of a voice receive either with the “Presumed End of Message” (QUIT) or “Presumed Hangup (SILENCE) event reports. Syntax: +VSD=, Defined Values: Decimal number corresponding to the selected parameter.
Chapter 4 – Voice Commands Command: +VSM Compression Method Selection Description: This command causes the modem to set the voice compression method, the silence compression sensitivity, and the voice-sampling rate. Syntax: +VSM=,,, Defined Values: Decimal number identifying the compression method. containing the supported range of voice samples per second of the analog signal.
Chapter 4 – Voice Commands Command: +VDR Distinctive Ring Description: This command causes the modem to enable or disable reporting of the ring cadence information and to control the timing of the RING event code report if ring cadence reporting is enabled. Syntax: +VDR=, Defined Values: Decimal number corresponding to the selected option. 0 The modem will not report ring cadence information.
Chapter 4 – Voice Commands Command: +VDT Control Tone Cadence Reporting Description: his command is included for compatibility only and has no effect other than returning a result code. This command allows the modem to enable or disable reporting of the control tone cadence information in the frequency band used by the Ringback/Remote Ring, BUSY, and reorder/Fast Busy tones (usually in the 300 to 600 Hz range).
Index Index + +VLS Command Options Table .....................................104 3 32-bit frame check sequence command +EFCS ...............31 A Analog Source/Destination Selection +VLS...................104 answer command A ..........................................................18 AT commands.....................................................................4 definition ........................................................................4 format ................................................
Index break handling in error control operation command +EB.31 C Call Failure Indication - S86.............................................57 call termination buffer management command +ETBM...33 call waiting enable command +PCW................................47 Caller ID command +VCID................................................5 Carrier loss disconnect time, setting S10 ..........................52 CI signal indication command ..........................................39 Command mode..................
Index +FTH – Transmit Data with HDLC Framing ...............68 +FTM – Transmit Facsimile.........................................67 +FTS – Receive Silence ...............................................67 +FTS – Transmit Silence..............................................66 fax control reception .........................................................64 fax control transmission....................................................63 fax data reception........................................................
Index speaker control command M.............................................19 speaker volume command L .............................................19 S-registers .........................................................................51 S0 – Sets Number of Rings ..........................................51 S1 – Ring Counter ........................................................51 S10 – Hang up Delay....................................................52 S11 – DTMF Tine Duration .........................