<< First | < Previous | > Next | >> Last

3. AT COMMAND SET

This section describes the AT command set for Modem. Some of the AT commands described below may not be available in a given revision of Modem, depending on the build options your license includes. The default values stated are typical for a full featured Modem and may be different in reduced configurations. The command result code is always "OK" unless stated otherwise in the command description.

3.1. GENERAL AT COMMANDS

3.1.1. A/ - Re-execute Command

The A/ command command instructs the modem to re-execute the last AT command. It will repeat the command already in the command buffer. This command does not require AT prefix and does not have to be followed by the terminator character. This command is mostly used to redial the last number in case of a busy signal.

3.1.2. A> - Continuously Repeat Last Command

The A> command will continuously repeat the previous AT command until it returns success. This feature is typically used to redial a number automatically until a connection is established. Up to 10 redial attempts will be performed. The modem will only attempt to redial for the following responses:

  • BUSY
  • NO DIALTONE
  • REORDER
  • NO CARRIER (caused by expiration of S7 register)

3.1.3. AT$ - Help

This command, if enabled, prints a brief description of the basic AT commands.

3.1.4. AT= x - Write to Selected S-Register

This command writes the value x to the currently selected S-Register. An S-Register can be selected by using the ATSn command.

3.1.5. AT? - Read Selected S-Register

This command reads and displays the selected S-Register. An S-Register can be selected by using the ATSn command.

3.1.6. A - Answer

This command instructs Modem to go off-hook and answer an incoming call. After a successful connection the modem will go on-line in the answer mode. The execution of this command is affected by +FCLASS command settings. This command must be the last on the command line. All characters before the end of the line are discarded.

If +FCLASS=0 is selected, Modem will try to establish a data connection with the remote modem. Upon successful connection, Modem will go on-line and issue a CONNECT result code. If connection is not established within a time specified by S7 register, Modem will go on hook and issue a NO CARRIER result code. Any character sent to Modem after A command but before CONNECT result code will abort the connection.

If +FCLASS=1 is selected, Modem will go off-hook in V.21 answer mode. It will generate the V.25 answer tone followed by V.21 modulation as if +FTH=3 command were issued.

3.1.7. Bn - CCITT/Bell Mode

This command selects the modulation type used by Modem for 300 and 1200 bps connections.

Command Description
B0 Select CCITT compatibility mode.
B1 Select Bell 103/212 compatibility mode. (Default.)

3.1.8. Cn - Carrier Control

This command is included for compatibility only.

Command Description
1 Returns OK result code
other Returns ERROR result code

3.1.9. Dn - Dial

This command instructs Modem to go off-hook and dial the number specified by the dial string supplied as a command parameter. The execution of this command is affected by +FCLASS command settings.

If +FCLASS=0 is selected, Modem will try to establish data connection with the remote modem after the dialing is completed. If the dial string is empty, the modem will try to establish a data connection immediately. If a remote modem is not detected within the time specified by the S6 register, or if the connection is not established within a time specified by S7 register, Modem will go on-hook and return the NO CARRIER result code.

Any character sent to Modem after the command but before CONNECT result code will abort the connection.

If +FCLASS=1 is selected, Modem will go into fax V.21 receive mode after dialing. Any character sent to Modem after the command but before modem finished dialing will abort the connection.

Dial Modifiers
Modifier Description
0123456789 Phone number digits
ABCD*# Special DTMF digits (tone dialing only)
P Use pulse dialing
T Use tone dialing

Both 'P' & 'T' modifiers can be anywhere inside the dialing string. The dialing after such modifier will be made using the method specified.

L Dial the last number. This modifier is valid only if it is the first symbol of the dial string. All consecutive characters are discarded.
S=n If nonvolatile memory is supported, dial the number stored in the directory (n = 0 to 3).
! Hook flash. Modem will go on hook for for a time defined by S29. Available only during tone dialing.
^ Diable calling tone transmission.
W Wait for dial tone. Modem will wait for dial tone before dialing the following digits. If dial tone is not detected within the time specified by S6 register Modem will go on-hook and return NO DIALTONE result code.
@ Wait for silence. Modem will wait for 5 seconds of silence before dialing the following digits.
& or $ Wait for calling card prompt. If the calling card prompt signal is not detected within the time specified by S6 register Modem will go off-hook and return NO DIALTONE result code. The prompt signal is also known as the "Bong" tone.
, or < Dial pause. Modem will wait a time specified by S8 before continue dialing.
; Return to command state. This modifier must be the last on the dial string. This modifier instructs Modem to return to command mode after finishing dialing.
(, ), - and space These characters are ignored and may be used for dial string formatting.

3.1.10. En - Command Echo

This command controls the echoing of the characters in the command mode. The command parameter is written to bit 1 of S14 register.

Command Description
E0 Disables command echo
E1 Enables command echo. (Default.)

3.1.11. Fn - Select Modulation (Compatibility only)

This command selects the modulation to be used during data connection. This command is enabled for compatibility only, and using N command and S37 register is the recommended way of selecting the desired modulation. The F command will change the settings of both the N command and the S37 register.

Command Description
F0 Selects automoding. Sets N1, sets S31 bit 1, sets S37 to 0, and sets S51 to 95. This command instructs Modem to connect at the highest speed supported by both modems.
F1 Selects V.21 or Bell103 mode. This command sets N0, clears S31 bit 1, sets S37 to 1, and sets S51 to 1.
F2 Returns ERROR.
F3 Selects V.23 mode. This command sets N0, clears S31 bit 1 and sets S37 to 7, and sets S51 to 4.
F4 Selects V.22 or Bell212 1200 mode. This command sets N0, clears S31 bit 1, sets S37 to 5 and sets S51 to 2.
F5 Selects V.22 bis 2400 mode. This command sets N0, clears S31 bit 1, sets S37 to 6 and sets S51 to 2.
F6 Selects V.32 bis 4800 mode. This command sets N0, clears S31 bit 1, sets S37 to 8 and sets S51 to 8.
F7 Selects V.32 bis 7200 mode. This command sets N0, clears S31 bit 1, sets S37 to 12 and sets S51 to 8.
F8 Selects V.32 bis 9600 mode. This command sets N0, clears S31 bit 1, sets S37 to 9 and sets S51 to 8.
F9 Selects V.32 bis 12000 mode. This command sets N0, clears S31 bit 1, sets S37 to 10 and sets S51 to 8.
F10 Selects V.32 bis 14400 mode. This command sets N0, clears S31 bit 1, sets S37 to 11 and sets S51 to 8.

3.1.12. Hn - Disconnect and hook control

This command controls the modem's hook switch.

Command Description
H0 If in on-line mode this command will instruct Modem to initiate disconnect procedure, and then go on-hook. If already off-line this command will simply force Modem to go on-hook.
H1 If on-hook, Modem will go off-hook.

3.1.13. In - Modem Identification

This command reports information about the modem and current status.

Command Description
I0 Reports product code
I1 Returns OK
I2 Returns OK
I3 Reports Modem version
I4 Returns Modem Build date
I5 Returns country code
I6 Reports linklayer statistics:

  • Total Characters sent
  • Total Characters received
  • Frames sent
  • Frames received
  • Frames retransmitted
  • Frames rejected
  • Error control type and frame size
  • Compression type and dictionary size
  • Last disconnect reason
I7 Returns the board hardware version
I8 Returns codec version
I9 Returns country name
I10 Returns OK
I11 Returns last call statistics:

  • Negotiated modulation
  • Inital data rate
  • Final data rate
  • Carrier frequency
  • Symbol rate
  • Retrains requested
  • Retrains granted
  • Signal Level
  • Round trip delay
  • Signal to noise ratio

3.1.14. Ln - Speaker Volume

This command instructs Modem to use specified speaker volume setting when speaker is on. The parameter of this command is stored in two least significant bits of register S22.

In some cases, the speaker volume may also be controlled by the PC audio subsystem. The computer's mixer program and the volume control on the external speakers (if any) may have an impact on the volume of the modem.

Command Description
L0 Low volume
L1 Low volume.
L2 Medium volume. (Default.)
L3 High volume.

3.1.15. Mn - Speaker Control

This command controls the speaker of the modem. The parameter of this command is stored in bits 2 and 3 of register S22.

In some cases, the speaker volume may also be controlled by the PC audio subsystem. The computer's mixer program and the volume control on the external speakers (if any) may have an impact on the volume of the modem.

Command Description
M0 Speaker is always off
M1 Speaker is on until CONNECT. (Default)
M2 Speaker is always on
M3 Same as M1 except speaker is off during dialing for originating modem

3.1.16. Nn - Automoding Control

This command controls automoding. The parameter of this command is stored in bit 1 of register S31. The behavior of this command depends on the value of S37.

Command Description
N0 Automoding is disabled. If S37 = 0 then the connection will be attempted at the highest enabled modulation only. If S37 != 0 then the data connection will be attempted at the data rate specified by the S37 register only. The call will fail if a connection cannot be established at the specified rate.
N1 Automoding is enabled. The highest speed is controlled by the S37 register. The call will be established at the rate specified by the S37 register or at any lower rate. (Default)

3.1.17. On - Return to On-Line Data Mode

This command is only valid in on-line command mode. If the modem is off-line it will return ERROR result code.

Command Description
O0 This command instructs Modem to go to on-line data mode.
O1 This command instructs Modem to go to on-line data mode and initiate a retrain.
O2 This command instructs Modem to go to on-line data mode and initiate a rate renegotiation.

3.1.18. P - Set Pulse Dialing as a default

This command instructs Modem to use pulse dialing as the default dialing method. This command sets bit 5 of S14 register.

The default dialing method can be overridden using dial modifiers (see D command).

3.1.19. Qn - Results Codes Control

The command controls the displaying of the result codes. The parameter of this command is stored in bit 2 of S14 register.

Command Description
Q0 Enables result codes. (Default)
Q1 Disables result codes.

3.1.20. Sn - Access S-Register

This command is used to query or set S registers.

Command Description
n Sets the default S register.
n=v Sets S-Register n to the value v. If v starts with "0x", Modem interprets the value as hexidecimal.
n? Reports the value of S-Register n.
n.k=v sets bit k of S-Register n to the value v, where v can be 0,1 and 0 <= k <= 7, where 0 corresponds to least significant bit. n.k? Reports the value of bit k of S-Register n.

3.1.21. T - Set Tone Dial Default

This command instructs Modem to use tone dialing as the default dialing method. This command clears bit 5 of S14 register. The default dialing method can be overridden by dial modifiers (see D command).

3.1.22. Vn - Result Code Form

This command controls the format of the result codes returned by Modem.

Command Description
V0 Sets short-form (terse) result codes
V1 Sets long-form (verbose) result codes. (Default)

3.1.23. Wn - Connect Result Code Control

This command controls the format of CONNECT messages. The parameter of this command is stored in bits 2 and 3 of register S31.

Command Description
W0 Modem reports DTE speed only.
W1 Modem reports the line speed, the error correction protocol, and the DTE speed, respectively.
W2 Modem reports DCE speed only. (Default)

3.1.24. Xn - Extended Result Codes Control

This command selects which result codes will be used by Modem. The parameter of this command is stored in bits 4-6 of register S22.

Command Description
X0 Busy detection is disabled; blind dialing (no dial tone detection) is enabled. The following result codes are supported:
  • OK
  • CONNECT
  • RING
  • NO CARRIER
  • ERROR
X1 Busy detection is disabled; blind dialing (no dial tone detection) is enabled. The following result codes are supported:
  • OK
  • RING
  • NO CARRIER
  • ERROR
  • CONNECT <RATE>
X2 Busy detection is disabled; blind dialing is disabled. The dialing cannot be conducted unless dialtone is detected. If dialtone is not detected within the time specified by register S6, the NO DIALTONE result code will be reported. The following result codes are supported:
  • OK
  • RING
  • NO CARRIER
  • ERROR
  • NO DIALTONE
  • CONNECT <RATE>
X3 Busy detection is enabled; blind dialing is enabled. The following result codes are supported:
  • OK
  • RING
  • NO CARRIER
  • ERROR
  • BUSY
  • CONNECT <RATE>
X4 Busy detection is enabled; blind dialing is disabled. The dialing cannot be conducted unless dialtone is detected. If dialtone is not detected within the time specified by register S6, the NO DIALTONE result code will be reported. The following result codes are supported:
  • OK
  • RING
  • NO CARRIER
  • ERROR
  • NO DIALTONE
  • BUSY
  • CONNECT <RATE>
  • DELAYED
  • BLACKLISTED
  • REORDER
  • WARBLE
  • CALL WAITING DETECTED
X5 Busy detection is enabled; blind dialing is disabled. The dialing cannot be conducted unless dialtone is detected. If dialtone is not detected within the time specified by register S6, the NO DIALTONE result code will be reported. The following result codes are supported:
  • OK
  • RING
  • NO CARRIER
  • ERROR
  • NO DIALTONE
  • BUSY
  • CONNECT <RATE>
  • RRING
  • NO BONGTONE
  • DELAYED
  • BLACKLISTED
  • REORDER
  • WARBLE
  • CALL WAITING DETECTED

The following table is a summary of supported result codes based on X command settings. A 'y' means result code is supported; a number indicates which (less explicit) report will be used instead.

Short Form Long Form n Value in ATXn Command
012345
0 O yyyyyy
1 CONNECT yyyyyy
2 RING yyyyyy
3 NO CARRIER yyyyyy
4 ERROR yyyyyy
5 CONNECT 1200 1yyyyy
6 NO DIALTONE 33yyyy
7 BUSY 333yyy
9 CONNECT 600 1yyyyy
10 CONNECT 2400 1yyyyy
11 CONNECT 4800 1yyyyy
12 CONNECT 9600 1yyyyy
13 CONNECT 7200 1yyyyy
14 CONNECT 12000 1yyyyy
15 CONNECT 14400 1yyyyy
16 CONNECT 19200 1yyyyy
17 CONNECT 38400 1yyyyy
18 CONNECT 57600 1yyyyy
19 CONNECT 115200 1yyyyy
20 CONNECT 300 1yyyyy
22 CONNECT 75 1yyyyy
24 DELAYED 4444yy
32 BLACKLISTED 4444yy
33 FAX yyyyyy
35 DATA yyyyyy
40 CARRIER 300 yyyyyy
44 CARRIER 1200 yyyyyy
45 CARRIER 75 yyyyyy
46 CARRIER 1200 yyyyyy
47 CARRIER 2400 yyyyyy
48 CARRIER 4800 yyyyyy
49 CARRIER 7200 yyyyyy
50 CARRIER 9600 yyyyyy
51 CARRIER 12000 yyyyyy
52 CARRIER 14400 yyyyyy
53 CARRIER 16800 yyyyyy
54 CARRIER 19200 yyyyyy
55 CARRIER 21600 yyyyyy
56 CARRIER 24000 yyyyyy
57 CARRIER 26400 yyyyyy
58 CARRIER 28800 yyyyyy
59 CONNECT 16800 1yyyyy
60 CARRIER 31200 yyyyyy
61 CONNECT 21600 1yyyyy
62 CONNECT 24000 1yyyyy
63 CONNECT 26400 1yyyyy
64 CONNECT 28800 1yyyyy
65 CARRIER 33600 yyyyyy
67 COMPRESSION: V.42 bis yyyyyy
68 CONNECT 31200 1yyyyy
69 COMPRESSION: NONE yyyyyy
70 CONNECT33600 1yyyyy
76 PROTOCOL: NONE yyyyyy
77 PROTOCOL: LAPM yyyyyy
85 RRING nnnnn y
86 NO BONGTONE n/an/an/an/an/ay
87 REORDER 3333yy
88 WARBLE 3333yy
89 CALL WAITING DETECTED 3333yy
98 CONNECT 25333 1yyyyy
99 CONNECT 26666 1yyyyy
100 CONNECT 28000 1yyyyy
101 CONNECT 29333 1yyyyy
102 CONNECT 30666 1yyyyy
103 CONNECT 32000 1yyyyy
104 CONNECT 33333 1yyyyy
105 CONNECT 34666 1yyyyy
106 CONNECT 36000 1yyyyy
107 CONNECT 37333 1yyyyy
108 CONNECT 38666 1yyyyy
109 CONNECT 40000 1yyyyy
110 CONNECT 41333 1yyyyy
111 CONNECT 42666 1yyyyy
112 CONNECT 44000 1yyyyy
113 CONNECT 45333 1yyyyy
114 CONNECT 46666 1yyyyy
115 CONNECT 48000 1yyyyy
116 CONNECT 49333 1yyyyy
117 CONNECT 50666 1yyyyy
118 CONNECT 52000 1yyyyy
119 CONNECT 53333 1yyyyy
120 CONNECT 54666 1yyyyy
121 CONNECT 56000 1yyyyy
122 CONNECT 57333 1yyyyy
128 CARRIER 25333 1yyyyy
129 CARRIER 26666 1yyyyy
130 CARRIER 28000 1yyyyy
131 CARRIER 29333 1yyyyy
132 CARRIER 30666 1yyyyy
133 CARRIER 32000 1yyyyy
134 CARRIER 33333 1yyyyy
135 CARRIER 34666 1yyyyy
136 CARRIER 36000 1yyyyy
137 CARRIER 37333 1yyyyy
138 CARRIER 38666 1yyyyy
139 CARRIER 40000 1yyyyy
140 CARRIER 41333 1yyyyy
141 CARRIER 42666 1yyyyy
142 CARRIER 44000 1yyyyy
143 CARRIER 45333 1yyyyy
144 CARRIER 46666 1yyyyy
145 CARRIER 48000 1yyyyy
146 CARRIER 49333 1yyyyy
147 CARRIER 50666 1yyyyy
148 CARRIER 52000 1yyyyy
149 CARRIER 53333 1yyyyy
150 CARRIER 54666 1yyyyy
151 CARRIER 56000 1yyyyy
152 CARRIER 57333 1yyyyy
153 CONNECT 230400 1yyyyy
154 CONNECT 460800 1yyyyy
155 CONNECT 921600 1yyyyy

3.1.25. Yn - Long Space Disconnect

This command controls the generation and response to long space disconnect. The parameter of this command is stored in bit 7 of S21.

When this feature is enabled, Modem will send a four-second BREAK when the user instructs the modem to disconnect. After the BREAK is sent, the modem will hang up.

In addition, if Modem receives a BREAK longer than 1600 ms from the remote modem, it will automatically hang up.

Command Description
Y0 Disables long space disconnect. (default)
Y1 Enables long space disconnect.

3.1.26. Zn - Reset

This command will force Modem to perform a soft reset. If nonvolatile memory is supported it will restore the profile according to the parameter of the command.

Command Description
Z0 Reset and restore stored profile 0.
Z1 Reset and restore stored profile 1.

3.2. EXTENDED "AT&" COMMANDS

3.2.1. &$ - Help

This command, if enabled, prints a brief description of the extended AT& commands.

3.2.2. &Cn - DCD Option

This command informs Modem how to control DCD signal (V.24 circuit 109). The parameter of this command is stored in bit 5 of register S21.

Command Description
&C0 DCD remains ON at all times.
&C1 DCD follows the state of the carrier. (Default.)

3.2.3. &Dn - DTR Option

This command informs Modem how to treat DTR signal (V.24 circuit 108). The parameter of this command is stored in bits 3,4 of register S21.

Command Description
&D0 Modem ignores DTR signal
&D1 In on-line data mode DTR transition from ON to OFF forces Modem to go into on-line command mode (same as escape sequence).
&D2 Modem hangs up on DTR transition from ON to OFF.
&D3 Modem performs soft reset on DTR transition from ON to OFF.

3.2.4. &Fn - Restore Default Configuration

This command instructs Modem to restore the default ("factory") configuration.

Command Description
&F0 Restore default configuration.
&F1 Restore default configuration.

Note: Modem has only one default configuration.

3.2.5. &Gn - Select Guard Tone

This command instructs Modem which if any guard tone should be used for V.22/V.22bis modulation. The parameters of this command is stored in bits 6 and 7 of register S23.

Command Description
&G0 Disables guard tone. (Default)
&G1 Selects 550Hz guard tone.
&G2 Selects 1800 Hz guard tone.

3.2.6. &Jn - Telephone Jack Control

This command is included only compatibility and performs no function except to load the S-register. The parameter value, if valid, is written to S21 bit 1.

Command Description
&J0 &J0 command. (Default.)
&J1 &J1 command.

3.2.7. &Kn - Flow Control

This command instructs Modem which flow control method to use. The parameter of this command is stored in bits 0-2 of register S39.

Command Description
&K0 Disables flow control.
&K3 Enables RTS/CTS flow control. (Default)
&K4 Enables XON/XOFF flow control.
&K6 Enables both RTS/CTS and XON/XOFF flow control.

3.2.8. &Ln - Leased Line Selection

This command is provided for compatibility only. The parameter of this command is written to bit 2 of register S27.

Command Description
&L0 normal dial-up operation

3.2.9. &Mn - Mode Selection

This command is used for compatibility only. &Q commands should be used for mode control.

Command Description
&M0 Selects asynchronous normal buffered mode. Forces &M6.
&M1 Selects synchronous connect mode with async command mode, or select SAM mode (for V.80) if enabled with AT+ES.
&M2 Returns ERROR.
&M3 Returns ERROR.
&M4 Returns ERROR.
&M5 Modem will try to establish error-corrected link. Register S36 determines the type of the link and the fallback options. For performance reasons, an error-corrected link is not supported for V.23 or any of the 300 bps modulations
&M6 Selects asynchronous normal buffered mode.

3.2.10. &Pn - Pulse Dialing Control (US Models only)

The parameter of this command is stored in bits 3,4 of register S28.

Command Description
&P0 Selects 39%-61% make/break ratio at 10 pulses per second. (Default)
&P1 Selects 33%-67% make/break ratio at 10 pulses per second.
&P2 Selects 39%-61% make/break ratio at 20 pulses per second.
&P3 Selects 33%-67% make/break ratio at 20 pulses per second.

3.2.11. &Qn - Mode Selection

The parameter of this command is stored in bits 5-7 of register S28.

Command Description
&Q0 Selects asynchronous normal buffered mode. Forces &Q6.
&Q1 Selects synchronous connect mode with async command mode, or select SAM mode (for V.80) if enabled with AT+ES.
&Q2 Returns ERROR.
&Q3 Returns ERROR.
&Q4 Returns ERROR.
&Q5 Modem will try to establish error-corrected link. Register S36 determines the type of the link and the fallback options. For performance reasons, an error-corrected link is not supported for V.23 or any of the 300 bps modulations
&Q6 Selects asynchronous normal buffered mode.

3.2.12. &Sn - DSR Option

The parameter of this command is stored in bit 6 of S21.

Command Description
&S0 DSR will be always ON. (Default)
&S1 DSR will go ON after modem signal has been detected and will go OFF after disconnect.

3.2.13. &Tn - Test and Diagnostics

The modem will perform selected test and diagnostic functions according to the parameter supplied. To terminate a test in progress, the escape sequence must be entered first, except for parameters 7 and 8. If S18 is non-zero, a test will terminate automatically after the time specified by S18 and display the OK message.

Note: For tests 3, 6, and 7, a connection between the two modems must first be established. Only V.22bis non error-corrected connection is suported for all tests.

Command Description
&T0 Terminates test in progress.
&T1 Initiates local analog loopback, V.54 Loop 3. If a connection exists when this command is issued, the modem hangs up. The CONNECT XXXX message is displayed upon the start of the test.
&T2 Returns ERROR.
&T3 Initiates local digital loopback, V.54 Loop 2. If no connection exists, ERROR is returned.
&T4 Enables digital loopback acknowledgment for remote request, i.e., an RDL request from a remote modem is allowed.
&T5 Disables digital loopback acknowledgment for remote request, i.e., an RDL request from a remote modem is denied.
&T6 Requests a remote digital loopback (RDL), V.54 Loop 2, without self test. If no connection exists, ERROR is returned. The CONNECT XXXX message is displayed upon the start ofthe test.
&T7 Requests a remote digital loopback (RDL),V.54 Loop 2, with self test. (In self test, a test pattern is looped back and checked by the modem.) If no connection exists, ERROR is returned. When the test is terminated either via expiration of S18, or via the &T0 or H command, the number of detected errors is reported to the DTE.
&T8 Initiates local analog loopback, V.54 Loop 3, with self test. (In self test, a test pattern is looped back and checked by the modem.) If a connection exists, the modem hangs up before the test is initiated. When the test is terminated either via expiration of S18, or via the &T0 or H command, the number of detected errors is reported to the DTE.

3.2.14. &V - Display Current Configuration.

This command displays the current configuration of Modem. If nonvolatile memory is supported the stored profiles are displayed as well.

3.2.15. &Wn - Store Current Configuration

This command is only available for configurations supporting nonvolatile memory. It stores the current configuration to one of two stored configurations defined by the command parameter.

Command Description
&W0 Store the current configuration as profile 0.
&W1 Store the current configuration as profile 1.

3.2.16. &Yn - Selects a Default Reset Profile

This command is only available for configurations supporting nonvolatile memory. It selects which one of two profiles to load after a reset.

Command Description
&Y0 Load profile 0.
&Y1 Load profile 1.

3.2.17. &Zn=x - Store Telephone Number

This command is only available for configurations supporting nonvolatile memory. This command instructs Modem to store a telephone number in the directory. The number may contain up to 34 digits and up to 4 numbers can be stored.

3.2.18. &$ - Help

This command, if enabled, prints a brief description of the extended AT& commands.

3.3. EXTENDED "AT\" COMMANDS

3.3.1. \An - Select Maximum MNP Block Size

The modem will operate an MNP error corrected link using a maximum block size controlled by the parameter supplied. The parameter value, if valid, is written to S41 bits 5 and 6.

Command Description
\A0 64 characters.
\A1 128 characters. (Default.)
\A2 192 characters.
\A3 256 characters.

Result Codes:

Result code Condition
OK n = 0 to 3.
ERROR Otherwise.

3.3.2. \Bn - Transmit Break to Remote

Instructs the modem to send a BREAK signal to the remote modem. "n" specifies the number of 100 ms units The modem will transmit a break signal to the remote modem with a length in multiples of 100 ms according to parameter specified. If a number in excess of 100 is entered (10 seconds), 100 is used. The command works in conjunction with the \K command.

In error correction mode, the modem will signal a break through the active error correction protocol.

Command Description
\B1-\B100 Break length in 100 ms units. (Default = 3.)

Result Codes:

Result code Condition
OK If connected in data modem mode.
NO CARRIER If not connected or connected in fax modem mode.

Note: When the modem receives a break from the remote modem, break is passed to the DTE as follows: In non-error correction mode direct, the break length is passed; in non-error correction mode normal and in error correction mode, a 300 ms break is passed.

3.3.3. \Jn - DCE Rate Adjustment

This command controls whether the modem should force the maximum DCE speed to be less or equal DTE rate. The value is written to S27 bit 7.

Command Description
\J0 Does not force DCE speed adjustment
\J1 Forces the maximum DCE speed to be less or equal DTE rate.

3.3.4. \Kn - Break Control

This command controls the modem's reaction to a BREAK received from the DTE. This command also controls the action taken when the \Bn command is entered by the user. This parameter value is stored in S40 bits 3-5.

If the modem receives a BREAK from the DTE while in the on-line state, it will:

Command Description
\K0 Enter command mode and suppress the BREAK.
\K1 Send a destructive, expedited BREAK to the remote modem.
\K2 Same as 0.
\K3 Send a non-destructive, expedited BREAK to the remote modem.
\K4 Same as 0.
\K5 Send a non-destructive, non-expedited BREAK to the remote modem.
\K6 Ignores BREAK

If the modem is in command mode (while connected to the remote modem), entering the \B command will instruct the modem to:

Command Description
\K0 Clear data buffers and send break to remote modem.
\K1 Clear data buffers and send break to remote modem. (Same as 0.)
\K2 Send break to remote modem immediately.
\K3 Send break to remote modem immediately. (Same as 2.)
\K4 Send break to remote modem in sequence with data.
\K5 Send break to remote modem in sequence with data. (Same as 4; default.)
\K6 Send break to remote modem in sequence with data. (Same as 4.)

Result codes:

Result Code Condition
OK n = 0 to 6
ERROR Otherwise

3.3.5. \Nn - Selects Operating Mode

This command controls the preferred error correcting mode to be negotiated in a subsequent data connection.

Command Description
\N0 Selects normal speed buffered mode (disables error-correction mode). (Forces &Q6). With Modem, there is no difference between speed buffered mode and direct mode, since the DTE is virtual.
\N1 Selects synchronous connect mode with async command mode (Forces &Q1).
\N2 Selects reliable (error-correction) mode. Modem will first try to negitiate V.42 (LAPM) connection and if fails, MNP connection. Failure to negotiate any of the above protocols results in Modem hanging up. (Forces &Q5, S36=4, and S48=7)
\N3 Selects auto-reliable mode. This is the same as \N2 except failure to make a reliable connection results in Modem falling back to normal mode. (Forces &Q5, S36=7, and S48=7)
\N4 Selects V.42 (LAPM) error-correction mode. Failure to make a LAPM error-corrected connection results in hanging up. (Forces &Q5, S36=0, S48=7.)
\N5 Selects MNP error-correction mode. Failure to make an MNP error-correction connection results in hanging up. (Forces &Q5, S36=4, and S48=128.)

All other N values return ERROR. Modem does not implement direct mode.

3.4. EXTENDED "AT%" COMMANDS - ERROR DETECTION AND DATA COMPRESSION

3.4.1. %$ - Help

This command, if enabled, prints a brief description of the extended AT% commands.

3.4.2. %C - Enable/Disable Data Compression

Enables or disables data compression negotiation. The modem can only perform data compression on an error-corrected link. The parameter value, if valid, is written to S41 bits 0 and 1.

Command Description
%C0 Disables data compression.
%C1 Enables MNP 5 data compression.
%C2 Enables V.42 bis data compression.
%C3 Enables both V.42 bis and MNP 5 data compression. (Default.)

Note that HardModems typically support MNP5 with C1 and MNP5 or V.42bis with C3.

3.4.3. %Dn - Enable/Disable Doze mode

This command enables/disables doze mode feature. If modem is dozing %D0 will wake it up.

Command Description
%D0 Disable doze mode. (Default)
%D1 Enable doze mode.

3.4.4. %En - Auto Fallback/Fallforward Control

This command instructs Modem whether to perform automatic fallback/fallforward if the line condition requires. This command controls only locally-generated requests for retrains or fallback/fallforward. (If the remote modem requests a retrain or fallback/fallforward, the local modem will automatically comply.)

The parameter value is stored in S41 bits 2 and 3.

Command Description
%E0 Disable auto retrain and fallback/fall forward.
%E1 Enable auto retrain only.
%E2 Enable auto retrain fallback/fall forward. (Default.)

3.4.5. %L - Line Signal Level

This command returns the received signal level in dBm. The value has an implicit minus sign.

3.4.6. %Q - Line Signal Quality

This command returns the line signal to noise ratio in dB.

3.4.7. %TT - PTT Testing utilities

This command facilitates testing of signal levels by providing continious signals regardless of whether the modem is connected or not. The signal is specified by the AT command paramter. Parameters to this command are interpreted as hexadecimal numbers.

The test is initiated upon receipt of a %TTn command, and is aborted when any keyboard character is entered. The modem will continiously transmit the tone or carrier accorind to parameter supplied.

Command Description
%TT00-%TT09 DTMF tone dial digits 0 to 9.
%TT0A DTMF digit * .
%TT0B DTMF digit # .
%TT0C DTMF digit A .
%TT0D DTMF digit B .
%TT0E DTMF digit C .
%TT0F DTMF digit D .
%TT10 V.21 channel 1 mark signal.
%TT11 V.21 channel 2 mark signal.
%TT12 V.23 backward channel mark signal.
%TT13 V.23 forward channel mark signal.
%TT15 V.22 originate signalling at 1200 bps.
%TT16 V.22bis originate signalling at 2400 bps.
%TT17 V.22 answer signalling at 1200 bps (with answer tone if enabled).
%TT18 V.22bis answer signalling at 2400 bps (with answer tone if enabled).
%TT19 V.21 channel 1 space signal.
%TT1A V.21 channel 2 space signal.
%TT1B V.23 backward channel space signal.
%TT1C V.23 forward channel space signal.
%TT20 V.32 9600 bps.
%TT21 V.32bis 14400 bps.
%TT22 V.32terbo 19200 bps.
%TT30 Silence, i.e. modem stays off-hook.
%TT31 V.25 answer tone.
%TT32 1800Hz tone.
%TT33 V.25 calling tone (1300Hz).
%TT34 Fax calling tone (1100Hz).
%TT35,L1,F1[,L2,F2[,L3,F3[,L4,F4] ] ] Send tones of variable levels and frequencies, where:

Ln level for the n-th tone in (-dBm);
Fn frequency for the n-th tone in (Hz);
%TT40 V.21 channel 2.
%TT41 V.27ter 2400bps.
%TT42 V.27ter 4800bps.
%TT43 V.29 7200bps.
%TT44 V.29 9600bps.
%TT45 V.17 7200bps long train.
%TT46 V.17 7200bps short train.
%TT47 V.17 9600bps long train.
%TT48 V.17 9600bps short train.
%TT49 V.17 12000bps long train.
%TT4A V.17 12000bps short train.
%TT4B V.17 14400bps long train.
%TT4C V.17 14400bps short train.
%TT60,R,S,C,A,P V.34 modulation, where:

R data rate;
S symbol rate;
C carrier, 0 - low carrier, 1 - high carrier;
A auxiliary channel disabled/enabled - 0/1;
P preemphasis filter 0-10;

3.4.8. %TFtdn - PTT Testing utilities for fax

This command is similar to %TT command(see above) but also prints reports on BER and recovery from impairments(like gain hits, phase hits, interruptions).

Parameter Value
t 'E' checks received bitstream for bit errors and prints BER reports periodically

'H' checks received bitstream for bursts of garbage and prints reports on duration of bursts

d 'T' modem is originating

'R' modem is receiving

n this has the same coding as in %TT command(i.e for V.17 14400 long training n is 4B)

3.5. CALL WAITING COMMANDS

3.5.1. +CWT - Enable/Disable Call Waiting

Command Description
+CWT=0 Disables Call Waiting. (default)
+CWT=1 Enables Call Waiting. The modem will disconnect upon detection of the call waiting signal and CALL WAITING DETECTED result code will be generated.
+CWT? Retrieves the current Call Waiting mode.

3.5.2. +PCW - Enable/Disable Call Waiting

This command was added because of V.92 and partially overlaps the +CWT command.

Command Description
+PCW=0 Enable call waiting detector. On CW detection toggle V.24 circuit 125.
+PCW=1 Enable call waiting detector. On CW detection hang up and CALL WAITING DETECTED result code will be generated..
+PCW=2 Disable call waiting detector(Default).

Inquiries

Command Description
+PCW? Retrieves the current state of the call waiting feature.
+PCW=? Returns a comma separated list of supported arguments to the command .

Result Codes:

Result Code Condition
OK Argument is one of supported values
ERROR Otherwise.

3.6. CALLER ID COMMANDS

3.6.1. #$ - Help

This command, if enabled, prints a brief description of the extended AT# commands.

3.6.2. #CIDn - Caller ID

This command enables or disables caller ID.

Command Description
#CID=0 Disables Caller ID. (default)
#CID=1 Enables Caller ID with formatted presentation. The modem will present the data items in a <Tag><Value> pair format. The expected pairs are: data, time, caller code (telephone number), and name.
#CID=2 Enables Caller ID with unformatted presentation to the DTE. The modem will present the entire packet of information, excluding the leading U's, in ASCII printable hex numbers.

Inquiries

Command Description
#CID? Retrieves the current Caller ID mode from the modem.
#CID=? Returns the mode capabilities of the modem in a list with each element separated by commas.

3.7. CALLER ID DATA FORMAT

Modem presents the data in the <tag> = <value> pair format as described in the table below. Spaces are present on both sides of the equal sign.

Tag Description
DATE = MMDD MM is the month (01 to 12) and DD is the day (01..31).
TIME = HHMM HH is the hour (00 to 23) and MM is the minute (00 to 59).
NMBR = <number>

or P or O

<number> is the telephone number of the caller. P indicates that the calling number information is not available because the caller has requested private service, and O indicates that the calling number information is not available or out of service at the calling location.
NAME = <listing name> <listing name> is the subscription name.
MESG = <data tag> <length of message> <data> <checksum> in printable ASCII hex numbers. This tag indicates a data item not listed above. Message is only possible for Multiple Message Format.

Notes:

  1. Modem does not present any Caller ID information if it detects a checksum error in the Caller ID packet.
  2. In the event of an unrecognized data tag, Modem will present the data in ASCII hex numbers following the MESG tag.

Example of Formatted Form Reporting

  1. The following example illustrates a normal Caller ID message packet.

    RING
    
    DATE = 0622
    TIME = 1525
    NMBR = 4087744222
    NAME = S W MODEM
    
    RING
    
    RING
    
  2. The following example illustrates the case where the tag of the packet is not recognized by Modem.

    RING
    
    MESG = 060342424231
    
    RING
    
    RING
    

Example of Unformatted Form Reporting

Modem presents all information and packet control information found in the message. However, it excludes the leading U's (channel seizure information) from the presentation. The packet is presented in ASCII printable hex numbers; with no spaces or line feeds inserted for between bytes or words of the packet. Modem does not detect the checksum of the packet.

RING

0412303332323234303539313435353132333435

RING

RING

3.8. DSVD COMMANDS

3.8.1. -SSE - Enable/Disable DSVD.

Enables or disables DSVD (digital simultaneous voice and data). The modem can only perform DSVD on V42 error-corrected link. The parameter value, if valid, is written to S49 bit 5.

Command Description
-SSE=0 Disables DSVD (default)
-SSE=1 Enables DSVD

Result Codes:

Result Code Condition
OK n = 0 and 1.
ERROR Otherwise.

3.9. V.92 COMMANDS

3.9.1. +PMH - Enable/Disable Modem on Hold(MOH).

Enables/disables MOH. The parameter value, if valid, is written to S57 bit 1.

Command Description
+PMH=0 Enables MOH
+PMH=1 Disables MOH

Inquiries

Command Description
+PMH? Retrieves the current state of MOH feature.
+PMH=? Returns a comma separated list of support arguments to the command .

Result Codes:

Result Code Condition
OK Argument is one of supported values.
ERROR Otherwise.

3.9.2. +PMHT - Controls Modem On Hold(MOH) timeout

Sets the timeout(T1) for the MOH transaction. Since the server sets the value of this timeout the +PMHT command is irrelevant for the client.

Command Description
+PMHT=0 Deny MOH request
+PMHT=1 Grant MOH request w/ 10s timeout
+PMHT=2 Grant MOH request w/ 20s timeout
+PMHT=3 Grant MOH request w/ 30s timeout
+PMHT=4 Grant MOH request w/ 40s timeout
+PMHT=5 Grant MOH request w/ 1 min timeout
+PMHT=6 Grant MOH request w/ 2 min timeout
+PMHT=7 Grant MOH request w/ 3 min timeout
+PMHT=8 Grant MOH request w/ 4 min timeout
+PMHT=9 Grant MOH request w/ 6 min timeout
+PMHT=10 Grant MOH request w/ 8 min timeout
+PMHT=11 Grant MOH request w/ 12 min timeout
+PMHT=12 Grant MOH request w/ 16 min timeout
+PMHT=13 Grant MOH request w/ indefinite timeout

Inquiries

Command Description
+PMH? Retrieves the current value of MOH timeout.
+PMH=? Returns a comma separated list of supported timeouts.

Result Codes:

Result Code Condition
OK Argument is a valid timeout value.
ERROR Otherwise.

3.9.3. +PMHR - Initiate Modem On Hold(MOH)

Initate MOH transaction. If the MOH request is denied the modem will hang up.

Result Codes:

Result Code Condition
+PMHR: timeout granted

OK

If MOH request is granted.
ERROR If MOH request is denied or MOH is not enabled.

3.9.4. +PIG - PCM upstream ignore

Enable/Disable PCM upstream in V.92 connection.

Command Description
+PIG=0 Enables PCM upstream
+PMH=1 Disables PCM upstream

Inquiries

Command Description
+PIG? Retrieves the current state of PCM upstream feature.
+PIG=? Returns a comma separated list of supported arguments to the command .

Result Codes:

Result Code Condition
OK Argument is one of supported values.
ERROR Otherwise.

3.9.5. +PMHF - Hook flash.

Hook flash. The on-hook time is controled by S29.

3.9.6. +PQC - V.92 short Phase 1 and Phase 2 Control.

Enable/Disable short Phase 1 or Phase 2.

Command Description
+PQC=0 Enable short Phase 1, enable short Phase 2
+PQC=1 Enable short Phase 1
+PQC=2 Enable short Phase 2
+PQC=3 Disable short Phase 1, disable short Phase 2

Inquiries

Command Description
+PQC? Retrieves the current state of short Phase 1 / Phase 2 feature.
+PQC=? Returns a comma separated list of supported arguments to the command .

Result Codes:

Result Code Condition
OK Argument is one of supported values
ERROR Otherwise.

3.9.7. +PSS - V.92 force long connect ignoring +PQC.

Forces the modem to use long connect sequences regardless of +PQC settings. Note: forcing short sequences is not implemented.

Command Description
+PSS=0 Modems decide according to +PQC(default)
+PSS=2 Forces long connect sequence

Inquiries

Command Description
+PSS? Retrieves the current state of the feature.
+PSS=? Returns a comma separated list of supported arguments to the command .

Result Codes:

Result Code Condition
OK Argument is one of supported values
ERROR Otherwise.

3.10. PC 99 COMMANDS

3.10.1. #UD - Unimodem Diagnostics Command

This command produces output as described by the Microsoft Unimodem Diagnostics Command Specification.

#UD is an action command. It does not take parameters. It should be the last command in the command line. In response to this command, Modem will report one or more lines of information text in following format:

DIAG <token key=value [ [key=value [key=value] ]...>

Tag Description
token Unique 32-bit hexadecimal string: 2A4D3263
key One or two digit hexadecimal number
value Any string

Refer to Unimodem Diagnostics Command Specification for detailed description.

3.11. LOGGING COMMANDS

3.11.1. +TLOG - Enable/Disable logfile

On some platforms, Modem may be configured to collect connection log files.

If this feature is enabled, a user may specify the maximum size of the log and the name of the log where to store it.

Command Description
+TLOG=<size>,<filename> Enables collection of the log data in file <filename> up to <size> megabytes. If the logging feature is enabled this command performs complete reset of the modem. If the <filename> parameter is empty a file n.log is used, where n is a sequential number that is incremented with every +TLOG command with filename omitted. The sequence is reset by restarting logging/diagnostic tool.
+TLOG=0 Disables collection of the log data.

3.12. AT COMMAND RESULT CODES

The Modem AT command handler responds to commands from the caller and to activity on the line via result codes. The possible result codes that Modem can send are listed below.

Two forms of each result code are available: long-form, "verbose" response when V1 is selected, and short-form, a data-like numeric response (included in parentheses following the long-form) when V0 is selected. 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 caller.

3.12.1. OK (0)

The OK code is returned by the modem to acknowledge execution of a command line.

3.12.2. CONNECT (1)

Modem will send this result code upon connecting when the line speed is 300 bps and the modem has been instructed to report the line speed upon connecting, or the range of result code responses is restricted by the X command such that no speed reporting is allowed.

3.12.3. RING (2)

Modem sends this result code when incoming ringing is detected on the line as per the interface description.

3.12.4. NO CARRIER (3)

Modem sends this result code when attempting to establish a call if no ringback is detected within the period of time determined by register S7. It is also used when the modem auto-disconnects due to loss of carrier.

Under X0, if busy tone detection is enforced, this result code is used as a response to the detection of busy or reorder. Under X0, if dial tone detection is enforced or selected, this result code is used to indicate that dial tone has not been detected.

3.12.5. ERROR (4)

Modem returns this result code if the command line contains a syntax error or it is unable to execute a command contained in the command line. It is issued if a command does not exist or if the parameter supplied is outside the permitted range.

Under X0, X1, X2, and X3, this result is used instead of DELAYED and BLACKLISTED.

3.12.6. CONNECT 1200 (5)

For X1, X2, X3, and X4, Modem sends this result code when the line speed is 1200 bps and Modem has been instructed to report the line speed upon connecting.

3.12.7. NO DIALTONE (6)

For X2 and X4, Modem sends this result code if it has been instructed to wait for dial tone during dialing but none is received.

3.12.8. BUSY (7)

For X3 and X4, if busy tone detection is enforced, Modem sends this result code when attempting to originate a call if the busy signal is detected on the line.

3.12.9. DELAYED (24)

For X4, X5 the modem returns this result code when a call fails to connect and the number dialed is considered 'delayed' due to country blacklisting requirements.

3.12.10. BLACKLISTED (32)

For X4, X5 the modem returns this result code when a call fails to connect and the number dialed is considered 'blacklisted'.

3.12.11. FAX (33)

The modem returns this result code when a fax modem connection is established in a facsimile mode.

3.12.12. DATA (35)

The modem returns this result code when a data modem connection is established in a facsimile mode.

3.12.13. CONNECT n

where n is one of the following codes:

Connect Message Numeric Response
CONNECT 600 9
CONNECT 2400 10
CONNECT 4800 11
CONNECT 9600 12
CONNECT 7200 13
CONNECT 12000 14
CONNECT 14400 15
CONNECT 19200 16
CONNECT 38400 17
CONNECT 57600 18
CONNECT 115200 19
CONNECT 230400 153
CONNECT 460800 154
CONNECT 921600 155
CONNECT 16800 59
CONNECT 21600 61
CONNECT 24000 62
CONNECT 26400 63
CONNECT 28800 64
CONNECT 31200 68
CONNECT 33600 70
CONNECT 25333 98
CONNECT 26666 99
CONNECT 28000 100
CONNECT 29333 101
CONNECT 30666 102
CONNECT 32000 103
CONNECT 33333 104
CONNECT 34666 105
CONNECT 36000 106
CONNECT 37333 107
CONNECT 38666 108
CONNECT 40000 109
CONNECT 41333 110
CONNECT 42666 111
CONNECT 44000 112
CONNECT 45333 113
CONNECT 46666 114
CONNECT 48000 115
CONNECT 49333 116
CONNECT 50666 117
CONNECT 52000 118
CONNECT 53333 119
CONNECT 54666 120
CONNECT 56000 121
CONNECT 57333 122

For X1, X2, X3, and X4, Modem sends this result code when the line speed is as indicated (in bps) and Modem has been instructed to report the line speed when connecting. These codes are also reported when the API-controlled virtual DTE speed is reported upon connection.

For X1, X2, X3, and X4, Modem returns this result code upon establishing a V.23 originate or answer connection when Modem has been instructed to report the line speed upon connection.

3.12.14. CARRIER n

where n is one of the following codes:

Carrier Message Numeric Response
CARRIER 300 40
CARRIER 1200 44
CARRIER 75 45
CARRIER 1200 46
CARRIER 2400 47
CARRIER 4800 48
CARRIER 7200 49
CARRIER 9600 50
CARRIER 12000 51
CARRIER 14400 52
CARRIER 16800 53
CARRIER 19200 54
CARRIER 21600 55
CARRIER 24000 56
CARRIER 26400 57
CARRIER 28800 58
CARRIER 31200 60
CARRIER 33600 65
CARRIER 25333 128
CARRIER 26666 129
CARRIER 28000 130
CARRIER 29333 131
CARRIER 30666 132
CARRIER 32000 133
CARRIER 33333 134
CARRIER 34666 135
CARRIER 36000 136
CARRIER 37333 137
CARRIER 38666 138
CARRIER 40000 139
CARRIER 41333 140
CARRIER 42666 141
CARRIER 44000 142
CARRIER 45333 143
CARRIER 46666 144
CARRIER 48000 145
CARRIER 49333 146
CARRIER 50666 147
CARRIER 52000 148
CARRIER 53333 149
CARRIER 54666 150
CARRIER 56000 151
CARRIER 57333 152

Modem sends one of these when the indicated data rate (in bps) has been detected on the line and carrier reporting has been enabled. (See S95 and Xn)

3.12.15. COMPRESSION: V.42 bis (67)

The COMPRESSION result is sent when Modem has connected in V.42 bis or MNP5 mode and COMPRESSION message reporting has been enabled. (See S95 and Xn.)

3.12.16. COMPRESSION: CLASS 5 (67)

See above.

3.12.17. COMPRESSION: NONE (69)

See above.

3.12.18. PROTOCOL: NONE (70)

The PROTOCOL result is sent to the DTE when Modem has connected without any form of error correction, LAPM correction, or MNP (ALT) correction, and the PROTOCOL message reporting has been enabled. (See S95 and Xn.)

3.12.19. PROTOCOL: LAPM (77)

See above.

3.12.20. PROTOCOL: ALT (77)

See above.


| << First | < Previous | > Next | >> Last
| Table of Contents | Modem Installation and Removal | AT Command Syntax | AT Command Set | S Registers | FAX Class 1 | FAX Class 2 and 2.0 | Voice Mode
Copyright © 1997, 2001.
Information in this document was provided by the manufacturer.