Product is deemed accepted by recipient and is provided without interface to recipient’s products. The
documentation and/or product are provided for testing, evaluation, integration and information purposes. The documentation and/or product are provided on an “as is” basis only and may contain deficiencies or inadequacies. The documentation and/or product are provided without warranty of any
kind, express or implied. To the maximum extent permitted by applicable law, Siemens further disclaims all warranties, including without limitation any implied warranties of merchantability, completeness, fitness for a particular purpose and non-infringement of third-party rights. The entire risk arising
out of the use or performance of the product and documentation remains with recipient. This product is
not intended for use in life support appliances, devices or systems where a malfunction of the product
can reasonably be expected to result in personal injury. Applications incorporating the described product must be designed to be in accordance with the technical specifications provided in these guidelines. Failure to comply with any of the required procedures can result in malfunctions or serious discrepancies in results. Furthermore, all safety instructions regarding the use of mobile technical systems, including GSM products, which also apply to cellular phones must be followed. Siemens or its
suppliers shall, regardless of any legal theory upon which the claim is based, not be liable for any consequential, incidental, direct, indirect, punitive or other damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information or data,
or other pecuniary loss) arising out the use of or inability to use the documentation and/or product,
even if Siemens has been advised of the possibility of such damages. The foregoing limitations of liability shall not apply in case of mandatory liability, e.g. under the German Product Liability Act, in
case of intent, gross negligence, injury of life, body or health, or breach of a condition which goes to
the root of the contract. However, claims for damages arising from a breach of a condition, which goes
to the root of the contract, shall be limited to the foreseeable damage, which is intrinsic to the contract,
unless caused by intent or gross negligence or based on liability for injury of life, body or health. The
above provision does not imply a change on the burden of proof to the detriment of the recipient. Subject to change without notice at any time. The interpretation of this general note shall be governed and
construed according to German law without reference to any other substantive law.
Copyright
Transmittal, reproduction, dissemination and/or editing of this document as well as utilization of its
contents and communication thereof to others without express authorization are prohibited. Offenders
will be held liable for payment of damages. All rights created by patent grant or registration of a utility
model or design patent are reserved.
Table 8: AT&V responses on ASC0 or multiplex channel 1...................................................................45
Table 9: AT&V responses on multiplex channels 2 / 3...........................................................................46
Table 10: List of settings stored to user profile on ASC0 or multiplex channel 1...................................47
Table 11: List of settings stored to user profile on multiplex channel 2 and 3 .......................................48
Table 12: Service Classes supported by ME .........................................................................................54
Table 13: Summary of AT commands available in Alarm mode ............................................................73
Table 14: Wake-up events in NON-CYCLIC and CYCLIC SLEEP modes ............................................91
Table 15: Availability of AT commands on virtual channels .................................................................118
Table 16: Summary of AT commands with different behavior in Multiplex mode ...............................118
Table 17: Timing algorithm of incorrect password input.......................................................................135
Table 18: Operating modes of the ME indicated by status LED (if <mode> = 1):................................283
Table 19: Summary of URCs................................................................................................................290
Table 20: Summary of Fax Class 2 URCs defined by EIA PN-2388 ...................................................292
Table 21: GSM service codes ..............................................................................................................309
MC39i_ATC_V01.02 Page 8 of 314 11.11.2003
MC39i AT Command Set
Confidential / Released
s
mobile
1 Introduction
1.1 Scope of the document
This document presents the AT Command Set for the Siemens cellular engine
MC39i
MC39i features basic SIM Application Toolkit (SAT) functionality which enables SIM cards to run additional network based applications, such as value added services, online banking, information services
etc. To give you an idea, Chapter 7 provides a brief overview. In greater detail, the SAT functions and
the required AT commands are described in [4].
1.2 Related documents
[1] MC39i Hardware Interface Description, Version 01.02
[2] MC39i Release Notes, Release 01.02
[3] GPRS Startup User's Guide
[4] Remote-SAT User's Guide
[5] Multiplexer User's Guide
[6] Multiplex Driver Developer’s Guide for Windows 2000 and Windows XP
[7] Multiplex Driver Installation Guide for Windows 2000 and Windows XP
[8] DSB35 Support Box – Evaluation Kit for Siemens Cellular Engines
[9] Application Note 02: Audio Interface Design
[10] Application Note 14: Audio and Battery Parameter Download
[11] Application Note 16: Upgrading MC39i Firmware
[12] Application Note 24: Application Developer’s Guide
Prior to using MC39i or upgrading to a new firmware release, be sure to carefully read the latest product information provided in the Release Notes.
To visit the Siemens Website you can use the following link:
http://www.siemens.com/wm
MC39i_ATC_V01.02 Page 9 of 314 11.11.2003
MC39i AT Command Set
Confidential / Released
s
mobile
1.3 Conventions and abbreviations
Throughout the document, the GSM engines are referred to as ME (Mobile Equipment), MS (Mobile
Station), TA (Terminal Adapter), DCE (Data Communication Equipment) or facsimile DCE (FAX modem, FAX board).
To control your GSM engine you can simply send AT Commands via its serial interface. The controlling device at the other end of the serial line is referred to as TE (Terminal Equipment), DTE (Data
Terminal Equipment) or plainly “the application” (probably running on an embedded system).
All abbreviations and acronyms used throughout this document are based on the GSM specifications.
For definitions please refer to TR 100 350 V7.0.0 (1999-08), (GSM 01.04, version 7.0.0 release 1998).
1.4 AT command syntax
The "AT" or "at" prefix must be set at the beginning of each command line. To terminate a command
line enter <CR>.
Commands are usually followed by a response that includes “<CR><LF><response><CR><LF>”.
Throughout this document, only the responses are presented, <CR><LF> are omitted intentionally.
Table 1: Types of AT commands and responses
Test command AT+CXXX=? The mobile equipment returns the list of parameters and
value ranges set with the corresponding Write command
or by internal processes.
Read command AT+CXXX? This command returns the currently set value of the
parameter or parameters
Write command AT+CXXX=<...> This command sets user-definable parameter values.
Execution command AT+CXXX The execution command reads non-variable parameters
affected by internal processes in the GSM engine.
1.4.1 Using parameters
· Factory defaults are underlined or, if necessary, explicitly stated in the parameter description. A
factory value will be loaded on power-up if the parameter is not storable (for example if not stored
when AT^SMSO is executed, or not stored to the user profile specified with AT&W, or not stored to
the audio profile defined with AT^SNFW). To restore factory defaults use AT&F. A variety of audio
parameters can be reset to their factory defaults using AT^SNFD.
· Optional parameters are enclosed in square brackets, for example [0]. If optional parameters are
omitted, the bracketed value will be used by default. If a parameter is not enclosed in brackets and
no other behavior is stated, the current setting remains unchanged when the parameter is omitted.
· To ensure the correct sequence of optional and mandatory parameters, a comma must be kept for
each omitted parameter that is followed by further parameters. Example:
AT+CPBW=,<number>,<type>,<text> writes a phonebook entry to the first free memory location.
AT+CPBW=<location>,<number>,<type>,<text> writes a phonebook entry to the memory location
specified by <location>.
· When the parameter is a character string, e.g. <text> or <number>, the string must be enclosed in
quotation marks, e.g. "Charlie Brown" or "+49030xxxx". Symbols within quotation marks will be
recognized as strings.
· All spaces will be ignored when using strings without quotaton marks.
· It is possible to omit the leading zeros of strings which represent numbers.
MC39i_ATC_V01.02 Page 10 of 314 11.11.2003
MC39i AT Command Set
Confidential / Released
s
mobile
1.4.2 Combining AT commands on the same command line
You may enter several AT commands on the same line. This eliminates the need to type the "AT" or
"at" prefix before each command. Instead, it is only needed once at the beginning of the command
line. Use a semicolon as command delimiter.
The command line buffer accepts a maximum of 391 characters. If this number is exceeded none of
the commands will be executed and TA returns ERROR.
The table below lists the AT commands you cannot enter together with other commands on the same
line. Otherwise, the responses may not be in the expected order.
Table 2: Illegal combinations of AT commands
V.25ter commands With
GSM 7.07 commands With
GSM 7.05 commands (SMS) --- To be used standalone
Commands starting with AT& --- To be used standalone
AT+IPR --- To be used standalone
Note: When concatenating AT commands please keep in mind that the sequence of processing may
be different from the sequential order of command input. Therefore, if the consecutive order of
the issued commands is your concern, avoid concatenating commands on the same line.
1.4.3 Entering successive AT commands on separate lines
When you enter a series of AT commands on separate lines, leave a pause between the preceding
and the following command until the final response (for example OK, CME error, CMS error) appears.
This avoids sending too many AT commands at a time without waiting for a response for each.
1.4.4 Communication between customer application and MC39i
Leaving hardware flow control unconsidered, the customer application (TE) is coupled with the MC39i
(ME) via a receive and a transmit line.
Since both lines are driven by independent devices collisions may (and will) occur, for example, if the
TE issues an AT command at the same time when MC39i starts sending a URC. This will probably
cause the TE to misinterpret the URC as part of the response returned to the AT command.
To avoid this conflict the following measures must be taken:
· If an AT command is finished (with "OK" or "ERROR") the TE shall always wait at least 100 milliseconds before sending the next one. This gives MC39i the opportunity to transmit pending URCs
and get necessary service.
Some AT commands may require more delay after an "OK" or "ERROR" response, refer to the following command specifications for details.
· The TE shall communicate with MC39i using activated echo (ATE1), i.e. MC39i echoes characters
received from the TE.
Hence, when the TE receives the echo of the first character "A" of the AT command just sent by itself it has control both over the receive and the transmit paths. This way, no URC can be issued by
MC39i in between.
MC39i_ATC_V01.02 Page 11 of 314 11.11.2003
MC39i AT Command Set
Confidential / Released
s
mobile
1.4.5 Unsolicited Result Codes (URCs)
An Unsolicited Result Code (URC) is a report message issued by the ME without being requested by
the TE, i.e. a URC is delivered automatically when a certain event occurs. Hence, a URC is not issued
as part of the response to an executed AT command.
Typical events leading to URCs are incoming calls (“RING”), received short messages, changing temperature, status of the battery etc. A summary of URCs is listed in Table 19 and Table 20.
To announce a pending URC transmission the ME will do the following:
· The ME activates its Ring line (logic "1") for one second, i.e. the line changes to physical "Low"
level. This allows the TE to enter power saving mode until ME related events request service.
· If the AT command interface is busy a "BREAK" will be sent immediately but the URC will not be
issued until the line is free. This may happen if the URC is pending
- while an AT command is being processed, i.e. during the time from sending the first character
"A" of an AT command by the TE until the ME has responded with "OK" or "ERROR", or
- during a data call.
Please note that AT command settings may be necessary to enable in-band signaling. For exam-
ple, refer to AT+CMER or AT+CNMI.
It is strongly recommended to use the multiplex mode to map logical communication channels onto the
serial line of MC39i. For details refer to [5] and the AT command AT+CMUX. Doing so it is possible to
use one channel to still process URCs while having a data call active on another.
For most of these messages, the ME needs to be configured whether or not to send an unsolicited result code. Depending on the AT command, the URC presentation mode can be saved to the user defined profile (see AT&W in Chapter 2.38), or needs to be activated every time you reboot the ME.
Several URCs are not user definable, such as “^SYSSTART”, “^SYSSTART ALARM MODE”,
“^SYSSTART, “^SHUTDOWN” and the Fax Class 2 URCs listed in Table 20.
If autobauding is enabled (as factory default mode or set with AT+IPR=0) URCs generated after restart will be output at 57600 bps until the ME has detected the current bit rate. The URCs
“^SYSSTART” and “^SYSSTART ALARM MODE”, however, are not presented at all. For details
please refer to Chapter 2.45.1. To avoid problems we recommend to configure a fixed bit rate rather
than using autobauding.
MC39i_ATC_V01.02 Page 12 of 314 11.11.2003
MC39i AT Command Set
Confidential / Released
s
mobile
1.5 Supported character sets
The ME supports two character sets: GSM 03.38 (7 bit, also referred to as SMS alphabet) and UCS2
(16 bit, refer to ISO/IEC 10646). See Chapter 4.44 for information about selecting the character set.
Character tables are provided in Chapter 9.5.
Table 3: Explanation of terms
Term GSM character hex. value
Data Coding Scheme The Data Coding Scheme (dcs) is part of a short message and is saved on
the SIM. When writing a short message to the SIM in text mode, the dcs
stored with AT+CSMP is used.
Escape sequences The escape sequence used within a text coded in GSM default alphabet
(0x1B) must be correctly interpreted by the TE, both for character input
and output. To the module, an escape sequence appears like any other
byte received or sent.
IRA IRA means that one byte is displayed as two characters in hexadecimal
format. For example,. the byte 0x36 (decimal 54) is displayed as "36" (two
chars).
TE
TE character set The currently used TE character set is selected with AT+CSCS.
Due to the constraints described below it is recommended to prefer the USC2 alphabet in any external
application.
If the GSM alphabet is selected all characters sent over the serial line are in the range from 0 ... 127.
CAUTION: GSM alphabet is not ASCII alphabet!
Several problems resulting from the use of the GSM alphabet:
1. "@" character with GSM alphabet value 0 is not printable by an ASCII terminal program (e.g. Mi-
crosoft
2. "@" character with GSM alphabet value of binary 0 will terminate any C string!
This is because the \0 is defined as C string end tag. Therefore, the GSM Null character may
cause problems on application level when using a ´C´-function as „strlen()“. This can be avoided if
it is represented by an escape sequence as shown in Table 4.
By the way, this may be the reason why even network providers often replace "@"with “@=*” in
their SIM application.
3. Other characters of the GSM alphabet are misinterpreted by an ASCII terminal program. For ex-
ample, GSM "ö" (as in "Börse") is assumed to be "|" in ASCII, thus resulting in "B|rse". This is because both alphabets mean different characters with values hex. 7C or 00 and so on.
4. In addition, decimal 17 and 19 which are used as XON/XOFF control characters when software
flow control is activated, are interpreted as normal characters in the GSM alphabet.
When you write characters differently coded in ASCII and GSM (e.g. Ä, Ö, Ü), you need to enter escape sequences. Such a character is translated into the corresponding GSM character value and,
when output later, the GSM character value can be presented. Any ASCII terminal then will show
wrong responses.
TE is the terminal equipment that uses the GSM default alphabet as its
character set. MS Hyperterminal (often used with the module) is an ANSI /
ASCII terminal that does not support the GSM default alphabet.
Table 4: Character definitions depending on alphabet (examples)
CAUTION: Often, the editors of terminal programs do not recognize escape sequences. In this case,
an escape sequence will be handled as normal characters. The most common workaround to this
problem is to write a script which includes a decimal code instead of an escape sequence. This way
you can write, for example, short messages which may contain differently coded characters.
s
mobile
1.5.1 UCS2 and GSM data coding and conversion in SMS text mode and Re-
mote-SAT
This chapter provides basic information on how to handle input and output character conversion for
SMS text mode and Remote-SAT if internal (ME) and external (TE) character representation differ, i.e.
if the Data Coding Scheme and the TE character set use different coding.
1.5.1.1 Implementing output of SIM data to the TE
Table 5: Direction ME to TE (output of SIM data to the TE)
dcs
CSCS
GSM Case 1
UCS2 Case 4
Case 1
Every byte will be sent as GSM-character (or ASCII if Hyperterminal is used).
Example: 0x41,0x21 → ”AB” (because of conversion from 7-bit to 8-bit)
Case 2
Every byte will be sent as IRA. No conversion.
Example: 0x41,0x42 → ”4142”
Case 3
Every byte will be sent as IRA. No conversion to GSM to avoid data loss.
Example: 0x00,0x41 → ”0041”
Problems:
· 0x41,0x42 → ”4142” (invalid GSM character, but ignored with respect to GSM 07.05)
· 0x41 → Error (there are two bytes needed)
Case 4
Every byte will be converted from GSM to UCS2.
Example: 0x41,0x42 → ”00410042”
Case 5
Every Byte will be converted from GSM to UCS2.
Example: 0x41,0x42 → ”00410042”
Case 6
Example: 0x41,0x42 → ”4142”
Problems: 0x41 → Error (there are two bytes needed)
7 bit
(GSM default)
GSM (1:1)
GSM to UCS2 (1:2)
8 bit 16 bit
(UCS2)
Case 2
IRA (1:1)
Case 5
GSM to UCS2 (1:2)
Case 3
IRA (2:2)
Case 6
IRA (2:2)
MC39i_ATC_V01.02 Page 14 of 314 11.11.2003
MC39i AT Command Set
Confidential / Released
s
mobile
1.5.1.2 Implementing input of TE data to SIM
Table 6: Direction TE to ME (input of Terminal data to SIM)
CSCS
DCS
7 bit
(GSM default)
8 bit Case 2
16 bit
(UCS2)
Case 1
Data will be packed to 7 bit.
Maximum text length: 160 characters
Example: ”AB” → 0x41,0x21
Case 2
Data will be saved without any conversion.
Maximum text length: 280 characters
Example: ”4142” → 0x41,0x42
Problems: ”8f” → Error (invalid GSM character)
Case 3
Two bytes are needed. No conversion.
Maximum text length: 280 characters
Example: ”0041” → 0x00,0x41
Problems: ”41” → Error (there are two bytes needed)
Case 4
Two bytes are needed. Two bytes will be convert to 1 Bye GSM and 7-bit packed.
Maximum text length: 640 characters
Example: ”00410042” → 0x41,0x21
Problems:
· ”41” → Error (there are two bytes needed)
· ”4142” → Error (invalid character)
· ”0000” → Error (not an ucs2 character)
· ”007B” → 0x1B,0x28 (the saved data are two bytes long, not 1 byte like in all other cases. This ef-
fects the maximum input length of a string).
Case 5
Two bytes are needed. Two bytes will be converted to 1 Byte GSM.
Maximum text length: 560 characters
Example: ”00410042” → 0x41,0x42
Problems:
· ”41” → Error (there are two bytes needed)
· ”4142” → Error (invalid character)
· ”0000” → Error (not a UCS2 character)
· ”007B” → 0x1B,0x28 (the saved data are two bytes long, not 1 byte like in all other cases. This ef-
fects the maximum input length of a string)
GSM UCS2
Case 1
GSM (1:1)
GSM to UCS2 (1:2)
Case 3
IRA (2:2)
Case 4
GSM to UCS2 (2:1)
Case 5
GSM to UCS2 (2:1)
Case 6
IRA (2:2)
MC39i_ATC_V01.02 Page 15 of 314 11.11.2003
MC39i AT Command Set
Confidential / Released
Case 6
Two bytes are needed.
Maximum text length: 280 characters
Example: ”00410042” → 0x00,0x41,0x00,0x21
Problems:
· ”41” → Error (there are two bytes needed)
· ”0000” → Error (not an ucs2 character)
· ”007B” → 0x00,0x7B
s
mobile
MC39i_ATC_V01.02 Page 16 of 314 11.11.2003
MC39i AT Command Set
Confidential / Released
s
mobile
1.6 Flow control
Flow control is essential to prevent loss of data or avoid errors when, in a data or fax call, the sending
device is transferring data faster than the receiving side is ready to accept. When the receiving buffer
reaches its capacity, the receiving device should be capable to cause the sending device to pause until it catches up.
There are basically two approaches to regulate data flow: software flow control and hardware flow
control. The High Watermark of the input / output buffer should be set to approximately 60% of the total buffer size. The Low Watermark is recommended to be about 30%. The data flow should be
stopped when the capacity rises close to the High Watermark and resumed when it drops below the
Low Watermark. The time required to cause stop and go results in a hysteresis between the High and
Low Watermarks.
In Multiplex mode, it is recommended to use hardware flow control. For details please refer to [5].
1.6.1 Software flow control (XON/OFF flow control)
Software flow control sends different characters to stop (XOFF, decimal 19) and resume (XON, decimal 17) data flow. The only advantage of software flow control is that three wires would be sufficient
on the serial interface.
1.6.2 Hardware flow control (RTS/CTS flow control)
Hardware flow control sets or resets the RTS/CTS wires. This approach is faster and more reliable,
and therefore, the better choice. When the High Watermark is reached, CTS is set inactive until the
transfer from the buffer has completed. When the Low Watermark is passed, CTS goes active once
again.
To achieve smooth data flow, ensure that the RTS/CTS lines are present on your application platform.
The application should include options to enable RTS/CTS handshake with the GSM engine. This
needs to be done with the AT command AT\Q3 - it is not sufficient to set RTS/CTS handshake in the
used Terminal program only. For details refer to Chapter 2.3.
The default setting of the GSM engine is AT\Q0 (no flow control) which must be altered to AT\Q3
(RTS/CTS hardware handshake on). The setting is stored volatile. For use after restart, AT\Qn should
be stored to the user profile with AT&W.
AT\Q has no read command. To verify the current setting of AT\Q, simply check the settings of the active profile with AT&V.
Often, fax programs run an intialization procedure when started up. The intialization commonly includes enabling RTS/CTS hardware handshake, eliminating the need to set AT\Q3 once again. However, before setting up a CSD call, you are advised to check that RTS/CTS handshake is set.
Note: After deactivating the RTS line, the ME may still send up to 264 bytes (worst case). This can
be easily managed if the buffer of the host application is sufficiently sized, and if a hysteresis
is implemented in its Rx buffer as mentioned in Chapter 1.6. For host applications that are required to handle a large amount of data at high speed, a total buffer capacity of at least 512
bytes is recommended.
MC39i_ATC_V01.02 Page 17 of 314 11.11.2003
MC39i AT Command Set
Confidential / Released
s
mobile
2 Standard V.25ter AT Commands
These AT Commands are related to ITU-T (International Telecommunication Union, Telecommunication sector) V.25ter document.
MC39i supports the registers S0-S29. You can change S0,S3,S4,S5,S6,S7,S8,S10,S18 by using the
appropriate ATSn commands. All the other registers are read-only and for internal usage only!
2.1 A/ Repeat previous command line
Execute command
Response
A/
Reference
V.25ter
Repeats previous command line. Line does not need to end with terminating
character.
Parameter
Note
· After beginning with the character “a“ or „A“, a second character “t“ ,”T“ or “/“
has to follow. In case of using a wrong second character, it is necessary to
start again with character “a“ or “A“.
· If autobauding is active (see Chapter 2.45) A/ (and a/) cannot be used.
2.2 +++ Switch from data mode or PPP online mode to command mode
Execute command
+++
Reference
V.25ter
Response
This command is only available during a CSD call or a GPRS connection. The+++ character sequence causes the TA to cancel the data flow over the AT interface and switch to command mode. This allows you to enter AT commands while
maintaining the data connection to the remote device or, accordingly, the GPRS
connection.
OK
To prevent the +++ escape sequence from being misinterpreted as data, it must
be preceded and followed by a pause of at least 1000 ms. The +++ characters
must be entered in quick succession, all within 1000 ms.
Note:
· To return from command mode to data or PPP online mode: Enter ATO as described in Chapter 2.17.
MC39i_ATC_V01.02 Page 18 of 314 11.11.2003
MC39i AT Command Set
Confidential / Released
2.3 AT\Qn Flow control
Execute command
AT\Q<n>
Reference
Response
OK
If RTS/CTS flow control is not supported by interface and <n> is 2 or 3
ERROR
Parameter
<n> 0 AT\Q0 No flow control 1 AT\Q1 XON/XOFF software flow control
2 AT\Q2 Only CTS by DCE
3 AT\Q3 RTS/CTS hardware flow control
Note
· Factory default is 0 (no flow control).
· The setting of AT\Qn is stored volatile. For use after restart it should be stored
to the user defined profile (AT&W).
· For compatibility reasons, the AT\Qn command can be used in Multiplex mode,
though the settings will not take effect. However, be aware that whenever you
use the AT\Qn write command in Multiplex mode and then save the current
configuration to the user profile with AT&W, the changed AT\Qn setting will become active after restart.
· See also Chapter 1.6 for general information on flow control.
s
mobile
Recommended for the following procedures: incoming or outgoing data calls, fax calls, GPRS
connections, MUX mode.
Often, the initialization routine of Fax programs includes enabling RTS/CTS handshake, eliminating
the need to issue AT\Q3 once again.
MC39i_ATC_V01.02 Page 19 of 314 11.11.2003
MC39i AT Command Set
Confidential / Released
2.4 ATA Answer a call
Execute command
ATA
Reference
V.25ter
TA causes remote station to go off-hook (e.g. answer call). Any additional commands on the same command line are ignored.
This command may be aborted generally by receiving a character during execution. It can´t be aborted in some connection setup states, such as handshaking.
Response
Response in case of data call, if successfully connected:
CONNECT<text> TA switches to data mode.
Response in case of voice call, if successfully connected:
OK
When TA returns to command mode:
OK
Response if no connection:
NO CARRIER
Parameter
<text> Connection status (string)
<text> output only if +ATX parameter setting with value > 0.
Note
· See also AT+ATX in Chapter 2.31 and and result codes in Chapter 9.1.5 for
<text>
· If AT+FCLASS setting is 1 or 2, all incoming calls will be answered as fax calls,
when ATA is issued on multiplexer channel 1 resp. ASC0. For calls explicitly
signaled as voice or data calls, this procedure will fail with result code “NO
CARRIER”, but the incoming call will continue to ring. It is possible to change
the AT+FCLASS setting to 0 while the call is ringing and to accept the call afterwards with ATA. See Chapter 3.5 for AT+FCLASS.
s
mobile
MC39i_ATC_V01.02 Page 20 of 314 11.11.2003
MC39i AT Command Set
Confidential / Released
2.5 ATD Mobile originated call to dial a number
Execute command
ATD[<n>]
[<mgsm][;]
Reference
V.25ter
GSM 07.07
GSM 02.07
Annex A
This command can be used to set up outgoing voice, data or fax calls. It also
serves to control supplementary services.
The command may be aborted generally when receiving an ATH command during
execution. Abortion is not possible during some states of connection setup such as
handshaking.
Response
If no dialtone (parameter setting ATX2 or ATX4):
NO DIALTONE
If busy (parameter setting ATX3 or ATX4):
BUSY
If a connection cannot be set up:
NO CARRIER
If successfully connected and non-voice call:
CONNECT<text> TA switches to data state.
Note: <text> output only if ATX parameter setting with value > 0.
When TA returns to command mode:
OK
If successfully connected and voice call:
OK
Parameter
<n> String of dialing digits and optionally V.25ter modifiers (dialing digits): 0-
9, * , #, +, A, B, C
V.25ter modifiers: these are ignored: ,(comma), T, P, !, W, @
Emergency call:
<n> = Standardized emergency number 112 (no SIM needed)
<mgsm> String of GSM modifiers: I Activates CLIR (disables presentation of own phone number to
called party)
i Deactivates CLIR (enables presentation of own phone number
to called party)
G Activates Closed User Group invocation for this call only. g Deactivates Closed User Group invocation for this call only.
<;>Only required to set up voice calls. TA remains in command mode.
General remarks
· Before setting up a data call, check that RTS/CTS handshake is enabled. See
Chapters 1.6 and 2.3.
· Parameter ”l“ and ”i“ only if no *# code is within the dial string.
· <mgsm> is not supported for data calls.
· <n> is default for last number that can be dialed by ATDL.
· *# codes sent with ATD are treated as voice calls. Therefore, the command
must be terminated with a semicolon “;”.
· If ATD is used with a USSD command (e.g. ATD*100#;) an AT+CUSD=1 is
executed implicitly (see AT+CUSD, pg. 155).
s
mobile
MC39i_ATC_V01.02 Page 21 of 314 11.11.2003
MC39i AT Command Set
Confidential / Released
· Parameter ‘G’ or ‘g’ will be ignored if Closed User Group was already activated,
or accordingly, deactivated with AT+CCUG command. Call by call invocation of
CUG uses the settings provisioned by the provider or, if available, the settings
of the parameters <index> and <info> made with AT+CCUG. See also Chapter
4.8.
· See ATX command in Chapter 2.31 for setting result code and call monitoring
parameters. Refer to Chapter 9.1.5 for <text>.
Blacklist management:
· The ME provides a blacklist function according to GSM02.07 Annex A. After a
predefined number of failed call attempts to the same number, the dialed number is entered into a read-only phonebook called “blacklist” (phonebook “BL”).
Call attempts to numbers contained in the blacklist will be barred by the ME and
not signaled to the network. An attempt to start a voice call to a barred phone
number will be stopped with CME ERROR 257 “Call barred”. An attempt to start
a data or fax call to a barred phone number will be answered immediately with
the result code “NO CARRIER”.
· GSM02.07 Annex A states a variety of conditions under which a number can be
removed from the blacklist. As far as timing conditions are concerned, the ME
deletes numbers from the blacklist if a timer condition specified in GSM02.07
Annex A is met. But the most important condition is that the blacklist should be
cleared if a user interaction is detected (key pressed). Since the module cannot
detect such user interaction, it is up to the application to clear the blacklist in
this case, using the AT^SPBD command. See Chapter 8.35.
Different call release indications
· Upon termination, an outgoing fax or data call may show a different result code
than a voice call would deliver under identical conditions. In order to track down
the actual reason for call release, ATS18 (see Chapter 2.28) or AT+CEER (see
Chapter 4.10) should be used.
Different response modes
· For voice calls two different response modes can be determined: TA returns
“OK” either after dialing was completed or after the call has been established.
The setting is made with AT^SM20 (see Chapter 8.17 for more details).
Factory default is AT^SM20=1. This causes the ME to return “OK” in case of
successful connection, otherwise one of the call release indications “NO CARRIER”, “NO DIAL TONE”, “NO CARRIER” will follow.
· Data calls: In data connections, call setup always terminates when the call has
been established (indicated by result code “CONNECT<text>”) or when it fails
(indicated by “NO CARRIER”).
Using ATD during an active voice call:
· When a user originates a second voice call while there is already an active
voice call, the first call will be automatically put on hold.
· The second call attempt is acknowledged with “OK” immediately after dialing
with ATD has completed, without relation to a successful call setup. In case of
failure, the additional result codes “NO CARRIER”, “NO DIAL TONE”, “NO
CARRIER” will be presented afterwards (see example below).
This behavior is similar to the mode set with AT^SM20=0, but occurs also if
AT^SM20=1 and cannot be changed. To avoid different behavior in all procedures of voice call setup simply give priority to AT^SM20=0 (“OK” appears always immediately after dialing).
· The current states of all calls can be easily checked at any time by using the
AT+CLCC command. For details refer to Chapter 4.20.
s
mobile
MC39i_ATC_V01.02 Page 22 of 314 11.11.2003
MC39i AT Command Set
Confidential / Released
Example
The following example shows the call setup procedure when a call is already active and a second call attempt fails because the line of the called party is busy:
atd0301234567; Dialing out the first party’s number.
OK The first call is established.
atd0302222222; The number of the second party is dialed.
OK The response “OK” is issued immediately though no call
BUSY Line of second called party is busy.
s
mobile
is established (same behavior as if you had chosen
AT^SM20=0).
MC39i_ATC_V01.02 Page 23 of 314 11.11.2003
MC39i AT Command Set
Confidential / Released
s
mobile
2.6 ATD><mem><n> Originate call to phone number <n> in memory <mem>
This command allows you to dial a phone number from a specific phonebook. To initiate a call, enter
a two letter abbreviation for the phonebook <mem>, followed by the memory location <n> of the desired entry. The location range of each phonebook can be queried with AT+CPBR (see Chapter
4.32).
Execute command
ATD><mem>
<n>[<mgsm>];
Parameter
TA attempts to set up an outgoing call to the specified number.
This command may be aborted generally by receiving a character during execu-
tion. Abortion is not possible during some states of connection setup such as
handshaking.
Response
If error is related to ME functionality:
+CME ERROR: <err>
If no dialtone (parameter setting ATX2 or ATX4):
NO DIALTONE
If busy (parameter setting ATX3 or ATX4):
BUSY
If connection cannot be set up:
NO CARRIER
If successfully connected:
OK
<mem> phonebook:
"SM” SIM phonebook (storage depending on SIM card)
”FD” SIM fixdialing phonebook (storage depending on SIM card)
”LD” Last-dialing-phonebook (list of up to 10 most recently dialed
numbers. Depending on the SIM card, the storage is located
either on the SIM card only or shared by SIM and ME).
”MC” ME missed (unanswered received) calls list (up to 10 numbers)
”RC” Received calls list (up to 10 numbers stored in ME)
”ME” ME phonebook (up to 250 numbers)
”ON” Own numbers (MSISDNs) list. Storage depending on SIM
card.
Notes:
Refer to Chapter 4.33 for more information regarding the capacity of
each phonebook and types of storage (ME / SIM card).
<n> Integer type memory location in the range of locations available in
the selected memory, i.e. the index number returned by AT+CPBR.
<mgsm>I Activates CLIR (disables presentation of own phone number to
called party)
i Deactivates CLIR (enables presentation of own phone number
to called party)
<;>The semicolon is mandatory since dialing from a phonebook is only
supported for voice calls.
MC39i_ATC_V01.02 Page 24 of 314 11.11.2003
MC39i AT Command Set
Confidential / Released
Reference
V.25ter/GSM
07.07
Example
Note
· There is no <mem> for emergency call (“EN”).
· The command is not applicable to data calls. Any attempt to dial a data call
number from <mem> causes the result code “NO CARRIER” to appear.
· Parameter <mgsm> only if no *# code is within the dial string.
· *# codes sent with ATD are treated as voice calls. Therefore, the command
must be terminated with a semicolon “;”.
· See ATX command in Chapter 2.31 for setting result code and call monitoring
parameters.
To query the location number of the phonebook entry:
AT+CPBR=1,xx
TA returns the entries available in the active phonebook.
To dial a number from the SIM phonebook, for example the number stored to location 15:
ATD>SM15;
OK
To dial a phone number stored in the last dial memory on the SIM card:
ATD>LD9;
OK
s
mobile
MC39i_ATC_V01.02 Page 25 of 314 11.11.2003
MC39i AT Command Set
Confidential / Released
s
mobile
2.7 ATD><n> Originate call to phone number selected from active memory
This command can be used to dial a phone number selected from the active memory. The active
memory is the phonebook selected with AT+CPBS (see Chapter 4.33). To set up a call simply enter
the memory location of the desired entry. The memory location range of each phonebook can be
queried by AT+CPBR (see Chapter 4.32).
Execute command
ATD><n>[<mgsm>];
Reference
V.25ter/GSM 07.07
TA attempts to set up an outgoing call to the stored number.
The command may be aborted generally by receiving a character during
execution. Abortion is not possible during some states of connection setup
such as handshaking.
Response
If error is related to ME functionality:
+CME ERROR: <err>
If no dialtone (parameter setting ATX2 or ATX4):
NO DIALTONE
If busy (parameter setting ATX3 or ATX4):
BUSY
If a connection cannot be set up:
NO CARRIER
If successfully connected:
OK
Parameter
<n>integer type memory location should be in the range of locations
available in the memory used, i.e. the index number returned by
AT+CPBR.
<mgsm> I Activates CLIR (disables presentation of own phone number to
called party)
i Deactivates CLIR (enables presentation of own phone number
to called party)
<;>The semicolon is mandatory since dialing from a phonebook is
only supported for voice calls.
Note
· Parameter <mgsm> only if no *# code is within the dial string.
· The command is not applicable to data calls. Any attempt to dial a data
call number from <mem> causes the result code “NO CARRIER” to appear.
· *# codes sent with ATD are treated as voice calls. Therefore, the command must be terminated with a semicolon “;”.
· See ATX command in Chapter 2.31 for setting result code and call monitoring parameters.
MC39i_ATC_V01.02 Page 26 of 314 11.11.2003
MC39i AT Command Set
Confidential / Released
s
mobile
2.8 ATD><str> Originate call to phone number in memory with corresponding field
This command searches the active phonebook for a given string <str> and dials the assigned phone
number. The active phonebook is the one set with AT+CPBS.
Execute command
ATD><str>[mgsm];
Reference
V.25ter/GSM 07.07
TA attempts to set up an outgoing call to stored number.
This command may be aborted generally by receiving a character during exe-
cution. Abortion is not possible during some states of connection setup such
as handshaking.
Response
If error is related to ME functionality:
+CME ERROR: <err>
If no dialtone (parameter setting ATX2 or ATX4):
NO DIALTONE
If busy (parameter setting ATX3 or ATX4):
BUSY
If a connection cannot be set up:
NO CARRIER
If successfully connected:
OK
Parameter
<str>string type value (“x”), which should equal an alphanumeric field in
at least one phonebook entry in the searched memories; used character set should be the one selected with AT+CSCS. <str> can contain escape sequences as described in Chapter 1.5.
<str> must be enclosed in quotation marks (""), if escape sequences
or parameter <mgsm> are used or if the alphanumeric strings contains a blank. If not, quotation marks are optional.
<mgsm> I Activates CLIR (disables presentation of own phone number to
called party)
i Deactivates CLIR (enables presentation of own phone number to
called party)
<;>The semicolon is mandatory since dialing from a phonebook is only
supported for voice calls.
Note
· The command is not applicable to data calls. Any attempt to dial a data call
number from <mem> causes the result code “NO CARRIER” to appear.
· See ATX command in Chapter 2.31 for setting result code and call monitoring parameters. Refer to Chapter 9.1.5 for <text>.
MC39i_ATC_V01.02 Page 27 of 314 11.11.2003
MC39i AT Command Set
Confidential / Released
s
2.9 ATDI Mobile originated call to dialable ISDN number <n>
Execute command
ATDI<n>[;]
Parameter
Reference
V.25ter
TA attempts to set up an outgoing call to ISDN number.
This command may be aborted generally by receiving a character during execution. Abortion is not possible during some states of connection setup such as
handshaking.
Response
If no dialtone (parameter setting ATX2 or ATX4):
NO DIALTONE
If busy (parameter setting ATX3 or ATX4):
BUSY
If a connection cannot be set up:
NO CARRIER
If successful connected and non-voice call:
CONNECT<text> TA switches to data state.
Note: <text> output only if +ATX parameter setting with value > 0.
When TA returns to command mode:
OK
If successfully connected and voice call:
OK
<n> [+]<d> phone number
string with maximum length of 20 characters
+ international dialing format
<d> ISDN number
string of digits: +,0-9, A, B, C
<;> voice call
Note
See ATX command in Chapter 2.31 for setting result code and call monitoring parameters. Refer to Chapter 9.1.5 for <text>.
mobile
MC39i_ATC_V01.02 Page 28 of 314 11.11.2003
MC39i AT Command Set
Confidential / Released
2.10 ATDL Redial last telephone number used
Execute command
ATDL[;]
Reference
V.25ter
This command redials the last telephone number dialed.
· To redial the last data call number simply enter ATDL
· To redial the last voice call number type ATDL;
The command may be aborted generally by receiving a character during execution. Abortion is not possible during some states of connection setup such as
handshaking.
Response
If there is no last number or number is not valid:
+CME ERROR
If no dialtone (parameter setting ATX2 or ATX4):
NO DIALTONE
If busy (parameter setting ATX3 or ATX4):
BUSY
If a connection cannot be set up:
NO CARRIER
If successfully connected and non-voice call:
CONNECT<text> TA switches to data state.
Note: <text> output only if +ATX parameter setting with value > 0.
When TA returns to command mode:
OK
If successfully connected and voice call:
OK
Parameter
<;> voice call
Note
· See ATX command in Chapter 2.31 for setting result code and call monitoring
parameters. Refer to Chapter 9.1.5 for <text>.
· If terminated with semicolon, ATDL dials the last voice call number stored in
the “LD”phonebook. Otherwise, the last dialed data or fax number will be used
which is not stored in the “LD”phonebook. See Chapter 4.33.
s
mobile
MC39i_ATC_V01.02 Page 29 of 314 11.11.2003
MC39i AT Command Set
Confidential / Released
2.11 ATE Enable command echo
Write command
ATE[<value>]
Reference
V.25ter
This setting determines whether or not the TA echoes characters received from
TE during command state.
Response
OK
Parameter
<value> 0 Echo mode off
1 Echo mode on
Note
In case of using the command without parameter, <value> is set to 0.
2.12 ATH Disconnect existing connection
Execute command
ATH[n]
Reference
V.25ter
Disconnects any call in progress, such as voice, fax or CSD calls. See notes below for GPRS and multiplex mode.
Response
OK
Note:
OK is issued after circuit 109 (DCD) is turned off, if it was previously on.
Parameter
<n> [0] terminate call
Note
Using ATH in Multiplex mode:
· ATH terminates every voice, fax or CSD call, no matter on which logical channel ATH was executed. For more details see [2].
For example, if ATH is executed on channel 2 or 3, a voice call on channel 1
will be disconnected, too.
This behavior is in accordance with ITU-T V.25 ter; (07/97, see “6.3.6 Hook
control“: "ATH is terminating any call in progress").
Using ATH while GPRS is active during Multiplex mode:
· ATH clears an active PDP context or terminates an existing PPP connection,
but only if issued on the same logical channel where GPRS is used. It does not
affect PDP contexts and PPP connections on other interfaces or logical channels.
· See also Chapter 6.3.3, ATH Manual rejection of a network request for PDP
context activation.
s
mobile
MC39i_ATC_V01.02 Page 30 of 314 11.11.2003
Loading...
+ 284 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.