Developer Guide - MT5692SMI-At Commands Rev B
Developer Guide - MT5692SMI-At Commands Rev B
SocketModemMT5692SMI
Copyright and Technical Support AT Commands for the MT5692SMI SocketModem Reference Guide MT5692SMI S000468B, Rev. B Copyright This publication may not be reproduced, in whole or in part, without prior expressed written permission from MultiTech Systems, Inc. All rights reserved. Copyright 2009 Multi-Tech Systems, Inc. makes no representations or warranties with respect to the contents hereof and specifically disclaim any implied warranties of merchantability or fitness for any particular purpose. Furthermore, Multi-Tech Systems, Inc. reserves the right to revise this publication and to make changes from time to time in the content hereof without obligation of Multi-Tech Systems, Inc. to notify any person or organization of such revisions or changes. Revisions Revision Level A B
Description Initial release. Removed Fax Class 2 commands and V.92 command, +PIG. Added a note that Multi-Tech's Flash Wizard can be used for downloading firmware. Added a note to the Identification command regarding ATI4. Removed -SCID "Snooping CID" and +PCW "Call Waiting Enable" commands. Added this sentence to +IPR: The modem autobauds up to 115.2K.
Trademarks SocketModem and the Multi-Tech logo are registered trademarks of Multi-Tech Systems, Inc. Any other trademarked items mentioned in this manual are owned by their respective companies. World Headquarters Multi-Tech Systems, Inc. 2205 Woodale Drive Mounds View, Minnesota 55112 Phone: 763-785-3500 or 800-328-9717 Fax: 763-785-9874 Internet Address: http://www.multitech.com Technical Support Country Europe, Middle East, Africa: U.S., Canada, all others:
Table of Contents
Contents
Chapter 1 Introduction ..........................................................................................................................4 Introduction .............................................................................................................................................4 Overview .................................................................................................................................................4 Command Syntax....................................................................................................................................4 Command Descriptions ...........................................................................................................................4 Chapter 2 Syntax and Procedures.......................................................................................................5 Introduction .............................................................................................................................................5 Alphabet........................................................................................................................................... 5 DTE Commands Lines .................................................................................................................... 5 Basic Syntax Commands ................................................................................................................ 6 Extended Syntax Commands .......................................................................................................... 7 Issuing Commands ........................................................................................................................ 10 Executing Commands ................................................................................................................... 10 Modem Responses ........................................................................................................................ 11 Escape Code Sequence +++ ...............................................................................................................13 Chapter 3 Data Commands and S-Registers ....................................................................................14 Generic Modem Control Commands ....................................................................................................14 DTE-Modem Interface Commands .......................................................................................................21 Call Control Commands ........................................................................................................................33 Error Control Commands ......................................................................................................................50 Data Compression Commands .............................................................................................................55 V.8/V.8bis Commands ..........................................................................................................................58 Synchronous Access Mode Commands ...............................................................................................59 Diagnostic Commands ..........................................................................................................................61 Fast Connect Command .......................................................................................................................65 V.92 +P and -Q Commands ..................................................................................................................66 S-Registers ...........................................................................................................................................68 Result Codes .........................................................................................................................................77 Chapter 4 Fax Class 1 and Class 1.0 Commands ............................................................................82 Fax I/O Processing................................................................................................................................82 DTE-to-Modem Transmit Data Stream .......................................................................................... 82 Modem-to-DTE Receive Data Stream ........................................................................................... 82 Fax Mode Selection ....................................................................................................................... 82 Fax Origination .............................................................................................................................. 83 Fax Answering ............................................................................................................................... 83 Fax Control Transmission .............................................................................................................. 83 Fax Control Reception ................................................................................................................... 83 Fax Data Transmission .................................................................................................................. 84 Fax Data Reception ....................................................................................................................... 85 Commands and Parameters .................................................................................................................86 Mode Entry Commands ................................................................................................................. 86 Mode Commands .......................................................................................................................... 86 Service Class 1 Commands ..................................................................................................................90 Examples...............................................................................................................................................94 Chapter 5 Voice Commands ..............................................................................................................96 Voice Commands Overview ..................................................................................................................96 <DLE> Shielded Event Codes Sent to the DTE ............................................................................ 97 <DLE> Shielded Codes Sent to the Modem (DCE) ...................................................................... 98 Voice Configuration Commands ...........................................................................................................99 Basic Voice Commands ......................................................................................................................100 Speakerphone Commands .................................................................................................................112 Chapter 6 Setting Country or Regional Codes ...............................................................................114 Index ......................................................................................................................................................115
Chapter 1 Introduction
Chapter 1 Introduction
Introduction
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.
Overview
This manual describes the host command and responses for the SocketModem MT5692SMI.
Command Syntax
The fundamental DTE interface command syntax is described in Section 2.
Command Descriptions
Commands are grouped into the following categories: Syntax and Procedures Chapter 2 Data Commands Chapter 3 Fax Class 1 and 1.0 Commands Chapter 4 Voice Commands Chapter 5
Alphabet
The T.50 International Alphabet 5 (IA5) is used in this document. Only the low-order seven bits of each character are significant to the modem; any eighth or higher-order bit(s), if present, are ignored for the purpose of identifying commands and parameters. Lower-case characters are considered identical to their upper-case equivalents when received by the modem from the DTE. Result codes from the modem are in upper case.
S-Parameters
Commands that begin with the letter "S" are known as "S-parameters". The number following the "S" indicates the "parameter number" being referenced. If the number is not recognized as a valid parameter number, an ERROR result code is issued. Immediately following this number, either a "?" or "=" character must appear. "?" is used to read the current value of the indicated S-parameter; "=" is used to set the S-parameter to a new value. S<parameter_number>? S<parameter_number>=[<value>] If the "=" is used, the new value to be stored in the S-parameter is specified in decimal following the "=". If no value is given (i.e., the end of the command line occurs or the next command follows immediately), the S-parameter specified may be set to 0, or an ERROR result code issued and the stored value left unchanged. The ranges of acceptable values are given in the description of each S-parameter. If the "?" is used, the modem transmits a single line of information text to the DTE. The text portion of this information text consists of exactly three characters, giving the value of the Sparameter in decimal, with leading zeroes included.
Values
When subparameters are associated with the execution of an action, or when setting a parameter, the command may include specification of values. This is indicated by the appearance of <value> in the descriptions below. <value> consists of either a numeric constant or a string constant. Numeric Constants Numeric constants are expressed in decimal, hexadecimal, or binary. Decimal numeric constants consist of a sequence of one or more of the characters "0" through "9", inclusive. Hexadecimal numeric constants consist of a sequence of one or more of the characters "0" through "9", inclusive, and "A" through "F" inclusive. The characters "A" through "F" represent the equivalent decimal values 10 through 15. Binary numeric constants consist of a sequence of one or more of the characters "0" and "1".
Chapter 2 Syntax and Procedures In all numeric constants, the most significant digit is specified first. Leading "0" characters are ignored by the modem. No spaces, hyphens, periods, commas, parentheses, or other generally-accepted numeric formatting characters are permitted in numeric constants; note in particular that no "H" suffix is appended to the end of hexadecimal constants. String Constants String constants consist of a sequence of displayable IA5 characters, each in the range from 2/0 to 7/15, inclusive, except for the characters " (IA5 2/2) and "\" (IA5 5/12). String constants are bounded at the beginning and end by the double-quote character (", IA5 2/2). Any character value may be included in the string by representing it as a backslash ("\") character followed by two hexadecimal digits. For example, "\0D" is a string consisting of the single character <CR> (IA5 0/13). If the "\" character itself is to be represented in a string, it is encoded as "\5C". The double-quote character, used as the beginning and ending string delimiter, is represented within a string constant as "\22". A "null" string constant, or a string constant of zero length, is represented by two adjacent delimiters (""). Compound Values Actions may have more than one subparameter associated with them, and parameters may have more than one value. These are known as "compound values", and their treatment is the same in both actions and parameters. A compound value consists of any combination of numeric and string values (as defined in the description of the action or parameter). The comma character must be included as a separator, before the second and all subsequent values in the compound value. If a value is not specified (i.e., defaults assumed), the required comma separator must be specified; however, trailing comma characters may be omitted if all associated values are also omitted.
Action Commands
Action Execution Command Syntax There are two general types of action commands: those that have associated subparameter values that affect only that invocation of the command, and those that have no subparameters. If subparameters are associated with a command, the definition of the action command indicates, for each subparameter, whether the specification of a value for that subparameter is mandatory or optional. For optional subparameters, the definition indicates the assumed (default) value for the subparameter if no value is specified for that subparameter; the assumed value may be either a previous value (i.e., the value of an omitted subparameter remains the same as the previous invocation of the same command, or is determined by a separate parameter or other mechanism), or a fixed value (e.g., the value of an omitted subparameter is assumed to be zero). Generally, the default value for numeric subparameters is 0, and the default value for string subparameters is "" (empty string). The following syntax is used for actions that have no subparameters: +<name> or <name> The following syntax is used for actions that have one subparameter: +<name>[=<value>] or <name>[=<value>] The following syntax is used for actions that have two or more subparameters: +<name>[=<compound_value>] or <name>[=<compound_value>] For actions that accept subparameters, if all subparameters are defined as being optional, and the default values for all subparameters are satisfactory, the data terminal equipment (DTE) may use the first syntax above (i.e., omit the "=" from the action execution command as well as all of the subparameter value string). Multi-Tech Systems, Inc. SocketModem MT5692SMI AT Commands Reference Guide (S000468B)
8
Chapter 2 Syntax and Procedures If all other relevant criteria are met (e.g., the modem is in the proper state), the command is executed with any indicated subparameters. If <name> is not recognized, the modem issues the ERROR result code and terminates processing of the command line. An ERROR is also generated if a subparameter is specified for an action that does not accept subparameters, if too many subparameters are specified, if a mandatory subparameter is not specified, if a value is specified of the wrong type, or if a value is specified that is not within the supported range.
Parameter Commands
Parameter Types Parameters may be defined as "read-only" or "read-write". "Read-only" parameters are used to provide status or identifying information to the DTE, but cannot be set by the DTE; attempting to set their value is an error. In some cases (specified in the description of the individual parameter), the modem may ignore attempts to set the value of such parameters rather than respond with an ERROR result code, if the continued correct operation of the interface between the modem and DTE will not be affected by such action. Read-only parameters may be read and tested. "Read-write" parameters may be set by the DTE, to store a value or values for later use. Read-write parameters may be set, read, and tested. Parameters may take either a single value, or multiple (compound) values. Each value may be either numeric or string; the definition of the parameter will specify the type of value for each subparameter. Attempting to store a string value in a numeric parameter, or a numeric value in a string parameter, is an error. Parameter Set Command Syntax The definition of the parameter indicates, for each value, whether the specification of that value is mandatory or optional. For optional values, the definition indicates the assumed (default) value if none is specified; the assumed value may be either a previous value (i.e., the value of an omitted subparameter retains its previous value), or a fixed value (e.g., the value of an omitted subparameter is assumed to be zero). Generally, the default value for numeric parameters is 0, and the default value for string parameters is "" (empty string). The following syntax is used for parameters that accept a single value: +<name>=[<value>] or <name>=[<value>] The following syntax is used for parameters that accept more than one value: +<name>=[<compound_value>] or <name>=[<compound_value>] For each implemented parameter, if all mandatory values are specified, and all values are valid according to the definition of the parameter, the specified values are stored. If <name> is not recognized, one or more mandatory values are omitted, or one or more values are of the wrong type or outside the permitted range, the modem issues the ERROR result code and terminates processing of the command line. An ERROR is also generated if too many values are specified. In case of an error, all previous values of the parameter are unaffected.
Chapter 2 Syntax and Procedures Parameter Read Command Syntax The DTE may determine the current value or values stored in a parameter by using the following syntax: +<name>? or <name>? The modem responds by sending the current values stored for the parameter to the DTE in an information text response. The format of this response is described in the definition of the parameter. Generally, the values are sent in the same form in which they would be issued by the DTE in a parameter setting command; if multiple values are supported, they will generally be separated by commas, as in a parameter setting command. Parameter Test Command Syntax The DTE may test if a parameter is implemented in the modem, and determine the supported values, by using the syntax: +<name>=? or <name>=? If the modem does not recognize the indicated name, it returns an ERROR result code and terminates processing of the command line. If the modem does recognize the parameter name, it returns an information text response to the DTE, followed by an OK result code. The information text response indicates the values supported by the modem for each such subparameter, and possibly additional information. The format of this information text is defined for each parameter.
Issuing Commands
All characters in a command line must be issued at the same data rate, and with the same parity and format. The modem will ignore any command line that is not properly terminated. The modem may consider 30 seconds of mark idle time between any two characters as an improperly terminated command line. In this case the modem may or may not generate an ERROR message. The modem will ignore any characters received from the DTE that are not part of a properly-formatted command line. If the maximum number of characters that the modem can accept in the body is exceeded, an ERROR result code is generated after the command line is terminated. The DTE will not begin issuing a subsequent command line until at least one-tenth of a second has elapsed after receipt of the entire result code issued by the modem in response to the preceding command line.
Executing Commands
Upon receipt of the termination character, the modem commences execution of the commands in the command line in the order received from the DTE. Should execution of a command result in an error, or a character be not recognized as a valid command, execution is terminated, the remainder of the command line is ignored, and the ERROR result code is issued. Otherwise, if all commands execute correctly, only the result code associated with the last command is issued; result codes for preceding commands are suppressed. If no commands appear in the command line, the OK result code is issued.
10
Aborting Commands
Some action commands that require time to execute may be aborted while in progress; these are explicitly noted in the description of the command. Aborting of commands is accomplished by the transmission from the DTE to the modem of any character. A single character is sufficient to abort the command in progress; however, characters transmitted during the first 125 milliseconds after transmission of the termination character are ignored (to allow for the DTE to append additional control characters such as line feed after the command line termination character). To ensure that the aborting character is recognized by the modem, it should be sent at the same rate as the preceding command line; the modem may ignore characters sent at other rates. When such an aborting event is recognized by the modem, the modem terminates the command in progress and returns an appropriate result code to the DTE, as specified for the particular command.
Modem Responses
While in command state and online command state, the modem will issue responses using the same rate, word length, and parity as the most recently received DTE command line. In the event that no DTE command has yet been received, rate, word length, and parity used will depend on the capabilities of the modem. When the modem transitions from the command state or online command state to the online data state, the result code CONNECT should be issued at the bit rate and parity used during the command state. When the modem transitions from the online data state to the command state or online command state, the result codes should be issued at the bit rate used during the online data state. Thereafter, any unsolicited result codes should use the bit rate and parity of the last command line issued by the DTE to the modem. The characters of a response will be contiguous, with no more than 100 milliseconds of mark idle issued between characters in addition to stop elements.
Responses
There are two types of responses that may be issued by the modem: information text and result codes. Information Text. Information text responses consist of three parts: a header, information text, and a trailer: 1. The characters transmitted for the header are determined by the V command. 2. The trailer consists of two characters, being the character having the ordinal value of parameter S3 followed by the character having the ordinal value of parameter S4. 3. Information text usually consists of a single line; information text returned in response to some commands may contain multiple lines, and the text may therefore include CR, LF, and other formatting characters to improve readability. Result Code Parts. Result codes consist of three parts: a header, the result text, and a trailer. 1. The characters transmitted for the header and trailer are determined by the V command setting. 2. The result text may be transmitted as a number or as a string, also depending on the V command setting.
11
Chapter 2 Syntax and Procedures Result Code Types. There are three types of result codes: final, intermediate, and unsolicited. 1. A final result code indicates the completion of a full modem action and an ability to accept new commands from the DTE. 2. An intermediate result code is a report of the progress of a modem action. The CONNECT result code is an intermediate result code. In the case of a dialing or answering command, the modem switches from command state to online data state, and issues a CONNECT result code. This is an intermediate result code for the modem because it cannot accept commands from the DTE while in online data state. When the modem switches back to the command state it then issues a final result code (such as OK or NO CARRIER). 3. Unsolicited result codes (such as RING) indicate the occurrence of an event not directly associated with the issuance of a command from the DTE.
12
Chapter 2 Syntax and Procedures Range of Values When the action accepts a single numeric subparameter, or the parameter accepts only one numeric value, the set of supported values may be presented in the information text as an ordered list of values. The list is preceded by a left parenthesis ((), and is followed by a right parenthesis ()). If only a single value is supported, it appears between the parentheses. If more than one value is supported, then the values may be listed individually, separated by comma characters, or, when a continuous range of values is supported, by the first value in the range, followed by a hyphen character (-), followed by the last value in the range. The specification of single values and ranges of values may be intermixed within a single information text. In all cases, the supported values are indicated in ascending order. For example, the following are some examples of value range indications: (0) Only the value 0 is supported. (1,2,3) The values 1, 2, and 3 are supported. (1-3) The values 1 through 3 are supported. (0,4,5,6,9,11,12) The several listed values are supported. (0,4-6,9,11-12) An alternative expression of the above list.
Compound Range of Values When the action accepts more than one subparameter, or the parameter accepts more than one value, the set of supported values is presented as a list of the parenthetically-enclosed value range strings described above, separated by commas. For example, the information text in response to testing an action that accepts three subparameters, and supports various ranges for each of them, could appear as follows: (0),(1-3),(0,4-6,9,11-12) This indicates that the first subparameter accepts only the value 0, the second accepts any value from 1 through 3 inclusive, and the third subparameter accepts any of the values 0, 4, 5, 6, 9, 11, or 12.
13
Registers
AT Commands in Chapter 3 include: Generic Modem Control Commands DTE-Modem Commands Call Control Commands Modulation Control Commands Error Control Commands Data Compression Commands V.8/V.8bis Commands Synchronous Access Mode Commands Diagnostic Commands Fast Connect Command V.92 +P and -Q Commands
Result Codes:
Report Commands:
Report Commands:
Command: \N
Description: Syntax: Values:
Chapter 3 Data Commands and S-Registers Selects auto-reliable mode. This operates the same as \N2 except failure to make a reliable connection results in the modem falling back to the speed buffered normal mode. (Forces &Q5, S36=7, and S48=7.) Default 4 Selects LAPM error-correction mode. Failure to make an LAPM error-correction connection results in the modem hanging up. (Forces &Q5 and S48=0.) Note: The -K1 command can override the \N4 command. 5 Selects MNP error-correction mode. Failure to make an MNP error-correction connection results in the modem hanging up. (Forces &Q5, S36=4, and S48=128.) <mode>=0 to 5 Otherwise 3
Result Codes:
OK ERROR
Command I
Description: Values:
Identification
Causes the modem to reports the requested result according to the command parameter. I<value> Decimal number corresponding to the selected information. Note: No default. 0 Reports product code (e.g., 56000) 1 Reports OK 2 Reports OK 3 Reports masked firmware identification code 4 Reports OK* 5 Reports Country Code parameter (see +GCI). 6 Reports OK 7 Reports OK OK <value>=0-7 ERROR Otherwise If the MT5692SMI has been updated with a patch code, then the ATI4 command will read as follows: MT5692 1.01f (this will vary based on the version of the patch code) Global OK
Command: +GMI
Description: Syntax: Typical Response:
16
Command: +GCI
Description:
Country/Region of Installation
This extended syntax command selects and indicates the country or region of installation for the modem. This parameter selects the settings for any operational parameters that need to be adjusted for national regulations or telephone networks. See the chapter Setting Country Codes for more information. +CGI=<country_code> <country_code> 8-bit country code from Annex A of T.35. The value is the hexadecimal equivalent of the T.35 code, with bit 8 treated as the most significant bit and bit 1 treated as the least significant bit. See the Multi-Tech Web site for a list of country codes. If the modem is specified for use in only one country, that country code is the default. Otherwise, the default is defined by the OEM. Factory default is B5 (United States). Reports the Current Country Code. Command: +GCI? Response: +GCI: <current country_code> Example: +GCI: 3D (The modem is set for France) Reports Supported Range of Parameter Values Command: +GCI=? Response: +GCI: (<country_code>[,<country_code> [,<country_code].......]] Example: +GCI: (00,B4,B5) The modem can be set for Japan, United Kingdom, or the United States.
Syntax: Values:
Default:
Report Commands:
17
Command: &F
Description:
Syntax: Values:
Result Codes:
Command: &T
Description:
Syntax: Values:
Command: &Y
Description: Syntax: Values:
Result Codes:
Command: &W
Description:
Syntax: Values:
Result Codes:
Result Codes:
Command %7
Description:
Sets and stores eight serial numbers in hex format used for serial Plug and Play and for USB Plug and Play. Syntax: %7<8 hex numbers><same 8 hex numbers> Example: %70000000100000001 Result Codes: OK <8 hex numbers><same 8 hex numbers> ERROR Otherwise To display the stored serial number, issue AT"?
Command %8
Description: Syntax:
Example:
Result Codes:
19
Command **
Description:
20
Command: E
Description: Syntax: Values:
Echo
The modem enables or disables the echo of characters to the DTE. The parameter value, if valid, is written to S14 bit 1. E<value> <value> Decimal number corresponding to the selected option. 0 Disables command echo. 1 Enables command echo. Default. OK <value>=0 or 1 ERROR Otherwise
Result Codes:
Command: Q
Description: Syntax: Values:
Result Codes:
Command: V
Description: Syntax: Values:
Result Codes:
21
Command: W
Description:
Syntax: Values:
Result Codes:
Command: X
Description:
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. See table 3.1. If the modem is in facsimile mode (+FCLASS=1, 1.0), the only message sent to indicate a connection is CONNECT without a speed indication. Syntax: X<value> Values: <value> Decimal number corresponding to the selected option. 0 Disables reporting of busy tones unless forced otherwise by country requirements; send only OK, CONNECT, RING, NO CARRIER, ERROR, and NO ANSWER result codes. Blind dialing is enabled/disabled by country parameters. If busy tone detection is enforced and busy tone is detected, NO CARRIER will be reported. If dial tone detection is enforced or selected and dial tone is not detected, NO CARRIER will be reported instead of NO DIAL TONE. The value 000b is written to S22 bits 6, 5, and 4, respectively. 1 Disables reporting of busy tones unless forced otherwise by country requirements; send only OK, CONNECT, RING, NO CARRIER, ERROR, NO ANSWER, and CONNECT XXXX (XXXX = rate). Blind dialing enabled/disabled by country parameters. If busy tone detection is enforced and busy tone is detected, NO CARRIER will be reported instead of BUSY. If dial tone detection is enforced or selected and dial tone is not detected, NO CARRIER will be reported instead of NO DIAL TONE. The value 100b is written to S22 bits 6, 5, and 4, respectively. 2 Disables reporting of busy tones unless forced otherwise by country requirements; send only OK, CONNECT, RING, NO CARRIER, ERROR, NO DIAL TONE, NO ANSWER, and CONNECT XXXX. If busy tone detection is enforced and busy tone is detected, NO CARRIER will be reported instead of BUSY. If dial tone detection is enforced or selected and dial tone is not detected, NO DIAL TONE will be reported instead of NO CARRIER. The value 101b is written to S22 bits 6, 5, and 4, respectively. Multi-Tech Systems, Inc. SocketModem MT5692SMI AT Commands Reference Guide (S000468B) 22
Chapter 3 Data Commands and S-Registers Enables reporting of busy tones; send only OK, CONNECT, RING, NO CARRIER, ERROR, NO ANSWER, and CONNECT XXXX. Blind dialing is enabled/disabled by country parameters. If dial tone detection is enforced and dial tone is not detected, NO CARRIER will be reported. The value 110b is written to S22 bits 6, 5, and 4, respectively. 4 Enables reporting of busy tones; send all messages. The value 111b is written to S22 bits 6, 5, and 4, respectively. Default OK <value>=0 to 4 ERROR Otherwise 3
Result Codes:
23
Note 2 Note 2
Note 2
Note 2
Note 3 Note 3
Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3 Note 3
24
185 CONNECT 37333 x x x Note 3 186 CONNECT 38667 x x x Note 3 187 CONNECT 41333 x x x Note 3 188 CONNECT 42667 x x x Note 3 189 CONNECT 45333 x x x Note 3 190 CONNECT 46667 x x x Note 3 191 CONNECT 49333 x x x Note 3 192 CONNECT 50667 x x x Note 3 193 CONNECT 53333 x x x Note 3 194 CONNECT 54667 x x x Note 3 195 +MRR: 28000 x x x Note 3 196 +MRR: 29333 x x x Note 3 197 +MRR: 30667 x x x Note 3 198 +MRR: 33333 x x x Note 3 199 +MRR: 34667 x x x Note 3 200 +MRR: 37333 x x x Note 3 201 +MRR: 38667 x x x Note 3 202 +MRR: 41333 x x x Note 3 203 +MRR: 42667 x x x Note 3 204 +MRR: 45333 x x x Note 3 205 +MRR: 46667 x x x Note 3 206 +MRR: 49333 x x x Note 3 207 +MRR: 50667 x x x Note 3 208 +MRR: 53333 x x x Note 3 209 +MRR: 54667 x x x Note 3 210 +MRR: 25333 x x x 211 +MRR: 26667 x x x 212 +MRR: 25333 x x x 213 +MRR: 22666 x x x Notes: 1. An 'x' in a column indicates that the message (either the long form if verbose, or the value only for short form) will be generated when that particular value of 'n' (shown at the top of the column) has been selected by the use of ATXn. If the column is blank, then no message will be generated for that x option. A numeral indicates which less explicit message (verbose or short form) will be output for that X option. (Also, see Section 3.3). 2. V.34, V.90, and V.92 models only. 3. V.90 and V.92 models only.
25
Command: &C
Description: Syntax: Values:
Result Codes:
Command: &D
Description:
Syntax: Values:
26
Command: &K
Description: Syntax: Values:
Flow Control
Defines the DTE/DCE (terminal/modem) flow control mechanism. The parameter value, if valid, is written to S39 bits 0, 1, and 2. &K<value> <value> Decimal number corresponding to the selected option. 0 Disables flow control. 3 Enables RTS/CTS flow control. Default (for data modem modes) 4 Enables XON/XOFF flow control. 5 Enables transparent XON/XOFF flow control. OK <value>=0, 3, 4 or 5 ERROR Otherwise
Result Codes:
Command: &M
Description: Syntax: Values:
Result Codes:
27
Command: &Qn
Description:
Synchronous/Asynchronous Mode
This command is an extension of the &M command and is used to control the connection modes permitted. It is used in conjunction with S36 and S48. (Also, see \N). &Q<value> <value> Decimal number corresponding to the selected option. 0 Selects direct asynchronous operation. The value 000b is written to S27 bits 3, 1, and 0 respectively. See &M0. 1 Selects synchronous connect mode with async off-line command mode. The value 001b is written to S27 bits 3, 1, and 0 respectively. See &M1. (Serial interface operation only). 2 Selects synchronous connect mode with async off-line command mode and enables DTR dialing of directory 0. The value 010b is written to S27 bits 3, 1, and 0 respectively. See &M2. (Serial interface operation only). 3 Selects synchronous connect mode with async off-line command mode and enables DTR to act as Talk/Data switch. The value 011b is written to S27 bits 3, 1, and 0 respectively. See &M3. (Serial interface operation only). 5 Default. The modem will try to negotiate an error-corrected link. The modem can be configured using S36 to determine whether a failure will result in the modem returning on-hook or will result in fallback to an asynchronous connection. The value 101b is written to S27 bits 3, 1, and 0 respectively. 6 Selects synchronous operation in normal mode (speed buffering). The value 110b is written to S27 bits 3, 1, and 0 respectively. OK <value>=0 to 3, 5, or 6 ERROR Otherwise
Syntax: Values:
Result Codes:
Command: &R
Description:
Syntax: Values:
Result Codes:
28
Command: &S
Description: Syntax: Values:
Result Codes:
Command: +IPR
Description:
Syntax: Values:
Report Commands:
29
Command +IBC
Description:
In Band Commands
This command provides a mechanism by which an in-band secondary channel may be implemented. This in-band secondary channel can be utilized to transparently exchange commands and responses to/from the modem during a data connection. This is an alternative approach to using the +++ escape sequence. The +IBC command also provides a mechanism to exchange V.24 signaling via the secondary channel. The primary reason the In Band Channel is implemented is to retrieve Caller ID type II information. The supported In Band Channel command is compatible with the ITU-T V.80 standard but is not a full V.80 implementation. TheV.80 protocol supported is described below. Portions of the V.80 protocol not described are not supported. Please refer Section 7 of the ITU-T V.80 standard for more details. +IBC=<IB>,<105>,<106>,<107>,<108>,<109>,<110>,<125>,<132>, <133>,<135>,<142>,<hook> <IB> Enables or disables in-band control sequence. 0 Disable in-band control sequences. 1 Enable 7-bit in-band control sequences. Ignore eighth bit. 2 Enable 8-bit in-band control sequences. <105> Enables or disables circuit number 105: RTS (Ready to Send). 0 Disable in-band reporting for this circuit. 1 Enable in-band reporting for this circuit. <106> Enables or disables circuit number 106: CTS (Clear to Send). 0 Disable in-band reporting for this circuit. 1 Enable in-band reporting for this circuit. <109> Enables or disables circuit number 109: DCD (Data Carrier Detect). 0 Disable in-band reporting for this circuit. 1 Enable in-band reporting for this circuit. <125> Enables or disables circuit number 125: RI (Ring Indicate). 0 Disable in-band reporting for this circuit. 1 Enable in-band reporting for this circuit. <other> Not supported; leave 0 for the unsupported circuit types. <hook> Not supported; leave 0. Reporting Current or Selected Values Command: +IBC? Response: +IBC=<value>,<value>,<value>,0,0,<value>,0,<value>,0,0,0,0,0 Example: +IBC=0,0,0,0,0,0,0,0,0,0,0,0,0 Reporting Supported Range of Parameter Values Command: +IBC=? Response: +IBC: (0-2),(0-1),(0-1),0,0,(0-1),0,(0-1),0,0,0,0,0
Syntax: Values:
Report Commands:
Entering and Exiting In Band Active State In Band Command mode will be active only when a modem connection has been made and DCD is on and the modem is not in command mode. Upon a data connection before the connect message is sent, an In Band message will be sent to the DTE to notify that all further data will be EM shielded and should be filtered. Any other time (i.e., command mode or idle mode) the DTE should allow all user data to be in pass-through mode in which the data is unfiltered. The DTE will receive one of the following active messages: EM<60h><26h><62h>+IBC:1 to indicate In Band is active and the server is V.92 EM<60h><26h><62h>+IBC:2 to indicate In Band is active and the server is non-V.92 Upon Hang up or escape to command mode, the In Band command mode will end and the DTE should stop filtering EM data and return to pass-through mode. The DTE will receive the following inactive In Band message: EM<60h><26h><62h>+IBC:0 to indicate In Band is inactive
30
Chapter 3 Data Commands and S-Registers EM Shielding Data When in-band control sequences are enabled, the DTE and the modem must shield and filter data containing EM. In V.80, in-band data is shielded from normal data by an EM character represented by a <19h> or <99h>. If the DTEs data contains an EM, an additional character is inserted. For example, sending <19h> from the DTE to the modem requires inserting a <singleEM> or <5Ch> into the data stream (e.g., <19h><5Ch>). The modem encodes this as one <19h> in the user data. On the other hand, sending <19h> from the modem to the DTE requires inserting a <singleEM> or <7Ch>. See Table 3-2. Please refer to the V.80 standard for more information.
Supported V.80 DTE-to-DCE Commands <40h> The DCE decodes this as a sequence of 3 + (<length>-1Fh). <42h> <42h> Circuit 105 is OFF. <43h> Circuit 105 is ON. <58h> The DCE decodes this as one <99h> in user data. <59h> The DCE decodes this as <99h><99h> in user data. <5Ch> The DCE decodes this as on <19h> in user data. <5Dh> The DCE decodes this as <19h><19h> in user data. <5Eh> The DCE decodes this command and deliver a set of status commands, one for each circuit enabled. Supported V.80 DCE-to-DTE Commands <60h> The DCE decodes this as a sequence of 3 + (<length>-1Fh). <62h> <62h> Circuit 106 is OFF. <63h> Circuit 106 is ON. <66h> Circuit 109 is OFF. <67h> Circuit 109 is ON. <6Ah> Circuit 125 is OFF. <6Bh> Circuit 125 is ON. <76h> The DCE encodes this as one <99h> in user data. <77h> The DCE encodes this as <99h><99h> in user data. <7Ch> The DCE encodes this as on <19h> in user data. <7Dh> The DCE encodes this as <19h><19h> in user data.
<extend0> <length> <status> <rest of command> <106off> <106on> <109off> <109on> <125off> <125on> <singleEMp> <doubleEMp> <singleEM> <doubleEM>
In Band Processing of AT Commands When in-band control sequences are enabled, the modem responds to EM shielded AT commands via the extend-0 CONTROL sequence. This command may be used to transmit any AT commands to the modem as follows: EM <extend-0> <length> <CONTROL> <AT Command without AT and trailing carriage return> Upon receipt of an in-band command, the modem responds with the extend-0 STATUS REPORT sequence. This sequence will contain the response to the AT command issued via the CONTROL sequence with the trailing <cr> <lf> omitted: EM <extend-0> <length> <STATUS> <AT Command response without trailing LF> Example: Send +VRID=2 command to the modem and respond with terse caller ID: EM <60h> <27h> <42h> +VRID=2 Note: <length> is 27h corresponding to 27h-1Fh=8. This is the length of the sequence following the <length> octet. The modem responds to this command by transmitting the caller ID information to the DTE via the inband sequence: EM <60h> <length> <62h> <raw caller ID information> EM<60h><22h><62h>OK In this case, the <length> octet is the actual length of the raw caller ID + 1 + 1Fh. Multi-Tech Systems, Inc. SocketModem MT5692SMI AT Commands Reference Guide (S000468B)
31
Chapter 3 Data Commands and S-Registers In Band Signaling of CTS and Ring Indicate (Circuit 106 and Circuit 125) Whenever the V.24 circuit selected via the +IBC command changes, the modem will send an unsolicited EM shielded frame to the DTE to inform the DTE of the new state. This is used for CTS and RI. For MOH applications, the DTE is specifically interested in circuit 125 (Ring Indicate). When RI is asserted, the sequence EM <125on> or 19h 6Bh is sent to the DTE. When RI is de-asserted, the sequence EM <125off> or 19h 6Ah is sent to the DTE.
Command: +IFC
Description:
Syntax: Values:
Report Commands:
32
Dial
This commands 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. If +FCLASS=0 is selected, the modem will behave as a data modem and will attempt to connect to another data modem. The modem will have up to the period of time specified by register S6 or S7 to wait for carrier and complete the handshake. If this time expires before the modem can complete the handshake, the modem will go on-hook with the NO CARRIER response. This command will be aborted in progress upon receipt of any DTE character before completion of the handshake. Dial Modifiers The valid dial string parameters are described below. Punctuation characters may be used for clarity, with parentheses, hyphen, and spaces being ignored. D<string> <string> Character string corresponding to the selected option(s). 0-9 DTMF digits 0 to 9. * The 'star' digit (tone dialing only). # The 'gate' digit (tone dialing only). A-D DTMF digits A, B, C, and D. Some countries may prohibit sending of these digits during dialing. L Re-dial last number: the modem will re-dial the last valid telephone number. The L must be immediately after the D with all the following characters ignored. P Select pulse dialing: Pulse Dialing is used in the dialed numbers that follow until a T command is encountered. Affects current and subsequent dialing. Some countries prevent changing dialing modes after the first digit is dialed. T Select tone dialing: Tone Dialing is used in the dialed numbers that follow until a P is encountered. Affects current and subsequent dialing. Some countries prevent changing dialing modes after the first digit is dialed. R This command will be accepted, but not acted on. S=n Dial the number stored in the directory (n = 0 to 3). (See &Z.) ! Flash: the modem will go on-hook for a time defined by the value of S29. Country requirements may limit the time imposed. W Wait for dial tone: the modem will wait for dial tone before dialing the digits following "W". If dial tone is not detected within the time specified by S7 (US) or S6 (W-class), the modem will abort the rest of the sequence, return on-hook, and generate an error message. @ Wait for silence: the modem will wait for at least 5 seconds of silence in the call progress frequency band before continuing with the next dial string parameter. If the modem does not detect these 5 seconds 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.
33
Syntax: Values:
Chapter 3 Data Commands and S-Registers Wait for credit card dialing tone before continuing with the dial string. If the tone is not detected within the time specified by S7 (US models) or S6 (W-class models), the modem will abort the rest of the sequence, return on-hook, and generate an error message. , Dial pause: the modem will pause for a time specified by S8 before dialing the digits following ",". ; Return to command state. Added to the end of a dial string, this causes the modem to return to the command state after it processes the portion of the dial string preceding the ";". This allows the user to issue additional AT commands while remaining off-hook. The additional AT commands may be placed in the original command line following the ";" and/or may be entered on subsequent command lines. The modem will enter call progress only after an additional dial command is issued without the ";" terminator. Use "H" to abort the dial in progress, and go back on-hook. ^ Toggles calling tone enable/disable: applicable to current dial attempt only. () Ignored: may be used to format the dial string. Ignored: may be used to format the dial string. <space> Ignored: may be used to format the dial string. <i> Invalid character: will be ignored. > If enabled by country specific parameter, the modem will generate a grounding pulse on the EARTH relay output. &
Command: T
Description:
Result Code:
Command: P
Description:
Result Code:
34
Command: A
Description:
Answer
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. If +FCLASS=0 is selected, the modem will enter the Connect state after exchanging carrier with the remote modem. If no carrier is detected within a period specified in register S7, the modem hangs up. Any character entered during the connect sequence will abort the connection attempt.
Command: H
Description: Syntax: Values:
Disconnect (Hang-Up)
Initiates a hang up sequence. This command may not be available for some countries due to PTT restrictions. H<value> <value> Decimal number corresponding to the selected option. 0 The modem will release the line if the modem is currently on-line, and will terminate any test (AT&T) that is in progress. Country specific, modulation specific, and error correction protocol specific (S38) processing is handled outside of the H0 command. 1 If on-hook, the modem will go off-hook and enter command mode. For US models, the modem will remain off-hook. For global models, the modem will return on-hook after a period of time determined by S7. OK <value>=0 or 1 ERROR Otherwise
Result Codes:
Command: O
Description:
Syntax: Values:
Result Codes:
35
Command: L
Description: Syntax: Values:
Speaker Volume
Sets the speaker volume control. The parameter value, if valid, is written to S22 bits 0 and 1. L<value> <value> Decimal number corresponding to the selected option. 0 Low volume. 1 Low volume. 2 Medium volume. Default 3 High volume. OK <value>=0 to 3 ERROR Otherwise
Result Codes:
Command: M
Description: Syntax: Values:
Speaker Control
Selects the situation that will cause the speaker will be on or off. The parameter value, if valid, is written to S22 bits 2 and 3. M<value> <value> Decimal number corresponding to the selected option. 0 Speaker is always off. 1 Speaker is on during call establishment, but off when receiving carrier. Default 2 Speaker is always on. 3 Speaker is off when receiving carrier and during dialing, but on during answering. OK <value>=0 to 3 ERROR Otherwise
Result Codes:
Command: &G
Description:
Syntax: Values:
Result Codes:
36
Command: &P
Description: Syntax: Values:
Result Codes:
Command: &V
Description:
37
Command: &V1
Description:
38
Command: \V
Description: Syntax: Values:
Command: %L
Description:
Result Codes:
39
Command: %Q
Description:
Command: *B
Description:
Syntax: Example:
Command *D
Description:
Syntax: Example:
40
Command -SLP=
Description: Syntax: Defined Values:
Result Codes:
41
Chapter 3 Data Commands and S-Registers Report Commands: Reports Current or Selected Values: Command: -STE? Response: -STE: <value> Example: -STE: 4 Remote Hang-up enabled, Extension Pickup disabled, and Line-In-Use disabled. Reports Supported Range of Values: Command: -STE=? Show available options Response: -STE: 0-7 OK <value>=0-7 ERROR Otherwise
Result Codes:
Behavior in Data Mode (+FCLASS=0) and Fax Mode (+FCLASS=1,1.0) When on-hook, if the line is in use and an ATDT is issued, the modem will not go offhook and will return with the message LINE-IN-USE. When off-hook and either an extension is picked up or a line reversal is detected, the modem will drop the connection. The disconnect reason in register S86=25 (this is also defined for #UD). The user must flash the hook in order to get a dial tone due because the remote server will be retraining. If the local handset is picked up while the modem is off-hook, the modem will do a linkdisconnect, flash the hook for 1.5 seconds, and then connect the local handset to the line. At this point, the user dial tone should be on the local handset. The disconnect reason in S86=25. Behavior in Voice Mode (+FCLASS=8) When in voice mode and an extension is picked-up, a <DLE>P is sent to the DTE. When the modem is off-hook, a line reversal may also be detected in which case a <DLE>1 is sent to the DTE. In voice mode, there is no blocking of ATDT when the line is in use. Also, there is no automatic hang-up in voice mode as in data mode. There is only the above stated <DLE> shielding event reporting. Operation in Data Mode Line-In-Use (Enabled by AT-STE=1, AT-STE=3, AT-STE=5, or AT-STE=7) Case 1: Telephone Line is in Use If an ATDT, ATDP or ATDL is issued while Line-In-Use detection is enabled and the telephone line is in use, the modem will immediately return the message LINE-IN-USE to the DTE without going off-hook, and then return to command mode. 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 off-hook after a short pause, then respond with CONNECT or NO CARRIER message. Case 3: Telephone Line is not Connected to Modem If an ATDT, ATDP, or ATDL is issued while Line-In-Use detection is enabled and the telephone line is not connected, the modem will go off-hook momentarily, go back onhook, and then respond with NO LINE message. Extension Pick-up (Enabled by AT-STE=2, AT-STE=3, AT-STE=6, or AT-STE=7): Case 1: Modem off-hook, Local Handset Goes Off-Hook If the local handset goes off-hook while the modem is in a data connection, the local handset will be muted. The modem will then send a GSTN Cleardown to the remote modem and then go on-hook. The modem will then send An OFF HOOK INTRUSION message to the DTE. A result code of 25 will be left in S86 register. After 2 seconds, the local handset will be connected to the telephone line so the user hears the dial tone.
42
Chapter 3 Data Commands and S-Registers Case 2: Modem off-hook, Extension Pick-up If the modem is connected and another extension goes off-hook, the modem will send a GSTN Cleardown to the remote modem and then immediately hang-up. Due to the noise possibly being added to the line when a telephone extension is picked-up, a GSTN Cleardown may or may not successfully be received by the remote mode. If the GSTN Cleardown is not received successfully by the remote modem, the remote modem may attempt a retrain until the retrain fails and the remote modem drops the line. In any case, the modem will send an OFF HOOK INTRUSION message to the DTE immediately after sending the GSTN Cleardown. A result code of 25 will be left in the S86 register. Because the extension is off-hook, the modem cannot flash the hook for the central office to generate a dial tone. In this case, the user must flash the extension handset to obtain a dial tone.
Remote Hang-up Enabled by AT-STE=4, AT-STE=5, AT-STE=6, or AT-STE=7) Case 1: Modem off-hook, Remote Hang-up If the modem is connected (off-hook) and the remote modem/server goes hangs up, the central office may issue a line polarity reversal. If a line polarity reversal is detected, the modem will drop the call and respond with NO LINE REVERSAL DETECTED. The reason for hang-up can be determined by #UD or by S86=25. A line reversal can also be simulated by simply pulling out the telephone line during a connection. Operation in Voice Mode Line-In-Use (Enabled by AT-STE=1, AT-STE=3, AT-STE=5, or AT-STE=7) This feature does not apply in voice mode. Extension Pickup (Enabled by AT-STE=2, AT-STE=3, AT-STE=6, or AT-STE=7) If the modem is off-hook and an extension goes off-hook, the modem issues a <DLE>P to the DTE. The application software should then hang up the line (VLS=0). Remote Hang-up (Enabled by AT-STE=4, AT-STE=5, AT-STE=6, or AT-STE=7) If the modem is off-hook and the remote user goes on-hook, the modem issues a <DLE>P to the DTE. The application software should then hang up the line (VLS=0). Examples: User is talking on an extension and the modem tries to dial AT-STE=7 ATDT555-1212 LINE-IN-USE. The line is not in use and the modem tries to dial AT-STE=7 ATDT555-1212 Modem goes off-hook CONNECT 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 an extension goes off-hook AT-STE=2 ATDT555-1212 CONNECT OFF HOOK INTRUSION Extension is picked up, GSTN Cleardown sent ATS86=? 025 Multi-Tech Systems, Inc. SocketModem MT5692SMI AT Commands Reference Guide (S000468B)
43
Chapter 3 Data Commands and S-Registers Modem is connected in data mode and remote modem goes on-hook AT-STE=4 ATDT555-1212 CONNECT OFF HOOK INTRUSION Remote modem drops line ATS86=? 025 Modem is connected in data mode and the LOCAL HANDSET goes off-hook AT-STE=7 ATDT555-1212 5 sec delay CONNECT LINE REVERSAL DETECTED Local handset goes off-hook, GSTN Cleardown sent, and remote modem goes on-hook ATS86=? 025 500 ms after no carrier a dial tone is heard on the local handset Modem is in answer machine mode and an extension goes off-hook AT-STE=2 AT+FCLASS=8 OK <DLE>h Local handset on-hook <DLE>R Ring AT+VLS=1 OK AT+VSM=1,7200,0,0 AT+VTX Starts to play greeting message <DLE>P User picks up extension <DLE>! DTE send abort to end playback AT+VLS=0 DTE hangs up. Automated system that needs to periodically use the line while giving the voice user the highest priority A common use for these features would be an automated system that needs to periodically use the line while giving the voice user the highest priority. The automated system would make a connection when the line is free. It would do this without disturbing the line if the line is in use. The automated system would periodically retry the connection until the line is free. Once the line is free it would dial and make its connection. If a voice user wishes to use the line while the modem is connected, the modem will drop the line and give the line to the user. The modem will then try to regain control of the line by once again periodically retrying to establish a connection. AT-STE=7 OK ATDT5551212 CONNECT Sometime later, the user picks up phone NO CARRIER ATS86? 25 OK Delay 30 seconds ATDT5551212 LINE-IN-USE Try again some time later; user hangs up phone CONNECT
44
Command: -TRV
Description: Syntax: Example:
Command: -TTE
Description:
Syntax:
<Line In Use voltage drop threshold>1 1000 = 10.00 V drop while modem is on-hook. Default <Extension Pickup voltage drop threshold>1 150 = 1.50 V drop while modem is off-hook; this value must be less than the Remote Hang-up voltage drop threshold. Default <Remote Hang-up voltage drop threshold>1, 2 500 = 5.00 V drop while modem is off-hook; this value must be greater than the Extension Pickup voltage drop threshold. Default <Digital Line Protection current threshold> 160 = 160 mA while modem is off-hook (Default.): <Line Interruption Immunity> 0 = 200 ms (Default.) 1 = 200 ms 2 = 200 ms n (where n > 2) = n*100 ms <RESERVED> 0 Default Reporting Current or Selected Value Command: AT-TTE? Queries current setting Notes: 1. Thresholds are difference thresholds. Example: The line would be considered in use if the Tip & Ring voltage dropped by 10.00 V. Another Example: If the modem is off-hook and the voltage drops by more than 2.50 V, then the modem would consider the condition as an extension pickup. 2. The <Remote Hang-up voltage drop threshold> must always be less than the <Extension Pickup voltage drop threshold). Otherwise, the extension pickup will not function.
45
Modulation Selection
This extended-format compound parameter controls the manner of operation of the modulation capabilities in the modem. It accepts six subparameters. +MS=[<carrier>[,<automode>[,<min_tx_rate>[,<max_tx_rate> [,<min_rx_rate> [,<max_rx_rate>]]]]]] Where possible <carrier>, <min_tx_rate>, <max_tx_rate>, <min_rx_rate>, and <max_rx_rate> values are listed in Table 1-3. Table 3.3 +MS Command Supported Rates
Modulation Possible (<min_rx_rate>, <min_rx_rate>, (<min_tx_rate>), and <max_tx_rate>) Rates (bps) Bell 103 B103 300 Bell 212 B212 1200 Rx/75 Tx or 75 Rx/1200 Tx V.21 V21 300 V.22 V22 1200 V.22 bis V22B 2400 or 1200 V.23 V23C 1200 V.32 V32 9600 or 4800 V.32 bis V32B 14400, 12000, 9600, 7200, or 4800 V.34 V34 33600, 31200, 28800, 26400, 24000, 21600, 19200, 16800, 14400, 12000, 9600, 7200, 4800, or 2400 56K K56 56000, 54000, 52000, 50000, 48000, 46000, 44000, 42000, 40000, 38000, 36000, 34000, 32000 V.90 V90 56000, 54667, 53333, 52000, 50667, 49333, 48000, 46667, 45333, 44000, 42667, 41333, 40000, 38667, 37333, 36000, 34667, 33333, 32000, 30667, 29333, 28000 V.92 V92 56000, 54667, 53333, 52000, 50667, 49333, 48000, 46667, downstream 45333, 44000, 42667, 41333, 40000, 38667, 37333, 36000, 34667, 33333, 32000, 30667, 29333, 28000 V.92 V92 48000, 46667, 45333, 44000, 42667, 41333, 40000, 38667, upstream 37333, 36000, 34667, 33333, 32000, 30667, 29333, 28000, 26667, 25333, 24000 Note: Some <carrier> values may not be supported by certain model models. For example, modem models supporting V92 may not support K56. <carrier>
Defined Values:
<carrier>
A string that specifies the preferred modem carrier to use in originating or answering a connection. <carrier> values are strings of up to eight characters, consisting only of numeric digits and upper case letters. <carrier> values for ITU standard modulations take the form: <letter><1-4 digits><other letters as needed>. Defined values are listed in Table 3-3. A numeric value which enables or disables automatic modulation negotiation (ITU-T V.32bis Annex A or V.8). 0 = Automode disabled. 1 = Automode enabled. Default
<automode>
<min_rx_rate> and <max_rx_rate> Numeric values which specify the lowest (<min_rx_rate>) and highest (<max_rx_rate>) rate at which the modem may establish a receive connection. May be used to condition distinct limits for the receive direction as distinct from the transmit direction. Values for this subparameter are decimal encoded, in units of bit/s. The possible values for each modulation are listed in Table 3-3. Actual values will be limited to possible values corresponding to the entered <carrier> and fall-back <carrier> as determined during operation. Default = lowest (<min_rx_rate>) and highest (<max_rx_rate>) rate supported by the selected carrier.)
46
Chapter 3 Data Commands and S-Registers <min_tx_rate> and <max_tx_rate> Numeric values which specify the lowest (<min_tx_rate>) and highest (<max_tx_rate>) 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. Actual values will be limited to possible values corresponding to the entered <carrier> and fall-back <carrier> as determined during operation. (Default = lowest (<min_tx_rate>) and highest (<max_tx_rate>) rate supported by the selected carrier.). Reports Current or Selected Values and Rates: Command: +MS? Response: +MS:<carrier>,<automode>,<min_tx_rate>, <max_tx_rate>, <min_rx_rate>,<max_rx_rate> Note: The current active settings are reported under control of the +MR parameter. Example: +MS: K56, 1,300,33600,300,56000 For default values: This example allows maximum system flexibility to determine optimal receive and transmit rates during operation. Reports Supported Range of Parameter Values: Command: +MS=? Response: +MS: (< carrier> range),(<automode> range),(<min_tx_rate> range), (<max_tx_rate> range), (<min_rx_rate> range), (<max_rx_rate> range) Example 1: +MS:(B103,B212,V21,V22,V22B,V23C,V32,V32B,V34, K56,V90),(0,1),(300-33600),(300-33600),(300-56000),(300-56000) Example 2: +MS:(B103,B212,V21,V22,V22B,V23C,V32,V32B,V34, V90,V92),(0,1),(300-33600),(300-48000),(300-56000),(300-56000) OK Valid subparameter string ERROR Otherwise
Report Commands:
Result Code:
47
Command: +MR
Description:
This extended-format numeric parameter controls whether or not the extendedformat +MCR:<carrier> and +MRR:<rate> intermediate result codes are transmitted from the modem to the DTE. If enabled, +MCR:<carrier> and +MRR:<rate> intermediate result codes represent the current (negotiated or renegotiated) modulation <carrier> and <rate> that are transmitted at the point during connect negotiation (handshaking) at which the modem has determined which modulation and rate will be used; i.e., before any Error Control or Data Compression reports are transmitted, and before any final result code (e.g., CONNECT) is transmitted. S95 bit 2 is reset to 0 for +MR=0 and is set to a 1 for +MR=1 or +MR=2. The more recent setting of +MR or S95 bit 2, and the W command setting, determines modulation result code reporting (see S95 Parameter and W Command). Syntax: +MR=<value> Values: <value> A decimal number corresponding to the selected option. 0 Disables reporting of modulation connection (+MCR: and +MRR: are not transmitted). Default 1 Enables reporting of modulation connection (+MCR: and +MRR: are transmitted with TX rate, RX rate). 2 Enables reporting of modulation connection (+MCR: and +MRR: are transmitted with RX rate only). Report Current or Selected Values: Command: +MR? Response: +MR: <current value> Example: +MR: 0 For default setting Reports Supported Range of Parameter Values: Command: +MR=? Response: +MR: (<value>range) Example: +MR: (0-2) MCR Report Syntax: Response: +MCR: <carrier> <carrier> Alphanumeric code corresponding to the reported carrier. Defined values are: B103 For Bell 103 B212 For Bell 212 V21 For V.21 V22 For V.22 V22B For V.22bis V23C For V.23 V32 For V.32 V32B For V.32bis V34 For V.34 V90 For V.90 V92 For V.92 Response: +MRR: <tx_rate>,<rx_rate> <tx_rate> Decimal transmit rate in bits/s. <rx_rate> Decimal receive rate in bits/s. Example: +MRR: 28800, 48000
48
Command: %E
Description:
Syntax: Values:
Result Codes:
Command: B
Description:
Syntax: Values:
Result Codes:
49
50
Chapter 3 Data Commands and S-Registers Examples: Enable V.80 Synchronous Access Mode originator. Enable V.80 Synchronous Access Mode originator. Enable V.80 Synchronous Access Mode answerer. Enable V.80 Synchronous Access Mode originator & answerer. Enable V.42 with Detection Phase originator. Disable V.80 Synchronous Access Mode originator. +ES=,,2 Allow LAPM, MNP, or Normal Mode connection answerer. Disable V.80 Synchronous Access Mode answerer. +ES=3,,2 Enable V.42 with Detection Phase originator, allow LAPM, MNP, or Normal Mode connection answer. Disable Synchronous Access Mode originator and answerer. Report Current or Selected Values: Command: +ES? Response: +ES: <orig_rqst>,<orig_fbk>,<ans_fbk> Example: +ES: 3,0,2 For the default setting. +ES: 6,0,8 For V.80 synchronous access mode; originator and answerer Report Supported Range of Parameter Values: Command: +ES=? Response: +ES: (<orig_rqst> range),( <orig_fbk> range), (<ans_fbk> range) Example: +ES: (0-4,6,7),(0-4),(0-6,8,9) +ES=6 +ES=6 +ES=,,8 +ES=6,,8 +ES=3
Command: +EB
Description:
This extended-format compound parameter controls the break handling in V.42 operation. It accepts three numeric subparameters: Syntax: +EB=[<break_selection>[,<timed>[,<default_length>]]] Values: Note: There is no default value. <break_selection> Decimal number 0 specifying that break is to be ignored; i.e., not signaled to remote DCE. <timed> Decimal number 0 specifying that any transmitted V.42 LSIGNAL will not indicate break signal length <default_length> Decimal number 0 specifying that break is not delivered to the DTE. Report Current or Selected Values: Command: +EB? Response: +EB: <break_selection>,<timed>,<default_length><CR> Example: +EB: 0,0,0 For default settings. Report Supported Range of Parameter Values: Command: +EB=? Response: +EB: (<break_selection> range),(<timed> range), (default_length> range) Example: +EB: (0),(0),(0)
Command: +ESR
Description:
Selective Reject
This extended-format numeric parameter controls the use of the selective reject (SREJ) option in V.42. Syntax: +ESR=[<value>] Decimal number 0 specifying that SREJ is not used. Report Current or Selected Values: Command: +ESR? Response: +ESR: <value> Example: +ESR: 0 For default setting Report Supported Range of Parameter Values: Command: +ESR=? Response: +ESR: (<value>) Example: +ESR: (0) Multi-Tech Systems, Inc. SocketModem MT5692SMI AT Commands Reference Guide (S000468B)
51
Command: +ER
Description:
This extended-format numeric parameter controls whether or not the extended format +ER: 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. The more recent setting of +ER or S95 bit 3, and the W command setting, determines the actual error control result code reporting (see S95 Parameter and W). Syntax: +ER=[<value>] Values: <value> A decimal number corresponding to the selected error control option. 0 Error control reporting disabled (no +ER intermediate result code transmitted). Default 1 Error control reporting enabled (+ER intermediate result code transmitted). Report Current or Selected Values: Command: +ER? Response: +ER: <current value> Example: +ER: 0 for the default setting Report Supported Range of Parameter Values: Command: +ER=? Response: +ER: (<value> range) Example: +ER: (0,1)
Syntax: Values:
52
Command: \B
Description:
Syntax: Values:
53
Command: \K
Description:
Break Control
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. \L<value> <value> Decimal number corresponding to the selected option. The response is different in three separate states. In the first state, the modem receives a break from the DTE when the modem is operating in data transfer mode: 0 Enter on-line command mode, no break sent to the remote modem. 1 Clear data buffers and send break to remote modem. 2 Same as 0. 3 Send break to remote modem immediately. 4 Same as 0. 5 Send break to remote modem in sequence with transmitted data. Default In the second case, the modem is in the online Command State (waiting for AT commands) during a data connection, and the \B is received in order to send a break to the remote modem: 0 Clear data buffers and send break to remote modem. 1 Same as 0. 2 Send break to remote modem immediately. 3 Same as 2. 4 Send break to remote modem in sequence with data. 5 Same as 4. Default In the third case, a break is received from a remote modem during a non-error-corrected connection: 0 Clears data buffers and sends break to the DTE. 1 Same as 0. 2 Send a break immediately to DTE. 3 Same as 2. 4 Send a break in sequence with received data to DTE. 5 Same as 4. Default OK 0 to5 ERROR Otherwise
Syntax: Values:
Result Codes:
54
Command: +DS
Description:
Data Compression
This extended-format compound parameter controls the V.42bis data compression function if provided in the modem. It accepts four numeric subparameters. Syntax: +DS=[<direction>[,<compr_neg>[,<max_dict>[,<max_string>]]]] Values: <direction> Specifies the desired direction(s) of operation of the data compression function; from the DTE point of view. 0 Negotiated; no compression (V.42bis P0=0). 3 Both directions, accept any direction (V.42bis P0=11). Default <compr_neg> Specifies whether or not the modem should continue to operate if the desired result is not obtained. 0 Do not disconnect if V.42bis is not negotiated by the remote modem as specified in <direction>. <max_dict> Specifies the maximum number of dictionary entries (2048 entries) which should be negotiated (may be used by the DTE to limit the code word size transmitted, based on its knowledge of the nature of the data to be transmitted). <max_string> Specifies the maximum string length (32 bytes) to be negotiated (V.42bis P2). Report Current or Selected Values: Command: +DS? Response: +DS: <direction>,<compr_neg>, <max_dict>, <max_string> Example: +DS: 3,0,2048,32 for the defaults and 2048 entry max dictionary. Report Supported Range of Parameter Values: Command: +DS=? Response: +DS: (<direction> range),(< compr_neg >range), (<max_dict> range),(<max_string> range) Example: +DS: (0,3),(0),(2048),(32)
55
Values:
<max_codewords_tx> Decimal number that specifies the maximum number of code words that should be negotiated in the transmit direction. Default = 512 <max_codewords_rx> Decimal number that specifies the maximum number of code words that should be negotiated in the receive direction. Default = 512 <max_string_tx> Decimal number 32 to 255 that specifies the maximum string length to be negotiated in the transmit direction. Default = 32 <max_string_rx> Decimal number 32 to 255 that specifies the maximum string length to be negotiated in the receive direction. Default = 32 <max_history_tx> Decimal number that specifies the maximum size of the history buffer to be negotiated in the transmit direction. Default = 1024 <max_history_rx> Decimal number that specifies the maximum size of the history buffer to be negotiated in the receive direction. Default = 1024 Report Current or Selected Values: Command: +DS44? Response: +DS44:<direction>,<compression_negotiation>,<capability>, <max_codewords_tx>,<max_codewords_rx>, <max_string_tx>, <max_string_rx>, <max_history_tx>,<max_history_rx> Example: +DS44:3,0,0,512,512,32,32,1024,1024 For the default setting. Report Supported Range of Parameter Values: Command: +DS44=? Response: +DS44:(list of supported <direction> values), (list of supported <compression_negotiation> values), (list of supported <capability> values), (list of supported <max_codewords_tx> values), (list of supported <max_codewords_rx> values), (list of supported <max_string_tx> values), (list of supported <max_string_rx> values), (list of supported <max_history_tx> values), (list of supported <max_history_rx> values)
56
Command: +DR
Description:
This extended-format numeric parameter controls whether or not the extendedformat +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). Syntax: +DR=[<value>] Values: <value> Decimal number corresponding to the selected option. 0 Data compression reporting disabled (no +DR result code transmitted). Default 1 Data compression reporting enabled (+DR result code transmitted). Report Current or Selected Values: Command: +DR? Response: +DR: <current value> Example: +DR: 0 For the default setting. Report Supported Range of Parameter Values: Command: +DR=? Response: +DR: (<value> range) Example: +DR: (0,1) Intermediate Result Code: Command: +DR:<type> The +DR: <type> reported represents the current (negotiated or renegotiated) modem-modem data compression type. If enabled, the intermediate result code is transmitted at the point after error control negotiation (handshaking) at which the modem has determined which data compression technique will be used (if any) and the direction of operation. The +DR intermediate result code, if enabled, is issued after the Error Control Report (+ER) and before the final result code (e.g., CONNECT). Result Code Syntax: Format of This Result Code: +DR:<type> Values: <type> An alphanumeric code corresponding to the selected option: NONE Data compression is not in use. V42B V.42bis is in use in both directions. V42B RD V.42 bis is in use in receive direction only V42B TD V.42 bis is in use in transmit direction only V44 V.44 is in use in both directions V44 RD V.44 is in use in receive direction only V44 TD V.44 is in use in transmit direction only ALT MNP 5 compression. Example: +DR: V42B
Command: %C
Description:
Syntax: Values:
Result Codes:
57
V.8/V.8bis Commands
Command: +A8E
Description:
Syntax: Values:
Default Values:
58
Command +ESA
Description:
Syntax: Values:
Chapter 3 Data Commands and S-Registers Report Selected Options: Command: Response: Example: Report Supported Options: Command: Response: +ESA? +ESA: <trans_idle>,<framed_idle>,<framed_un_ov>,<hd_auto>, <crc_type>,<nrzi_en>,<syn1>,<syn2> +ESA? +ESA: 0,0,0, ,0,0,255, For the defaults. +ESA=? +ESA: (list of supported <trans_idle> values), (list of supported <framed_idle>values),(list of supported <framed_un_ov> values), (list of supported <hd_auto>values),(list of supported <crc_type> values),(list of supported <nrzi_en> values),(list of supported <syn1> values), (list of supported <syn2> values) +ESA=? +ESA: (0),(0),(0-1), ,(0-1),(0),(255),
Example:
Command +ITF
Description:
The +ITF command determines the flow control thresholds used by the modem for transmit data from the DTE. This optional compound parameter allows the DTE to determine the input buffer size in the modem for data on circuit 103 (transmit data) from the DTE, to control the thresholds used for flow control of such data, and to control how often the modem reports to the DTE the number of octets in this buffer. The DTE can adjust its own thresholds for flow control of data on circuit 104 (received data) from the modem. Syntax: +ITF=[<off>[,<on>[,<report_period>]]] Values: <off> Default <off> value is 255. Determines the threshold, in octets, above which the modem will generate a flow off signal. Applicable in Synchronous Access and Frame Tunneling modes. For the <on> and <off> subparameters, the input buffer is assumed to reside between the modems V.24 interface and the Synchronous Access protocol layer; i.e., the buffer count includes all octets, including EM codes, received from the DTE, with the exception of DC1 and DC3 if these are used to signal <modem-by-DTE> flow control. The modem returns the ERROR result code if the DTE specifies that the <off> subparameter be set to a value less than or equal to the <on> subparameter; in this case, the current parameter value settings are not modified. <on> Determines the threshold, in octets, below which the modem will generate a flow on signal. Applicable in Synchronous Access and Frame Tunneling modes. Default <on> value is 64. <report_period> Not supported. A fixed value of zero is used and reported. Report Selected Options: The modem sends a string of information text to the DTE consisting of selected options in response to the following command: Command: +ITF? Response: +ITF: <off>,<on>,<report_period> Example: +ITF? +ITF: 255,64,0 Default values Report Supported Options: The modem sends a string of information text to the DTE consisting of supported options in response to the following command: Command: +ITF=? Response: +ITF: (list of supported <off> values),(list of supported <on> values),(list of supported <report_period> values) Example: +ITF=? +ITF: (0-255),( 0-255),(0) The maximum reported <off> value is the input transmit data buffer level at which the modem signals a transmit data overrun indication to the DTE. Multi-Tech Systems, Inc. SocketModem MT5692SMI AT Commands Reference Guide (S000468B)
60
Diagnostic Commands
Command %TT
Description:
DTMF Tones:
61
Chapter 3 Data Commands and S-Registers %TT19 - V.21 channel 1 space symbol Command syntax: %TT19 %TT1A - V.21 channel 2 space symbol Command syntax: %TT1A %TT1B - V.23 backward channel space symbol Command syntax: %TT1B %TT1C - V.23 forward channel space symbol Command syntax: %TT1C %TT1D - V.22 answer signaling (guard tone: 1800Hz, 550Hz, none) at 600 bps Command syntax: %TT1D<guard tone> <guard tone> 0 none 1 550 Hz 2 1800 Hz V.32 and V.32bis Spectrum: %TT2x V.32,V32bis %TT20 - V.32bis TCM 14400 bps (Answer Mode, Originate Mode) Command syntax: %TT20<mode> <mode> A Answer O Originate %TT21 - V.32bis TCM 12000 bps (Answer Mode, Originate Mode) Command syntax: %TT21<mode> <mode> A Answer O Originate %TT22 - V.32 TCM 9600 bps (Answer Mode, Originate Mode) Command syntax: %TT22<mode> <mode> A Answer O Originate %TT23 - V.32 9600 bps (Answer Mode, Originate Mode) Command syntax: %TT23<mode> <mode> A Answer O Originate %TT24 - V.32bis TCM 7200 bps (Answer Mode, Originate Mode) Command syntax: %TT24<mode> <mode> A Answer O Originate %TT25 - V.32 4800 bps (Answer Mode, Originate Mode) Command syntax: %TT25<mode> <mode> A Answer O Originate
62
Chapter 3 Data Commands and S-Registers Tone Generation: %TT3x Tone Generation %TT30 - Silence [on-line], i.e., go off-hook Command syntax: %TT30 %TT31 - V.25 answer tone Command syntax: %TT31 %TT32 - 1800 Hz guard tone Command syntax: %TT32 %TT33 - V.25 calling tone [1300 Hz] Command syntax: %TT33 %TT34 - FAX calling tone [1100 Hz] Command syntax: %TT34 %TT35 - Bell answer tone [2225 Hz] Command syntax: %TT35 V.34 Spectrum; %TT60 - V.34 Spectrum Command syntax: %TT60<mode><symbol rate><secondary channel><pre-emphasis filter><data rate> <mode> A Answer O Originate <symbol rate> 0 2400 1 Reserved 2 2800 3 3000 4 3200 5 3429 <secondary channel> 0 Disable 1 Enable <pre-emphasis filter> 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 A 10 <data rate> 0 2400 1 4800 2 7200 3 9600 4 12000 5 14400 6 16800 7 19200 8 21600 9 24000 A 26400 B 28800 C 31200 D 33600
63
Chapter 3 Data Commands and S-Registers Japan-Specific Sequences: %J0 - V.21 originate alternating mark & space Command syntax: %J0 %J1 - V.21 answer alternating mark & space Command syntax: %J1 %J2 - V.21 channel 2 alternating mark & space Command syntax: %J2 %J3 - Bell103 originate alternating mark & space Command syntax: %J3 %J4 - Bell103 originate mark Command syntax: %J5 - Bell103 originate space Command syntax: %J4 %J5
%J6 - Bell103 answer alternating mark & space Command syntax: %J6 %J7 - Bell103 answer mark Command syntax: %J8 - Bell103 answer space Command syntax: %J7 %J8
%J9 - V.23 backward channel mark & space Command syntax: %J9 %J10 - V.23 forward channel mark & space Command syntax: %J10 %J11 - Bell212A originate Command syntax: %J12 - Bell212A answer Command syntax: %J11 %J12
64
Syntax: Values:
65
Command: +PQC
Description:
Controls the global enabling or disabling of the V.92 shortened Phase 1 and Phase 2 startup procedures. This command is used in conjunction with the +PSS command. Syntax: +PQC=<value> Values: <value> Decimal number corresponding to the selected setting. 0 Enable Short Phase 1 and Short Phase 2. (Default.) 1 Enable Short Phase 1 only. 2 Not supported. 3 Disable Short Phase 1 and Short Phase 2. Result Codes: OK 0, 1, or 3 in V.92 Mode (+MS=V.92) ERROR Otherwise Report Selected Value: Command: +PQC? Response: +PQC: <value> Example: +PQC: 0 Report Supported Range of Values: Command: +PQC=? Response: +PQC: (<value> range) Example: +PQC: (0-3)
66
Command: +PSS
Description: Syntax: Values:
Decimal number corresponding to the selected sequence. 0 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 1 Reserved. 2 Forces the use of the full startup procedures on the next and subsequent connections independent of the setting of the +PQC command. Result Codes: OK 0 - 2 in V.92 Mode (+MS=V.92) ERROR Otherwise Report Selected Value: Command: +PSS? Response: +PSS: <value> Example: +PSS:0 For the default <value>. Report Supported Range of Values: Command: +PSS=? Response: +PSS: (<value> range) Example: +PSS: (0,1,2)
67
S-Registers
The S-Registers (also called S-Parameters) are summarized in Table 3-4 along with their default values; registers denoted with an '*' may be stored in one of the two user profiles by entering &W. One of these profiles may be loaded at any time by using the Z command. Registers or register fields quoted as reserved are reserved for current or future use by the firmware, or are permanently overridden by PTT limitations. For the latter, control of the equivalent functionality is available with Call Progress and Blacklisting options. All bit-mapped registers are read-only. The appropriate AT command which controls the relevant bits in the SRegisters should be used to change the value.
S Read/Write S-Registers
The modem selects an S-Registers, performs an S-Registers read or write function, or reports the value of an SRegisters. n Establishes S-Registers n as the last register accessed. n=v Sets S- Registers n to the value v. n? Reports the value of S- Registers n. The parameter "n" can be omitted, in which case the last S-Registers accessed will be assumed. The S can be omitted for AT= and AT?, in which case the last S-Registers accessed will be assumed. For example: ATS7 establishes S7 as the last accessed register. AT=40 sets the contents of the last register accessed to 40. ATS=20 sets the contents of the last register accessed to 20. If the number "n" is outside the range of the S-Registers available, the modem will return the ERROR message. If the value v is outside the range permitted for a given S-Register/Parameter, the modem will return the ERROR message. Input and output are always in decimal format. Note that some S-Registers are read-only. In some cases, writing to the S-Registers will appear to be accepted but the value will not actually be written. Due to country restrictions, some commands will be accepted, but the value may be limited and replaced by a maximum or minimum value.
Factory Defaults
The factory default values are stored in ROM and are loaded into the active configuration at power up or by the ATZ command. In addition, the designated default profile is subsequently loaded, and may change some of the factory default values. The designated default profile can be changed by entering the &Y command where n is one of the two possible user profiles. The factory default values may be loaded at any time by entering the &Fn command.
S2
decimal
0255
43 (+)
S3 S4
decimal decimal
0127 0127
13 (CR) 10
68
8 (BackS) Backspace Character : Sets the character recognized as a backspace. Pertains to asynchronous operation only. The modem will not recognize the Backspace character if it is set to a value that is greater than 32 ASCII. This character can be used to edit a command line. When the echo command is enabled, the modem echoes back to the local DTE the Backspace character, an ASCII space character and a second Backspace character; this means a total of three characters are transmitted each time the modem processes the Backspace character. 2 Wait Time before Blind Dialing or for Dial Tone: S1 operation is country dependent. 1. Sets the length of time, in seconds, that the modem will wait before starting to dial after going off-hook when blind dialing. This operation, however, may be affected by some ATX options according to country restrictions. The Wait for Dial Tone call progress feature (W dial modifier in the dial string) will override the value in register S6. (When configured for US). 2. Sets the length of time, in seconds, that the modem will wait for dial tone when encountering a W dial modifier before returning NO DIAL TONE result code. (W class). Default is country-dependent. The modem always pauses for a minimum of 2 seconds, even if the value of S6 is less than 2 seconds. * Wait Time for Carrier, Silence, or Dial Tone: 1. Sets the length of time, in seconds, that the modem will wait for carrier before hanging up. The timer is started when the modem finishes dialing (originate), or 2 seconds after going off-hook (answer). In originate mode, the timer is reset upon detection of answer tone if allowed by country restrictions. 2. Sets the length of time, in seconds, that modem will wait for silence when encountering the @ dial modifier before continuing with the next dial string parameter. 3. Sets the length of time, in seconds, that the modem will wait for dial tone when encountering a W dial modifier before continuing with the next dial string parameter. (US model.) The default is country dependent. * Pause Time for Dial Delay: Sets the time, in seconds, that the modem must pause when the , dial modifier is encountered in the dial string. * Carrier Detect Response Time: Supported for backward compatibility only. No value can be written. Responds with default value. * 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. When register S10 is set to 255, the modem functions as if a carrier is always present. * The actual interval the modem waits before disconnecting is the value in register S10 minus the value in register S9. Therefore, the S10 value must be greater than the S9 value or else the modem disconnects before it recognizes the carrier. Note: For Call Waiting detection, if the modem is set to US country code and S10 >=16, then the modem will detect the Call Waiting tone and hang-up the line. If S10 <16, the modem will not detect Call Waiting tone. DTMF Tone Duration: 1. For US models, S11 sets the duration of tones in DTMF dialing (has no effect on pulse dialing). 2. For W-class models, S11 is a country parameter. The default is country dependent. * Escape Prompt Delay (EPD): Defines the maximum period, in fiftieths of a second, allowed between receipt of the last character of the three escape character sequence from the DTE and sending of the OK result code to the DTE. If any characters are detected during this time, the OK will not be sent. Sending of the OK result code does not affect entry into command mode. (See 3.1.3). *
S6
seconds
2255
S7
seconds
1255*
50
S8 S9 S10
2255
6 tenths/sec 6 1255 14
S11
milliseconds 50255
85
S12
1/50 sec
0255
50
69
138 (8Ah) General Bit-Mapped Options Status: Indicates the status of command options. Bit 0 This bit is ignored. Bit 1 Command echo (En) 0 = Disabled (E0) 1 = Enabled (E1) (Default.) Bit 2 Quiet mode (Qn) 0 = Send result codes (Q0) (Default.) 1 = Do not send result codes (Q1) Bit 3 Result codes (Vn) 0 = Numeric (V0) 1 = Verbose (V1) (Default.) Bit 4 Reserved Bit 5 Tone (T)/Pulse (P) 0 = Tone (T) (Default.) 1 = Pulse (P) Bit 6 Reserved Bit 7 Originate/Answer 0 = Answer 1 = Originate (Default.) S19 is supported for backward compatibility only. No value can be written. Responds with default value. 0 Test Mode Bit-Mapped Options Status: Indicates the test in progress status. Bit 0 Local analog loopback 0 = Disabled (Default.) 1 = Enabled (&T1) Bits 1-7 Not used Point of Sale Options Selection. S17 selects the different options available for Point of Sale applications. Default: 0 (00000000b) Bit 0 V.80 sub-mode selection (applicable only if V.80 Synchronous Access Mode is enabled; see +ES command) 0 = Enable transparent sub-mode. (Default) 1 = Enable framed sub-mode. Note: When V.80 is enabled in V.22 fast connect ($F2) or V.29FastPOS ($F4), the modem automatically connects in framed sub-mode even if bit1 = 0. Bit 1 V.22bis/V.22/Bell 212 early data mode selection 0 = Enable normal V.22bis/V.22/Bell212 handshake. (Default) 1 = Enable early data mode (CTS turned ON sooner) for V.22bis/V.22/Bell 212. Bit 2 Logical/physical hang-up selection (applicable only if V.80 Synchronous Access Mode is enabled; see +ES command) 0 = Enable logical hang-up if remote had already dropped its carrier when ATH command is issued to the modem. Otherwise, the modem waits for S38 delay before it physically disconnects. (Default) 1 = Enable physical hang-up if remote side had already dropped its carrier when ATH command is issued to the modem. Otherwise, the modem does not wait for S38 delay but hangs up immediately. Bit 3 Enable/Disable HDLC in V.22 fast connect (applicable only in V.22 fast connect mode ($F2 is selected), and &Q0, &Q5, or &Q6 is selected) 0 = Enable asynchronous mode. (Default) 1 = Enable HDLC (synchronous mode). Note: If V.80 Synchronous Access Mode is enabled, the modem will automatically connect in V22 fast connect synchronous mode even if bit 3 = 0.
S16
S17
70
71
S23
S24
seconds
0255
S25
0.01 s
0255
S26
0.01 s
0255
S27
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.) Bits 4 - 5 Internal clock select (&Xn) 0= Internal clock (&X0) (Default.) 1= External clock (&X1) 2= Slave clock (&X2) Bit 6 CCITT/Bell mode select (Bn) 0= CCITT mode (B0 Default for MT5600SMI) 1= Bell mode (B1 Default for MT5656SMI) Bit 7 - Reserved 72
S29
10 ms
0255
70
S30
10 s
0255
S31
192 (C0h) General Bit-Mapped Options Status: Indicates bit mapped options status. Default: 192 (C0h) (11000000b) Bit 0 Single line connect message enable/disable (\Vn) 0 = Messages controlled by S95, Wn and Vn (\V0) (Default.) 1 = Single line connect message (\V1) Bit 1 Reserved (0) Bits 2-3 Error correction progress messages (Wn) 0 = DTE speed only (W0) (Default.) 1 = Full reporting (W1) 2 = DCE (line) speed only (W2) Bits 4-5 Caller ID (+VCID) 0 = Caller ID disabled (+VCID=0) (Default.) 1 = Short (formatted) Caller ID enabled (+VCID=1) 2 = Long (unformatted) Caller ID enabled (+VCID=2) Bits 6-7 Reserved (Default = 11b) 7 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. 1 = Modem stays on-line and a Direct mode connection is established. 2 = Reserved. 3 = Modem stays on-line and a Normal mode connection is established. 4 = An MNP connection is attempted and if it fails, the modem disconnects. 5 = An MNP connection is attempted and if it fails, a Direct mode connection is established. 6 = Reserved. 7 = An MNP connection is attempted and if it fails, a Normal mode connection is established. (Default.) Bits 3-7 Reserved
S36
73
S39
S40
104 (68h) General Bit-Mapped Options Status. Indicates the status of command options. Default: 104 (68h) (01101000b) Bits 0-1 MNP Extended Services (-Kn) 0 = Disable extended services (-K0) (Default.) 1 = Enable extended services (-K1) 2 = Enable extended services (-K2) Bit 2 Reserved Bits 3-5 Break Handling (\Kn) 0 = \K0 1 = \K1 2 = \K2 3 = \K3 4 = \K4 5 = \K5 (Default.) Bits 6-7 Reserved* 203 (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.) Bits 2, 6 Auto retrain and fallback/fall forward (%En) Bit 2 Meaning Bit 6 0 0 Retrain and fallback/fall forward disabled (%E0) 0 1 Retrain enabled (%E1) 1 0 Fallback/fall forward enabled (%E2) (Default.) Bit 3 Reserved Bits 4-5 Reserved Bit 7 Reserved 138 Data Compression Control. Controls selection of compression. * The following actions are executed for the given values: S46=136 Execute error correction protocol with no compression. S46=138 Execute error correction protocol with compression. (Default.)
S41
S46
74
S86
026
21
S91
dBm
015
10
S92
dBm
015
10
75
S210
0255
13 (0Dh)
* Register value may be stored on one of two user profiles with the &W command.
76
Result Codes
The modem responds to commands from the DTE and to activity on the line by signaling to the DTE in the form of result codes. The result codes that the modem can send are described in Table 3-5. Two forms of each result code are available: long-form, an English-like "verbose" response, and short-form, a data-like numeric response (included in parentheses following the long-form). The long-form code is preceded and terminated by the sequence < CR> < LF>. The short-form is terminated by < CR>, only with no preceding sequence. If result messages are suppressed, nothing is returned to the DTE. The long-form results codes can be modified by the OEM through the .INF file.
ERROR
5 6 7 8 9 10 11 12 13 14
CONNECT1200 NO DIAL TONE BUSY NO ANSWER CONNECT 600 CONNECT 2400 CONNECT 4800 CONNECT 9600 CONNECT 7200 CONNECT 12000
78
79
80
Notes: 1. See Vn for result code selection; i.e., short form (result code) or verbose/extended (result message). 2. See Wn for extended connect message control. 3. See S95 for extended result code enabling options (which override some Wn commands). 4. See Xn for extended result code subset enabling options. 5. See \Vn for single line connect message enable options. 6. See +MR for modulation reporting control.
81
82
Fax Origination
Origination of fax calls is made using the ATD command. Upon completion of the dial function, a calling tone at 1100 Hz is transmitted, with a cadence of 0.5 seconds on and 3 seconds off. The modem automatically enters mode +FRH=3 and sends the CONNECT message to the DTE when FSK flags are detected from the remote.
Fax Answering
Answering of fax calls is identical to answering of data calls with the exception that the modem enters the fax handshaking mode instead of the data handshaking mode after going off-hook. If +FAE=0, the modem, after sending answer tone, automatically enters fax mode (+FTH=3), sends the CONNECT message to the DTE, and starts sending FSK flags. If +FAE=1, the modem determines whether the caller is a data modem or fax modem and sends the DATA or FAX result code, respectively, to the DTE.
83
Chapter 4 Fax Class1 and Class 1.0 Commands If carrier is lost while in command mode and the DTE reissues the +FRH command with the same parameter, and there is no data in the buffer, the modem sends the ERROR result code to the DTE and returns to the command mode. If there is data in the buffer, the modem sends the next frame of buffered data to the DTE, followed by <DLE><ETX>, and either the ERROR result code if errors were detected or the OK result code if no errors were detected. The modem then returns to command mode. The modem concludes an error is detected if carrier is lost for any period of time during or before the reception of a frame. If carrier is lost for a time period longer than the time specified by the register S10, the modem finishes delivering the data in the receive buffer (if any) to the DTE, sends <DLE><ETX>, generates the ERROR message, and returns to command mode. All subsequent data received from the remote is discarded. If the modem detects a frame abort sequence (seven consecutive ones with no zero insertion) while it is waiting for a frame beginning flag (it was receiving HDLC flags), it will wait for the HDLC flags again until either carrier is lost or the DTE aborts the process by sending an abort character or by dropping DTR with &D2 in effect. If the frame abort sequence is detected while the modem is receiving a frame it finishes delivering the data in the receive buffer (if any) to the DTE, sends <DLE><ETX>, generates the ERROR message, and returns to command mode. The modem keeps looking for HDLC flags followed by more data from the remote, with the selected modulation scheme. If the modem detects a receive buffer overflow condition, it concludes that there was an FCS error in that frame. The modem will receive more frames only if a starting flag is detected and there is room in the receive buffer. If a starting flag is detected and there is no room in the buffer, the modem discards all data in that frame. If the modem receives any character from the DTE after the +FRH command (except flow control characters if software flow control is in effect), or if the modem detects a high-to-low transition of the DTR signal while &D1 is in effect, it sends <DLE><ETX> to the DTE, generates OK result code, and returns to command mode. The receive buffer is cleared and all data received from the remote is discarded. If the modem detects a DTR drop while &D2 is in effect, it goes on-hook, sends <DLE><ETX> to the DTE, generates OK result code, and returns to command mode. If the modem detects a DTR drop while &D3 is in effect, the modem performs a warm reset.
84
85
Mode Commands
Command: +FAA
Description: Syntax: Values:
Command: +FAE
Description: Syntax: Values:
Command: +FTS
Description:
Transmit Silence
This command causes the modem to terminate a transmission and wait for <time> 10-ms intervals before responding with the OK result code. Syntax: +FTS=<time> Defined Values: <time> Decimal number from 0 (default) to 255 that specifies the length of time in 10-ms intervals to delay before responding with the OK result code after terminating the session. Result Codes: OK Reported when transmission has been terminated for the specified amount of time. ERROR <value> is invalid or this command is issued while the modem is onhook. Report Supported Range of Values: Command: +FTS=? Response: +FTS: <time> range Example: +FTS: 0-255 Multi-Tech Systems, Inc. SocketModem MT5692SMI AT Commands Reference Guide (S000468B)
86
Command: +FRS
Description:
Receive Silence
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. This command is aborted if any character is received from the DTE after receipt of the command but before the time delay elapses. In this case, the modem discards the aborting character and issues an OK result code. Syntax: +FRS=<time> Values: <time> Decimal number from 0 (default) to 255 which specifies the length of time in 10-ms intervals to delay before responding with the OK result code after detecting silence on the line. Result Codes: OK Reported when silence has been present on the line for the specified amount of time or when the DTE sends the modem a character other than XON or XOFF. ERROR <value> is invalid or this command is issued while the modem is onhook. Report Supported Range of Values: Command: +FRS=? Response: +FRS: <time> range Example: +FRS: 0-255
Command: +FTM
Description:
Transmit Facsimile
This command causes the modem to transmit data using the modulation defined below. When a valid <mod> value is entered, the modem transmits the proper training sequence in the selected mode, followed by constant 1 bits until data is received from the DTE. The modem also returns the CONNECT result code at the beginning of the training sequence. +FTM=<mod> <mod> Decimal number corresponding to the selected modulation mode and data rates shown in Table 4-2. Table 4-2. Fax Class 1 and Fax Class 1.0 Modulation Modes and Rates <mod> Modulation Training Modulation Mode & Rate V.21 300 bps 3 V.27 ter 2400 bps 24 V.27 ter 4800 bps 48 V.29 7200 bps 72 V.17 Long 7200 bps long 73 V.17 Short 7200 bps short 74 V.29 9600 bps 96 V.17 Long 9600 bps long 97 V.17 Short 9600 bps short 98 V.17 Long 12000 bps long 121 V.17 Short 12000 bps short 122 V.17 Long 14400 bps long 145 V.17 Short 14400 bps short 146 CONNECT Reported when the modems begins the training sequence after receipt of a valid <mod> value.
Syntax: Values:
Result Codes:
87
Chapter 4 Fax Class1 and Class 1.0 Commands ERROR If the modems transmit buffer becomes empty and the last transmitted character is NUL (00), the modem continues to transmit NULs until the DTE sends more data or five seconds elapses. After five seconds elapse with an empty transmit buffer, the modem will turn off the transmit carrier, return to the command state, and report the ERROR result code. If the modems transmit buffer becomes empty and the last transmitted character is not NUL, the modem will turn off the transmit carrier, return to the command state, and report the OK result code. +FTM? +FTM: <mod> +FTM: 98 For V.17 9600 bps. +FTM=? +FTM: (<mod> range) +FTM: 3,24,48,72,73,74,96,97,98,121,122,145,146
OK Report Current or Selected Values: Command: Response: Example: Report Supported Range of Values: Command: Response: Example:
Command: +FRM
Description:
Receive Facsimile
This command causes the modem to enter the receiver mode using the modulation defined below. Syntax: +FRM=<mod> Values: <mod> Decimal number corresponding to the selected modulation mode and data rates shown in Table 4-2. Report Current or Selected Values: Command: +FRM? Response: +FRM: <mod> Example: +FRM: 98 For V.17 9600 bps. Reporting Supported Range of Values: Command: +FRM=? Response: +FRM: (<mod> range) Example: +FRM: 3,24,48,72,73,74,96,97,98,121,122,145,146 Result Codes: CONNECT Reported when the selected carrier is detected. +FCERROR Reported if another carrier is detected and FAR=0; the modem then returns to the command state. NO CARRIER Reported if loss-of-carrier is detected. OK Reported if the DTE sends any character to the modem other than XON or XOFF while operating in configured flow control from the DTE; the modem then returns to the command state.
88
Command: +FTH
Description:
This command causes the modem to transmit data using HDLC protocol and the modulation defined below. Syntax: +FTH=<mod> Values: <mod> Decimal number corresponding to the selected modulation mode and data rates shown in Table 2-2. Result Codes: CONNECT Reported for either of two conditions: 1. At the beginning of transmission of the training pattern for the selected modulation. 2. If the Final Frame bit is 0. OK Reported for either of two conditions: 1. If the Final Frame Bit is 1. 2. If the DTE sends only <DLE><ETX> (a null frame) while transmitting flags. ERROR Reported if five seconds elapse from the time when the modem reported the CONNECT result code without any additional data transmitted from the DTE; the modem then turns off carrier and returns to the command mode. Report Current or Selected Values: Command: +FTH? Response: +FTH: <mod> Example: +FTH: 98 For V.17 9600 bps. Report Supported Range of Values: Command: +FTH? Response: +FTH? Example: +FTH: 98 For V.17 9600 bps.
Command: +FRH
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. Syntax: +FRH=<mod> Values: <mod> Decimal number corresponding to the selected modulation mode and data rates shown in Table 2-2. Report Current or Selected Values: Command: +FRH? Response: +FRH: <mod> Example: +FRH: 98 For V.17 9600 bps. Reporting Supported Range of Parameter Values: Command: +FRH? Response: +FRH? Example: +FRH: 98 For V.17 9600 bps. Result Codes: CONNECT Reported for either of two conditions: 1. When the selected carrier is detected with an HDLC flag. 2. If the DTE sends another +FTH=<MOD> command after sending the result code indicating frame reception is complete. +FCERROR Reported if a different carrier is detected and FAR=0. NO CARRIER Reported if loss of carrier is detected. OK Reported for either of two conditions: 1. If a frame was received correctly. 2. If the DTE sends any character other than XON or XOFF while the modem is in the configured flow control. ERROR Reported if a frame was received in error. Multi-Tech Systems, Inc. SocketModem MT5692SMI AT Commands Reference Guide (S000468B)
89
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=<mod or +FRH=<mod commands. If V.21 flag preamble is detected instead, the modem issues a +FRH:3 intermediate result code, and then executes an implied +FRH=3 command. Syntax: +FAR=<value> Values: <value> Decimal number corresponding to the selected option. 0 Disable Adaptive Reception. Default 1 Enable Adaptive Reception. Report Current or Selected Values: Command: +FAR? Response: +FAR: <value> Example: +FAR: 0 For the default setting. Report Supported Range of Values: Command: +FAR=? Response: +FAR: (<value> range ) Example: +FAR: (0,1)
Command: +FCL
Description:
This parameter allows the DTE to select the modems loss-of-carrier delay between initial loss-of-carrier and qualified loss-of-carrier, when the modem will give up and exit a receive mode. Intermediate (less than FCL timeout) loss-of-carrier should be indicated by insertion of the SQ-BAD signal quality indicator in the received data stream. In unframed receive modes, if the modem detects RTC as described in Recommendation T.30 prior to initial loss of the high speed carrier, or if the modem detects V.21 carrier after initial loss of high speed carrier, then the modem immediately accepts the loss-of-carrier as qualified, without waiting for the FCL timer to expire. In HDLC receive modes, if the modem detects HDLC abort prior to initial loss of the high speed carrier, or if the modem detects V.21 carrier after initial loss of high speed carrier, then the modem l immediately accepts the loss-of-carrier as qualified, without waiting for the FCL timer to expire. Syntax: +FCL=<time> Values: <value> Decimal number representing the loss-of-carrier delay time in units of 100 ms. The range is 0 - 255. Report Current or Selected Values: Command: +FCL? Response: +FCL: <time> Example: +FCS: 0 For the default setting. Report Supported Range of Values: Command: +FCL=? Response: +FCL: (<time> range) Example: +FCL: (0-255)
90
Command: +FDD
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. Syntax: +FDD=<value> Defined Values: <value> Decimal number corresponding to the selected option. For modem decode of <DLE><SUB>, the defined range are: 0 <DLE> <DLE> or discard (default and only) 1 <DLE> <DLE> (not supported) For modem encoding of <1/0> <1/0>the defined values are: 0 <DLE> <DLE> <DLE> <DLE> (default and only) 1 <DLE> <SUB> (not supported) Report Current or Selected Values: Command: +FDD? Response: +FDD: <value> Example: +FDD: 0 For the default setting. Report Supported Range of Values: Command: +FDD=? Response: +FDD: (<value> range) Example: +FDD: (0)
Command: +FIT
Description:
This command specifies a DTE inactivity timeout value that allows the modem to break away from an unsuccessful connection attempt at any stage of a facsimile transfer. The DTE inactivity timer operates only while the modem is off-hook. Syntax: +FIT=<time>,<action> Values: <time> The <time> parameter indicates the DTE inactivity timeout in seconds. The value of 0 indicates that timeout is disabled (default). The required timeout range is 1 to 255 seconds. The inactivity timer starts when the modem has taken some action that requires DTE response. If the DTE does respond, the modem resets the inactivity timer. Inactivity timer related events are listed in Table 4-3. <action> The <action parameter has two meanings. 0 Upon timeout, the modem will go on-hook, executing an implied ATH command; then reset to +FCLASS 0. 1 Upon timeout, the DCE will only go on-hook. Report Current or Selected Values: Command: +FIT? Response: +FIT: <time ,action Example: +FIT: 0,0 For the default settings. Report Supported Range of Values: Command: +FIT? Response: +FIT: (<time> range), (<action> range) Example: +FIT: (0-255),(0-1) Table 4-3. Inactivity Timer Start and Stop Events On-line state Start timer event Stop timer event Waiting for a command modem sends final result code DTE sends AT or at Waiting for transmit data modem sends CONNECT after +FTM or +FTH DTE sends data command Waiting for transmit data modem sends <XON or sets CTS ON DTE sends data Waiting to deliver received modem sends <XOFF after +FRM or +FRH DTE sends <XON data command Waiting to deliver received DTE sets V.24 Ckt 133 OFF after +FRM or +FRH DTE sets V.24 Ckt 133 ON data command Multi-Tech Systems, Inc. SocketModem MT5692SMI AT Commands Reference Guide (S000468B)
91
Command: +FPR
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. The specified rate takes effect following the issuance of any result code(s) associated with the current command line. The <rate> specified does not apply in Online Data State if Normal Mode (Direct Mode) of operation is selected. Syntax: +FPR=<rate code> Values: <rate code> Specifies the DTE-modem interface operation rate in bits/s with a rate code. The available rate codes are: 0 Automatic detection. Default 1 2400 bits/s (executes +IPR=2400) 2 4800 bits/s (executes +IPR=4800) 4 9600 bits/s (executes +IPR=9600) 8 19200 bits/s (executes +IPR=19200) 10 38400 bits/s (executes +IPR=38400) 18 57400 bits/s (executes +IPR=57400) If unspecified or set to 0, automatic detection is selected and the character format is also forced to autodetect, +ICF=0. If the rate specified is not supported by the modem, an ERROR result code will be returned. Report Current or Selected Values: Command: +FPR? Response: <rate code> Example 1: 0 For automatic rate detection. Example 2: 18 For 57600 bits/s. Report Supported Range of Values: Command: +FPR=? Response: (<rate code> range) Example: (0,1,2,4,8,10,18)
92
Command: +FLO
Description: Syntax: Values:
Flow Control
This parameter allows the DTE to identify and select the type of flow control used. +FLO=<method> <method> 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. Report Current or Selected Values: Command: +FLO? Response: +FLO: <method> Example: +FLO: 0 For the default setting. Report Supported Range of Values: Command: +FLO=? Response: +FLO: (<method>range) Example: +FLO: (0-2) Result Codes: OK <method> = 0-2. ERROR Otherwise.
93
Examples
Examples of calling (transmitting) and answering (receiving) one page using Fax Class 1 commands are shown in Table 4-4 and Table 4-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 <DLE><ETX> characters. Table 4-4. Fax Class 1 Calling Sequence (Transmitting a Single Page) DTE Commands Modem Responses Local Modem Action Remote Station Action Notes AT+FCLASS=1 OK Set Class 1 ATDT<string> Dial and send CNG Answer AT+FRH=3 Look for V.21 send CED, V.21 implied by dialing with Detect flags Send HDLC flags +FCLASS=1.0 CONNECT <NSF frame> Send NSF frame <DLE><ETX> OK AT+FRH=3 CONNECT Detect flags <CFI frame data> get CSI send CSI frame <DLE><ETX> get FCS OK accept FCS check FCS Frame status OK
AT+FRH=3 CONNECT <DIS frame data> <DLE><ETX> OK Detect flags get DIS get FCS accept FCS send DIS frame check FCS DTE must detect final frame bit to anticipate loss of carrier
AT+FRH=3 AT+FRH=3 <TSI frame data> <DLE><ETX> <DCS frame data> <DLE><ETX> AT+FTS=8; +FTM=96 <TCF data pattern> <DLE><ETX>
AT+FRH=3
detect loss-of-carrier send V.21 carrier send flags send TSI frame send FCS send flags send DCS frame send FCS, flags drop carrier wait 80 ms send V.29 carrier send TCF data drop carrier
detect carrier detect flags get CFR frame check FCS accept FCS detect loss-of-carrier send V.29 carrier send page data drop carrier wait 80 ms send V.21 carrier send flags send EOP frame send FCS drop carrier detect carrier detect flags get MCF frame check FCS accept FCS detect loss-of-carrier send V.21 carrier send flags send DNC frame send FCS drop carrier hang up
drop carrier detect carrier detect flags get TSI frame get DCS frame
Final frame bit clear tells the modem to expect another frame. Final frame bit set tells the modem not to expect another frame
CONNECT <EOP frame data> <DLE><ETX> AT+FRH=3 OK CONNECT <MCF frame data> <DLE><ETX> OK NO CARRIER CONNECT OK OK
detect carrier detect flags receives EOP final frame send V.21 carrier send flags get MCF frame send FCS drop carrier detect carrier detect flags receive DC|NC final frame hang up Final frame bit set. frame OK
94
final frame
AT+FRH=3 AT+FTM=96
CONNECT <TCF data> <DLE><ETX> OK AT+FRH=3 CONNECT <CFR frame data> <DLE><ETX> OK AT+FTM=96 CONNECT <page image data> <DLE><ETX> NO CARRIER CONNECT <EOP frame data> <DLE><ETX> NO CARRIER AT+FRH=3 AT+FRH=3 <MCFame data> <DLE><ETX> OK AT+FRH=3 CONNECT <DCN frame data> <DLE><ETX> OK NO CARRIER OK NO CARRIER CONNECT
detect carrier receive TCF detect loss-of-carrier send V.21 carrier send flags get CRF frame send FCS drop carrier
final frame detect carrier receive page detect loss-of-carrier detect carrier detect flags receive EOP receive FCS accept FCS detect loss-of-carrier send V.21 carrier send flags get MCF frame send FCS accept FCS detect carrier detect flags receive DCN receive FCS accept FCS detect loss-of-carrier hang up send V.29 carrier send page data drop carrier wait 75 ms send V.21 carrier send flags send EOP frame send FCS frame OK drop carrier detect carrier detect flags receive MCF frame final frame send V.21 carrier send flags send DCN frame send FCS drop carrier frame OK end of session
AT+FRH=3 ATH0
95
96
97
98
Command: +VNH
Description: Syntax: Values:
Report Current or Selected Values: Command: Response: Example: Report Supported Range of Values: Command: Response: Example: Result Codes: OK ERROR
+VNH? <hook> 0 For the default setting. +VNH=? (<hook> range) (0-2) <hook> = 0-2. Otherwise
99
Command: +VRX
Description: Syntax: Result Codes:
Command: +VTR
Description:
100
Command: +VTS
Description:
This command causes the modem to send DTMF digit or hookflash tones with the duration specified by +VTD, to send DTMF digit or hookflash tones with duration specified by this command, or to send single or dual tone frequencies with duration specified with this command. Syntax: +VTS=<string> Defined Values: <string> The tone generation consists of elements in a list where each element is separated by a comma. Each element can be: 1. A single character which the modem interprets as a DTMF digit (0 - 9, #, *, or A-D) or hookflash (!), with a duration given by the +VTD command. 2. A 3-element string enclosed in square brackets, "[freq1,freq2,dur]", which the modem interprets as a general dual tone and duration selection, or 3. A 2-element string enclosed in curly braces, "{X,dur}", which the modem interprets as a DTMF digit (0 - 9, #, *, or A-D), or hookflash (!) with a duration (dur) different than that given by the +VTD command. Missing subparameters assume the default value. Unspecified values always default to zero for frequencies, DTMF * for DTMF tones, and +VTD for duration. The omission of commas (and associated subparameters) is valid. The quantity in the square brackets consists of a 3-element list (freq1,freq2,dur), which can be used to send single or dual tones. The first element is the first frequency (freq1) with range 0 or 200-3000 Hz. The second element is the second frequency (freq2), with range 0 or 200-3000 Hz. The third element is the duration (dur) in 0.01 second intervals with range 0-255 (ASCII units of 10 ms). A list may contain null elements. For example [3000] means that the DCE generates a single tone at 3000 Hz for the default duration, [3000,3300] means that the DCE generates a dual tone at 3000 and 3300 Hz for the default duration, and [,3300] means that the DCE generates a single tone at 3300 Hz for the default duration. The quantity in the curly braces consists of a 2-element list (X,dur), which can be used to send DTMF tones or hookflash. The first element is the DTMF tone or hookflash (!) character (X), and the second element is the duration (dur) in 0.01 seconds. The characters are of the same set given above. A list may contain null elements. For example, {2} means DTMF tone "2" for the default duration, and {} means silence for the default duration. The modem will stop the tone generation at the point in the string where the modem detects a parsing error, encounters an invalid frequency range, encounters a <CR>, or encounters a semi-colon. Report Supported Range of Values: Command: +VTS=? Response: (<freq1> range), (<freq2> range), (<dur> range) Example: (200-3000),(200-3000),(0-255) OK Result Codes: OK Valid command. ERROR The <string> command is invalid, or a selected frequency is out of range. Examples start on next page.
101
Chapter 5 Voice Commands Example 1: This example illustrates tone generation without using any null elements. The command example is followed by a description of command execution. AT+VTS= {!,30},1,2,[1000,1300,50],!,{*,6},[800,1300,50],9 1. Hookflash with a duration of 300 ms. 2. Play DTMF 1 with duration given by the +VTD command. 3. Play DTMF 2 with duration given by the +VTD command. 4. Play tone pair at 1 000 Hz and 1 300 Hz with a duration of 500 ms. 5. Hookflash with duration given by the +VTD command. 6. Play DTMF * with duration of 60 ms. 7. Play tone pair at 800 Hz and 1300 Hz with duration of 500 ms. 8. Play DTMF 9 with duration given by the +VTD command. This example illustrates tone generation using null elements. The command example is followed by a description of command execution. AT+VTS=1,2,[1000,1300,50],[800],9 1. Play DTMF 1 with duration given by the +VTD command. 2. Play DTMF 2 with duration given by the +VTD command. 3. Play tone pair at 1000 Hz and 1300 Hz with a duration of 500 ms. 4. Play tone pair at 800 Hz with duration given by the +VTD command. 5. Play DTMF 9 with duration given by the +VTD command. This example illustrates tone generation using null elements and periods of silence. The command example is followed by a description of command execution. AT+VTS=1,[,,50],2,[ ],9 1. Play DTMF 1 with duration given by the +VTD command. 2. Play silence with duration of 500 ms. 3. Play DTMF 2 with duration given by the +VTD command. 4. Play silence with duration given by the +VTD command. 5. Play DTMF 9 with duration given by the +VTD command.
Example 2:
Example 3:
Command: +VTX
Description: Syntax: Result Codes:
Command: +VGR
Description: This command causes the modem to set the gain for received voice samples. Syntax: +VGR=<gain> 0 (only valid number) selects automatic gain control Report Current or Selected Values: Command: +VGR? Response: <gain> Example: 0 For the default setting. Report Supported Range of Values: Command: +VGR=? Response: <gain> range Example: 0 Result Codes: OK <gain> = 0. ERROR Otherwise, or if not in Voice Mode.
102
Command: +VGT
Description: This command causes the modem to set the volume level. Syntax: +VGT=<level> Values: <level> Decimal number corresponding to the volume level. Reporting Current or Selected Values: Command: +VGT? Response: <level> Example: 128 For the default setting. Reporting Supported Range of Parameter Values: Command: +VGT=? Response: <level> range Example: 0-255 Result Codes: OK <level> = 0-255. ERROR Otherwise, or if not in Voice Mode.
Command: +VIT
Description: Syntax: Values:
This command sets the modems initial value for the DTE/modem inactivity timer. +VIT=<timer> <timer> Decimal number corresponding to the time in units of 1.0 second. A value of 0 disables the timer. Report Current or Selected Values: Command: +VIT? Response: <timer> Example: 0 For the default setting. Report Supported Range of Values: Command: +VIT=? Response: <timer> range Example: 0-255 Result Codes: OK <timer> = 0-255. ERROR Otherwise, or if not in Voice Mode.
103
Command: +VLS
Description:
This command causes the modem to select one or more source/destinations of the analog data. Syntax: +VLS=<label> Values: <label> Decimal number corresponding to the selected analog source/destination hardware configuration (see Table 6-5). Report Current or Selected Values: Command: +VLS? Response: <label> Example: 0 For the default setting. Report Supported Range of Values: Command: +VLS=? Response: <label>, <devices>, <transmit event>, <receive event>, <idle event> Where each event subparameter is a hex number that represents an event bit field of the reporting capabilities of each state. (See Table 6-6). <label> Identifies the modem analog source/destination hardware configuration. <devices> A <string constant> made up of Primitives, <transmit event>, <receive event>, and <idle event> subparameters are the DCE event reporting capabilities for the Voice Transmit State, Voice Receive State, and the Voice Command State, respectively. Event Reporting: Each of the event reporting subparameters is a hex number that represents an event bit field. The hex number format is defined in Table 4-6: a one in the bit field indicates that the DCE can report the associated event. Hardware Configuration: Each of the possible hardware configurations has its own <label>, ..., <idle event> description line (the above form description shows just one). A <CR><LF> terminates each description line. Example: AT+VLS=? 0," ",0000000000,0000000000,B084008000 1,"T",0B8418E000,0FE418E000,0B8419E000 4,"S",0084008000,0484008000,3084018000 5,"ST",0B8418E000,0FE418E000,0B8419E000 6,"M",0084008000,04E4008000,3084008000 8,"S1",0084008000,0484008000,3084018000 9,"S1T",0B8418E000,0FE418E000,0B8419E000 11,"M1",0084008000,04E4008000,3084008000 13,"M1S1T",0B8418E000,0FE418E000,0B8419E0000 Result Codes: OK ERROR <label> = <label> = 0-1,4-6,8-9,11,13 The <label> value is out of range, or if the modem cannot service the request in the <label> subparameter.
104
Chapter 5 Voice Commands Table 6-5. +VLS Command Options Label Primitives 0 1 None T Description +VTX +VRX +VSP=1 Speakerphone ON
DCE on-hook. Local phone connected to the line. DCE off-hook. DCE connected to the line. Local phone provided with power to detect hook condition. 4 S Internal Speaker connected to the DCE. DCE on-hook. Local phone connected to the line. 5 ST Internal Speaker connected to the line. DCE off-hook. DCE connected to the line. Local phone provided with power to detect hook condition. 6 M Internal Microphone connected to the DCE. DCE on-hook. Local phone connected to the line. 8 S1 External Speaker connected to the DCE. DCE on-hook. Local phone connected to the line. 9 S1T External Speaker connected to the line. DCE off-hook. DCE connected to the line. Local phone provided with power to detect hook condition. 11 M1 External Microphone connected to the DCE. DCE onhook. Local phone connected to the line. 13 M1S1T External 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. Primitives (Column 2): T Telephone Line M Internal Microphone M1 External Microphone S Internal Speaker S1 External Speaker
X X X X X X
X X X
105
Chapter 5 Voice Commands Table 4-6. Events Detectable in Voice Mode per V.253 Event Event Description Event Reporting Number Caller Id Report Message 0 DID Report Message 1 Distinctive Ringing Pattern 2 RING Simple 3 DTMF Received Simple 4 Receive Buffer Overrun Simple 5 Facsimile Calling (e.g., 1100 Hz) Simple 6 Data Calling (e.g., 1300 Hz) Simple 7 Local Phone On/Off-hook Simple 8 Presumed Hang-up (SILENCE) Time-out Simple 9 Presumed End of Message (QUIET) TimeSimple 10 out SIT Signal Simple, Message 11 Bong Tone Simple 12 Loop Current Interruption Simple 13 Loop Current Polarity Reversal Simple 14 Call Waiting Beep/Interrupt Simple 15 Distinctive Call Waiting Simple 16 Ringing Tone Simple 18 BUSY Simple 19 DIAL TONE Simple 20 Reorder/Fast Busy Simple 21 V.21 Channel 2 7E flags Simple 22 Transmit Buffer Underrun Simple 23 Extension Phone On/Off-hook Simple 24 Facsimile or Data Answer (e.g., 2100 Hz) Simple 25 Data Answer (e.g., 2225 Hz) Simple 26 Voice Detect Simple 27 Stuttered Dial tone Simple (note 1) 29 Invalid Voice Data Format Simple 30 Lost Data Detected Event Simple 31 Facsimile Answer Simple 32 Legend: This table lists events without any regard as to whether the DCE reporting of the event is optional or mandatory, and without assigning a DCE reporting mechanism. The first column lists the event number assignment for each event. The event number also serves another purpose; each number is a bit position in a bit field. Event number 0 is the most significant bit of the left most hex number in a hex representation (V.253 defines a total of eight hex digits). The final bit in the bit field occupies the least significant bit position of the right-most hex number. The bit representations of the event numbers are used in the +VLS= command. The third column lists whether a single character is enough to report the event, or if the DCE must supply a more complicated report. The description Simple indicates a single character response (<DLE> shielded), Message indicates a full text message (<DLE><X> packet), and Pattern indicates a repeating Message. Notes: 1. The use of complex event reporting for Stuttered Dial tone is for further study.
106
Command: +VRA
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=<interval> Values: <interval> 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. A value of 0 forces the modem to report the OK result code immediately after the first Ringback. The range is 0.1 to 25.5 seconds for <interval> = 1 to 255. Report Current or Selected Values: Command: +VRA? Response: <interval> Example: 50 (5 seconds) For the default setting. Report Supported Range of Values: Command: +VRA=? Response: (<interval> range) Example: (0-255) 255 = 25.5 sec Result Codes: OK <interval> = 0-255 ERROR Otherwise, or if not in Voice Mode.
Command: +VRN
Description:
This command sets the length of time the modem will wait for ringback to appear during call origination before the modem can assume ringback was not present. Syntax: +VRN=<interval> Values: <interval> Decimal number specifying the time period, in units of 1.0 second, that the modem will wait for Ringback during call origination. A value of 0 forces the modem to report the OK result code immediately after dialing. The range is 1 to 25 seconds for <interval> = 1 to 25. Report Current or Selected Values: Command: +VRN? Response: <interval> Example: 10 (10 seconds) For the default setting. Report Supported Range of Values: Command: +VRN=? Response: (<interval> range) Example: (0-25) Result Codes: OK <interval> = 0-25 ERROR Otherwise, or if not in Voice Mode.
107
Command: +VSD
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 Hang-up (SILENCE) event reports. Syntax: +VSD=<sds>,<sdi> Values: <sds> Decimal number corresponding to the selected parameter. 0 Use +VSM silence compression setting and algorithm for long-term silence detection (if +VSM is in use) or proprietary silence compression setting and algorithm for long-term silence detection (if +VSM is not in use). 127 Sets less aggressive long-term silence detection independent of presence or use of silence compression. 128 Sets nominal long-term silence detection independent of presence or use of silence compression. 129 Sets more aggressive long-term silence detection independent of presence or use of silence compression. <sdi> Decimal number specifying the required period of silence, in units of 0.1 second, before the modem can report silence detected at the end of a voice receive either with the Presumed End of Message (QUIT) or Presumed Hang-up (SILENCE) event reports. A value of 0 disables the modem silence detection. The range is 0.1 to 25.5 seconds for <sdi> = 1 to 255. Report Current or Selected Values: Command: +VSD? Response: <sds>,<sdi> Example: 0,50 For the default setting. Report Supported Range of Values: Command: +VSD=? Response: (<sds> range),(<sdi> range) Example: (0,127-129),(0-255) Result Codes: OK <hook> = 0 or 1. ERROR Otherwise, or if not in Voice Mode.
108
Command: +VSM
Description:
This command causes the modem to set the voice compression method, the silence compression sensitivity, and the voice-sampling rate. Syntax: +VSM=<cml>,<vsr>,<sds>,<sel> Values: <cml> Decimal number identifying the compression method. <vsr> <range of values> containing the supported range of voice samples per second of the analog signal. <scs> <range of values> containing the supported range of sensitivity settings for voice receives. <sel> <range of values> containing the supported range of expansion values for voice transmits. Report Current or Selected Values: Command: +VSM? Response: <cml>,<vsr>,<sds>,<sel> Example: 1,8000,0,0 For the default setting. Report Supported Range of Values: Command: +VSM=? Response: <cml>,<cmid>,<bps>,<tm>,<vsr>,<sds>,<sel> <cml> Decimal number identifying the compression method (1, 129, 130, 140, or 141). <cmid> Alphanumeric string describing the compression method (UNSIGNED PCM, IMA ADPCM, UNSIGNED PCM, 2 Bit ADPCM, or 4 Bit ADPCM). <bps> Decimal number defining the average number of bits in the compressed sample not including silence compression (2, 4 or 8). <tm> Decimal number (0) reporting the time interval, in units of 0.1 second, between timing marks. A 0 value reports that timing marks are not supported. <vsr> <range of values> containing the supported range of voice samples per second of the analog signal (8000). <scs> <range of values> containing the supported range of sensitivity settings for voice receives (0). A 0 indicates not supported. <sel> <range of values> containing the supported range of expansion values for voice transmits (0). A 0 indicates not supported. Example: 1,"UNSIGNED PCM",8,0,8000,0,0 129,"IMA ADPCM",4,0,8000,0,0 130,"UNSIGNED PCM",8,0,8000,0,00 131,"Mu-Law",8,0,8000,0,0 132,"A-Law",8,0,8000,0,0 133,"14 bit PCM",14,0,8000,0,0 OK OK Valid range. ERROR Otherwise, or if not in Voice Mode.
Result Codes:
109
Command: +VTD
Description:
This command causes the modem to set the default DTMF/tone generation duration. Syntax: +VTD=<dur> Values: <dur> Decimal number specifying the default DTMF/tone generation duration in units of 0.01 second. A value of 0 specifies the value entered by the S11 parameter (50-255 ms). The range is 0.01 to 2.55 seconds for <dur> = 1 to 255. Report Current or Selected Values: Command: +VTD? Response: <dur> Example: 100 For the default setting. Report Supported Range of Values: Command: +VTD=? Response: (<dur> range) Example: (0-255) Result Codes: OK <dur>= 0-255. ERROR Otherwise, or if not in Voice Mode.
Command: +VDR
Description:
Distinctive Ring
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=<enable>, <report> Values: <enable> Decimal number corresponding to the selected option. 0 The modem will not report ring cadence information. 1 The modem will report ring cadence information as specified for the <report> subparameter. <report> Decimal number specifying ring cadence information report when enabled by the <enable> subparameter. 0 The modem will produce only DROF and DRON messages. The modem will not produce any RING event codes. The modem will report other call progress event codes as normal. Other The modem will produce only DROF and DRON messages. The modem will produce a RING event code after <report>/10 seconds after the falling edge of the ring pulse (i.e., after the DRON report). Report Current or Selected Values: Command: +VDR? Response: <enable>,<report> Example: 0,0 For the default setting. Report Supported Range of Values: Command: +VDR=? Response: (<enable> range),(<report>range) Example: (0,1),(0-6) Result Codes: OK <enable>,<report> = (0,1),(0-6) ERROR Otherwise, or if not in Voice Mode.
110
Command: +VDT
Description:
Syntax: Values:
Report Current or Selected Values: Command: Response: Example: Report Supported Range of Values: Command: Response: Example: Result Codes: OK ERROR
Command: +VPR
Description: Syntax: Values:
This command selects the DTE/modem interface rate. +VPR=<rate> <rate> Decimal number corresponding to the DTE/modem interface rate where 0 = autobaud rate determined by processing the AT command, and 1,2,3,4,8,16,24,48,96 correspond to multipliers of 2400 bps to determine the actual rate: 0 = Autobaud 1 = 2400 bps 2 = 4800 bps 3 = 7200 bps 4 = 9600 bps 8 = 19200 bps 16 = 38400 bps 24 = 57600 bps 48 = 115200 bps 96 = 230400 bps Report Current or Selected Values: Command: +VPR? Response: <rate> Example: 0 For the default setting (Autobaud). Report Supported Range of Values: Command: +VPR=? Response: (<rate> range) Example: (0,1,2,3,4,8,16,24,48,96) Result Codes: OK <rate> = 0,1,2,3,4,8,16,24,48,96. ERROR Otherwise, or if not in Voice Mode.
111
Speakerphone Commands
Command: +VSP
Description: Syntax: Values:
Speakerphone ON/OFF
This command turns the speakerphone ON or OFF. +VSP=<mode> <mode> Decimal number corresponding to the selected option. 0 The speakerphone function is OFF. Default 1 The speakerphone function is ON. Report Current or Selected Values: Command: +VSP? Response: <mode> Example: 0 For the default setting Report Supported Range of Values: Command: +VSP=? Response: (<mode> range) Example: (0,1) Result Codes: OK <mode> = 0 or 1 ERROR Otherwise, or if not in Voice Mode.
Command: +VDX
Description: Syntax: Values:
This command selects speakerphone full duplex mode. +VDX=<mode> <mode> Decimal number corresponding to the selected option. 1 The speakerphone mode is full duplex. Report Current or Selected Values: Command: +VDX? Response: <mode> Example: 1 For the default setting. Report Supported Range of Values: Command: +VDX=? Response: (<mode> range) Example: (1) Result Codes: OK <mode> = 1. ERROR Otherwise, or if not in Voice Mode.
Command: +VGS
Description:
Speaker Gain
This command causes the modem to set the speaker gain of the speakerphone function. Syntax: +VGS=<gain> Values: <gain> Decimal number between 0 and 255 corresponding to the gain. Default is 128 Report Current or Selected Values: Command: +VGS? Response: <gain> Example: 128 For the default setting Report Supported Range of Values: Command: +VGS=? Response: <gain> range Example: 0-255 Result Codes: OK <gain> = 0-255 ERROR Otherwise, or if not in Voice Mode with speakerphone enabled (+VSP=1).
113
Example
1. Type the command AT+GCI=B5<CR> 2. Verify B5 was set by typing AT+GCI?<CR> or ATI5<CR> 3. B5 indicates the configuration is set for any B5 country such as Canada or the United States, etc.
Countries/Regions Supported
See the list on the Multi-Tech Web site for countries and regions supported. Go to:
http://www.multitech.com/PRODUCTS/Info/approvals
Then click on global modems. The Global Modem Country/Region Approvals page displays. On this page you can view approvals, configuration strings (which include the country/regional code) and responses available in list form by selecting country/region and/or product.
114
Index
Index
$
$F Fast connect control................................... 66 +ESR Selective reject ..................................... 52 +ETBM Call termination buffer management . 54 +FAA Auto answer enable Fax Class 1.0 ....... 87 +FAE Fax - Auto answer enable ..................... 87 +FAR Fax - Adaptive reception control........... 91 +FCL Fax - Carrier loss timeout ..................... 91 +FCLASS Select the active service class +FCLASS ......................................................... 14 +FCLASS=8 Select voice mode ................. 100 +FDD Fax - Double escape character ............ 92 +FIT Fax - DTE inactivity timeout ................... 92 +FLO Fax - Flow control ................................. 94 +FMI? Fax - Request manufacturer identification ..................................................... 93 +FMM? Fax - Request model identification .... 93 +FMR? Fax - Request revision identification .. 94 +FPR Fax - Fixed DTE rate ............................ 93 +FRH Fax- Receive data with HDLC framing . 90 +FRM Receive facsimile ................................. 89 +FTH Fax - Transmit data with HDLC framing 90 +FTM Transmit facsimile ................................ 88 +FTS Fax - Receive silence............................ 88 +FTS Fax transmit silence .............................. 87 +GCAP Request complete capabilities list ..... 18 +GCI Country of Installation............................ 18 +GMI Request manufacturer identification ... 17 +GMM Request model identification............... 17 +GMR Request Revision identification ........... 17 +IBC In Band commands ................................ 31 +IFC DTE-modem local flow control ............... 33 +IPR Fixed DTE (Data Terminal Equipment) rate ................................................................... 30 +ITF Transmit flow control thresholds ............ 61 +MR Modulation reporting control .................. 49 +MS Modulation selection............................... 47 +PQC V.92 Phase 1 and Phase 2 control ...... 67 +PSS Use short sequence.............................. 68 +QCPC Force full startup procedure .............. 68 +VCID Caller ID (CID)..................................... 15 +VDR Voice - Distinctive ring........................ 111 +VDT Voice - Control tone cadence reporting ....................................................................... 112 +VDX Speakerphone duplex mode .............. 113 +VGM Microphone gain ................................ 113 +VGR Voice gain receive.............................. 103 +VGS Speaker gain ...................................... 114 +VGT Voice gain transmit ............................. 104 +VIP Voice initialize all parameters .............. 101 +VIT Voice inactivity timer ............................ 104 +VLS Voice analog source/destination selection ....................................................................... 105 +VNH Voice - Automatic hang up control ..... 100 +VPR Voice - Select DTE/Modem interface rate ....................................................................... 112 +VRA Voice - Ringback goes away timer ..... 108
115
%
%7 Plug and play serial number ..................... 20 %8 Plug and Play vendor ID and product number ............................................................. 20 %C Enable/disable data compression ............ 58 %E Enable/disable line quality monitor and auto-retrain or fallback/fall forward ................... 50 %L Report line signal level .............................. 40 %L Report line signal level .............................. 40 %Q Report line signal quality .......................... 41 %TT PTT Test ................................................. 62
&
&C RLSD (DCD) option................................... 27 &D DTR option ................................................ 27 &F Restore factory configuration (profile) ....... 18 &G Select guard tone ...................................... 37 &K Flow control ............................................... 28 &M Asynchronous/synchronous mode selection ......................................................................... 28 &P Select pulse dial make/break ratio ............ 38 &Q Synchronous/Asynchronous mode ........... 29 &R RTS/CTS option ........................................ 29 &S DSR (Data Set Ready) override ................ 30 &T Local Analog Loopback Test ..................... 19 &V Display current configuration & stored profiles .............................................................. 38 &V1 Display last connection statistics............. 39 &W Store current configuration ....................... 19 &Y Designate a default reset profile ............... 19 &Z Store telephone number ............................ 19
*
** Download firmware code ............................. 21 *B Display blacklisted numbers ....................... 41 *D Display delayed numbers ........................... 41
+
+++ Escape Code Sequence .......................... 13 +A8E V.8 and V.8bis operation controls ......... 59 +DR Data compression reporting.................... 58 +DS Data compression ................................... 56 +DS44 V.44 compression select ..................... 57 +EB Break handling in error control operation 52 +EFCS 32-bit frame check sequence ............. 53 +ER Error control reporting ............................. 53 +ER<type> Report current error control ......... 53 +ES Error control & synchronous mode selection ........................................................... 51 +ESA Configure synchronous sccess submode ......................................................................... 60
Index +VRID Report retrieved Caller ID (CID) .......... 15 +VRN Voice - Ringback never appeared timer ....................................................................... 108 +VRX Voice - Start modem receive (record) 101 +VSD Voice - Silence detection .................... 109 +VSM Voice - Compression method selection ....................................................................... 110 +VSP Speakerphone ON/OFF ...................... 113 +VTD Voice - Beep tone duration timer ........ 111 +VTR Voice - Start transmission/reception ... 101 +VTS Voice - Send tones) ............................ 102 +VTX Voice - Start modem transmit (playback) ....................................................................... 103 Dial D .............................................................. 34 Disconnect (Hang up) H ................................. 36 Disconnect inactivity timer - S30...................... 74 Display blacklisted numbers *B ...................... 41 Display current configuration & stored profiles &V .................................................................... 38 Display delayed numbers *D .......................... 41 Display last connection statistics &V1 ............ 39 Download firmware code ** ............................ 21 DSR (Data Set Ready) override &S................ 30 DTE-modem local flow control command +IFC ......................................................................... 33 DTMF tone duration S11 ................................. 70 DTR option &D ................................................ 27
3
32-bit frame check sequence +EFCS ............. 53
E
E Echo ............................................................ 22 Echo E ............................................................ 22 Enable quick connect profile save -QCPS ...... 68 Enable/disable data compression %C ............ 58 Enable/disable line quality monitor and autoretrain or fallback/fall forward %E ................... 50 Error control & synchronous mode selection +ES .................................................................. 51 Error control reporting +ER ............................. 53 Escape character S2 ....................................... 69 Escape Code Sequence +++ ........................... 13 Escape prompt delay - S12 ............................. 70 Events detectable in voice mode per V.253 .. 107 Extended result codes X ................................. 23 Extended result codes control S95 .................. 77
A
A Answer ......................................................... 36 Answer A ......................................................... 36 Asynchronous/synchronous mode selection &M ......................................................................... 28 AT commands definition..................................... 4 Auto answer enable Fax Class 1.0 +FAA ....... 87 Autoanswer S0 ................................................. 69
B
B CCITT or Bell communication standard setting ............................................................... 50 B Transmit break to remote............................. 54 Backspace character S5 .................................. 70 Bit-mapped option status S14 .......................... 71 Break control \K ............................................... 55 Break handling in error control operation +EB 52
F
Fast connect control $F .................................. 66 Fax - Adaptive reception control +FAR........... 91 Fax - Auto answer enable +FAA ..................... 87 Fax - Carrier loss timeout +FCL ..................... 91 Fax - Double escape character +FDD ............ 92 Fax - DTE inactivity timeout +FIT ................... 92 Fax - Fixed DTE rate +FPR ............................ 93 Fax - Flow control +FLO ................................. 94 Fax - Receive data with HDLC framing +FRH 90 Fax - Receive silence +FRS ........................... 88 Fax - Request manufacturer identification +FMI? ............................................................... 93 Fax - Request model identification +FMM? .... 93 Fax - Request revision identification +FMR? .. 94 Fax - Transmit data with HDLC framing +FTH90 Fax answering.................................................. 84 Fax calling/answering Table ............................ 95 Fax Class 1 and Fax Class 1.0 Commands Table ................................................................ 83 Fax control reception ....................................... 84 Fax control transmission .................................. 84 Fax data reception ........................................... 86 Fax data transmission ...................................... 85 Fax I/O processing ........................................... 83 Fax origination ................................................. 84 Fax transmit attenuation level S92 .................. 76 Fax transmit silence +FTS .............................. 87
116
C
Call failure Indication S86 ................................ 76 Call termination buffer management +ETBM .. 54 Caller ID (CID) +VCID ..................................... 15 Carriage return character S3 ........................... 69 Carrier detect response time S9 ...................... 70 CCITT or Bell communication standard setting B ....................................................................... 50 command options - S41 ................................... 75 Command options S40..................................... 75 Configure synchronous access submode +ESA ......................................................................... 60 Connect message control W ........................... 23 Countries or regions supported ...................... 115 Country of installation +GCI ............................ 18
D
D Dial............................................................... 34 Data compression +DS ................................... 56 Data compression control S46 ......................... 75 Data compression reporting +DR.................... 58 Delay before forced hang-up S38 .................... 75 Delay to DTR OFF S25 .................................... 73 Designate a default reset profile &Y ............... 19
Index Fixed DTE (Data Terminal Equipment) rate +IPR ................................................................. 30 Flash dial modifier timer S29............................ 74 Flow control &K ............................................... 28 Flow control S39 .............................................. 75 Force full startup procedure on next connection +QCPC ............................................................. 68
R
Receive facsimile +FRM ................................. 89 Report current error control +ER<type> ......... 53 Report line signal level %L ............................. 40 Report line signal quality %Q.......................... 41 Report retrieved Caller ID (CID) +VRID.......... 15 Request complete capabilities list +GCAP ..... 18 Request manufacturer identification +GMI ...... 17 Request model identification +GMM............... 17 Request revision identification +GMR ............ 17 Reserved S19-20 ............................................. 72 Restore factory configuration (profile) &F ....... 18 Result code form V ......................................... 22 Result codes .................................................... 78 Return to online data mode O......................... 36 Ring counter S1 ............................................... 69 RLSD (DCD) option &C .................................. 27 RTS to CTS Delay S26 .................................... 73 RTS/CTS option &R ........................................ 29
G
General bit-mapped option status S23 ............ 73 General bit-mapped option status S27 ............ 73 General bit-mapped options status S28........... 74 General bit-mapped options status S31........... 74
H
H Disconnect (Hang-up).................................. 36 Hang-up delay S10 .......................................... 70
I
I Identification .................................................. 17 Identification I .................................................. 17 In Band commands +IBC ................................ 31
S
Select guard tone &G ..................................... 37 Select pulse dial make/break ratio &P ............ 38 Select the active service class +FCLASS....... 14 Select voice mode +FCLASS=8 ................... 100 Selective reject +ESR ..................................... 52 Set low power mode -SLP= ............................ 42 Set pulse dial default P ................................... 35 Set telephony extension -STE= ...................... 42 Set tone dial default T ..................................... 35 Single line connect message enable \V .......... 40 Sleep inactivity timer S24 ................................ 73 -SLP= Set low power mode ............................ 42 Soft reset and restore profile Z ....................... 14 Speaker control M ........................................... 37 Speaker gain +VGS ...................................... 114 Speaker volume L ........................................... 37 Speaker/results option status S22 ................... 73 Speakerphone duplex mode +VDX .............. 113 Speakerphone ON/OFF +VSP...................... 113 S-registers S0 Sets number of rings ............................ 69 S1 ring counter .......................................... 69 S10 Hang up delay .................................... 70 S11 DTMF tone duration ........................... 70 S12 Escape prompt delay ......................... 70 S14 Bit-mapped option status ................... 71 S16 Test mode bit-mapped option status . 71 S17 Point of sale options selection ........... 71 S19-20 Reserved ...................................... 72 S2 Escape character ................................. 69 S21 V.24 general option status .................. 72 S210 V.34 Symbol Rate ............................ 77 S22 Speaker/results option status ............ 73 S23 General bit-mapped option status ..... 73 S24 Sleep inactivity timer .......................... 73 S25 Delay to DTR OFF ............................. 73 S26 RTS to CTS delay .............................. 73 S27 General bit-mapped option status ..... 73
117
K
K \K Break control ........................................... 55
L
L Speaker volume ........................................... 37 LAPM failure control S36 ................................. 74 Line feed character S4 ..................................... 69 Local analog loopback test &T ........................ 19
M
M Speaker control ........................................... 37 Microphone gain +VGM ................................ 113 Modulation reporting control +MR ................... 49 Modulation selection +MS ............................... 47
N
N \N Operating mode Error Correction Mode15
O
O Return to online data mode ......................... 36 Operating mode Error Correction Mode \N .. 15
P
P Set pulse dial default ................................... 35 Pause time for dial delay S8 ............................ 70 Plug and play serial number %7 ..................... 20 Plug and Play vendor ID and product number %8 .................................................................... 20 Point of sale options selection S17 .................. 71 PSTN transmit attenuation level S91 ............... 76 PTT Test %TT ................................................. 62
Q
Q Quiet result code control ............................. 22 -QCPS Enable quick connect ......................... 68 Quiet result code control Q ............................. 22
Index S28 General bit-mapped option status ...... 74 S29 Flash dial modifier timer ..................... 74 S3 Carriage return ..................................... 69 S30 Disconnect inactivity timer ................. 74 S31 General bit-mapped options status .... 74 S36 LAPM failure control ........................... 74 S38 Delay before forced hang-up ............. 75 S39 Flow control ........................................ 75 S4 Line feed character .............................. 69 S40 Command Options ............................. 75 S41 Command Options ............................. 75 S46 Data compression control .................. 75 S48 V.42 negotiation control ..................... 76 S5 Backspace character ........................... 70 S6 Wait time before dialing ....................... 70 S7 Wait time before carrier, silence, dial tone ........................................................... 70 S8 Pause time for dial delay ...................... 70 S86 Call failure indication .......................... 76 S9 Carrier detect response time................ 70 S91 PSTN transmit attenuation level ........ 76 S92 Fax transmit attenuation level ............ 76 S95 Extended result codes control............ 77 -STE= Set telephony extension ...................... 42 Store current configuration &W ....................... 19 Store telephone number &Z ............................ 19 Synchronous/Asynchronous mode &Q ........... 29
V
V Result code form ......................................... 22 V \V Single line connect message enable ...... 40 V.24 general option status S21........................ 72 V.34 symbol rates S210 .................................. 77 V.42 negotiation control S48............................ 76 V.44 compression select +DS44 .................... 57 V.8 and V.8bis operation controls +A8E ......... 59 V.92 Phase 1 and Phase 2 control +PQC ...... 67 Voice - Automatic hang up control +VNH ..... 100 Voice - Beep tone duration timer +VTD ........ 111 Voice - Compression method selection +VSM ....................................................................... 110 Voice - Control tone cadence reporting +VDT ....................................................................... 112 Voice - Distinctive ring +VDR ....................... 111 Voice - Ringback goes away timer +VRA ..... 108 Voice - Ringback never appeared timer +VRN ....................................................................... 108 Voice - Select DTE/Modem interface rate +VPR ....................................................................... 112 Voice - Send tones +VTS ............................. 102 Voice - Silence detection +VSD .................... 109 Voice - Start modem receive (record) +VRX 101 Voice - Start modem transmit (playback) +VTX ....................................................................... 103 Voice - Start transmission/reception +VTR... 101 Voice analog source/destination selection +VLS ....................................................................... 105 Voice gain receive +VGR.............................. 103 Voice gain transmit +VGT ............................. 104 Voice inactivity timer +VIT ............................ 104 Voice initialize all parameters +VIP .............. 101
T
T Set tone dial default ..................................... 35 Test mode bit-mapped status S16 ................... 71 Threshold adjustments for telephony extension -TTE ................................................................. 46 Tip and Ring voltage -TRV .............................. 46 Transmit break to remote \B............................ 54 Transmit facsimile +FTM ................................. 88 Transmit flow control thresholds +ITF ............. 61 -TRV Tip and Ring voltage .............................. 46 -TTE Threshold adjustments for telephony extension .......................................................... 46
W
W Connect message control........................... 23 Wait time before carrier, silence, dial tone S7 . 70 Wait time before dialing S6 .............................. 70
X
X Extended result codes ................................. 23
U
Use short sequence +PSS .............................. 68
Z
Z Soft reset and restore profile ....................... 14
118