Rockwell`s AT command reference manuals

AT Command Reference Manual
&Jn - Telephone Jack Control............................................................................................................. 3-15
&Kn - Flow Control .............................................................................................................................3-15
&Ln - Leased Line Operation .............................................................................................................. 3-15
&Mn - Asynchronous/Synchronous Mode Selection ............................................................................ 3-16
&Pn - Select Pulse Dial Make/Break Ratio .......................................................................................... 3-16
&Qn - Sync/Async Mode.......................................................................................................... ...........3-17
&Rn - RTS/CTS Option.......................................................................................................................3-17
vi
1048
AT Command Reference Manual
Example of Formatted Form Reporting ............................................................................................ ...3-37
Unformatted Form Reporting ..............................................................................................................3-37
Example of Unformatted Form Reporting .......................................................................................... ..3-37
3.7 CELLULAR COMMANDS....................................................................................................................................3-38
3.7.1 Cellular Phone Drivers ........................................................................................................................... 3-38
3.7.2 Cellular Commands ............................................................................................................................... 3-38
^C2 - Download Cellular Phone Driver ................................................................................................ 3-38
^I - Identify Cellular Phone Driver............................................................................................ ............3-38
^T6 - Indicate Status of Cellular Phone ............................................................................................... 3-39
3.7.3 Operation .............................................................................................................................................. 3-39
Modem Configuration ......................................................................................................................... 3-39
Fax Configuration ............................................................................................................................... 3-40
Cellular Phone Configuration .............................................................................................................. 3-40
3.8 AT COMMAND RESULT CODES ....................................................................................................................... 3-42
OK (0) 3-42
CONNECT (1) ....................................................................................................................................3-42
RING (2) ....................................................................................................................... ..................... 3-42
NO CARRIER (3)...............................................................................................................................
1048
vii
AT Command Reference Manual
S0 - Number of Rings to Auto-Answer ............................................................................................ ......4-4
S1 - Ring Counter.................................................................................................................................4-4
S2 - Escape Character .......................................................................................................... ...............4-4
S3 - Carriage Return Character ............................................................................................................4-4
S4 - Line Feed Character......................................................................................................................4-4
S5 - Backspace Character ....................................................................................................................4-4
S6 - Wait Time for Dial Tone Before Blind Dialing, or After “Wng,4 Dial Modifier (W-Class Models)
.............4-5
S7 - Wait Time For Carrier After Dial, For Silence, or For Dial Tone After “Wng,4 Dial Modifier (US Models)4-5
S8 - Pause Time For Dial Delay ............................................................................................................4-5
S9 - Carrier Detect Response Time .............................................................................................. ........4-5
S10 - Lost Carrier To Hang Up Delay....................................................................................................4-5
S11 - DTMF Tone Duration
1048
ix
AT Command Reference Manual
This page is intentionally blank.
2-2
1048
AT Command Reference Manual
T - Set Tone Dial Default
This command forces DTMF dialing until the next P dial modifier or P command is received. The modem will set an SRegister bit to indicate that all subsequent dialing should be conducted in tone mode. Note that the DP command will
override this command. Cleaodec14 bit 5.
This command may not be permitted in some countries. (See P.)
Result Code:
OK
Vn - Result Code Form
This command selects the sending of short-form or long-form result codes to the DTE. The parameter, if valid, is written to
c14 bit 3.
V0
Enables short-form (terse) result codes. Line feed is not issued before a short-form result code.
V1
Enables long-form (verbose) result codes. (Default.)
Result Codes:
OK
n = 0 or 1.
ERROR
Otherwise.
Wn - Connect Message Control
This command controls the format of CONNECT messages. The parameter value, if valid, is written to S31 bits 2 and 3.
Note that the Wn command can be overridden by register S95 bits (see S95 description).
W0
Upon connection, the modem reports only the DTE speed (e.g., CONNECT 19200). Subsequent
responses are disabled. (Default.)
W1
Upon connection, the modem reports the line speed, the error correction protocol, and the DTE
speed, respectively. Subsequent responses are disabled.
W2
Upon connection, the modem reports the DCE speed (e.g., CONNECT 14400). Subsequent
responses are disabled.
Result Codes:
1048
OK
n = 0, 1, or 2.
ERROR
Otherwise.
3-9
AT Command Reference Manual
Table 3-1. Result Codes
Short Form
1048
Long Form
n Value in ATXn Command
Notes
3-11
AT Command Reference Manual
\Nn - Operating Mode
This command controls the preferred error correcting mode to be negotiated in a subsequent data connection. This
command is affected by the OEM firmware configuration.
\N0
Selects normal speed buffered mode (disables error-correction mode). (Forces &Q6.)
\N1
Serial interface selected - Selects direct mode and is equivalent to &M0, &Q0 mode lf operation.
(Forces &Q0.)
Parallel interface selected - Same as \N0.
\N2
Selects reliable (error-correction) mode. The modem will first attempt a LAPM connection and
then an MNP connection. Failure to make a reliable connection results in the modem hanging up.
(Forces &Q5, S36=4, and S48=7.)
\N3
Selects auto reliable mode. This operates the same as \N2 except failure to make a reliable
connection results in the modem falling back to the speed buffered normal mode. (Forces &Q5,
S36=7, and S48=7.)
\N4
Selects LAPM error-correction mode. Failure to make an LAPM error-correction connection
results in the modem hanging up. (Forces &Q5 and S48=0.) Note: The -K1 command can
override the \N4 command.
\N5
Selects MNP error-correction mode. Failure to make an MNP error-correction connection results
in the modem hanging up. (Forces &Q5, S36=4, and S48=128.)
Result Codes:
OK
n = 0 to 5.
ERROR
Otherwise.
\Vn - Single Line Connect Message Enable
The single line connect message format can be enabled or disabled by the \Vn command as follows:
\V0
3-24
Connect messages are controlled by the command settings X, W, and S95.
1048
AT Command Reference Manual
3.2.7 AT** Command
** - Download to Flash Memory
The linear flash memory downloader in the modem firmware allows flash memory connected to the modem external memory
bus to be upgraded with revised modem firmware. This process transfers (uploads) the upgraded modem firmware (data)
from the host computer to the modem which transfers (downloads) the data to the flash memory device. Note that this
downloader function must radprovided in modem MCU firmware initially installed in external flash memory, i.e., the
downloader does not support the programming of blank flash memory.
Programming the flash memory device is a two-step process.
1.
When the AT** command is issued, the modem firmware boot loader is invoked and the user will first load a flash load
module (FLM) into the modem's RAM. The FLM contains the programming algorithm for the flash memory device being
programmed and any messages that may radsent during the load process.
2.
The user will then load the new modem firmware which the FLM will then program into the flash memory device.
Procedure:
1.
Install in the modem a flash memory programmed with the modem firmware; ensure that the flash memory device is
programmed with the sector secure mode set to UNSECURE (AMD only), otherwise the device cannot radreprogrammed in the modem.
2.
Put the FLM file and the new modem firmware file (e.g., V1400DS.S37) in an appropriate directory on the computer's
hard disk.
3.
Configure the communications application program for a DTE rate of between 9600 bps and 57600 bps (57600 bps is
faster) and RTS/CTS flow control. A load at 57600 bps will take approxim bely 2 minutes; a load at 19200 bps will take
approxim bely 6 minutes.
4.
Check the modem for response by typing AT.
5.
Initiate the download process using the AT**n command, where:
AT** or AT**0 Download speed is the lastdsensed speed (recommended command).
AT**1
Download speed is 38.4k bps.
AT**2
Download speed is 57.6k bps.
The "Download Initiated"TJı˝-2.e appears upon issuing the AT**n command.
1048
3-29
AT Command Reference Manual
3.7 CELLULAR COMMANDS
The Direct Connect Modem allows a direct interface to most cellular telephones eliminating the need for other intelligent
interfaces.
Landline modems operate with the telephone system by either going off hook detecting dialtone and the dialing the
telephone number using pulses or DTMF digits, or detecting the RING signal and answering the call. Intelligent cellular
phone interfaces connect between the modems RJ-11 socket and the cellular phone's data interface. The interface provides
landline features to the modem (line current, dial tone, ringing, etc.), and translates the modem's signals (off hook, DTMF
digits, etc.) into signals that the cellular phone understands. Once connected the interface acts as a transparent link between
feat1rie
interfaces.
3-38
1048
AT Command Reference Manual
^T6 - Indicate Status of Cellular Phone
The status of the cellular phone connected to the modem is reported in response to the ^T6 command. The status is
reported in a single byte formatted as a decimal number. The individual status signals assigned to the status byte bits are:
bit 0
1=
Cellular phone is receiving an incoming call
bit 1
1=
Cellular phone is in use
bit 2
1=
Cellular phone is locked (cannot be used)
bit 3
1=
There is no service for cellular phone (does not indicate signal strength)
bit 4
1=
Cellular phone is powered on
bit 5
1=
Cellular driver is initialized
bit 6
0=
Reserved (0)
bit 7
1=
Cellular cable detected
Result Codes (typical):
128
(Cellular cable detected)
OK
1048
3-39
AT Command Reference Manual
CONNECT 28800 (64)
For X1, X2, X3, and X4, the modem returns this result code upon connecting when the DTE speed is 28800 bps and the
modem has been instructed to report the DTE speed upon connecting.
COMPRESSION: CLASS 5 (66)
This message is sent to the DTE when the modem has connected in MNP Class 5 and COMPRESSION message reporting
3-46
1048
AT Command Reference Manual
CARRIER 36000 (152)
The modem sends this result code when a 36000 bps data rate has been detected on the line and carrier reporting has been
enabled. (See S95 and Xn.)
CARRIER 38000 (153)
The modem sends this result code when a 38000 bps data rate has been detected on the line and carrier reporting has been
enabled. (See S95 and Xn.)
CARRIER 40000 (154)
The modem sends this result code when a 40000 bps data rate has been detected on the line and carrier reporting has been
enabled. (See S95 and Xn.)
CARRIER 42000 (155)
The modem sends this result code when a 42000 bps data rate has been detected on the line and carrier reporting has been
enabled. (See S95 and Xn.)
CARRIER 44000 (156)
The modem sends this result code when a 44000 bps data rate has been detected on the line and carrier reporting has been
enabled. (See S95 and Xn.)
CARRIER 46000 (157)
The modem sends this result code when a 46000 bps data rate has been detected on the line and carrier reporting has been
enabled. (See S95 and Xn.)
CARRIER 48000 (158)
The modem sends this result code when a 48000 bps data rate has been detected on the line and carrier reporting has been
enabled. (See S95 and Xn.)
1048
3-47
AT Command Reference Manual
3.9 AUDIOSPAN AND DSVT 4DIOMMD DS
1048
3-49
AT Command Reference Manual
Example 4: Establish a ML144/7200 data connection between two RCV288 modems in headset mode, then switch to
handset later in the session so conversation can continue after modem call is hung up. This may be typical for configuring an
inter4ctive gaming software. Both DTEs are set at 38400 bps:
DTE
Originate Modem
DCE
AT&F
OK
3-56
DTE
AT&F
Answer Modem
DCE
Comments
Reset modems.
OK
1048
AT Command Reference Manual
S31 - Bit Mapped Options Status
Default: 194 (C2h) (11000010b)
Bit 0
Single line connect message enable/disable (\Vn)
Bit 1
0=
Messages controlled by S95, Wn and Vn (\V0) (Default)
1=
Single line connect message (\V1)
Auto line speed detection (Nn)
Bits 2-3
Bits 4-5
Bits 6-7
0=
Disabled (N0)
1=
Enabled (N1) (Default.)
Error correction progress messages (Wn)
0=
DTE speed only (W0) (Default)
1=
Full reporting (W1)
2=
DCE speed only (W2)
Caller ID (#CID)
0=
Caller ID disabled (#CID=0) (Default)
1=
Short (formatted) Caller ID enabled (#CID=1)
2=
Long (unformatted) Caller ID enabled (#CID=2)
Reserved (Default = 11b)
S32 - XON Character
Sets the value of the XON character.
Range:
0-255, ASCII decimal
Default: 17 (11h)
S33 - XOFF Character
Sets the value of the XOFF character.
Range:
0-255, ASCII decimal
Default: 19 (13h)
S34-S35 - Reserved
4-14
1048
AT Command Reference Manual
6. FAX CLASS 2 COMMANDS
The fax class 2 commands are summarized in Table 6-1.
6.1 COMMAND SYNTAX AND GUIDELINES
1048
6-1
AT Command Reference Manual
Table 6-6. Send Two Pages, 1-D, No Errors
DTE Command
AT+CLASS=2
AT+FLID="<local ID>"
AT<dial string>
DCE Response
OK
OK
+FCON
[+FCSI:"<csi>"]
+FDIS: <dis codes>
OK
AT+FDT
+FDCS:<DCS codes>
CONNECT
<XON>
<1st page data>
<DLE><ETX>
AT+FET=0
AT+FDT
<2nd page data>
<DLE><ETX>
AT+FET=2
Remote Station Action
x
Answer,
Send [CED]
V.21 flags
[CSI]
DIS
[Send TSI]
Send DCS
Send TCF
Get CFR
Send carrier
[Get TSI]
Get DCS
Get TCF
Send CFR
Receive carrier
Send page data
Receive page data
Send RTC
Get MPS
Get MCF
Get RTC
Get MPS
Send MCF
Send carrier
Receive carrier
Send page data
Receive page data
Send RTC
Send EOP
Get MCF
Send DCN
Hang up
Get RTC
Get EOP
Send MCF
Get DCN
Hang up
OK
+FPTS:1
OK
CONNECT
<XON>
OK
+FPTS:1
+FHNG:0
OK
1048
Local DTE Action
Set Class 2
Set local ID
Off hook, dial
Send CNG
Detect flags
[Get CSI]
Get DIS
6-21
AT Command Reference Manual
Table 6-7. Receive Two Pages, 1-D Data, No Errors
DTE Command
6-22
DCE Response
Local DTE Action
Remote Station Action
1048
AT Command Reference Manual
In this mode, and when the sampling rate is 7.2 kHz, the modem detects and reports DTMF, dial tone, and busy tone
cadence as enabled by the #VTD command. Additionally, the modem detects and reports inactivity (periods of silence) as
enabled by the #VSS command. The modem can exit the Voice Receive Mode only via a DTE Key Abort, or via Disconnect
Inactivity timer (S30) expiration.
7-2
1048
AT Command Reference Manual
7.2.3 Voice/Audio Data Transfer
A significant area of concern when handling the transfer of voice/audio data is the data transfer rate on the modem/DTE
interface. Data transfer rates can be expressed as the number of interrupts which must be serviced per time period to keep
up. This is a function of the sampling rate and compression method (if any) used by the modem, and the DTE interface
speed required to handle the data flow on the telephone line side.
Tables 7-1a and 7-1b demonstrate the relationship between the sampling rate, interrupt rate, and DTE speed necessary for
the modem to support various compression ratios. The built-in 16C550A UART-compatible interface in the MCU hardware is
required to support Voice/Audio Mode operation in the Microsoft Windows environment.
Table 7-1. DTE Speeds
Modem Samples per 8-bit Byte
1 (8-bits)
2 (4-bits)
4 (2-bits)
Modem Samples per 8-bit Byte
1 (8-bits)
a. 7.2 kHz Sample Rate
Required Asynchronous DTE Speed
(8N1 Format)
72,000 bps
36,000 bps
18,000 bps
b. 11.025 kHz Sample Rate
Required Asynchronous DTE Speed
(8N1 Format)
110,250 bps
Implied DTE Speed Supported
115.2 kbps
38.4 kbps
19.2 kbps
Implied DTE Speed Supported
115.2 kbps
7.2.4 Tone and Status Monitoring Shielded <DLE> Statuses
7-4
1048
AT Command Reference Manual
AT Command Reference Manual
#VSD - Enable Silence Deletion (Voice Receive) [ADPCM]
This command provides no function other than command response compatibility.
Parameters:
n = 0 or 1
Default:
0
Result Code:
OK
If n = 0 or 1.
ERROR
Otherwise.
Command options:
#VSD?
Returns the current setting of the #VSD command as an ASCII decimal value in result code
format.
#VSD=?
Returns the message, “0,1”.
#VSD=0
Command provides no function other than command response compatibility.
#VSD=1
Command provides no function other than command response compatibility.
#VSK - Buffer Skid Setting
This command queries and sets the number of bytes of spare space, after the XOFF threshold is reached, in the modem's
buffer during Voice Transmit Mode. This equates to the “skid” spare buffer space, or the amount of data the DTE can
continue to send after being told to stop sending data by the modem, before the modem voice transmit buffer overflows.
Parameter:
n = 255 (Number of bytes of “skid spare buffer space)
Default:
255
Result Code:
OK
If n = 255.
ERROR
Otherwise.
Command options:
7-20
#VSK?
Returns the current setting of the #VSK command as an ASCII decimal value in result code
format.
#VSK=?
Returns the message, “255”.
1048
AT Command Reference Manual
#VTX - Voice Transmit
This action command can be issued if and only if the modem is in the Online Voice Command Mode (indicated previously
with the VCON message), and is the switch to Voice Transmit Mode. #VTX is used when a voice file is to be transmitted to
the line, speaker, or handset. The #VLS command should have been previously issued to select the output source.
Parameters:
None
Result Codes:
CONNECT
When voice transmission by DTE can begin.
ERROR
If #VLS =0 and output device not connected.
#VGT - Set Playback Volume in the Command State
The #VGT command allows the DTE to set the playback volume of the headphone and speaker outputs via the on-board
Vouestion cto est Vouend state Playbme DTstateto est o
1048
7-25
AT Command Reference Manual
Using Modem as Dialer Prior to VoiceView Mode
To use the modem to dial a call, the modem must be in Voice On-line mode (via #CLS=8) to dial before enabling VoiceView
mode. VoiceView mode can enabled by the AT+FCLASS=80 parameter after Voice On-line (VCON) mode in handset,
speakerphone or handset emulation modes. The modem can be switched between handset (#VLS=0) and speakerphone
(#VLS=6) modes during +FCLASS=80, as described in the previous section.
Example 5
Originate VoiceView call in Speakerphone mode:
DTE commands
AT#CLS=8#VRN=0#VLS=6
DCE Response
Function
Set modem to Speakerphone mode.
OK
ATDTnnnnnnn
Tjı˝
1048
Dial remote caller.
Call established.
7-31
AT Command Reference Manual
This page is intentionally blank.
8-8
1048
REGIONAL SALES OFFICES
Headquarters
Rockwell Semiconductor Systems
4311 Jamboree Road,
P.O. Box C
Newport Beach, CA 92658-8902
Phone: (714) 221-4600
Fax:
(714) 221-6375
European Headquarters
Rockwell Semiconductor Systems
S.A.R.L.
Les Taissounieres B1
Route des Dolines
Sophia Antipolis Cedex
06905 Valbonne
France
Phone: (33) 93 00 33 35
Fax:
(33) 93 00 33 03
For more information:
Call 1-800-854-8099
International information:
Call 1-714-833-6996
URL Address:
http://www.nb.rockwell.com
E-Mail Address:
literature@nb.rockwell.com
US Southwest Office
Rockwell Semiconductor Systems
5000 Birch Street
Suite 400
Newport Beach, CA 92660
Phone: (714) 222-9119
Fax:
(714) 222-0620
US Southwest Satellite Office
Rockwell Semiconductor Systems
1000 Business Center Circle
Suite 215
Thousand Oaks, CA 91320
Phone: (805) 376-0559
Fax:
(805) 376-8180
US South Central Office
Rockwell Semiconductor Systems
2001 North Collins Blvd
Suite 103
Richardson, TX 75080
Phone: (214) 379-9310
Fax:
(214) 479-9317
US Southeast Office
Rockwell Semiconductor Systems
900 Ashwood Parkway
Suite 400
Atlanta, GA 30338
Phone: (770) 393-1830
Fax:
(770) 395-1419
US Southeast Satellite Office
Rockwell Semiconductor Systems
Arbor Shoreline Office Park
19345 US 19 N.
Suite 108
Clearwater, FL 34624-3156
Phone: (813) 538-8837
Fax:
(813) 531-3031
US Northwest Office
Rockwell Semiconductor Systems
US Northwest Office
3600 Pruneridge Avenue
Suite 100
Santa Clara, CA 95051
Phone: (408) 249-9696
Fax:
(408) 249-7113
US North Central Office
Rockwell Semiconductor Systems
Two Pierce Place
Chancellory Park
Suite 810
Itasca, IL 60143
Phone: (708) 773-3454
Fax:
(708) 773-3907
US Northeast Office
Rockwell Semiconductor Systems
239 Littleton Road
Suite 4A
Westford, MA 01886
Phone: (508) 692-7660
Fax:
(508) 692-8185
Australia
Rockwell Semiconductor Systems