Enables Caller ID with a formatt ed presentation to the DTE. The modem presents 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 an unformatted presentation to the DTE. The modem presents
the entire packet of information, excluding the U’s, in ASCII printable hex numbers.
Result Codes:
OK
n=0 or 2.
ERROR
Otherwise.
Inquiries:
+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.
AT+CID Commands
+CIDn+CIDn
Caller ID
22SAM0055-020999AT Command Guide
Formatted Form Reporting
The modem presents the data in the <tag> = <value> pair format as described in Table 1.
Spaces are present on both sides of the equal sign.
The modem does not present any Caller ID information if the DCE
detects a checksum error in the Caller ID packet. In the event of an
unrecognized data tag, the modem presents the data in ASCII hex
numbers following the MESG tag.
Example of Formatted Form Reporting
1.
The following example illustrates the standard Caller ID message packet, which is
received between the first and second rings.
First RING
;
DATE = 0321
TIME = 1405
NMBR = 5045551234
NAME = JOHN SMITH
Second RING
Third RING
2.
The following example illustrates the case where the tag of the packet is not recognized
by the modem.
First RING
;
Second RING
Third RING
Table 1 Ta g Description
TagDescription
DATEDATE = MMDD where MM is the month number (01 to 12) and DD is the day number (01 to 31)
TIMETIME = HHMM where HH is the hour number (00 to 23) and MM is the minute number (00 to 59).
NMBRNMBR = <number> or P or O where <number> is the telephone number of the caller, where P
indicates that the call ing number in format ion is no t availa ble sin ce the origin ati ng call er has requ ested
private service, and where O indicates that the calling number information is not available or out of
service at the calling location.
NAMENAME = <listing name> where <listing name> is the subscription name.
MESGMESG = <data tag> <length of message> <data> <checksum> in printable ASCII hex numbers. This
tag indicates a data ite m no t lis ted abo ve. T he m es sage is only possible for Multiple Message Format.
Note:
Formatted Form Reporting
MESG = 060342424231
AT Command GuideSAM0055-02099923
Unformatted Form Reporting
The modem presents all information and packet control information fo und in the me ssage.
The modem, however, excludes the leading U’s (channel seizure information) from the
presentation. The packet is presented in ASCII printable hex numbers. the modem does not
insert spaces, or line feeds, for formatting between bytes or words of the packet.
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 co des that the modem can sen d are described
below.
Two forms for 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.
Unformatted Form Reporting
AT Command Result Codes
Table 2 AT Command Result Codes
No.Verbose FormDescription
0OKThe modem returns the OK code to acknowledge the execution of a command line.
The modem sends this result code upon connecting when:
1.The line speed is 300 bps and th e modem h as been in structed to report the l ine spee d
1CONNECT
2RINGThe modem sends this result code when incoming ringing is detected on the line.
3NO CARRIER
4ERROR
5CONNECT 1200
6NO DIALTONE
7BUSY
8NO ANSWER
to the DTE upon connecting, or
2.The DTE speed is 300 bps and the modem has been instructed to report the DTE
speed to the DTE upon connecting, or
3.The range of result code responses is restricted by the X command such that no
speed reporting is allowed.
The modem sends this result code when attempting to establish a call if:
1.No ringback is detected within the period of time determined by register S7, or
2.The modem detects ringback and later doesn’t, but no carrier is detected within the
period of time determined by register S7.
This result code is also used with the modem automatically disconects due to loss of carrier.
If busy tone detection is enforced (see command Xn “Extended Result Codes” on page 11)
NO CARRIER is also used to report busy or circuit busy.
If dial tone detecti on is e nforced (s ee comma nd Xn “Ext ended Res ult Codes ” on pag e 11) NO
CARRIER is also used to report no dial tone.
The modem sends this result code if the command line co ntains a syntax error o r 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.
For X1, X2, X3, and X4, the modem sends this result code when:
1.The line speed is 1200 bps and the modem has been instructed to report the line
speed to the DTE upon connecting, or
2.The DTE speed is 1200 bps and the modem has been instructed to report the DTE
speed to the DTE upon connecting.
For X2 and X4, the modem sends this result code if it has been instructed to wait for a dial
tone before dialing, but no dialtone is detected.
For X3 and X4, if busy tone detection is enabled, the modem sends this result code, if the
busy (engaged) signal is detected on the line.
The modem sends this result code, if the modem detects a continuous ringback signal for the
duration set by register S7 while attempting to make a call.
24SAM0055-020999AT Command Guide
No.Verbose FormDescription
For X1, X2, X3, and X4, the modem sends this result code when:
9CONNECT 0600
10CONNECT 2400
11CONNECT 4800
12CONNECT 9600
13CONNECT 7200
14CONNECT 12000
15CONNECT 14400
16CONNECT 19200
17CONNECT 38400
18CONNECT 57600
19CONNECT 115200
33FAX
34+FCERROR
35DATA
40CARRIER 300
44CARRIER 1200/75
45CARRIER 75/1200
47CARRIER 2400
48CARRIER 4800
49CARRIER 7200
50CARRIER 9600
51CARRIER 12000
52CARRIER 14400
1.The line speed is 600 bps and th e modem h as been in structed to report the l ine spee d
to the DTE upon connecting, or
2.The DTE speed is 600 bps and the modem has been instructed to report the DTE
speed to the DTE upon connecting.
For X1, X2, X3, and X4, the modem sends this result code when:
1.The line speed is 2400 bps and the modem has been instructed to report the line
speed to the DTE upon connecting, or
2.The DTE speed is 2400 BPs and the modem has been instructed to report the DTE
speed to the DTE upon connecting.
For X1, X2, X3, and X4, the modem s end s th is res ult cod e whe n the D TE sp eed is 480 0 bp s
and the modem has been instructed to report the DTE speed upon connecting.
For X1, X2, X3, and X4, the modem s end s th is res ult cod e whe n the D TE sp eed is 960 0 bp s
and the modem has been instructed to report the DTE speed upon connecting.
For X1, X2, X3, and X4, the modem s end s th is res ult cod e whe n the D TE sp eed is 720 0 bp s
and the modem has been instructed to report the DTE speed upon connecting.
For X1, X2, X3, and X4, the mod em sends th is result code when t he DTE sp eed is 12 000 bps
and the modem has been instructed to report the DTE speed upon connecting.
For X1, X2, X3, and X4, the mod em sends th is result code when t he DTE sp eed is 14 400 bps
and the modem has been instructed to report the DTE speed upon connecting.
For X1, X2, X3, and X4, the mod em sends th is result code when t he DTE sp eed is 19 200 bps
and the modem has been instructed to report the DTE speed upon connecting.
For X1, X2, X3, and X4, the mod em sends th is result code when t he DTE sp eed is 38 400 bps
and the modem has been instructed to report the DTE speed upon connecting.
For X1, X2, X3, and X4, the mod em sends th is result code when t he DTE sp eed is 57 600 bps
and the modem has been instructed to report the DTE speed upon connecting.
For X1, X2, X3, and X4, the modem sends this result code when the DTE speed is 115200
bps and the modem has been instructed to report the DTE speed upon connecting.
The modem returns this result code when a fax modem connection is established in a
facsimile mode.
The modem returns this result code when high speed fax data (V.27, V.29, V.33, or V.17) is
expected and a V.21 signal is received.
The modem returns this result code when a data modem connection is established in a
facsimile mode.
The modem returns this result code when Bell 103 carrier has been detected on the line and
carrier reporting is enabled.
The modem returns this result code when V.23 backward channel carrier has been detected
on the line and carrier reporting is enabled.
The modem returns this result co de when V.23 forward channel carrier has been detect ed on
the line and carrier reporting is enabled.
The modem sends this result code when eit her the high or low channel carrier in V.22bis
mode has been detected on the line and carrier reporting is enabled.
The modem sends this result code w he n t he 4800 bps data rate in V.32bis or V.32 mode has
been detected on the line and carrier reporting is enabled.
The modem sends this result code when the 7200 bps data rate in V.32bis mode has been
detected on the line and carrier reporting is enabled.
The modem sends this result code w he n t he 9600 bps data rate in V.32bis or V.32 mode has
been detected on the line and carrier reporting is enabled.
The modem sends this result code when the 12000 bps data rate in V.32bis or V.32 mode
has been detected on the line and carrier reporting is enabled.
The modem sends this result code when the 14400 bps data rate in V.32bis or V.32 mode
has been detected on the line and carrier reporting is enabled.
AT Command Result Codes
AT Command GuideSAM0055-02099925
AT Command Result Codes
No.Verbose FormDescription
53CARRIER 16800
54CARRIER 19200
55CARRIER 21600
56CARRIER 24000
57CARRIER 26400
58CARRIER 28800
59CONNECT 16800
60CONNECT 31200
61CONNECT 21600
62CONNECT 24000
63CONNECT 26400
64CONNECT 28800
65CONNECT 33600
66COMPRESSION: CLASS 5
67COMPRESSION: V.42BIS
69COMPRESSION: NONE
70PROTOCOL: NONE
77PROTOCOL: LAPM
80PROTOCOL: ALT
82CARRIER 31200
83CARRIER 33600
84CONNECT 230400
85CONNECT 460800
86CONNECT 28000
The modem sends this result code when the 16800 bps data rate in V.34 mode has been
detected on the line and carrier reporting is enabled.
The modem sends this result code when the 19200 bps data rate in V.34 mode has been
detected on the line and carrier reporting is enabled.
The modem sends this result code when the 21600 bps data rate in V.34 mode has been
detected on the line and carrier reporting is enabled.
The modem sends this result code when the 24000 bps data rate in V.34 mode has been
detected on the line and carrier reporting is enabled.
The modem sends this result code when the 26400 bps data rate in V.34 mode has been
detected on the line and carrier reporting is enabled.
The modem sends this result code when the 28800 bps data rate in V.34 mode has been
detected on the line and carrier reporting is enabled.
For X1, X2, X3, and X4, the mod em sends th is result code when t he DTE sp eed is 16 800 bps
and the modem has been instructed to report the DTE speed upon connecting.
For X1, X2, X3, and X4, the mod em sends th is result code when t he DTE sp eed is 31 200 bps
and the modem has been instructed to report the DTE speed upon connecting.
For X1, X2, X3, and X4, the mod em sends th is result code when t he DTE sp eed is 21 600 bps
and the modem has been instructed to report the DTE speed upon connecting.
For X1, X2, X3, and X4, the mod em sends th is result code when t he DTE sp eed is 24 000 bps
and the modem has been instructed to report the DTE speed upon connecting.
For X1, X2, X3, and X4, the mod em sends th is result code when t he DTE sp eed is 26 400 bps
and the modem has been instructed to report the DTE speed upon connecting.
For X1, X2, X3, and X4, the mod em sends th is result code when t he DTE sp eed is 28 800 bps
and the modem has been instructed to report the DTE speed upon connecting.
For X1, X2, X3, and X4, the mod em sends th is result code when t he DTE sp eed is 33 600 bps
and the modem has been instructed to report the DTE speed upon connecting.
The modem returns this result code to the DTE when the modem has connected in MNP
Class 5 and compression reporting is enabled.
The modem returns this result code to the DTE when the modem has connected in V.42bis
and compression reporting is enabled.
The modem returns this result code to the DTE w hen the modem has conn ected witho ut data
compression and compression reporting is enabled.
The modem returns thi s resu lt code to the DT E whe n the modem has co nne cte d w i tho ut any
form of error correction and the protocol reporting is enabled.
The modem returns this result code to the DTE when the modem has connected in the V.42
LAPM mode of error correction and protocol reporting is enabled.
The modem returns this result code to the DTE when the modem has connected in the MNP
mode of error correction and protocol reporting is enabled.
The modem sends this result code when the 31200 bps data rate in V.34 mode has been
detected on the line and carrier reporting is enabled.
The modem sends this result code when the 33600 bps data rate in V.34 mode has been
detected on the line and carrier reporting is enabled.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 230400 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 460800 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 28000 bps and the modem has been instructed to report the DTE speed upon
connecting.
26SAM0055-020999AT Command Guide
No.Verbose FormDescription
87CONNECT 29333
88CONNECT 30666
89CONNECT 32000
90CONNECT 33333
91CONNECT 34666
92CONNECT 36000
93CONNECT 37333
94CONNECT 38666
95CONNECT 40000
96CONNECT 41333
97CONNECT 42666
98CONNECT 44000
99CONNECT 45333
100CONNECT 46666
101CONNECT 48000
102CONNECT 49333
103CONNECT 50666
104CONNECT 52000
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 29333 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 30666 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 32000 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 33333 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 34666 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 36000 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 37333 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 38666 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 40000 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 41333 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 426666 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 44000 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 45333 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 46666 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 48000 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 49333 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 50666 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 52000 bps and the modem has been instructed to report the DTE speed upon
connecting.
AT Command Result Codes
AT Command GuideSAM0055-02099927
AT Command Result Codes
No.Verbose FormDescription
105CONNECT 53333
106CONNECT 54666
107CONNECT 56000
108CONNECT 57333
109CARRIER 28000
110CARRIER 29333
111CARRIER 30666
112CARRIER 32000
113CARRIER 33333
114CARRIER 34666
115CARRIER 36000
116CARRIER 37333
117CARRIER 38666
118CARRIER 40000
119CARRIER 41333
120CARRIER 42666
121CARRIER 44000
122CARRIER 45333
123CARRIER 46666
124CARRIER 48000
125CARRIER 49333
126CARRIER 50666
127CARRIER 52000
128CARRIER 53333
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 53333 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 54666 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 56000 bps and the modem has been instructed to report the DTE speed upon
connecting.
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE
speed is 57333 bps and the modem has been instructed to report the DTE speed upon
connecting.
The modem sends this result code when the 28000 bps data rate has been detected on the
line and carrier reporting is enabled.
The modem sends this result code when the 29333 bps data rate has been detected on the
line and carrier reporting is enabled.
The modem sends this result code when the 30666 bps data rate has been detected on the
line and carrier reporting is enabled.
The modem sends this result code when the 32000 bps data rate has been detected on the
line and carrier reporting is enabled.
The modem sends this result code when the 33333 bps data rate has been detected on the
line and carrier reporting is enabled.
The modem sends this result code when the 34666 bps data rate has been detected on the
line and carrier reporting is enabled.
The modem sends this result code when the 36000 bps data rate has been detected on the
line and carrier reporting is enabled.
The modem sends this result code when the 37333 bps data rate has been detected on the
line and carrier reporting is enabled.
The modem sends this result code when the 38666 bps data rate has been detected on the
line and carrier reporting is enabled.
The modem sends this result code when the 40000 bps data rate has been detected on the
line and carrier reporting is enabled.
The modem sends this result code when the 41333 bps data rate has been detected on the
line and carrier reporting is enabled.
The modem sends this result code when the 42666 bps data rate has been detected on the
line and carrier reporting is enabled.
The modem sends this result code when the 44000 bps data rate has been detected on the
line and carrier reporting is enabled.
The modem sends this result code when the 45333 bps data rate has been detected on the
line and carrier reporting is enabled.
The modem sends this result code when the 46666 bps data rate has been detected on the
line and carrier reporting is enabled.
The modem sends this result code when the 48000 bps data rate has been detected on the
line and carrier reporting is enabled.
The modem sends this result code when the 49333 bps data rate has been detected on the
line and carrier reporting is enabled.
The modem sends this result code when the 50666 bps data rate has been detected on the
line and carrier reporting is enabled.
The modem sends this result code when the 52000 bps data rate has been detected on the
line and carrier reporting is enabled.
The modem sends this result code when the 53333 bps data rate has been detected on the
line and carrier reporting is enabled.
28SAM0055-020999AT Command Guide
No.Verbose FormDescription
129CARRIER 54666
130CARRIER 56000
131CARRIER 57333
The modem sends this result code when the 54666 bps data rate has been detected on the
line and carrier reporting is enabled.
The modem sends this result code when the 56000 bps data rate has been detected on the
line and carrier reporting is enabled.
The modem sends this result code when the 57333 bps data rate has been detected on the
line and carrier reporting is enabled.
AT Command Result Codes
AT Command GuideSAM0055-02099929
AT Command Result Codes
30SAM0055-020999AT Command Guide
Chapter 2
S-Registers
S-Registers
The S-registers are summarized along with their default values. Registers or register fields
quoted as “reserved” are rese rved for current or future use by the firmware.
All bit-mapped registers are read-only. The appropriate AT command which controls the
relevant bits in the S-Register should be used to change the value. To change the value of an
S-register, use the ATSn command.
The proper use of the ATSn command is
ATSn=v
where
n
is the number of the S-register and
v
is the desired value.
The factory default values are loaded into the active configuration when Windows is started
or by the ATZn command after a warm reset. In addition, the designated default profile is
subsequently loaded, and may change some of the factory default values.
The factory default values may be loaded or restored at any time by entering the AT&F0
command.
Sets the number of the rings required before the modem automatically answers a call.
Setting this register to zero disables auto-answer mode.
Range:
0-255 rings
Default:
0
S1 is incremented each time the modem detects a ring signal on the telephone line. S1 is
cleared if no rings occur over an eight second interval.
Range:
0-255 rings
Default:
0
Factory Defaults
S-Register Definitions
S0S0
Number of Rings to Auto-Answer
S1S1
Ring Counter
AT Command GuideSAM0055-02099931
S-Registers
S2 holds the decimal value of the ASCII character used as the escape character. The default
value corresponds to an ASCII ‘+’. A value over 127 disables the escape process, i.e., no
escape character will be recognized.
Range:
0-255, ASCII decimal
Default:
43 (+)
Sets the command line and result code terminator character. Pertains to asynchronous
operation only.
Range:
0-127, ASCII decimal
Default:
13 (Carriage Return)
Sets the character recognized as a line feed. Pertains to asynchronous operation only. The
Line Feed control character is output after the Carriage Return contr ol character if verbose
result codes are used
Range:
0-127, ASCII decimal
Default:
10 (Line Feed)
Sets the character recognized as a backspace. Pertains to asynchronous opera tion 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 tota l of three characters are
transmitted each time the modem processes the Backspace character.
Range:
0-32, ASCII decimal
Default:
8 (Backspace)
S2S2
Escape Character
S3S3
Carriage Return Character
S4S4
Line Feed Character
S5S5
Backspace Character
32SAM0055-020999AT Command Guide
S-Registers
Sets the length of time, in seconds, that the modem will wait before starting to dial after
going off-hook when blind dialing. The “Wait for Dial Tone” call progress feature (W dial
modifier in the dial string) will override the value in register S6.
The modem always pauses for a minimum of 2 seconds, even if the value of S6 is less than 2
seconds.
Range:
2-255 seconds
Default:
2
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.
Range:
1-255 seconds
Default:
60
Sets the time, in seconds. that the modem must pause when the “,” dial modifier is
encountered in the dial string.
Range:
0-255 seconds
Default:
2
Sets the time, in tenths of a second, that the carrier must be present before the modem
considers it valid and turns on RLSD. As this time is increased, t here is less cha nce to detec t
a false carrier due to noise from the telephone line.
Range:
1-255 tenths of a second
Default:
6 (0.6 second)
S6S6
Wait Time for Dial Tone Before Blind Dialing
S7S7
Wait Time For Carrier After Dial, For Silence, or For Dial Tone After W Dial Modifier
S8S8
Pause Time For Dial Delay
S9S9
Carrier Detect Response Time (not used)
AT Command GuideSAM0055-02099933
S-Registers
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 recog nizes the carrier (not implemented).
Range:
1-255 tenths of a second
Default:
100 (10seconds)
Sets the duration of tones in DTMF dialing. This value has no effect on pulse dialing.
Range:
50-255 milliseconds
Default:
70 milliseconds
Defines the maximum period, in fiftieths of a second, allowed between receipt of the last
character of the three escape char acter sequence fr om 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.
Note that sending of the OK result code does not affect entry into command mode.
Range:
0-255 1/50 of a second
Default:
50 (1 second)
S10S10
Lost Carrier To Hang Up Delay
S11S11
DTMF T one Duration
S12S12
Escape Prompt Delay (EPD)
S13S13
Reserved
34SAM0055-020999AT Command Guide
S-Registers
Indicates the status of comm and options.
Default:
138 (8Ah) (10001010b)
S14 S14
General Bit Mapped Options Status
xT/P x VnQnEn x
76543210
Bit Definitions:
Bits NameDescription
7:6 –Reserved.
5Tone/
Pulse
4–Reserved.
3Result
Codes
2Quiet
Mode
1Command
Echo
0–This bit is ignored.
1 = Pulse.
0 = Tone (Default).
1 = Verbose, V1 (Default).
0 = Numeric, V0.
1 = Do not send result codes, Q1.
0 = Send result codes, Q0 (Default).
1 = Command Echo enabled, E1 (Default).
0 = Command Echo disabled, E0.
Sets the transmit attenuation level from -6 to -15 dBm. In some countries, the transmit
level may not be changed.
Range:
6 to 15 (corresponding to -6 to -15 dBm transmit level)
Default:
10 (-10 dBm transmit level)
Sets the transmit attenuation level from -6 to -15 dBm for the fax mode. In some countries,
the transmit level may not be changed.
Range:
6 to 15 (corresponding to -6 to -15 dBm transmit level)
Default:
10 (-10 dBm transmit level)
The bits in this register can be set to override some of the Wn co mmand opt ions. A bi t set to
a 1 in this register will enable the corresponding result code regardless of the Wn setting.
Default:
0
S47-S90S47-S90
Reserved
S91S91
Data Mode Transmit Level
S92S92
Fax Transmit Attenuation Level
S95S95
Extended Result Code
xCmpx Prtcl Car ARQ DCE
76543210
Bit Definitions:
Bits NameDescription
7:6 –Reserved.
5Compression Enable COMPRESSION xxxx result code (xxxx = compression type).
4–Reserved.
3ProtocolEnable PROTOCOL xxxx result code (xxxx = protocol identifier).
2CarrierEnable CARRIER xxxx result code (xxxx = rate).
1ARQ to
Connect
0DCE speedCONNECT result code indicates DCE speed instead of DTE speed.
Append/ARQ to CONNECT xxxx result code in error correction mode
(xxxx = rate).
42SAM0055-020999AT Command Guide
Chapter 3
Class 1 Fax Commands
Fax I/O Processing
The character format is 8 bits data, no parity, and 1 stop bit. Start and stop elements are
removed from the transmit data and added to the receive data. Both transmit and receive
data are buffered. Flow control using XON/XOFF (DC1/DC3) or RTS/CTS is provided.
Unique control character strings are identified, filtered, or reinserted into the I/O data
stream. These control characters and their resultant action are described below.
The modem also identifies the end of a frame by inserting <DLE><ETX> into the data
stream after the FCS bytes.
Fax class 1 commands are identified in Table 5. Fax modes and rates are determined by the
AT+F commands.
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.
+FCLASS=
+FAE=n
+FTS=n
+FRS=n
+FTM=n
+FRM=n
+FTH=n
+FRH=n
Table 3 DTE-to-Modem Transmit Data Stream
Characters DetectedAction Ta ken
<DLE><Data>Delete <DLE><Data> characters.
<DLE><ETX>Recognize as a string terminator and take appropriate action.
<DLE><DLE>Replace with single <DLE> character.
Table 4 Modem-to-DTE Receive Data Stream
Characters DetectedAction Taken
<DLE>Insert extra <DLE> ahead of <DLE>.
Fax Mode Selection
Table 5 Fax Class 1 Commands
CommandFunction
Fax Origination
Service Class
Data/Fax Auto Answer
Stop Transmission and Wait
Receive Silence
Transmit Data
Receive Data
Transmit Data with HDLC Framing
Receive Data with HDLC Framing
AT Command GuideSAM0055-02099943
Fax I/O Processing
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, af ter sendin g answer tone, auto maticall y ente rs fax mod e (
+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, respective ly, to the DTE.
Fax control transmission is initiated by the +FTH=n command. After this command is
issued, the modem generates the CONNECT message and transmits carrier in the
modulation scheme specified by the paramete r n. The modem then transmits HDLC flags for
a minimum of 1 second. The modem continues to transmit the HDLC flags until it receives a
character from the DTE.
When characters are received from the DTE, the modem adds start and end flags, performs
zero-bit insertion, generates FCS, and deletes <DLE><chr> character pairs before
transmitting the characters to the remote fax machine. Each <DLE><DLE> sequence is
transmitted as a single <DLE>. <DLE><ETX> is considered as the end of frame marker and
is not transmitted. All data received from the DTE after <DLE><ETX> is ignored by the
modem until the modem generates either the CONNECT, OK, or ERROR result code.
If no more data is in the transmit buffer and the final bit was a 1 (bit 4 of the second byte
received from the DTE), the modem generates the OK result code and returns to the
command mode. If the final bit was a 0, the modem generates the CONNECT message and
waits for further data from the DTE while transmitting HDLC flags. If no more data is
received before 5 seconds elapse, the modem drops carrier, goes on-hook, and generates the
ERROR result code.
Fax control reception is initiated using the AT+FRH=n command. After this command is
issued, the modem looks for carrier in the modulation scheme specified by the parameter n.
If no carrier is detect ed befo re t he p eriod of ti me sp ecif ied by regis ter S7 expir es, th e mo dem
generates the NO CARRIER message and returns to command mode. If carrier is detec ted
that is not the one specified by the parameter n, the modem generates the +FCERROR
message and returns to the comm and mode. If the specified carrier is detected, the modem
generates the CONNECT message and enters the HDLC receive mode.
In HDLC receive mode, the modem receives HDLC frames from the remote fax machine,
strips the flags, performs zero-bit deletion, performs er ror checking, and handles
<DLE><chr> character pairs before passing the data to the DTE. The modem prefixes each
<DLE> character with another <DLE> charac ter before send ing it to the DTE. Aft er the last
byte in the frame, the mod em sends <DLE><ETX> t o the DTE marking the e nd of the frame.
The modem then generates either the OK message if no errors were detected or the ERROR
message if errors were detected (FCS is incor rect), and returns to command mode.
Fax Answering
Fax Control Transmission
Fax Control Reception
44SAM0055-020999AT Command Guide
Fax I/O Processing
While in command mode, the modem continues to receive data in the selected modulation
scheme, and sends the data after sending the CONNECT message to the DTE when the DTE
reissues the + FR H co mmand with the same pa r am e te r. If the DTE issues th e +F R H
command with a different parameter, the modem clears all buffers and proceeds as
described previously.
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 buf fer, the modem sends the ERROR result cod e
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 re ceive 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 co nsecutive ones with no zer o 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 l ooking for HDLC f lags followed by more dat a from the
remote, with the selected modulation scheme.
If the modem detects a receive buffer over flo w condi tion, it concludes th at the re 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.
Fax data transmission is initiated by the AT+FTM=n command. After this command is
issued, the modem generates the CONNECT message and transmits carrier in the
modulation scheme specified by the parameter n. The modem then transmits constant 1 bits
until it receives a character from the DTE.
When data is received from the DTE, the modem deletes start and stop bits and deletes all
<DLE><chr> character pairs before transmitting the data to the remote. Each
<DLE><DLE> sequence is transmitted as a single <DLE>. <DLE><ETX> is considered as
Fax Data Transmission
AT Command GuideSAM0055-02099945
Fax I/O Processing
the end of stream marker, and is not transmitted. All data received from the DTE after the
<DLE><ETX> is ignored by the modem until the modem generates either the CONNECT,
OK, or ERROR result code.
If no more data is in the transmit buffer, and the last transmitted character was not an
ASCII NULL, the modem generates the OK result code and returns to the command mode. If
the last character transmitted was an ASCII NULL, the modem generates the CONNECT
message to the DTE and waits for further data from the DTE while transmitting NULLs to
the remote. If more data is received before five seconds elapse, the modem continues to
transmit the data as described in the previous paragraph. If five seconds elapse and no data
is received from the DTE, the modem drops carrie r, goes on-hook, and generates the ERROR
result code.
Fax data reception is initiated using the AT+FRM=n command. After this command is
issued, the modem looks for carrier in the modulation scheme specified by the parameter n.
If no carrier is detect ed befo re t he p eriod of ti me sp ecif ied by regis ter S7 expir es, th e mo dem
generates the NO CARRIER message and returns to command mode. If a V.21 carrier is
detected when a high speed carrier is expected, the modem generates the +FCERROR
message and returns to the comm and mode. If the specified carrier is detected, the modem
generates the CONNECT message and enters the data receive mode.
While in data receive mode, the modem receives data from the remote, adds start and stop
bits, and handles <DLE><chr> character pair s bef ore passing the data to the DTE. The
modem prefixes each <DLE> character with another <DLE> character before sending it to
the DTE.
If carrier is lost for a tirne 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 NO CARRIER result code, and returns to the command mode.
All subsequent data received from the remote is discarded.
If the modem detects a receive buffer overflow condition, it stops receiving from the remote
until there is room in the receive buffer. The modem informs the DTE of the buffer overflow
after it sends to the DTE the last character that was stored in the buf fer before the overflow
occurred.
If the modem receives any character from the DTE after the +FRM 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 the OK result code, and returns to command mode. The receive buffer is cleared
and all data received fr om the re mote i s discar ded. If lo ss o f DTR is detect ed while &D2 is in
effect, the modem goes on- hook, sends < DLE><ETX> fol lowed by OK result code to the DTE,
and returns to command mode. If the modem detects a DTR drop while &D3 is in effect, the
modem performs a warm reset.
Fax Data Reception
46SAM0055-020999AT Command Guide
Class 1 Fax Commands
+FCLASS=n command sets the active service class.
Parameters: 0-1
Command options:
+FCLASS=0 Select Data Mode (Default.)
+FCLASS=1 Select Facsimile Class 1
+FCLASS=2 Select Facsimile Class 2 (not implemented)
+F<command>? interrogates the modem to determine the active configuration.
Typical responses are:
+FAE?
0 if auto answer is disabled; 1 if auto answer is enabled
+FCLASS?
0 if in data mode; 1 if in fax class 1; 2 if in fax class 2
+F<command>=? can be used to determine the operating capabilities of the modem.
The DTE may issue a +FDR command in Phase D, which releases the post page message,
and indicates readiness to receive another page after receipt of a Multipage (+FET:0) or
PPS-NULL (+FET:3) message. The DCE response will be:
CONNECT
(<DC2> needed from DTE here)
<Phase C data stream)
<DLE><ETX>
+FPTS:<ppr>, <lc> [,<blc>, <cblc>]
+FET:<ppm>
OK
(DTE must issue +FDR command to release post page response)
If done receiving:
+FHNG: <hangup cause code>
OK
Continue page reception
Phase C data may be presented to the DTE in st ream mode. The DCE will tran sfer a stream
of data to the DTE, followed by the <DLE><ETX> stream termination characters. The DCE
will filter the stream as described in 4.1.2.
The received data format is negotiated under T.30 reported by the +FDCS: (VR, BR, WD,
LN, DF, EC, BF, ST) response. The DCE will delete the terminating RTC (6 EOL’s)
patterns.
Syntax:
+FK
The +FK command causes the DCE to terminate the session in an orderly manner. In
particular, the DCE will send a DCN message at the next opportunity and hang up. At the
end of the termination process, the DCE will report the +FHNG response with result code
(Table 12).
Continue Document Reception
Phase C Data Framing
Phase C Data Format
+FK+FK
Session Terminat i on
66SAM0055-020999AT Command Guide
Service Class 2 Action Commands
The DCE will wait until the current page completes, unless the reception is of unlimited
length; in that case, the DCE may halt reception and terminate the session at any time.
Table 12 Hang Up Status Codes
Code TypeCodeCause Description
0Normal and proper end of connection
Call Placement and Termination
Transmit Phase A and Miscellaneous Errors
Transmit Phase B
Transmit Phase C
Transmit Phase D
Receive Phase B (some codes not
implemented)
Receive Phase C
1Ring detect without successful handshake
2Call aborted, from +FK or AN
3No loop current
10Unspecified transmit Phase B error
11No answer (T.30 T1 timeout)
20Unspecified transmit Phase B error
21Remote cannot receive or send
22COMREC error in transmit Phase B
23COMREC invalid command received
24RSPEC error
25DCS sent three times without response
26DIS/DTC received 3 times; DCS not recognized
27Failure to train at 2400 bps or +FMINSP value
28RSPREC invalid response received
40Unspecified transmit Phase C error
43DTE to DCE data undeflow
50Unspecified transmit Phase D error
51RSPREC error
52No response to MPS repeated 3 times
53Invalid response to MPS
54No response to EOP repeated 3 times
55Invalid response to EOP
56No response to EOM repeated 3 times
57Invalid response to EOM
58Unable to continue after PIN or PIP
70Unspecified receive Phase B error
71RSPREC error
72COMREC error
73T.30 T2 timeout, expected page not received
74T.30 T1 timeout after EOM received
90Unspecified receive Phase C error
91Missing EOL after 5 seconds
92Unused code
93DCE to DTE buffer overflow
94Bad CRC or frame (ECM or BFT modes)
AT Command GuideSAM0055-02099967
Service Class 2 Action Commands
The DCE sends information responses to the DTE as a facsimile session proceeds. They
indicate the state of the facsimile session and convey needed information. These messages
are solicited messages generated in execution of DTE action commands described under
“
Service Class 2 Action Commands
” on page 61. The DCE precedes and follows the
information responses with <CR><LF>.
The DCE provides the on-line status of several session parameters when they are available
during T.30 handshaking. These include the remote ID string and the DIS/DCS parameters.
These responses report the T.30 ses sion parameter frames. The subparameters are
described in Table 9, “
T.30 Session Subparameter Codes
,” on page 60.
Code TypeCodeCause Description
Receive Phase D
Reserved Codes
Service Class 2 DCE Responses
100Unspecified receive Phase D error
101RSPREC invalid response received
102COMREC invalid response received
103Unable to continue after PIN or PIP
120-255Some codes are not implemented
Table 13 Service Class 2 DCE Responses
ResponseNameDescription
+FCONFacsimile Connection
Response
+FDCSReport Current
Session Capabilities
+FDISReport Remote
Station Capabilities
+FCFRIndicate Confirmation
to Receive
+FTSIReport the Transmit
Station ID
+FCSIReport the Called
Station ID
+FCON indicates connection with a fax machine. It is released by detection of HDLC
flags in the first received frame. +FCON is generated in response to an Originate or
Answer command .
Syntax:+FDCS:VR,BR,WD,LN,DF,EC,BF,ST
+FDCS:<string> reports the negotiated parameters. Phase C data will be formatted as
described by the s ubpara meters . This mess age may b e gene rate d in exec ution o f +FDT
or +FDR commands before the CONNECT result code if new DCS frames are
generated or received. See Table 9, “T.30 Session Subparameter Codes,” on page 60.
Syntax:+FDIS:VR,BR,WD,LN,DF,EC,BF,ST
+FDIS:<string> reports remote facsimile station capabilities and intentions. The
parameters are provided in ASCII notation. See Table 9, “T.30 Session Subparameter
Codes,” on page 60.
This message is generated in execution of Originate, Answer, +FDT, or +FDR
commands.
Syntax:+FCFR
The DCE sends a +FCFR response to the DTE upon reception of an acceptable TCF
training burst and a valid DCS signal from the remote machine. This indicates that the
DCE will receive Phase C data after the remote station receives the local DCE's CFR
message. The +FCFR message is generated in execution of a +FDR command.
Syntax:+FTSI: “<TSI ID string>“Transmit Station ID
This response reports the received transmit station ID string, if any. This message is
generated in execution of Originate, Answer, +FDT, or +FDR commands.
Syntax:+FCSI: “<CSI ID string>“Called Station ID
This response reports the received called station ID string, if any. This message is
generated in execution of Originate, Answer, +FDT, or +FDR commands.
68SAM0055-020999AT Command Guide
ResponseNameDescription
+FPTSReceive Page
Transfer Status
+FETPost Page
Message Response
+FPTSTransmit Page
Transfer Status
+FHNGCall Termination
with Status
Syntax:+FPTS:<ppr>, <lc> [,<blc>, <cblc>]
The +FPTS:<ppr> is generated by the DCE at the end of Phase C data reception in
execution of a +FDR command. The <ppr> is generated by the DCE; it depends on the
DCE capabilities at T.4 error checking. See Table 11, “T.30 Post Page Response
Messages,” on pa ge65 for <ppr> val ues . The receiving DC E w i ll c oun t the l ine s. These
values are;
<lc> = line count
<blc = bad line count
<cblc> = <consecutive bad line count
A receiving DTE may inspect <ppr> and write a modified value into the +FPTS
parameter. The DCE will hold the corresponding Post Page Response message until
released by a +FDR command from the DTE.
Syntax:+FET:<ppm>
The +FET:<post page message> response is generated by a receiving DCE after the
end of Phase C reception on r eceipt of the post-page message from the transmitting
station. The +FET:<ppm> resp on se is generated in ex ec uti on of a +FDR comma nd. The
<ppm> codes respond to the T.30 post page messages See Table 10, “T.30 Post Page
Message Codes,” on page 64.
Syntax:+FPTS:<ppr>
The +FPTS: respons e report s a <ppr> number rep resenti ng the c opy qu ality and rela ted
post-page message responses received from the remote DCE. The valid <ppr> values
are defined in Table 11, “T.30 Post Page Response Messages,” on page 65.
The +FPTS:<ppr> response is generated in execution of a +FET=<ppm> command.
Syntax:+FHNG:<hangup status code>
+FHNG indicates that the call has been terminated. The hangup cause is reported and
stored in the +FAXERR parameter for later inspection. The <hangup status code>
values are described in Table 12, “Hang Up Status Codes,” on page 67.
+FHNG:<hsc> is a possible intermediate result code to any DTE action command
described under “Service Class 2 Action Commands” on page 61. It is always followed
by the OK final result code.
Upon termination of a call, t he DCE de termines the cause of termin ation and reports i t as
part of the FHNG:<hsc> response. It also stores this <hsc> code in the +FAXERR
parameter for later inspection.
The hangup val ues are organize d accord ing to t he phas es of th e facsi mile tran saction as
defined by T.30. In the Figure A/T.30 flow charts, there are decision boxes labelled
“Command Received?"; this is referred to as COMREC in the table. Similarly, decision
boxes labelled `Response Received?' are referred to as RSPREC in the table. A
COMREC error or RSPREC error indicates that one of two events occurred: 1) a DCN
(disconnect) signal was received, or 2) an FCS error was detected and the incoming
signal was still present after 3 seconds. (See Figure 1 on page70).
The table values are in decimal notation. Leading zero characters are optional.
Service Class 2 Action Commands
AT Command GuideSAM0055-02099969
Service Class 2 Parameters
All Service Class 2 parameters can be read, written, and tested for range of legal values by
the DCE. The general syntax is described in “
Command Syntax and Guidelines
” on page 55.
Group 3 FAX devices negotiate session parameters in DIS, DCS, and DTC frames. The
following parameters are provided to condition the facsimile DCE for the capabilities it will
offer and to report the session settings negotiated.
The three primary T.30 session parameters are +FDCC, +FDIS and +FDCS. They are
compound parameters, using values listed in Table 9, “
T.30 Session Subparameter Codes
,”
on page 60.
Figure 1 illustrates their relationships.
Service Class 2 Parameters
DTE write
DTE read
DTE write
DCE report
DTE read
DCE report
DTE read
+FDCC
DCE Capabilities
cold write
start+FDCC
+FDIS
End of Session
DIS/DTC if received
DCE
Negotiating Position
cold
start
End of Session0,0,0,0,0,0,0,0
on send, determine
DCS in FAX DCE
+FDIS
DCE
Negotiating Position
remote DCS on receive
Figure 1 T.30 Session Parameter Relationships
DIS/DTE from remoteVirtual DIS on receive
DCS if send
70SAM0055-020999AT Command Guide
Service Class 2 Parameters
Write syntax:
+FDCC=VR,BR,WD,LN,DF,ED,BF,ST
Valid values:
See Table 9, “
T.30 Session Subparameter Cod es
,” on page 60.
Default values:
0,5,0,2,0,0,0,0
+FDCC allows the DTE to sense and constrain the capabilities of the fac simile DCE from the
choices defined in CCITT T.30 Table 2. When +FDCC is modified by the DTE, the DCE
copies +FDCC into +FDIS.
Write syntax:
+FDIS=VR,BR,WD,LN,DF,EC,BF,ST
Valid values:
See Table 9, “
T.30 Session Subparameter Cod es
,” on page 60.
Default values:
0,5,0,2,0,0,0,0
The +FDIS parameter allows the DTE to sense and constrain the capabilities used for the
current session. The DCE uses +FDIS to generate DIS or DTC messages directly, and uses
+FDIS and received DIS messages to generate DCS messages.
The DCE initializes the +FDIS parameter from the +FDCC parameter on initialization,
when +FDCC is written, and at the end of a session.
+FDCC+FDCC
DCE Capabilities Parameters
+FDIS+FDIS
Current Sessions Capabilities Parameters
AT Command GuideSAM0055-02099971
Service Class 2 Parameters
Read syntax:
+FDCS?
DCE response:
+FDCS=VR,BR,WD,LN,DF,EC,BF,ST
or
+FDCS=
Valid values:
See Table 9, “
T.30 Session Subparameter Cod es
,” on page 60.
Default values:
0,0,0,0,0,0,0,0
The +FDCS parameter is loaded with the negotiated T.30 parameters for the current
session. A transmitting DCE generates DCS; a receiving DCE gets DCS from the remote
station. The DTE may read this parameter.
The +FDCS parameter is initialized 0,0,0,0,0,0,0,0 upon initialization and at the beginning
of a session. If the DTE issues a +FDCS? command in the initial state, the DCE reports:
<CR><LF>0,0,0,0,0,0,0,0<CR><LF>
The contents of +FDCS are spontaneously reported during execution of +FDR or +FDT
commands by the +FDCS:VR,BR,WD,LN,BF,EC,BF,ST response using the same compound
parameter format.
Several commands and responses reference T.30 session negotiated parameters. These are
described by a set of common subparameters. These subparameters are described in Table 9,
“
T.30 Session Subparameter Codes
,” on page 60. Optional parameter values are marked
with an *. Unspecified parameter values are reserved for future use.
The +FDCC, +FDIS, and +FDCS compound parameters use these session parameters (On
writes, unspecified subparameters are unchanged.)
The +FDIS:, +FDCS:, and +FDTC: session report responses use these subparameters.
For test response, ranges of values are reported for each subparameter enclosed in
parentheses characters. For example, a DCE response to +FDCC=? could report:
<timeout>500 - disable “Presumed quiet” and “Presumed hangup” time-out messages
(1 - 600) - time-out in 0.1 second increments
+VSD?
AT+VSD?
A T+VSD=?
AT Command GuideSAM0055-02099983
Voice/Audio AT Commands
The +VTD command determines the length of the DTMF tones in conjunction with the + VTS
command.
Syntax: +VTD=<duration>
Results
:
OK
issued to the DTE if the parameter is acceptable
ERROR
otherwise
This command has no effect on the ATD command, only the +VTS command. A <duration>
of 0 will default to the manufacturer specific value of 100ms.
Upon receiving the +VTD? query, the DCE will display the current value of the beep tone
duration timer.
100
OK
Upon receiving the +VTD=? query, the DCE will display the range of acceptable values for
the beep tone duration timer.
(0-500)
OK
+VTD+VTD
Beep Tone Duration Timer
ParameterDefaultAcceptable Values
<sensitivity>1000 - Default of 100ms
(1 - 500) - Time in 0.01 second increments
+VTD?
AT+VTD?
+VTD=?
AT+VTD=?
84SAM0055-020999AT Command Guide
Voice/Audio AT Commands
The +VTS command is used to play DTMF tones or other tones while in voice mode.
Syntax: +VTS=<string>
Results:
OK
issued to the DTE if the parameter is acceptable
ERROR
otherwise
The format of the string is a list of elements separated by commas. The elements can be:
a single ASCII character in the set {0 - 9, #, *, A - D} which will be interpreted as a DTMF
tone with a length specified by the +VTD command.
a string enclosed in square brackets (“[ ]”) which will be interpreted as dual tone values
and a duration in 0.01 second increments. The list will consist of up to three values. The
first and second elements are tone frequencies. The final parameter is the duration.
Elements may be Null. If a duration is not specified, the default duration (+VTD) will be
used. For example, [1000,2000,50] will play a 1000Hz tone and a 2000Hz tone at the same
time for 500ms. [3000] or [,3000] will play a 3000 Hz tone for th e default durat ion. [,,50]
will be interpreted as 500ms of silence.
a string enclosed in curly braces (“{}”) which will be interpreted as a DTMF tone with a
duration in 0.01 second incremen ts. {} will be interpreted as silence. If the duration is no t
specified, the default duration will be used (+VTD). For example, {2,50} will play DTMF
2 for 500ms. {2} will play DTMF 2 for the default duration. {,50} will be interpreted as
500ms of silence.
Frequencies for both ranges is 0 - 3400 Hz. The duration specif ied in the second two formats
ranges from 0-6000 (0 - 60 seconds). This range matches the range of the +VTD command.
Even though frequencies down to 0 are supported, not all lower frequencies will be audible
on all equipment.
This command is unacceptable and will generate and
ERROR
response from the DCE.
Upon receiving the +VTS query, the DCE will display a list of acceptable ranges for the first
frequency, the second frequency, and the duration, respectively.
(200-3300),(200-3300),(0-500)
OK
+VTS +VTS
DTMF and Tone Generation in Voice
ParameterDefaultAcceptable Values
<string>n/aSee string definition below.
•
•
•
+VTS?
+VTS=?
AT+VTS=?
AT Command GuideSAM0055-02099985
Voice/Audio AT Commands
This command causes the DCE to set the gain for the received voice samples.
Subparameter Description:
The receive gain is an unsigned octet where values larger than 128 indicate a larger gain
than nominal, and values smaller than 128 indicate a gain smaller than nominal. The
nominal value is 128. The largest range of numbers is O to 255. The DCE may limit the
receive gain to a more narrow range, such as 120 to 136 or 120 to 128. The value of zero is
reserved for DCE Automatic Gain Control (AGC).
Result Code:
The DCE shall return the OK result code if the DCE accepts the command. The DCE shall
return the ERROR result code if the <gain> subparameter is out of range.
<gain>
+VGR=<gain>+VGR=<gain>
Receive Gain Selection
DefaultMandatory
0 or 1280 or 128
86SAM0055-020999AT Command Guide
Voice/Audio AT Commands
This command causes the DCE to set the volume level, either by amplifying or attenuating
the signal, for the transmitted voice samples.
Subparameter Description:
The transmit gain (or attenuation) is an unsigned octet where values larger than 128
indicate a larger gain than nominal, and values smaller than 128 indicat e a smaller gain ( or
larger attenuation) than nominal. The nominal value is 128. The largest range of numbers is
0 to 255. The DCE may use a more narrow range, such as 120 to 136 or 120 to 128. The value
of zero is reserved for DCE Automatic Volume Control (AVC).
The DCE shall limit the transmit level over the Telco lines, regardless of the
current +VGT setting, to that permitted by CFR FCC Rules Part 68,
Subpart D.
Result Code:
The DCE shall return the
OK
result code if the DCE accepts the command. The DCE shall
return the
ERROR
result code if the <level> subparameter is out of range.
This command causes the DCE to select one or more source/destinations of the analog data.
Subparameter Description:
The DTE uses an integer, the <label> subparameter, as a label to identify each of the DCE
supported analog source/destination hardware conf igurations. This Interim Standard uses
Primitives to describe which voice I/O device (e.g., speaker) are components in a possible
hardware configuration, and has group these Primit ives in order to defined and label sixteen
common configurations.
<level>
+VGT=<level>+VGT=<level>
Volume Selection
DefaultMandatory
0 or 1280 or 128
CAUTION!
+VLS=<label>Analog Source/Destination Selection
DefaultMandatory
<label> Manufacturer specific
AT Command GuideSAM0055-02099987
Voice/Audio AT Commands
Primitives are <string constant>s with one ASCII character code optionally followed by an
ASCII number code. The Primitives, "L" and "T", cannot have number codes. This Standard
equates a Primitive with a single ASCII character code, and a Primitive with a ASCII
character code followed by the ASCII "O" code (20 hex). The defined Primit ives are list ed as
follows:
A concatenation of the Primitives describes a possible analog source/destination hardware
configuration. Table 18 lists sixteen commonly used hardware configurations by <label>
subparameter values and the Primitive associated with each value. These parameters are
used to select specific configurations.
Values after the first sixteen values are available for manufacturer specific hardware
configurations.
L
T
Table 17 Codes for Voice I/0 Primitives
Primitive CodeDescription
M0Internal Microphone.
M1External Microphone.
S0Internal Speaker (requires squelch on any microphone activity).
S1External Speaker (requires squelch on any microphone activity).
H0External Microphone and Speaker combination (handset or headset).
ZnManufacturer specific device (n>=O).
MnManufacturer specific extension (n>l).
SnManufacturer specific extension (n>l).
HnManufacturer specific extension (n>O).
Local Phone.
Telco Line.
88SAM0055-020999AT Command Guide
Voice/Audio AT Commands
Result Codes:
The DCE shall return the OK result code if the DCE accepts the command. The DCE shall
return the ERROR result code if the <label> subparameter is out of range, or if the DCE
cannot service the request in the <label> subparameter.
None
T
Table 18 Pre-assigned Voice I/O Labels
<label>
10MS1TInternal Microphone and External Speaker connected to Telco. Squelching active. DCE off-
11M1External Microphone connected to DCE. DCE on-hook. Local one connected to Telco.
12M1STExternal Microphone and Internal Speaker connected to Telco. Squelching active. DCE off-
13M1S1TExternal Microphone and External Speaker connected to Telco. Squelching active. DCE off-
14HExternal Microphone and Speaker combination (handset or headset) connected to DCE.
15HTExternal Microphone and Speaker combination (handset or headset) connected to DCE.
Primitive
Code
0
1
2LDCE on-hook Local phone connected to DCE.
3LTDCE off-hook. Local phone connected to Telco. DCE connected to Telco.
4SInternal Speaker connected to DCE. DCE on-hook. Local phone connected to Telco.
5STInternal Speaker connected to Telco. DCE off-hook. DCE connected to Telco. Local phone
6MInternal Microphone connected to DCE. DCE on-hook. Local phone connected to Telco.
7MSTInternal Microphone and Internal Speaker connected to Telco. Squelching active. DCE off-
8S1External Speaker connected to DCE. DCE on-hook. Local phone connected to Telco.
9S1TExternal Speaker connected to Telco. DCE` off-hook. DCE connected to Telco. Local phone
Description
DCE on-hook. Local phone connected to Telco.
DCE off-hook. DCE connected to Telco. Local phone provided with power to detect hook
condition.
provided with power to detect hook con di tion .
hook. DCE connected to Telco. Local phone provided with power to detect hook condition.
provided with power to detect hook con di tion .
hook. DCE connected to Telco. Local phone provided with power to detect hook condition.
hook. DCE connected to Telco. Local phone provided with power to detect hook condition.
hook. DCE connected to Telco. Local phone provided with power to detect hook condition.
DCE on-hook. Local connected to Telco.
DCE off-hook. DCE connected to Telco. Local phone provided with power to detect hook
condition.