Electronic user's guide released subject to "Nokia User's Guides Terms and Conditions, 7th June, 1998"
List of AT Commands for Nokia 22
Nokia 22
List of AT Commands
9356900 issue 1
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
3
List of AT Commands for Nokia 22
TABLE OF CONTENTS
Click on the page number to go to the page.
Table of Contents................................................................................................................................ 3
1
2
3
Introduction ................................................................................................................................. 8
Data connections......................................................................................................................... 9
AT command syntax.................................................................................................................. 10
3.1
Register commands ............................................................................................................ 10
3.1.1 Basic commands ............................................................................................................. 10
3.1.2 Extended commands....................................................................................................... 10
TE-TA interface commands....................................................................................................... 12
4
4.1
V.25ter ................................................................................................................................ 12
4.1.1 S3 Command line termination character.......................................................................... 12
4.1.2 S4 Response formatting character................................................................................... 12
4.1.3 S5 Command line editing character................................................................................. 12
4.1.4 E Command echo............................................................................................................ 13
4.1.5 Q Result code suppression.............................................................................................. 13
4.1.6 V DCE response format................................................................................................... 13
4.1.7 X Result code selection and call progress monitoring control .......................................... 13
4.1.8 &C Circuit 109 (received line signal detector) behaviour.................................................. 14
4.1.9 &D Circuit 108 (data terminal ready) behaviour ............................................................... 14
4.1.10 +IPR Fixed DTE rate.................................................................................................... 14
4.1.11 +ICF DTE-DCE character framing................................................................................ 15
4.1.12 +IFC DTE-DCE local flow control................................................................................. 15
4.1.13 +ILRR DTE-DCE local rate reporting............................................................................ 16
4.1.14 +ES Error control selection .......................................................................................... 16
4.1.15 +EB Break handling in error control operation.............................................................. 16
4.1.16 +EFCS 32-bit frame check sequence........................................................................... 16
4.1.17 +ER Error control reporting .......................................................................................... 17
4.1.18 +ETBM Call termination buffer manage ....................................................................... 17
4.2
De facto .............................................................................................................................. 17
4.2.1 S25 Detect DTR change time .......................................................................................... 17
4.2.2 &S DSR signal behaviour ................................................................................................ 17
4.2.3 &K Select flow control...................................................................................................... 17
Generic commands ................................................................................................................... 18
5
5.1
V.25ter ................................................................................................................................ 18
5.1.1 Z Reset to default configuration....................................................................................... 18
5.1.2 &F Set to factory-defined configuration............................................................................ 18
5.1.3 I Request identification information.................................................................................. 18
5.1.4 +GMI Request TA manufacturer identification ................................................................. 18
5.1.5 +GMM Request TA model identification........................................................................... 18
5.1.6 +GMR Request TA revision identification ........................................................................ 19
5.1.7 +GSN Request TA serial number identification................................................................ 19
5.1.8 +GCAP Request complete capabilities list....................................................................... 19
5.2
De facto .............................................................................................................................. 19
5.2.1 &V View configuration...................................................................................................... 19
5.2.1.1
5.2.1.2
&W Store configuration............................................................................................. 19
&Y Select power-up configuration............................................................................. 19
5.3
GSM 07.07.......................................................................................................................... 20
5.3.1 +CGMI Request ME manufacturer identification.............................................................. 20
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
4
List of AT Commands for Nokia 22
5.3.2 +CGMM Request ME model identification ....................................................................... 20
5.3.3 +CGMR Request ME revision identification..................................................................... 20
5.3.4 +CGSN Request ME serial number identification ............................................................ 20
5.3.5 +CSCS Select TE character set....................................................................................... 20
5.3.6 +WS46 Select wireless network....................................................................................... 21
Call control commands.............................................................................................................. 22
6
6.1
V.25ter ................................................................................................................................ 22
6.1.1 D Dial .............................................................................................................................. 22
6.1.2 T Select tone dialling ....................................................................................................... 23
6.1.3 P Select pulse dialling...................................................................................................... 23
6.1.4 A Answer response ......................................................................................................... 24
6.1.5 H Hook control................................................................................................................. 24
6.1.6 O Return to online data state........................................................................................... 25
6.1.7 S0 Automatic answer....................................................................................................... 25
6.1.8 S6 Pause before blind dialling ......................................................................................... 25
6.1.9 S7 Connection completion time-out ................................................................................. 25
6.1.10 S8 Comma dial modifier time ....................................................................................... 26
6.1.11 S10 Automatic disconnect delay .................................................................................. 26
6.1.12 L Monitor speaker loudness ......................................................................................... 26
6.1.13 M Monitor speaker mode ............................................................................................. 26
6.1.14 +DS Data compression ................................................................................................ 26
6.1.15 +DR Data compression reporting................................................................................. 27
6.2
De facto .............................................................................................................................. 27
6.2.1 B CCITT/Bell mode.......................................................................................................... 27
6.2.2 S1 Ring count.................................................................................................................. 28
6.2.3 S2 Escape code character............................................................................................... 28
6.2.4 S12 Escape guard time ................................................................................................... 28
6.2.5 +++ Escape..................................................................................................................... 28
6.3
GSM 07.07.......................................................................................................................... 28
6.3.1 +CSTA Select type of address......................................................................................... 28
6.3.2 +CMOD Call mode .......................................................................................................... 29
6.3.3 +CHUP Hang-up call ....................................................................................................... 29
6.3.4 Mute control +CMUT ....................................................................................................... 30
6.3.5 Loudspeaker volume level +CLVL ................................................................................... 30
6.3.6 +CBST Select bearer service type................................................................................... 30
6.3.7 +CRLP Radio link protocol............................................................................................... 32
6.3.8 +CR Service reporting control.......................................................................................... 32
6.3.9 +CEER Extended error report.......................................................................................... 33
6.3.10 +CRC Cellular result codes.......................................................................................... 33
6.3.11 +CHSR Current call parameters reporting.................................................................... 34
6.3.12 +CSNS Single numbering scheme............................................................................... 34
6.3.13 +CHSD HSCSD device parameters ............................................................................. 35
6.3.14 +CHSN Parameter command syntax ........................................................................... 35
6.3.15 +CHSC Current call parameters................................................................................... 36
6.3.16 +CVHU Voice Hang Up Control ................................................................................... 37
Network service commands (GSM 07.07) ................................................................................. 38
7
7.1
+CNUM Subscriber number ................................................................................................ 38
+CREG Network registration............................................................................................... 38
+COPS Operator selection.................................................................................................. 39
+CLCK Facility lock............................................................................................................. 40
7.2
7.3
7.4
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
5
List of AT Commands for Nokia 22
7.5
7.6
7.7
7.8
7.9
+CPWD Change password ................................................................................................. 42
+CLIP Calling line identification presentation ...................................................................... 42
+CLIR Calling line identification restriction .......................................................................... 43
+COLP Connected line identification presentation .............................................................. 44
+CCWA Call waiting............................................................................................................ 45
7.10 +CUSD Unstructured supplementary service data .............................................................. 46
7.11 +CSSN Supplementary service notifications ....................................................................... 47
7.12 +CLCC List current calls ..................................................................................................... 47
7.13 +CCUG Closed user group ................................................................................................. 48
7.14 +CCFC Call Forwarding Number and Conditions................................................................ 49
7.15 +CHLD Call related to SSs.................................................................................................. 50
7.16 +CAOC Advice of charge.................................................................................................... 50
ME control and status commands (GSM 07.07) ........................................................................ 51
8
8.1
8.2
8.3
8.4
8.5
8.6
8.7
8.8
8.9
+CPWC ME power class control ......................................................................................... 51
+CPAS Phone activity status............................................................................................... 52
+CFUN Set phone functionality........................................................................................... 52
+CPIN Enter PIN................................................................................................................. 52
+CSQ Signal quality............................................................................................................ 53
+CPBS Select phonebook memory storage ........................................................................ 54
+CPBF Find phonebook entries .......................................................................................... 55
+CPBW Write phonebook entry .......................................................................................... 56
+CIND Indicator control....................................................................................................... 57
8.10 +CMER ME event reporting ................................................................................................ 57
ME error command (GSM 07.07)............................................................................................... 58
9
9.1
+CMEE Report mobile equipment error .............................................................................. 58
10 SMS commands (GSM 07.05)................................................................................................... 59
10.1 +CSMS Select message service......................................................................................... 59
10.2 +CPMS Preferred message storage.................................................................................... 59
10.3 +CMGF Message format..................................................................................................... 60
10.4 +CSCA Service centre address........................................................................................... 60
10.5 +CSMP Set text mode parameters...................................................................................... 61
10.6 +CSDH Show text mode parameters .................................................................................. 61
10.7 +CSCB Select cell broadcast message types ..................................................................... 62
10.8 +CSAS Save settings.......................................................................................................... 62
10.9 +CRES Restore settings ..................................................................................................... 63
10.10 +CNMI New message indications to TE.............................................................................. 63
10.11 +CMGL List messages........................................................................................................ 65
10.12 +CMGR Read message...................................................................................................... 67
10.13 +CNMA New message acknowledgement to ME/TA........................................................... 69
10.14 +CMGS Send message ...................................................................................................... 70
10.15 +CMSS Send message from storage.................................................................................. 71
10.16 +CMMS More messages to send........................................................................................ 72
10.17 +CMGW Write message to memory.................................................................................... 73
10.18 +CMGD Delete message .................................................................................................... 74
10.19 +CMGC Send command..................................................................................................... 74
11 Voice commands....................................................................................................................... 76
11.1 +VTS DTMF generation ...................................................................................................... 76
12 Miscellaneous commands ......................................................................................................... 77
12.1 V.25ter ................................................................................................................................ 77
12.1.1 A/ Repeat last command line ....................................................................................... 77
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
6
List of AT Commands for Nokia 22
12.1.2 S47 Force fax class 2/2.0 error correction mode.......................................................... 77
13 Fax commands.......................................................................................................................... 78
13.1 TIA-578-A ........................................................................................................................... 78
13.2 TIA-592............................................................................................................................... 78
13.3 TIA SP-2388 ....................................................................................................................... 79
14 Result codes.............................................................................................................................. 81
14.1 V.25ter ................................................................................................................................ 81
14.1.1 Basic syntax result codes............................................................................................. 81
14.1.2 +DR Data compression report...................................................................................... 81
14.1.3 +ILRR DTE-DCE local rate report ................................................................................ 81
14.2 De facto .............................................................................................................................. 82
14.2.1 Call repeat restriction result codes ............................................................................... 82
14.3 GSM 07.07.......................................................................................................................... 82
14.3.1 +CSSI Intermediate supplementary service notification................................................ 82
14.3.2 +COLP Connected line identification report.................................................................. 82
14.3.3 +CR Data service report............................................................................................... 83
14.3.4 +CRING Distinctive ring ............................................................................................... 83
14.3.5 +CLIP Calling line identification report.......................................................................... 83
14.3.6 +CSSU Unsolicited supplementary service notification ................................................ 84
14.3.7 +CCWA Call waiting..................................................................................................... 84
14.3.8 +CREG Network registration........................................................................................ 86
14.3.9 +CUSD Network initiated unstructured supplementary service data............................. 86
14.3.10 +CME ERROR Mobile equipment error........................................................................ 87
14.4 GSM 07.05.......................................................................................................................... 87
14.4.1 +CMTI New SMS-DELIVER indication......................................................................... 87
14.4.2 +CMT New SMS-DELIVER.......................................................................................... 88
14.4.3 +CBM New CBM.......................................................................................................... 89
14.4.4 +CDSI New SMS-STATUS-REPORT indication........................................................... 90
14.4.5 +CDS New SMS-STATUS-REPORT ........................................................................... 90
14.4.6 +CMS ERROR Message service failure....................................................................... 91
15 Error values............................................................................................................................... 92
15.1 +CME ERROR values......................................................................................................... 92
15.2 +CMS ERROR values......................................................................................................... 93
16 References................................................................................................................................ 95
17 Example procedures on some at-commands............................................................................. 96
17.1 Inputting PIN CODE............................................................................................................ 96
17.2 Initialising the Nokia 22 ....................................................................................................... 96
17.3 Sending an SMS from a terminal or other similar application .............................................. 97
17.4 Sending a sample SMS in the text mode............................................................................. 97
17.5 HSCSD command examples............................................................................................... 98
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
7
List of AT Commands for Nokia 22
Abbreviations
AT
Attention
BCD
CBM
CIS
Binary Coded Decimal
Cell Broadcast Message
PCMCIA Card Information Structure
Calling Line Identity
CLI
COL
COR
CR
Connected Line identity
Configuration Option Register
Carriage Return
CTS
DCD
DCE
DTE
DTMF
DTR
DSR
EMC
ERL
ESD
GSM
HSCSD
IMEI
IRA
Clear To Send
Data Carrier Detect
Data Circuit-terminating Equipment; see TA
Data Terminal Equipment; see TE
Dual Tone Multiple Frequency
Data Terminal Ready
Data Set Ready
Electro-Magnetic Compatibility
Echo Return Loss
Electro-Static Discharge
Groupe Special Mobile, Global System for Mobile communications
High Speed Circuit Switched Data
International Mobile station Equipment Identity
International Reference Alphabet
Integrated Services Digital Network
International Telecommunication Union
Interworking Function
ISDN
ITU
IWF
ME
MO
Mobile Equipment, e.g. a GSM phone
Mobile Originated
MT
Mobile Terminated
MS
Mobile Station
MSISDN
PC
Mobile Station ISDN Number
Personal Computer
PCM
PDU
PIN
Pulse Code Modulation
Protocol Data Unit
Personal Identity Number
PUK
RI
Personal Unblocking Key
Ring Indicator
RLP
RTS
SIM
Radio Link Protocol
Request To Send
Subscriber Identity Module
SM
Short Message
SMS
SMSC
TA
Short Message Service
Short Message Service Centre
Terminal Adapter, the physical equipment where AT command interpreter resides
(May be combined with ME)
Terminal Equipment, the physical equipment from where applications communicate
with TA using AT commands
Telecommunications Industry Association
Universal Asynchronous Receiver Transmitter
Universal Synchronous Receiver Transmitter
Unstructured Supplementary Service Data
TE
TIA
UART
USRT
USSD
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
8
List of AT Commands for Nokia 22
1
INTRODUCTION
This document describes the AT commands that can be used to operate the Nokia 22 PBX
connectivity terminal. Other specifications on the terminal can be found in the Nokia 22 User's
Guide and Nokia 22 Operator's Guide.
All the mandatory and optional ITU-T V.25ter /1/, ETS GSM 07.07 /2/, and ETS GSM 07.05 /3/
commands that are applicable to the Nokia 22 are included in the Nokia 22 command set. The 'de
facto' commands that are widely used with modems are also supported. Note that the ITU-T
V.25ter is a combination of three TIA standards (TIA-602, TIA-615, IS-131).
The Nokia 22 can be used as an adapter for a Group 3 facsimile terminal that supports facsimile
Service Classes 1, 2 and 2.0. The supported facsimile AT commands are listed according to the
standards in which they are specified: Service Class 1 TIA-578-A /4/, Service Class 2.0 TIA-592 /5/
and Service Class 2 TIA SP-2388 /6/. TIA SP-2388 is a draft of a coming standard, but here it is
referred to as a public standard.
The Nokia 22 can be operated using a compatible computer or other devices with a 9-pin RS232
connector.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
9
List of AT Commands for Nokia 22
2
DATA CONNECTIONS
The Nokia 22 supports non-transparent and transparent data connections and High Speed Circuit
Switched Data (HSCSD) in non-transparent mode, which enables a higher data transfer rate. Time
slot usage is presented as the number of up and down links. The Nokia 22 data transfer modes are
presented in Table 1.
Table 1. The Nokia 22 data transfer modes.
Data transfer mode
Mode
Data rate
Non-transparent data Asynchronous data
Asynchronous data
9600 kbps
14400 kbps
Asynchronous data HSCSD Multislot (1+1, 2+2, 3+1)
Transparent
Asynchronous data
Asynchronous data
Asynchronous data
Asynchronous data
2400 kbps
4800 kbps
9600 kbps
14400 kbps
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
10
List of AT Commands for Nokia 22
3
AT COMMAND SYNTAX
For basic information on the AT command syntax, refer to section V.25ter and to the GSM 07.07
section 4. This chapter describes the three different AT command formats and the default value
mechanisms for their parameters.
3.1 Register commands
Table 2. Register command format in command
description subsections
Command
Sn=<n>
Sn?
Response
<n> values
x..y (default z)
xxx..yyy
Set
Read
<n>
The register command factory default value (&F) is given in parentheses under the column ‘<n>
values’. The existence of a register command can be queried by giving a command without equal
or question marks (i.e. ATS3 returns OK, but it does not change the <n> setting). <n> cannot be
omitted when its value is set (i.e. ATS3= returns ERROR).
3.1.1 Basic commands
Table 3. Basic command format in command description
subsections
Command
CMD[x]
CMDy
Description
for value x
for value y
Set/execute
The commands D (dial), A (answer) and O (return to online data state) include also columns for
possible result codes.
The basic command (no ‘+’ prefix) &F default value is underlined. If no value is underlined, the
setting of that command is not stored in the non-volatile memory (the command &Y is an
exception). If the command parameter is in brackets (usually zero), the parameter can be omitted.
3.1.2 Extended commands
Table 4. Extended command format in command description subsections
Command
Response
Default
+cme error/+cms
error
Set/execute
Read
Test
+CMD[=<x>,...]
+CMD?
+CMD=?
[+CMD: <y>,...]
+CMD: <z>[,...]
[+CMD: ...]
[x,...]
[x]
[x]
[x]
The extended command (‘+’ prefix) parameter default values are given in a separate column. If the
default value is not in brackets, the default value is the &F default value of the corresponding
parameter. When such a parameter is omitted from a command, its value remains the same as
before. If the default value is in brackets, this value shall be used when the parameter is omitted
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
11
List of AT Commands for Nokia 22
from the command line. The setting of such a parameter is not stored in the memory. If a
parameter has no default value, it must always be given.
NOTE: Voice (+V) and fax (+F) commands do not exactly follow this format.
GSM commands can also return a +CME ERROR or +CMS ERROR final result code, when the
error is related to the ME or network functionality. The last column indicates whether these codes
can be returned. The presentation of +CME ERROR can be controlled with the +CMEE command.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
12
List of AT Commands for Nokia 22
4
TE-TA INTERFACE COMMANDS
4.1 V.25ter
4.1.1 S3 Command line termination character
Command
S3=<n>
S3?
Response
<n> values
0..127 (default 13)
000..127
Set
Read
<n>
The S3 command sets the decimal IA5 value of command line termination used by the DCE as a
part of the header, trailer, and terminator for result codes and information text, along with the S4
parameter (see the description of the V command for usage).
If the value of S3 is changed on a command line, the result code issued in response to that
command line will use the new value of S3. For example, if S3 was previously set to 13 and the
command line “ATS3=50” is issued, the result code issued will use the character with the ordinal
value 50 (IA5 3/2) in place of the CR.
4.1.2 S4 Response formatting character
Command
S4=<n>
S4?
Response
<n> values
0..127 (default 10)
000..127
Set
Read
<n>
The S4 command sets the decimal IA5 value of the character generated by the DCE as a part of
the header, trailer, and terminator for result codes and information text, along with the S3
parameter (see the description of the V command for usage).
If the value of S4 is changed in a command line, the result code issued in response to that
command line will use the new value of S4.
4.1.3 S5 Command line editing character
Command
S5=<n>
S5?
response
<n> values
0..127 (default 8)
000..127
Set
Read
<n>
The S5 command sets the decimal IA5 value of the character recognised by the DCE as a request
to delete the immediately preceding character from the command line.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
13
List of AT Commands for Nokia 22
4.1.4 E Command echo
Command
E[0]
E1
Description
no echo
echo
Set
The E command determines whether or not the DCE echoes characters received from the DTE
during the command state and the online command state.
4.1.5 Q Result code suppression
Command
Q[0]
Q1
Description
transmit codes
suppress codes
Set
The Q command determines whether the DCE transmits result codes to the DTE. When result
codes are being suppressed, no portion of any intermediate, final, or unsolicited result code –
header, result text, line terminator, or trailer – is transmitted. Information text transmitted in
response to commands is not affected by this command.
4.1.6 V DCE response format
Command
Description
Set
V[0]
numeric V.25ter basic syntax result codes, limited headers and
trailers
V1
Verbal V.25ter basic syntax result codes, full headers and trailers
The V command determines the contents of the header and trailer transmitted with result codes
and information responses. It also determines whether the result codes are transmitted in numeric
or verbal format. The text portion of information responses is not affected by this setting. The
command S3 and S4 settings affect header and trailer formatting. Note that the result codes
defined in GSM 07.07 and 07.05 have only verbal values.
4.1.7 X Result code selection and call progress monitoring control
Command
Description
Set
X[0]
X1
X2
X3
X4
X5
OK, CONNECT, RING, NO CARRIER, ERROR codes enabled
also CONNECT 1200, CONNECT 2400 enabled
same as value 1
also BUSY enabled
also NO ANSWER enabled
also CONNECT 4800 (or higher data rates), CARRIER, DELAYED, BLACKLISTED enabled
The X command defines the call progress result codes that are sent from the Nokia 22 to the DTE.
When BUSY, NO ANSWER, DELAYED or BLACKLISTED are not enabled, NO CARRIER is used
instead. When CONNECT <rate> with a correct data <rate> is not enabled, CONNECT is used
instead. This command only affects the presentation of the result codes mentioned in this table.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
14
List of AT Commands for Nokia 22
4.1.8 &C Circuit 109 (received line signal detector) behaviour
Command
&C[0]
Description
always on
Set
&C1
normal operation
The &C command determines how the state of the circuit 109 relates to the detection of a received
line signal from the distant end. Changing the parameter will take effect immediately in both
command and online command states.
In the &C1 mode of operation, the circuit 109 is on during the connection. The circuit 109 is also
known as a DCD or carrier signal.
4.1.9 &D Circuit 108 (data terminal ready) behaviour
Command
&D[0]
&D1
Description
DTR on->off ignored
DTR on->off causes transition to on-line command state if a call is in progress
DTR on->off causes hang-up
Set
&D2
&D3
DTR on->off causes hang-up and performs reset, like Z
The &D command determines how the DCE responds when the circuit 108/2 is changed from ON
to OFF during the online data state. The circuit 108 is also known as DTR signal.
4.1.10 +IPR Fixed DTE rate
Command
+IPR=<rate>
+IPR?
Response
Default
0
Set
Read
Test
+IPR: <rate>
+IPR=?
+IPR: (0),(9600,14400,19200,28800,38400,57600,115200)
The +IPR command sets the data rate at which the DCE will accept commands. The specified rate
takes effect immediately following the issuance of the current command line.
NOTE: The reset commands Z and &F do not change this setting.
Defined values
<rate> is the bit transmission rate in one second
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
15
List of AT Commands for Nokia 22
4.1.11 +ICF DTE-DCE character framing
Command
Response
Default
Set
Read
Test
+ICF=<format>,<parity>
+ICF?
+ICF=?
[3,3]
+ICF: <format>,<parity>
+ICF: (3,5),(0-3)
The +ICF command is used to determine the local serial port start-stop character framing that the
Nokia 22 uses when accepting DTE commands and when transmitting information text and a
result.
NOTE: The reset commands Z and &F do not change this setting.
Defined values
<format> determines the number of bits in the data bits, the presence of a parity bit,
and the number of stop bits in the start-stop frame.
3
5
8 data, 1 stop
7 data, 1 parity, 1 stop
<parity> determines how the parity bit is generated and checked, if present.
0
1
2
3
odd
even
mark
space
4.1.12 +IFC DTE-DCE local flow control
Command
Response
Default
Set
+IFC=<dce-by-dte>,<dte-by-dce>
2,2
Read
Test
+IFC?
+IFC=?
+IFC: <dce-by-dte>,<dte-by-dce>
+IFC: (0-3),(0-2)
The +IFC controls the operation of a local flow control between the DTE and the Nokia 22.
Defined values
<dce-by-dte> specifies the method to be used by the DTE to control the flow of the
received data from the Nokia 22
<dte-by-dce> specifies the method to be used by the Nokia 22 to control the flow of
the transmitted data from the DTE
0
1
2
3
no flow control
software flow control (XON/XOFF)
hardware flow control (RTS/CTS)
software flow control (XON/XOFF), with flow control characters passed also to the
remote DCE
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
16
List of AT Commands for Nokia 22
4.1.13 +ILRR DTE-DCE local rate reporting
Command
+ILRR=<n>
+ILRR?
Response
Default
0
Set
Read
Test
+ILRR: <n>
+ILRR: (0,1)
+ILRR=?
The +ILRR command controls whether the extended-format “+ILRR:<rate>” information text is
transmitted from the Nokia 22 to the DTE. The <rate> reported represents the current DTE-DCE
rate. If enabled, the intermediate result code is transmitted after any error control or data
compression reports are transmitted and before any final result code (i.e. CONNECT) is
transmitted.
4.1.14 +ES Error control selection
Command
Response
default
set
+ES=<orig-rqst>,
<orig-fbk>,<ans-fbk>
+ES?
4,0,2
read
test
+ES: <orig-rqst>,<orig-fbk>,<ans-fbk>
+ES: (0-4),(0,2-4),(0-2,4-6)
+ES=?
Mandatory when the V.42 error control is implemented. See the ITU-T Recommendation V.25ter,
section 6.5.1. These settings are only used in transparent data calls (see +CBST). The supported
parameter values depend on the V.42 modes that are supported. Fallback to direct mode is not
supported by Nokia products.
4.1.15 +EB Break handling in error control operation
Command
Response
default
+EB=<break-sel>,
<timed>,<def-length>
+EB?
1,0,30
set
+EB: <break-sel>,<timed>,<def-length>
+EB: (0-3),(0,1),(0-254)
read
test
+EB=?
Mandatory when the V.42 error control is implemented. See the ITU-T Recommendation V.25ter,
section 6.5.2. These settings are only used in transparent data calls (see +CBST) with V.42
enabled (see +ES).
4.1.16 +EFCS 32-bit frame check sequence
Command
+EFCS=<value>
+EFCS?
response
Default
0
set
read
test
+EFCS: <value>
+EFCS: (0)
+EFCS=?
Mandatory when the V.42 error control is implemented. See th ITU-T Recommendation V.25ter,
section 6.5.4. Controls the use of the 32-bit frame check sequence option in the V.42 error control
mode. The 32-bit FCS is not supported by Nokia products.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
17
List of AT Commands for Nokia 22
4.1.17 +ER Error control reporting
Command
+ER=<mode>
+ER?
response
default
0
Set
Read
Test
+ER: <mode>
+ER: (0,1)
+ER=?
Mandatory when the V.42 error control is implemented. See the ITU-T Recommendation V.25ter,
section 6.5.5. Controls the presentation of the +ER intermediate result code.
4.1.18 +ETBM Call termination buffer manage
Command
response
default
+ETBM=<txBuf>,<rxBuf>,<timer>
1,1,20
Set
+ETBM?
+ETBM=?
+ETBM: <txBuf>,<rxBuf>,<timer>
+ETBM: (0-2),(0-2),(0-30)
Read
Test
Mandatory when the V.42 error control is implemented. See the ITU-T Recommendation V.25ter,
section 6.5.6. These settings may also be used in a non-transparent data call buffer management.
4.2 De facto
4.2.1 S25 Detect DTR change time
Command
S25=<n>
S25?
Response
<n> values
0..255 (default 0)
000..255
Set
Read
<n>
The S25 command sets the time in seconds for reacting to the DTR signal change. The value 255
inhibits the signal change recognition. See also the &D command.
4.2.2 &S DSR signal behaviour
Command
&S[0]
&S1
Description
always on
no effect
Set
The &S command is ignored, the DSR is always ON.
4.2.3 &K Select flow control
Command
&K[0]
Description
no flow control
Set
&K3
&K4
hardware flow control (RTS/CTS)
software flow control (XON/XOFF)
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
18
List of AT Commands for Nokia 22
The &K command changes the same setting as the +IFC. The use of +IFC is recommended.
5
GENERIC COMMANDS
5.1 V.25ter
5.1.1 Z Reset to default configuration
Command
Z[0]
Z1
Description
reset to stored profile 0
reset to stored profile 1
Execute
The settings that are not stored in a profile (refer to &W) will be reset to their factory defaults (refer
to &F). The implementation is according to GSM 07.07 section 5.7.
5.1.2 &F Set to factory-defined configuration
Command
Description
Execute
&F[0]
reset to factory
defaults
This command instructs the Nokia 22 to set default values to all parameters. The command
parameters that are reset to their factory defaults are: S3, S4, S5, E, Q, V, X, &C, &D, +IFC,
+ILRR, S25, &S, +CSCS, S0, S7, S8, S10, +DS, +DR, S2, S12, +CSTA, +CMOD, +CBST, +CRLP,
+CR, +CRC, +CSNS, +CREG, +COPS (only <format>), +CLIP, +CLIR, +COLP, +CCWA (only
<n>), +CUSD (only <n>), +CSSN, +CMER, +CPBS, +CMEE, +CSMS, +CPMS, +CMGF, +CSCA,
+CSMP, +CSDH, +CSCB, +CNMI.
5.1.3 I Request identification information
Command Response
Description
Execute
I[0]
I1
I2
I3
I4..I13
Nokia Mobile Phones
IMEI
SWx.xx
22 RPM-3 GSM900/1800
same as +GMI
same as +GSN
same as +GMR
same as +GMM
Ignored values
5.1.4 +GMI Request TA manufacturer identification
Command Response
Execute
+GMI
Nokia Mobile Phones
5.1.5 +GMM Request TA model identification
Command Response
Execute
+GMM
22 RPM-3 GSM900/1800
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
19
List of AT Commands for Nokia 22
5.1.6 +GMR Request TA revision identification
Command Response
+GMR SWx.xx
Execute
5.1.7 +GSN Request TA serial number identification
Command Response
Execute
+GSN
IMEI
5.1.8 +GCAP Request complete capabilities list
Command Response
Execute
+GCAP
+GCAP: +CGSM, +FCLASS, +DS +ES
Defined values
+CGSM This is not a command to be used, but it refers to the support of the GSM 07.07 AT
command set. The implementation is according to GSM 07.07 section 5.7.
+FCLASS A command to query the support of different facsimile classes
+DS Data Compression
5.2 De facto
5.2.1 &V View configuration
Command Description
Execute
&V
Show current and stored profile settings (all command parameter values defined
under &F plus &Y setting)
5.2.1.1 &W Store configuration
Command Description
Execute
&W[0]
&W1
Store to profile 0
Store to profile 1
The &W command stores the current parameter values in the given profile. The command
parameters that are stored in a profile are the same as those listed under the &F command, except
for the parameters of the following commands that are not stored: +CMOD, +CSCA, +CSMP.
5.2.1.2 &Y Select power-up configuration
Command Description
Set
&Y[0]
&Y1
Power-up uses profile 0
Power-up uses profile 1
The &Y command defines the profile from which parameters are loaded when the Nokia 22 is
activated. This setting is not part of the settings that are stored in a profile. The &F command does
not affect this setting.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
20
List of AT Commands for Nokia 22
5.3 GSM 07.07
5.3.1 +CGMI Request ME manufacturer identification
Command Response
Execute
Test
+CGMI
+CGMI=?
Nokia Mobile Phones
5.3.2 +CGMM Request ME model identification
Command Response
+cme error
Execute
Test
+CGMM
+CGMM=?
22 RPM-3 GSM900/1800
x
5.3.3 +CGMR Request ME revision identification
Command Response
+cme error
Execute
Test
+CGMR
+CGMR=?
SWx.xx
x
5.3.4 +CGSN Request ME serial number identification
Command Response
+cme error
Execute
Test
+CGSN
+CGSN=?
IMEI
X
5.3.5 +CSCS Select TE character set
Command
+CSCS=<chset>
+CSCS?
Response
Default
"8859-1"
Set
Read
Test
+CSCS: <chset>
+CSCS: ("GSM","HEX","IRA","PCCP437","PCDN","8859-1")
+CSCS=?
The +CSCS command informs the Nokia 22 of the character set that is used by the DTE.
Defined values
<chset> DTE character set:
"GSM"
"HEX"
GSM default alphabet (GSM 03.38 subclass 6.2.1); this setting easily causes
software flow control (XON/XOFF) problems.
Character strings consist only of hexadecimal numbers from 00 to FF; e.g. "032FE6"
equals three 8-bit characters that in decimals are 3, 47 and 230; no conversions of
the original ME character set shall be done.
"IRA"
International reference alphabet (ITU-T T.50)
"PCCP437" PC character set Code Page 437
"PCDN"
"8859-1"
PC Danish/Norwegian character set
ISO 8859 Latin 1 character set
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
21
List of AT Commands for Nokia 22
5.3.6 +WS46 Select wireless network
Command
+WS46=[12]
+WS46?
Response
Set
Read
Test
12
(12)
+WS46=?
The +WS46 command can be used to set and query a selected or supported wireless network.
Only the value 12 ‘GSM digital cellular’ is supported.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
22
List of AT Commands for Nokia 22
6
CALL CONTROL COMMANDS
6.1 V.25ter
6.1.1 D Dial
Command
Possible
verbose result
codes (V1)
Numeri
c (V0)
Description
Execute
D<dial-string>
BLACKLISTED
BUSY
14
7
Call to the number is forbidden until manual reset
Called party is busy
CONNECT
1
Data/fax call established; rate 300 bps (or X forbids rate
display)
CARRIER
16
5
10
11
12
CONNECT 1200
CONNECT 2400
CONNECT 4800
CONNECT 9600
Data/fax call established; rate 1200 bps
Data/fax call established; rate 2400 bps
Data/fax call established; rate 4800 bps
Data/fax call established; rate 9600 bps
Data call established; rate 14400 bps
Data call established; rate 19200 bps
Data call established; rate 28800 bps
Data call established; rate 38400 bps
Call to the number is temporarily forbidden
Command cannot be actioned
CONNECT 14400 17
CONNECT 19200 18
CONNECT 28800 19
CONNECT 38400 20
DELAYED
ERROR
13
4
NO ANSWER
NO CARRIER
OK
8
3
0
Called party does not answer
Call could not be established
Command aborted or voice call started with semicolon
character
The original description of the D command is specified in the V.25ter standard, but the
implementation is according to the modifications specified in GSM 07.07. Before one of the above
codes can be returned, some of the following may precede: +CSSI, +COLP, +CR (or CARRIER),
+DR, or +ILRR (in that order). The dial command is also used to control alternating mode calls
(see GSM 07.07 section 6.6 and annexes E and F).
NOTE: The +VTS command or comma modifier (i.e. “ATD,1234”; in this case the first comma does
not cause a pause) can be used to send DTMF digits.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
23
List of AT Commands for Nokia 22
<dial-string> characters
V.25ter dialling digits
Values
0123456789+#*
ABCD
,
Description
Accepted as valid digits (* and # can only be in the beginning)
cause ERROR
in case of a voice call: originate call to the number preceding a
comma, wait for a remote answer, pause for a length specified with
the S8 register, and send numbers after comma as DTMF digits;
further commas cause a pause specified with S8 register (all commas
are ignored in case of data call)
V.25ter modifiers
T P ! W @
Accepted but ignored
V.25ter semicolon
GSM 07.07 modifiers
;
>
voice call originating (must be the last character of command line)
direct dialling from the phonebook (must be the first char after D) (see
next table)
i
allow calling line id presentation for this call
I
G
L
restrict calling line id presentation for this call
control CUG information for this call; use +CCUG values
re-dial to the number last dialled
De facto
NOTE: I is the only case-sensitive dial string character.
Direct dialling
command
D>mem<n>[i/I][G][;]
Description
+cme
error
X
Originate call to the phone number found in the location <n> in a specific
memory mem, which is one of the two letter memory abbreviations as returned
by +CPBS=? (without double quotes); the location range can be queried with
+CPBR=?; note that in case of a SIM ADN memory (SM), D>SIM<n> shall also
be accepted (due to inconsistency in 07.07)
D><n>[i/I][G][;]
Originate call to the phone number in memory location <n>; the memory
selected with +CPBS is used
X
6.1.2 T Select tone dialling
Command
Execute
T
The T command is ignored. The implementation is according to GSM 07.07 section 6.18.
6.1.3 P Select pulse dialling
Command
Execute
P
The P command is ignored. The implementation is according to GSM 07.07 section 6.18.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
24
List of AT Commands for Nokia 22
6.1.4 A Answer response
Comman Possible verbose
Numeri Description
c (V0)
d
result codes (V1)
Execute
A
CONNECT
1
Data/fax call established; rate 300 bps (or X forbids rate
display)
CONNECT 1200
CONNECT 2400
CONNECT 4800
CONNECT 9600
CONNECT 14400
CONNECT 19200
CONNECT 28800
CONNECT 38400
CONNECT 48000
CONNECT 56000
ERROR
5
Data / fax call established; rate 1200 bps
Data / fax call established; rate 2400 bps
Data / fax call established; rate 4800 bps
Data / fax call established; rate 9600 bps
Data call established; rate 14400 bps
Data call established; rate 19200 bps
Data call established; rate 28800 bps
Data call established; rate 38400 bps
Data call established; rate 48000 bps
Data call established; rate 56000 bps
Command cannot be actioned
Call will be established
10
11
12
17
18
19
20
21
22
4
CARRIER
NO CARRIER
OK
16
3
0
Call could not be established
Command aborted
A command instructs the Nokia 22 to immediately connect to the line and to start the phone call.
Any additional commands that appear after A on the same command line are ignored.
All the result codes are not in V.25ter. Before one of the above codes can be returned, some of
the following may precede: +CR (or CARRIER), +DR, or +ILRR (in that order). The answer
command is also used to control alternating mode calls (see GSM 07.07 section 6.6).
6.1.5 H Hook control
Command Description
Execute
H[0]
hang-up all calls (except possible waiting call) if only single mode calls are in
progress, or switch to voice mode if alternate mode call is active
The implementation is according to GSM 07.07 section 6.18.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
25
List of AT Commands for Nokia 22
6.1.6 O Return to online data state
Command Possible verbose Numeri Description
result codes (V1) c (V0)
Execute
O
CONNECT
1
Data/fax call established; rate 300 bps (or X forbids rate
display)
CONNECT 1200
CONNECT 2400
CONNECT 4800
CONNECT 9600
CONNECT 14400 17
CONNECT 19200 18
CONNECT 28800 19
CONNECT 38400 20
ERROR
CARRIER
NO CARRIER
OK
5
Data / fax call established; rate 1200 bps
Data / fax call established; rate 2400 bps
Data / fax call established; rate 4800 bps
Data / fax call established; rate 9600 bps
Data call established; rate 14400 bps
Data call established; rate 19200 bps
Data call established; rate 28800 bps
Data call established; rate 38400 bps
Command cannot be actioned
Call will be established
10
11
12
4
16
3
Call could not be established
Command aborted
0
The O command returns the Nokia 22 to the online data state from the online command mode. The
implementation is according to GSM 07.07 section 6.18.
6.1.7 S0 Automatic answer
Command
S0=<n>
S0?
Response
<n> values
0..255 (default 0)
000..255
Set
Read
<n>
The S0 command sets the number of rings (RING or +CRING result codes) to wait before
answering automatically. 0 disables auto answering.
6.1.8 S6 Pause before blind dialling
Command
S6=<n>
S6?
Response
<n> values
2..10
002
Set
Read
002
The S6 command is ignored. The implementation is according to GSM 07.07 section 6.18.
6.1.9 S7 Connection completion time-out
Command
S7=<n>
S7?
Response
<n> values
0..255 (default 60)
000..255
Set
Read
<n>
The S7 command sets the number of seconds to wait for the completion of call answering or
originating procedure before giving up and disconnecting. The implementation is according to GSM
07.07 section 6.18.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
26
List of AT Commands for Nokia 22
6.1.10 S8 Comma dial modifier time
Command
S8=<n>
S8?
Response
<n> values
0..255 (default 2)
000..255
Set
Read
<n>
The S8 command specifies the time in seconds that the DCE shall pause during the signalling of
call addressing information to the network (dialling) when a “,” (comma) dial modifier is
encountered in a dial string of the D command. The implementation is according to GSM 07.07
section 6.18.
6.1.11 S10 Automatic disconnect delay
Command
S10=<n>
S10?
Response
<n> values
0..255 (default 100)
000..255
Set
Read
<n>
The S10 command sets the time in tenths of a second that the Nokia 22 will remain connected to
the line (off-hook) after it has indicated the absence of the received line signal. If the received line
signal is detected before the time specified in the S10 expires, the Nokia 22 remains connected to
the line and the call continues. The implementation is according to GSM 07.07 section 6.18.
6.1.12 L Monitor speaker loudness
Command
Execute
L[0]..L3
The L command is ignored. The implementation is according to GSM 07.07 section 6.18.
6.1.13 M Monitor speaker mode
Command
Execute
M[0]..M2
The M command is ignored. The implementation is according to GSM 07.07 section 6.18.
6.1.14 +DS Data compression
Command
Response
Default
Set
+DS=<dir>,<neg>,<P1>,<P2>
0,0,2048,20
Read
Test
+DS?
+DS=?
+DS: <dir>,<neg>,<P1>,<P2>
+DS: (0-3),(0,1),(512-2048),(6-32)
The +DS command controls the V.42 bis data compression function.
NOTE: The V.42 bis data compression must be supported by the network.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
27
List of AT Commands for Nokia 22
Defined values
"dir" The desired direction(s) of the operation of the data compression function; from
the DTE's point of view:
0
1
2
3
Negotiated … no compression
Transmit only
Receive only
Both directions, accept any direction
"neg" specifies whether the DCE should continue to operate if the desired result is not
obtained:
0
1
Do not disconnect if Rec. V.42 bis is not negotiated by the remote DCE as specified
in <dir>
Disconnect if Rec. V.42 bis is not negotiated by the remote DCE as specified in <dir>
"P1" the maximum number of dictionary entries which should be negotiated
"P2" the maximum string length to be negotiated
6.1.15 +DR Data compression reporting
Command
+DR=<mode>
+DR?
Response
Default
0
Set
Read
Test
+DR: <mode>
+DR: (0,1)
+DR=?
The +DR command controls the presentation of the +DR intermediate result code.
Defined values
<mode> data compression reporting:
0 disabled
1 enabled, i.e. + DR result code transmitted
6.2
De facto
6.2.1 B CCITT/Bell mode
Command
Execute
B[0]..B1
The B command is ignored.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
28
List of AT Commands for Nokia 22
6.2.2 S1 Ring count
Command
Response
<n> values
Read
S1?
<n>
000..255
The S1 command returns the number of rings (RING or +CRING result codes) counted after the
last MT call setup.
6.2.3 S2 Escape code character
Command
S2=<n>
S2?
Response
<n> values
0..127 (default 43)
000..127
Set
Read
<n>
The S2 command specifies the character to be used in the escape sequence. The default
character is a plus sign. See also the +++ Escape command.
6.2.4 S12 Escape guard time
Command
S12=<n>
S12?
Response
<n> values
0..255 (default 50)
000..255
Set
Read
<n>
The S12 command sets the guard time before and after the escape sequence. The value is in
fiftieths of a second (default is one second). See also the +++ Escape command.
6.2.5 +++ Escape
During the online data state, it is possible to enter the online command state by giving three same
characters (defined by S2register; default is ‘+’) in a sequence. Before and after the sequence,
there must be a pause of at least the time defined by the S12 register. By setting S12 to zero, an
escape sequence detection can be disabled.
6.3 GSM 07.07
6.3.1 +CSTA Select type of address
Command
+CSTA=<type>
+CSTA?
Response
Default
129
Set
Read
Test
+CSTA: <type>
+CSTA: (129, 145)
+CSTA=?
The +CSTA command selects the type of number according to the GSM specifications. The dial
command D always uses this setting, except for the case when the dial string includes the
international access code character (+). In this case, the type of address sent to the network
defaults to 145.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
29
List of AT Commands for Nokia 22
Defined values
<type> type of number, refer to GSM 04.08 10.5.4.7:
129
145
unknown/telephony
international/telephony
6.3.2 +CMOD Call mode
Command
Response
Default
Set
Read
Test
+CMOD=<mode>
+CMOD?
+CMOD=?
0
+CMOD: <mode>
+CMOD: (0-3)
The +CMOD command selects the call mode of the further dialling commands (D) or for the next
answering command (A). The mode can be either single or alternating. When the single mode is
selected, the call originating and hang-up procedures are similar to the procedures specified in the
ITU-T Recommendations V.25ter, T.31 and T.32. In the GSM system, voice calls can be followed
by alternating voice/data and alternating voice/fax calls.
NOTE: The +CMOD shall be set to zero after a successfully completed alternating mode call. It
shall be set to zero also after a failed answering. The power-up, factory (&F) and user resets (Z)
shall also set the value to zero. This reduces the possibility of accidentally originating or answering
alternating mode calls.
NOTE: Alternating call answering operations from an external UI may change the +CMOD values.
Defined values
<mode>:
0
1
2
3
single mode
alternating voice/fax (teleservice 61)
alternating voice/data (bearer service 61)
voice followed by data (bearer service 81)
6.3.3 +CHUP Hang-up call
Command
Execute
Test
+CHUP
+CHUP=?
The +CHUP is an assured procedure to terminate an alternating mode call.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
30
List of AT Commands for Nokia 22
6.3.4 Mute control +CMUT
Command
+CMUT=<n>
+CMUT?
Response
+CME ERROR: <err>
+CMUT: <n>
Set
Read
+CME ERROR: <err>
+CMUT: (list of supported <n>s)
Test
+CMUT=?
Description
This command is used to enable and disable the uplink voice muting during a voice call. The test
command returns the supported values as a compound value.
Defined values
0
1
mute off
mute on
6.3.5 Loudspeaker volume level +CLVL
Command
Response
Default
Set
0,0,1
+CLVL=<level>
+CLVL?
Read
Test
+CLVL: <level>
+CLVL: (list of supported <level>s)
+CLVL=?
Description
This command is used to select the volume of the internal loudspeaker of the ME. The test
command returns the supported values as a compound value.
Defined values
<level>: integer type value with manufacturer specific range (smallest value
represents the lowest sound level)
6.3.6 +CBST Select bearer service type
Command
Response
Default
Set
+CBST=<speed>,
<name>,<ce>
+CBST?
0,0,1
Read
Test
+CBST: <speed>,<name>,<ce>
+CBST=?
+CBST: (0-7,12,14-16,34,36,38,39,43,47-51,65,66,68,70,71,75
,79-81), (0,2),(0-3)
The +CBST command selects the bearer service with a data rate and the connection element to be
used when data calls are originated. The values may also be used during a mobile terminated data
call setup, especially in the case of single numbering scheme calls (refer +CSNS).
Defined values
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
31
List of AT Commands for Nokia 22
<speed>:
0
autobauding (automatic selection of the speed; this setting is possible in case of a 3.1 kHz
modem and non-transparent service)
300 bps (V.21)
1200 bps (V.22)
1200/75 bps (V.23)
2400 bps (V.22bis)
2400 bps (V.26ter)
4800 bps (V.32)
1
2
3
4
5
6
7
9600 bps (V.32)
12 9600 bps (V.34)
14 14400 bps (V.34)
15 19200 bps (V.34)
16 28800 bps (V.34)
34 1200 bps (V.120)
36 2400 bps (V.120)
38 4800 bps (V.120)
39 9600 bps (V.120)
43 14400 bps (V.120)
47 19200 bps (V.120)
48 28800 bps (V.120)
49 38400 bps (V.120)
50 48000 bps (V.120)
51 56000 bps (V.120)
65 300 bps (V.110)
66 1200 bps (V.110)
68 2400 bps (V.110 or X.31 flag stuffing)
70 4800 bps (V.110 or X.31 flag stuffing)
71 9600 bps (V.110 or X.31 flag stuffing)
75 14400 bps (V.110 or X.31 flag stuffing)
79 19200 bps (V.110 or X.31 flag stuffing)
80 28800 bps (V.110 or X.31 flag stuffing)
<name>:
0
2
data circuit asynchronous (UDI or 3.1 kHz modem)
PAD Access (asynchronous) (UDI)
<ce>:
0
1
2
3
transparent
non-transparent
both, transparent preferred
both, non-transparent preferred
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
32
List of AT Commands for Nokia 22
6.3.7 +CRLP Radio link protocol
Command
Response
Default
+CRLP=<iws>,<mws>
,<T1>,<N2>[,<ver>
,<T4>]
Set
61,61,48,6
+CRLP: <iws>,<mws>,<T1>,<N2><CR><LF>
+CRLP: (0-61),(0-61),(39-255),(1-255)
<CR><LF>
Read
Test
+CRLP?
+CRLP=?
The +CRLP command sets the used radio link protocol (RLP) parameters when non-transparent
data calls are originated.
The read command returns the current settings.
The test command returns the values supported by the Nokia 22 as a compound value.
Defined values
<ver> :
RLP version number in integer format; when version indication is not present,
it shall equal 0
<iws>
<mws>
<T1>
<N2>
<T4>:
Inter Working Function (IWF) to MS window size
MS to IWF window size
acknowledgement timer in units of 10 ms
retransmission attempts
re-sequencing period in units of 10 ms
6.3.8 +CR Service reporting control
Command
+CR=<mode>
+CR?
Response
Default
0
Set
Read
Test
+CR: <mode>
+CR: (0,1)
+CR=?
The +CR command controls the returning of the intermediate result code +CR: <serv>. If enabled,
the intermediate result code is transmitted during connect negotiation when the Nokia 22 has
determined the speed and quality of service that will be used, and before any error control or data
compression reports are transmitted or any final result code (e.g. CONNECT) is transmitted.
Defined values
<mode>:
0
1
disables reporting
enables reporting
<serv>:
REL ASYNC asynchronous non-transparent
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
33
List of AT Commands for Nokia 22
6.3.9 +CEER Extended error report
Command
+CEER
+CEER=?
Response
+CEER: <report>
Execute
Test
The +CEER command returns the reason for the last call setup or in-call modification failure, or the
reason for the last last call release. <report> is the textual representation of the network cause
value as listed in GSM 04.08 annex H.
6.3.10 +CRC Cellular result codes
Command
+CRC=<mode>
+CRC?
Response
Default
0
Set
Read
Test
+CRC: <mode>
+CRC: (0,1)
+CRC=?
The +CRC command controls whether the extended format of an incoming call indication is used.
When enabled, an incoming call is indicated with the unsolicited result code +CRING: <type>
instead of the normal RING.
Defined values
<mode>:
0
1
disables extended format
enables extended format
<type>:
FAX
facsimile (TS 62)
VOICE
VOICE/REL ASYNC
ASYNC
normal voice (TS 11)
voice followed by data (BS 81)
normal data (BS 81)
REL ASYNC
normal data (BS 81)
ALT VOICE/REL ASYNC alternating voice/data, voice first (BS 61)
ALT REL ASYNC/VOICE alternating voice/data, data first (BS 61)
ALT VOICE/FAX
ALT FAX/VOICE
alternating voice/fax, voice first (TS 61)
alternating voice/fax, fax first (TS 61)
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
34
List of AT Commands for Nokia 22
6.3.11 +CHSR Current call parameters reporting
Command
+CHSR=<mode>
+CHSR?
Response
Default
1
Set
Read
Test
+CHSR: <mode>
+CHSR: (0,1)
+CHSR=?
When the CHSR=1 is set, the current HSCSD configuration is written to the terminal window every
time the HSCSD configuration has changed or a new HSCSD call has been initiated. To disable
the feature, key in at+chsr=0.
6.3.12 +CSNS Single numbering scheme
Command
+CSNS=<mode>
+CSNS?
Response
Default
0
Set
Read
Test
+CSNS: <mode>
+CSNS: (0-7)
+CSNS=?
The +CSNS command selects the bearer or teleservice to be used when a mobile terminated
single numbering scheme call is established, i.e. when a call without bearer capability element is
received.
The parameter values set with the +CBST command shall be used when <mode> equals a data
service. If the +CBST parameter is set to a value that is not applicable to single numbering calls,
the parameter shall be mapped to the closest valid value.
Defined values
<mode>:
0
1
2
3
4
5
6
7
voice
alternating voice/fax, voice first (TS 61)
fax (TS 62)
alternating voice/data, voice first (BS 61)
data
alternating voice/fax, fax first (TS 61)
alternating voice/data, data first (BS 61)
voice followed by data (BS 81)
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
35
List of AT Commands for Nokia 22
6.3.13 +CHSD HSCSD device parameters
Command Response
+cme error
+CHSD
+CHSD=?
+CHSD: <mclass>,<maxRx>,<maxTx>,<sum>,<codings>
execute
test
x
Parameters:
<mclass>: integer type; multislot class
<maxRx>: integer type; the maximum number of receive timeslots that the ME can use
<maxTx>: integer type; the maximum number of transmit timeslots that the ME can use
<sum>:
integer type; the total number of receive and transmit timeslots that the ME can use at
the same time (per TDMA frame). The following applies in a HSCSD call: 1
£ (receive slots) + (transmit slots) £ <sum>
<codings> a sum of integers each representing a supported channel coding
4
8
12
9.6k full rate data traffic channel
14.4k full rate data traffic channel
both 9.6k and 14.4k supported
6.3.14 +CHSN Parameter command syntax
Command
Response
+cme error
+CHSN=[<wAiur>[,<
wRx>[,<topRx>
[,<codings>]]]]
+CHSN=?
+CHSN: <wAiur>,<wRx>,<topRx>,<codings>
execute
test
x
+CHSN: (1-6),(1-3),(0-3),(4,8)
Description
The set command controls parameters for non-transparent HSCSD calls. Changing <topRx> or
<codings> value during a call does not affect the current call. Changing <wAiur> or <wRx> affects
the current call only if <topRx> was non-zero when a call was established.
Defined values
<wAiur>: integer type; wanted air interface user rate. The default value 0 indicates that the TA shall
calculate a proper value from the currently selected fixed network user rate (<speed>
subparameter from +CBST command), <codings>, and <wRx> (or <maxRx> from +CHSD
command if <wRx>=0). Other values:
1
2
3
4
6
9600 bps
14400 bps
19200 bps
28800 bps
43200 bps
<wRx>: integer type; wanted amount of receive timeslots. The default value 0 indicates that the TA
shall calculate a proper value from the currently selected <wAiur> and <codings>
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
36
List of AT Commands for Nokia 22
<topRx>: integer type; top value for <wRx> that the user is going to request during the next
established non-transparent HSCSD call. The default value 0 indicates that the user is not
going to change <wAiur>/<wRx> during the next call
<codings>: a sum of integers each representing a channel coding that is accepted for non-
transparent HSCSD calls. The default value 0 indicates that all the supported codings are
accepted (refer +CHSD command for other values)
<codings>: is a sum of integers each representing a supported channel coding:
4
8
9.6k full rate data traffic channel
14.4k full rate data traffic channel
12 Both 9.6k and 14.4k supported
<maxAiur>: integer type; the maximum value for <wAiur> (assuming that all supported channel
codings are accepted and the maximum number of timeslots is used)
<modify>:
0
1
<wAiur>/<wRx> modification during call is not supported (<topRx> accepts only 0)
<wAiur>/<wRx> modification during call is supported by ME/TA
NOTE! The non-transparent/transparent data service shall be selected by the at+cbst command.
6.3.15 +CHSC Current call parameters
Command response
+CHSC
+CHSC=?
+CHSC: <rx>,<tx>,<aiur>,<coding>
execute
test
Parameters:
<rx>:
integer type; the number of receive timeslots currently in use
integer type; the number of transmit timeslots currently in use
<tx>:
<aiur>:
integer type; the current air interface user rate (in case of a transparent service this
equals fixed network user rate) (Refer to the +CHSN command for the possible
values.)
<coding>: current channel coding (Refer to the +CHSD command for the possible values.)
+CVHU voice hang-up control
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
37
List of AT Commands for Nokia 22
6.3.16 +CVHU Voice Hang Up Control
Command
+CVHU=<mode>
+CVHU?
response
default
0
set
read
test
+CVHU: <mode>
+CVHU: (0-2)
+CVHU=?
By default, NMP products should ignore the DTR drop, but disconnect on the ATH during a call
that is in the voice mode. (GSM 07.07 section 6.).
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
38
List of AT Commands for Nokia 22
7
NETWORK SERVICE COMMANDS (GSM 07.07)
7.1 +CNUM Subscriber number
Command Response
+cme
error
Execute
Test
+CNUM
+CNUM: [<alpha1>],<number1>,<type1>
[<CR><LF>+CNUM: [<alpha2>],<number2>,<type2>
[...]]
x
+CNUM=?
The +CNUM command returns the MSISDNs related to the subscriber. This information can be
stored in the SIM. If the subscriber has different MSISDNs for different services, each MSISDN is
returned on a different line.
Defined values
<alphax>
<numberx> string type phone number of a format specified by <typex>
<typex> type of address octet in integer format (refer GSM 04.08 10.5.4.7):
optional alphanumeric string associated with <numberx>
145
129
international/telephony
unknown/telephony
7.2 +CREG Network registration
Command
Response
Default
+cme
error
Set
Read
Test
+CREG=<n>
+CREG?
+CREG=?
0
+CREG: <n>,<stat>[,<lac>,<ci>]
+CREG: (0-2)
x
The +CREG command controls the presentation of the unsolicited result code +CREG: <stat>
when <n>=1 and the ME network registration status changes, or the code +CREG:
<stat>[,<lac>,<ci>] when <n>=2 and the network cell changes.
The read command returns the status of a result code presentation and an integer <stat> which
shows whether the network has currently indicated the registration of the ME. The location
information elements <lac> and <ci> are returned only when <n>=2 and the ME is registered in the
network.
Defined values
<n>:
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
39
List of AT Commands for Nokia 22
0
1
2
disable network registration unsolicited result code
enable network registration unsolicited result code +CREG: <stat>
enable network registration and location information unsolicited result code
+CREG: <stat>[,<lac>,<ci>]
<stat>:
0
1
2
3
4
5
not registered, the ME is not currently searching for a new operator to register to
registered, home network
not registered, but ME is currently searching for a new operator to register to
registration denied
unknown
registered, roaming
<lac>
string type; a two byte location area code in hexadecimal format (e.g. "00C3" equals
193 in decimal)
<ci>:
string type; a two byte cell ID in hexadecimal format
7.3 +COPS Operator selection
Command
Response
Default
+cme error
Set
+COPS=<mode>,
<format>,<oper>
+COPS?
[0,2]
x
Read
Test
+COPS: <mode>[,<format>,<oper>]
+COPS: [(<stat>,,,<oper>)
[,...]],,(0,1),(2)
x
x
+COPS=?
The +COPS command forces an attempt to select and register the GSM network operator.
<mode> is used to select whether the selection is automatically carried out by the Nokia 22 or
whether it is forced by this command to the operator <oper>, given in numeric 2 <format>. The
selected operator name format shall also apply to the further read commands (+COPS?).
The read command returns the current mode and the currently selected operator. If no operator is
selected, <format> and <oper> are omitted.
The test command returns a list of quadruplets, each representing an operator that is present in
the network. A quadruplet consists of an integer indicating the availability of the operator <stat>
and a numeric representation of the operator. The list of operators shall be in the following order:
home network, networks referenced in SIM and other networks.
After the operator list is returned, the Nokia 22 returns lists of the supported <mode>s and
<format>. These lists shall be delimited from the operator list with two commas.
Defined values
<mode>:
0
1
automatic (<oper> field is ignored)
manual (<oper> field shall be present)
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
40
List of AT Commands for Nokia 22
<format>:
<oper>
2
numeric <oper>
The numeric format is the GSM Location Area Identification number (refer GSM 04.08
10.5.1.3) which consists of a three BCD digit country code coded as in ITU-T E.212
Annex A, plus a two BCD digit network code, which is administration specific;
returned <oper> shall not be in Binary Coded Decimal (BCD) format, but in IRA
characters converted from BCD; hence the number has the following structure:
(country code digit 3)(country code digit 2)(country code digit 1)(network code digit
2)(network code digit 1)
<stat>:
0
1
2
3
unknown
available
current
forbidden
7.4 +CLCK Facility lock
Command
Response
Default
+cme
error
Execute
Test
+CLCK=<fac>,<mode>,
<passwd>,<class>
when <mode>=2:
[,,,7]
x
+CLCK: <status>[,<class1>
[<CR><LF>+CLCK: <status>,<class2>
[...]]]
+CLCK: ("PS","SC","AO","OI","OX",
"AI","IR","AB","AG","AC","FD")
+CLCK=?
The +CLCK command enables and disables or queries the state of SIM/ME security features (PIN
or security code query or fixed dialling feature) or call barring supplementary services. The <fac>
values “AB”, “AG” and “AC” are only applicable for <mode>=0. Only security code levels ‘phone’
and ‘none’ can be handled with this command. If the ‘memory’ level is set and the status is queried
(+CLCK="PS",2), the AT interface shall indicate ‘not active’ (+CLCK: 0). When the SS status
request response coming from the network indicates that the SS is active for a specific data bearer
services (e.g. ‘circuit async’), the AT interface shall only indicate ‘data’ (<class>=2) (‘not active’
case is displayed only when the SS is not active to any service; i.e. +CLCK: 0,7).
The test command returns facility values supported by the Nokia 22 as a compound value.
Defined values
<fac>:
"PS"
PH-SIM (lock Phone to SIM card) (The ME asks for a password when
an other SIM card than the current SIM card is inserted; the ME may
remember certain amount of previously used cards and, therefore, it
does not necessarily ask for a password when a previously used cards
is inserted)
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
41
List of AT Commands for Nokia 22
"SC"
SIM (lock SIM card) (SIM asks for a password in an ME power-up and
when this lock command is issued)
"AO"
"OI"
BAOC (Barr All Outgoing Calls) (refer ti GSM02.88, clause 1)
BOIC (Barr Outgoing International Calls) (refer to GSM 02.88, clause 1)
"OX"
BOIC-exHC (Barr Outgoing International Calls except for Home
Country) (refer to GSM 02.88, clause 1)
"AI"
"IR"
BAIC (Barr All Incoming Calls) (refer to GSM 02.88, clause 2)
BIC-Roam (Barr Incoming Calls when Roaming outside the home
country)
(refer to GSM 02.88, clause 2)
"AB"
All Barring services (refer to GSM 02.30) (applicable only for
<mode>=0)
"AG"
All outgoing barring services (refer to GSM 02.30) (applicable only for
<mode>=0)
"AC"
All incoming barring services (refer to GSM 02.30) (applicable only for
<mode>=0)
"FD"
SIM fixed dialling memory feature (if the PIN2 authentication is not done
during the current session, the PIN2 is required as <passwd>)
<mode>:
0
1
2
unlock
lock
query status
<status>:
0
1
not active
active
<passwd> string type; shall be the same as the password specified for the facility
from the Nokia 22 user interface or with the Change Password +CPWD
command
<classx>
is a sum of integers each representing a class of information (the
default value 7 equals all classes):
1
2
voice (telephony)
data (usually refers to all bearer services; with <mode>=2 this may only
refer to some bearer service)
4
fax (facsimile services)
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
42
List of AT Commands for Nokia 22
7.5 +CPWD Change password
Command
Response
+cme
error
Execute
Test
+CPWD=<fac>,<oldpwd>,<newpwd>
+CPWD=?
x
+CPWD: ("PS",5),("SC",4),("AB",4),("P2",4)
The +CPWD command sets a new password for the facility lock function defined by the Facility
Lock +CLCK command. Note that the target lock has to be in <mode>=1.
The test command returns a list of pairs that present the available facilities and the maximum
length of their password.
Defined values
<fac>:
"PS"
"SC"
"AB"
"P2"
PH-SIM lock Phone to SIM card
SIM lock SIM card
All Barring services
SIM PIN2
<oldpwd>, <newpwd> string type; <oldpwd> shall be the same as the password
specified for the facility from the ME user interface or using the Change Password
+CPWD command. <newpwd> is the new password
7.6 +CLIP Calling line identification presentation
Command
+CLIP=<n>
+CLIP?
Response
Default
0
Set
Read
Test
+CLIP: <n>,<m>
+CLIP: (0,1)
+CLIP=?
The +CLIP command refers to the GSM supplementary service CLIP (Calling Line Identification
Presentation) that enables a called subscriber to get the calling line identity (CLI) of the calling
party when receiving a mobile terminated call. The +CLIP command enables or disables the
presentation of the CLI. It has no effect on the execution of the CLIP supplementary service in the
network.
When the presentation of the CLI is enabled (and the calling subscriber allows it), +CLIP: number>,
<type> response is returned after every RING (or +CRING: <type>; refer to "Cellular result codes
+CRC") result code.
The read command gives the status of <n> and triggers an interrogation of the provision status of
the CLIP service according GSM 02.81 (given in <m>).The test command returns the values
supported by the Nokia 22 as a compound value.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
43
List of AT Commands for Nokia 22
Defined values
<n> parameter sets/shows the result code presentation status in the Nokia 22:
0
1
disable
enable
<m> parameter shows the subscriber CLIP service status in the network:
0
1
2
CLIP not provisioned
CLIP provisioned
unknown (e.g. no network, etc.)
<number> string type phone number of a format specified by <type>
<type> type of address octet in integer format (refer to GSM 04.08 subclause
10.5.4.7):
129
145
unknown/telephony
international/telephony
7.7 +CLIR Calling line identification restriction
Command
+CLIR=<n>
+CLIR?
Response
Default
0
Set
Read
Test
+CLIR: <n>,<m>
+CLIR: (0-2)
+CLIR=?
The +CLIR command refers to the CLIR-service according to GSM 02.81 that allows a calling
subscriber to enable or disable the presentation of the CLI to the called party when originating a
call.
The set command overrides the CLIR subscription when the temporary mode is provisioned as a
default adjustment for all the following outgoing calls. This adjustment can be revoked by using the
opposite command. If this command is used by a subscriber without a provision of CLIR in the
permanent mode, the network will act according GSM 02.81.
The read command gives the default adjustment for all the outgoing calls (given in <n>) and
triggers an interrogation of the provision status of the CLIR service (given in <m>).
The test command returns the supported values.
Defined values
<n> sets the adjustment for outgoing calls:
0
the presentation indicator is used according to the subscription of the
CLIR service
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
44
List of AT Commands for Nokia 22
1
2
CLIR invocation
CLIR suppression
<m> shows the subscriber CLIR service status in the network:
0
1
2
3
4
CLIR not provisioned
CLIR provisioned in permanent mode
unknown (e.g. no network, etc.)
CLIR temporary mode presentation restricted
CLIR temporary mode presentation allowed
7.8 +COLP Connected line identification presentation
Command
+COLP=<n>
+COLP?
Response
Default
0
Set
Read
Test
+COLP: <n>,<m>
+COLP: (0,1)
+COLP=?
The +COLP command refers to the GSM supplementary service COLP (Connected Line
Identification Presentation) that enables a calling subscriber to get the connected line identity
(COL) of the called party after setting up a mobile originated call. The command enables or
disables the presentation of the COL. It has no effect on the execution of the COLR supplementary
service in the network.
When enabled (and called subscriber allows), the +COLP: <number>,<type> intermediate result
code is returned before any +CR or V.25ter responses.
The read command gives the status of <n> and triggers an interrogation of the provision status of
the COLP service according to GSM 02.81 (given in <m>).
The test command returns the supported values.
Defined values
<n> sets/shows the result code presentation status in the Nokia 22:
0
1
disable
enable
<m> shows the subscriber COLP service status in the network:
0
1
2
COLP not provisioned
COLP provisioned
unknown (e.g. no network, etc.)
<number> string type phone number of a format specified by <type>
<type> type of address octet in integer format (refer GSM 04.08 subclause 10.5.4.7):
129
145
unknown/telephony
international/telephony
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
45
List of AT Commands for Nokia 22
7.9 +CCWA Call waiting
Command
Response
Default
+cme
error
Set
+CCWA=<n>,<mode>,<class>
when <mode>=2:
0[,,7]
x
+CCWA: <status>,<class1>
[<CR><LF>+CCWA: <status>,<class2>
[...]]
Read
Test
+CCWA?
+CCWA=?
+CCWA: <n>
+CCWA: (0,1)
The +CCWA command allows the controlling of the Call Waiting supplementary service according
to GSM 02.83. Activation, deactivation and status query are supported. When querying the status
of a network service (<mode>=2), the response line for the ‘not active’ case (<status>=0) should
be returned only if the service is not active for any <class>. The parameter <n> is used to disable
and enable the presentation of an unsolicited result code.
+CCWA: <number>,<type>,<class> when the call waiting service is enabled.
The interaction of this command with other commands based on other GSM supplementary service
is described in the GSM standard.
The test command returns the supported values.
Defined values
<n> sets/shows the result code presentation status:
0
1
disable
enable
<mode> when not given, the network is not interrogated:
0
1
2
disable
enable
query status
<classx> is a sum of integers each representing a class of information (the default
value 7 equals all classes):
1
2
voice (telephony)
data (usually refers to all bearer services; with <mode>=2 this may only
refer to some bearer services)
4
fax (facsimile services)
<status>:
0
1
not active
active
<number> string type phone number of a calling address in the format specified by
<type>
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
46
List of AT Commands for Nokia 22
<type> type of address octet in integer format (refer GSM 04.08 10.5.4.7):
129
145
unknown/telephony
international/telephony
7.10 +CUSD Unstructured supplementary service data
Command
Response
Default
+cme
error
Set
Read
Test
+CUSD=<n>,<str>,<dcs>
+CUSD?
+CUSD=?
+CUSD: <m>[,<str>,<dcs>]
+CUSD: <n>
+CUSD: (0,1)
0[,,0]
x
The +CUSD command allows the controlling of the Unstructured Supplementary Service Data
(USSD) according to GSM 02.90. Both network and mobile initiated operations are supported. The
parameter <n> is used to disable and enable the presentation of an unsolicited result code
(network initiated operation) +CUSD: <m>,<str>,<dcs>.
When <str> is given, a mobile initiated USSD-string or a response USSD-string to a network
initiated operation is sent to the network. In the case of a successful mobile initiated operation, the
response USSD-string coming from the network is returned before the final result code.
The test command returns the supported values.
Defined values
<n> sets/shows the result code presentation status:
0
1
disable
enable
<str>
string type USSD-string (when <str> parameter is not given, the network
is not interrogated):
- if <dcs> indicates that the GSM 03.38 default alphabet is used:
- if the TE character set is not "HEX" (refer to the Select TE Character
Set +CSCS command): the Nokia 22 converts GSM alphabet into the
current TE character set according to the rules of GSM 07.05, Annex A
- if the TE character set is "HEX": the Nokia 22 converts each 7-bit
character of the GSM alphabet into two IRA character long hexadecimal
numbers (e.g. character Π (GSM 23) is presented as 17 (IRA 49 and
55))
- if <dcs> indicates that a 8-bit data coding scheme is used: the Nokia
22 converts each 8-bit octet into two IRA character long hexadecimal
numbers (e.g. octet with integer value 42 is presented to the TE as two
characters 2A (IRA 50 and 65))
<dcs> GSM 03.38 Cell Broadcast Data Coding Scheme in integer
format (default 0)
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
47
List of AT Commands for Nokia 22
<m>:
0
no further user action required (network initiated USSD-Notify, or no
further information needed after mobile initiated operation)
1
further user action required (network initiated USSD-Request, or further
information needed after mobile initiated operation)
7.11 +CSSN Supplementary service notifications
Command
+CSSN=<n>,<m>
+CSSN?
Response
Default
0,0
Set
Read
Test
+CSSN: <n>,<m>
+CSSN: (0,1),(0,1)
+CSSN=?
The +CSSN command controls the presentation of the +CSSI intermediate result code and the
+CSSU unsolicited result code.
The test command returns the supported values.
Defined values
<n> sets/shows the +CSSI result code presentation status:
0
1
disable
enable
<m> sets/shows the +CSSU result code presentation status:
0
1
disable
enable
7.12 +CLCC List current calls
Command Response
+cme error
Execute
Test
+CLCC
[+CLCC: <id1>,<dir>,<stat>,<mode>,<mpty>
[<CR><LF>+CLCC: <id2>,<dir>,<stat>,<mode>,<mpty>
[...]]]
x
+CLCC=?
The +CLCC command returns a list of current calls of the Nokia 22. If the command succeeds but
no calls are available, no information response is sent.
Defined values
<idx> integer type call identification number as described in GSM 02.30 4.5.5.1. This
number can be used in the +CHLD command operations.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
48
List of AT Commands for Nokia 22
<dir>:
0
1
mobile originated (MO) call
mobile terminated (MT) call
<stat> state of the call:
0
1
2
3
4
5
active
held
dialing (MO call)
alerting (MO call)
incoming (MT call)
waiting (MT call)
<mode> bearer/teleservice:
0
1
2
3
4
5
6
7
8
9
voice
data
fax
voice followed by data, voice mode
alternating voice/data, voice mode
alternating voice/fax, voice mode
voice followed by data, data mode
alternating voice/data, data mode
alternating voice/fax, fax mode
unknown
<mpty>:
0
1
call is not one of multiparty (conference) call parties
call is one of multiparty (conference) call parties
7.13 +CCUG Closed user group
Command
Response
Default
+CCUG=<n>,<index>,<info>
0,0,0
set
+CCUG?
+CCUG=?
+CCUG: <n>,<index>,<info>
read
test
Parameters:
<n>:
0
disable CUG temporary mode
enable CUG temporary mode
1
<index>:
0...9
10
CUG index
no index (preferred CUG taken from subscriber data)
<info>:
0
1
2
3
no information
suppress OA
suppress preferential CUG
suppress OA and preferential CUG+CCFC call forwarding number and conditions
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
49
List of AT Commands for Nokia 22
7.14 +CCFC Call Forwarding Number and Conditions
Command
Response
default
+cme error
+CCFC=<reason>,
<mode>,<number>
,
<type>,<class>,
<subaddr>,
<satype>,
<time>
[,,,
129/145,7
,,128,20]
Execute
x
when <mode>=2:
+CCFC: <status>,<class1>[,<number>,<type>
[,<subaddr>,<satype>[,<time>]]]
[<CR><LF>+CCFC:
<status>,<class2>[,<number>
,<type>[,<subaddr>,<satype>[,<time>]]]
[...]]
+CCFC=?
+CCFC: (0-5)
Test
This command controls call forwarding supplementary services. The <reason> values 4 and 5 are
only applicable for <mode>=0. When the status request response from network indicates that the
SS is active for specific data bearer services (e.g. ‘circuit async’), the AT interface shall only
indicate ‘data’ (<class>=2) (the ‘not active’ case is displayed only when the SS is not active to any
service; i.e. +CCFC: 0,7).
Parameters:
<reason>:
0 unconditional
1 mobile busy
2 no reply
3 not reachable
4 all call forwarding (GSM 02.30)
5 all conditional call forwarding (GSM 02.30)
<mode>:
0 disable
1 enable
2 query status
3 registration
4 erasure
<number>: string type phone number of forwarding address in the format specified by <type>
<type>:
type of address octet in integer format (GSM 04.08, subclause 10.5.4.7). The default
value is 145 when the dialling string includes the international access code character
"+", otherwise the default value is129
<subaddr>: string type subaddress of the format specified by <satype>
<satype>: type of subaddress octet in integer format (GSM 04.08, subclause 10.5.4.8). The
default value is 128.
<classx>
a sum of integers each representing a class of information (the default value 7 equals
all classes):
1 voice
2 data
4 fax
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
50
List of AT Commands for Nokia 22
also all other values below 128 are reserved
<time>:
1...30 when "no reply" is enabled or queried, gives the time in seconds to wait before
a call is forwarded. The default value is 20.
<status>:
0 not active
1 active
7.15 +CHLD Call related to SSs
Command
+CHLD=<n>
+CHLD=?
response
+cme error
x
Execute
test
+CHLD: (0,1,1x,2,2x,3,4)
Optional. See ETSI GSM 07.07 /2/, section 7.12. Controls call hold, multiparty and explicit call
transfer supplementary service operations as defined in GSM 02.30, section 4.5.5.1. A short
description of <n> values: 0 = release waiting or incoming call (send ‘busy’ cause to network), or
held calls; 1 = release active calls and accept another (waiting or held) call; 1x = release active call
x; 2 = active calls on hold and accept another (waiting or held) call; 2x = active multiparty call on
hold except for call x; 3 = add a held call to a multiparty call; 4 = connect a held call to an active (or
MO alerting) call (locally both calls are disconnected).
7.16 +CAOC Advice of charge
Command
response
+cme error
+CAOC[=<mode>]
[+CAOC?]
+CAOC=?
[+CAOC: <ccm>]
+CAOC: <mode>
[+CAOC: (0-2)]
execute
read
test
x
Optional. See ETSI GSM 07.07 /2/, section 7.15. Returns the current call meter value (in home
units) from the ME.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
51
List of AT Commands for Nokia 22
8
ME CONTROL AND STATUS COMMANDS (GSM 07.07)
8.1 +CPWC ME power class control
Command
Response
+cme error
+CPWC=<class>,<band> [+CAOC: <ccm>]
execute
read
x
x
+CPWC?
+CPWC: <curr_class1>,
<def_class1>, <band1>
[,<curr_class2>,
<def_class2>,<band2>[...
]]
+CPWC=?
+CPWC:
test
(0,(0,4,5)),(1,(0-2))
This command is used to set the preferred ME power class for each supported GSM frequency
band. The interaction of this setting with the selected bearer service (+CBST and HSCSD
commands) is manufacturer specific (for example, selecting a multislot operation might reduce the
power class automatically). If the setting fails in an ME error, the +CME ERROR: <err> is returned.
The read command returns the currently selected output power class and default output power
class for each supported frequency band (as defined by the ME manufacturer). The parameter
<band1> and its associated power class parameters refer to the currently used frequency band.
For example, +CPWC: 2,1,1,5,4,0 in the case of a dual-band ME currently using the band
GSM1800, for which the power class is currently set to 2, the default being class 1, and the
currently set power class value for GSM900 is class 5, the default being class 4.
The test command returns the supported bands and their power classes. For example,
+CPWC: (0,(0,4,5)),(1,(0-2)) in a case of a dual-band handheld ME.
Defined values
<class>, <curr_classn>s, <def_classn>s:
0
default (not applicable to <curr_class>s or <def_classn>s)
1…
MS output power class as in GSM 05.05 [38]
<band>, <bandn>s:
0
1
GSM900
GSM1800
2
3
reserved for GSM1900
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
52
List of AT Commands for Nokia 22
8.2 +CPAS Phone activity status
Command
+CPAS
+CPAS=?
Response
+CPAS: <pas>
+CPAS: (0,1,3,4)
Execute
Test
The +CPAS command returns the activity status <pas> of the ME. It can be used to interrogate the
ME before requesting action from the phone.
The test command returns the supported values.
Defined values
<pas>:
0
1
3
4
ready
unavailable (This value is never reported.)
ringing
call in progress
8.3 +CFUN Set phone functionality
Command
Response
Default
+cme
error
Set
Read
Test
+CFUN=<fun>[,0]
+CFUN?
+CFUN=?
[0,0]
x
x
+CFUN: <fun>
+CFUN: (0,1),(0)
The +CFUN command selects the level of functionality <fun> of the Nokia 22. It can be used to
stop the use of the Nokia 22 in a controlled manner. After <fun>=0, it is not possible to
communicate with the Nokia 22, but the device has to be hardware reset to establish
communication.
The test command returns supported values.
Defined values
<fun>:
0
1
minimum functionality
full functionality, this setting is ignored
8.4 +CPIN Enter PIN
Command
Response
+cme
error
Set
Read
Test
+CPIN=<pin>,<newpin>
+CPIN?
+CPIN=?
x
x
+CPIN: <code>
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
53
List of AT Commands for Nokia 22
The +CPIN command sends a password to the Nokia 22 that is required for the operating the
Nokia 22 (SIM PIN, SIM PUK, PH-SIM PIN, etc.). Note that quotation marks must be used in this
command (e.g. AT+CPIN="1234").
If the required PIN is SIM PUK or SIM PUK2, <newpin> is required. <newpin> replaces the old pin
of the SIM.
The read command returns an alphanumeric string that indicates whether a password is required.
Defined values
<pin>, <newpin>
<code>:
string type values
READY
ME is not pending for any password
SIM PIN
ME is waiting for a SIM PIN
SIM PUK
ME is waiting for a SIM PUK
PH-SIM PIN
PH-FSIM PIN
PH-FSIM PUK
SIM PIN2
ME is waiting for a phone-to-SIM card password
ME is waiting for a phone-to-very first SIM card password
ME is waiting for a phone-to-very first SIM card unblocking password
ME is waiting for a SIM PIN2 (it is recommended that this <code> is
returned only if the last executed command resulted in a PIN2
authentication failure (i.e. +CME ERROR: 17); if the PIN2 is not entered
immediately after the failure, it is recommended that the ME should not
block its operation)
SIM PUK2
ME is waiting for a SIM PUK2 (it is recommended that this <code>
should be returned only if the last executed command resulted in a
PUK2 authentication failure (i.e. +CME ERROR: 18); if PUK2 and the
new PIN2 are not entered immediately after the failure, it is
recommended that the ME should not block its operation)
ME is waiting for a network personalisation password
PH-NET PIN
PH-NET PUK
ME is waiting for a network personalisation unblocking password
PH-NETSUB PIN
PH-NETSUB PUK
PH-SP PIN
ME is waiting for a network subset personalisation password
ME is waiting for a network subset personalisation unblocking password
ME is waiting for a service provider personalisation password
ME is waiting for a service provider personalisation unblocking
password
PH-SP PUK
PH-CORP PIN
PH-CORP PUK
ME is waiting for a corporate personalisation password
ME is waiting for a corporate personalisation unblocking password
8.5 +CSQ Signal quality
Command
Response
+cme error
Execute
Test
+CSQ
+CSQ=?
+CSQ: <rssi>,99
+CSQ: (0-31,99),(99)
x
The +CSQ command returns the received signal strength indication <rssi>.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
54
List of AT Commands for Nokia 22
The test command returns the supported values.
Defined values
<rssi> indicates the quality of the network coverage:
0
6
12
18
24
No network coverage
Nokia 22 is connected to the network
Satisfactory coverage
Good coverage
Excellent coverage
8.6 +CPBS Select phonebook memory storage
Command
Response
Default
+cme error
Set
Read
Test
+CPBS=<storage>
+CPBS?
+CPBS=?
"SM"
+CPBS: <storage>
+CPBS: ("ME","SM","FD","ON","EN",
"MC","DC","RC")
x
The +CPBS command selects the phonebook memory storage <storage> that is used by the other
phonebook commands.
The read command returns the currently selected memory, the number of used locations and the
total number of the locations in the memory.
The test command returns the supported storages.
Defined values
<storage>:
"DC"
"EN"
"FD"
"MC"
"ME"
"ON"
ME dialled calls list (+CPBW is not applicable for this storage)
SIM (or ME) emergency number (+CPBW is not applicable for this storage)
SIM fixdialling-phonebook
ME missed (unanswered received) calls list (+CPBW not applicable for this storage)
ME phonebook
SIM (or ME) own numbers (MSISDNs) list (reading of this storage is also available
using +CNUM )
"RC"
"SM"
ME received calls list (+CPBW is not applicable for this storage)
SIM phonebook
+CPBR
Read phonebook entries
Command
Response
+cme
error
Execute
Test
+CPBR=<index1>,
<index2>
+CPBR=?
[+CPBR: <index1>,<number>,<type>,<text>[[...]
<CR><LF>+CPBR: <index2>,<number>,<type>,<text>]]
+CPBR: (<index>-list),[<nlength>],[<tlength>]
x
x
The +CPBR command returns phonebook entries in the location number range <index1> ...
<index2> from the current phonebook memory storage selected using the +CPBS. The entry fields
returned are the location number <indexn>, the phone number stored there <number> (of the
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
55
List of AT Commands for Nokia 22
format <type>) and text <text> associated with the number. If all the queried locations are empty
(but available), no information text lines can be returned.
The test command returns the location range supported by the current storage as a compound
value and the maximum lengths of the <number> and <text> fields. In the case of a SIM storage,
the lengths may not be available.
Defined values
<index1>, <index2>, <index> Integer type values in the range of the location numbers
of the phonebook memory.
<number>
<type>
string type phone number of the format <type>
type of address octet in integer format (refer to GSM 04.08
10.5.4.7):
129
145
unknown/telephony
international/telephony
<text>
<nlength>
string type field of the maximum length of <tlength>
integer type value indicating the maximum length of the
<number> field
<tlength>
integer type value indicating the maximum length of the
<text> field
8.7 +CPBF Find phonebook entries
Command
Response
+cme
error
Execute
Test
+CPBF=<findtext>
+CPBF=?
[+CPBF: <index1>,<number>,<type>,<text>[[...]
<CR><LF>+CPBF: <index2>,<number>,<type>,<text>]]
+CPBF: [<nlength>],[<tlength>]
x
x
The +CPBF command returns phonebook entries (from the current phonebook memory storage
selected using the +CPBS) which an alphanumeric field start with the <findtext> string. The entry
fields returned are the location number <indexn>, the phone number stored there <number> (of the
format <type>) and text <text> associated with the number. If the searched text is not found in the
entries in the current memory, the response is empty.
The test command returns the maximum lengths of the <number> and <text> fields. In the case of
a SIM storage, the lengths may not be available.
Defined values
<index1>, <index2> integer type values in the range of location numbers of the
phonebook memory
<number> string type phone number of the format <type>
<type> type of address octet in integer format (refer GSM 04.08 10.5.4.7):
129
145
unknown/telephony
international/telephony
<findtext>, <text> string type field of the maximum length of <tlength>
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
56
List of AT Commands for Nokia 22
<nlength> integer type value indicating the maximum length of the <number> field
<tlength> integer type value indicating the maximum length of the <text> field
8.8 +CPBW Write phonebook entry
Command
Response
Default
+cme
error
Execute
Test
+CPBW=<index>,<number>,
<type>,<text>
+CPBW=?
[,,129/145]
x
+CPBW: (<index>-list),[<nlength>],
(129,145),[<tlength>]
x
The +CPBW command writes a phonebook entry in the location number <index> in the current
phonebook memory storage selected using the +CPBS. The entry fields written are phone number
<number> in the format <type> and text <text> associated with the number. If these fields are
omitted, the phonebook entry is deleted.
The test command returns the location range supported by the current storage as a compound
value, the maximum length of the <number> field, the supported number formats of the storage,
and the maximum length of the <text> field. In the case of a SIM storage, the lengths may not be
available.
Defined values
<index> integer type values in the range of the location numbers of the phonebook
memory
<number> string type phone number of the format <type>
<type> type of address octet in integer format (refer GSM 04.08 10.5.4.7). The
default value is 145 when dialling string includes the international access code
character "+", otherwise 129:
129
145
unknown/telephony
international/telephony
<text> string type field of the maximum length of the <tlength>
<nlength> integer type value indicating the maximum length of the <number> field
<tlength> integer type value indicating the maximum length of the <text> field
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
57
List of AT Commands for Nokia 22
8.9 +CIND Indicator control
Command Response
+cme error
+CIND=
+CIND?
+CIND=?
set
read
test
X
X
X
+CIND: <ind>[,<ind>[,...]]
Dtp2v3, CDS1.2: +CIND: ("message",(0,1)),("call",(0,1)),
("roam",(0,1)),("smsfull",(0,1))
Nokia 22: +CIND:
("message",(0,1)),("call",(0,1)),("roam",(0,1)),
("smsfull",(0,1)),("signal",(0-5))
Optional. See ETSI GSM 07.07 /2/, section 8.9. Queries the current status of the ME physical
indicators.
8.10 +CMER ME event reporting
Command
Response
Default
2,0,0
,0[,0]
+cme error
x
+CMER=<mode>,<keyp>,
<disp>,<ind>[,0]
+CMER?
set
+CMER: <mode>,<keyp>,<disp>,<ind>,0
read
Test
+CMER=?
Dtp2v3, CDS1.2: +CMER:
(2),(0,2),(0),(0,1),(0)
Nokia 22 1.0: +CMER: (2,3),(0),(0),(0,1),(0)
Nokia 22: +CMER: (2,3),(0),(0),(0,1),(0)
Mandatory when any of the +CKEV, +CDEV, or +CIEV result codes are implemented. See ETSI
GSM 07.07 /2/, section 8.10. Enables/disables the presentation of the keypad, display and
indicator unsolicited result codes.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
58
List of AT Commands for Nokia 22
9
ME ERROR COMMAND (GSM 07.07)
9.1 +CMEE Report mobile equipment error
Command
+CMEE=<n>
+CMEE?
Response
Default
0
Set
Read
Test
+CMEE: <n>
+CMEE: (0-2)
+CMEE=?
The +CMEE command disables or enables the use of the result code +CME ERROR: <err> as an
indication of an error relating to the functionality of the Nokia 22. When enabled, the ME related
errors cause the +CME ERROR: <err> final result code instead of the regular ERROR final result
code. ERROR is returned normally when an error is related to the syntax or invalid parameters.
The test command returns the supported values.
Defined values
<n>:
0
1
2
disable +CME ERROR: <err> result code and use ERROR instead
enable +CME ERROR: <err> result code and use numeric <err> values
enable +CME ERROR: <err> result code and use verbose <err> values
See also the result code +CME ERROR.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
59
List of AT Commands for Nokia 22
10 SMS COMMANDS (GSM 07.05)
10.1 +CSMS Select message service
Command
Response
Default
Set
Read
Test
+CSMS=<service>
+CSMS?
+CSMS=?
+CSMS: 1,1,1
+CSMS: <service>,1,1,1
+CSMS: (0,1)
0
The +CSMS command selects the messaging service <service>.
The read command returns the current service setting.
The test command returns a list of all the supported services.
Defined values
<service>:
0
GSM 03.40 and 03.41 (the syntax of the SMS AT commands is
compatible with GSM 07.05 Phase 2, version 4.7.0; The phase 2+
features which do not require a new command syntax may be supported
(e.g. correct routing of messages with new Phase 2+ data coding
schemes)
1
GSM 03.40 and 03.41 (the syntax of the SMS AT commands is
compatible with the GSM 07.05 Phase 2+ version; the requirement of
the setting 1 is mentioned under the corresponding command
descriptions)
10.2 +CPMS Preferred message storage
Command
Response
Default
+cms
error
Set
+CPMS=<mem1 +CPMS: <used1>,<total1>,<used2>,
"SM","SM","SM"
x
>
<total2>,<used3>,<total3>
,<mem2>
,<mem3>
+CPMS?
Read
Test
+CPMS: <mem1>,<used1>,<total1>,<mem2>,
<used2>,<total2>,<mem3>,<used3>,<total3>
+CPMS: ("ME","SM"),("ME","SM"),("SM")
x
+CPMS=?
The +CPMS command selects the memory storage <mem1>, <mem2> and <mem3> to be used
for reading, writing, etc.
The test command returns lists of the supported memory storage.
Defined values
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
60
List of AT Commands for Nokia 22
<mem1>
<mem2>
<mem3>
memory from which messages are read and deleted (the commands List Messages
+CMGL, Read Message +CMGR and Delete Message +CMGD)
memory to which writing and sending operations are made (the commands Send
Message from Storage +CMSS and Write Message to Memory +CMGW)
memory to which received SMs are preferred to be stored (unless forwarded directly
to the TE; refer to the command New Message Indications +CNMI); the received
CBMs are always stored in the "BM" (or some manufacturer specific storage) unless
directly forwarded to the TE; the received status reports are always stored in the "SR"
(or a manufacturer specific storage) unless directly forwarded to the TE
"ME"
"SM"
ME message storage
SIM message storage
<usedx> integer type; the number of messages currently in <memx>
<totalx> integer type; the total number of message locations in <memx>
10.3 +CMGF Message format
Command
+CMGF=<mode>
+CMGF?
Response
Default
0
Set
Read
Test
+CMGF: <mode>
+CMGF: (0,1)
+CMGF=?
The +CMGF command tells the Nokia 22 the input and output format of messages to be used.
<mode> indicates the format of the messages used with the send, list, read and write commands
and the unsolicited result codes resulting from the received messages. The mode can be either the
PDU mode (entire TP data units used) or the text mode (headers and body of the messages given
as separate parameters). The text mode uses the character set specified by the command Select
TE Character Set +CSCS to be used in the message body.
The test command returns the supported modes as a compound value.
Defined values
<mode>:
0
1
PDU mode
text mode
10.4 +CSCA Service centre address
Command
+CSCA=<sca>,<tosca>
+CSCA?
Response
+CSCA: <sca>,<tosca>
Default
"",129
Set
Read
Test
+CSCA=?
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
61
List of AT Commands for Nokia 22
The +CSCA command updates the SMSC address through which mobile originated SMs are
transmitted. In the text mode, the setting is used by the send and write commands. In the PDU
mode, the setting is used by the same commands, but only when the length of the SMSC address
coded into TPDU equals zero. The SMSC address may change also when the +CRES is taken
action.
The read command returns the current SMSC address settings.
Defined values
<sca> GSM 04.11 RP SC address Address-Value field in string format
<tosca> GSM 04.11 RP SC address Type-of-Address octet in integer format:
129
145
unknown/telephony
international/telephony
10.5 +CSMP Set text mode parameters
Command
Response
Default
Set
Read
Test
+CSMP=<fo>,<vp>,<pid>,<dcs>
+CSMP?
+CSMP=?
17,167,0,0
+CSMP: <fo>,<vp>,<pid>,<dcs>
The +CSMP command is used to select values for the additional parameters needed when the SM
is sent to the network or placed in a storage when the text format message mode is selected. It is
possible to set the validity period starting from the moment when the SM is received by the SMSC
(<vp> is in range 0... 255) or to define the absolute time of the validity period termination (<vp> is a
string). The format of <vp> is given by <fo>. The values of these parameters may change also
when the +CRES is used.
NOTE: When storing a SMS-DELIVER from the TE to the preferred memory storage in the text
mode (refer command Write Message to Memory +CMGW), the <vp> field can be used for <scts>.
Defined values
<fo>
first octet of GSM 03.40 SMS-DELIVER or SMS-SUBMIT in integer format
<vp>
depending on the SMS-SUBMIT <fo> setting: GSM 03.40 TP-Validity-Period either in
integer format or in time-string format
<pid>
<dcs>
GSM 03.40 TP-Protocol-Identifier in integer format
GSM 03.38 SMS Data Coding Scheme in integer format
10.6 +CSDH Show text mode parameters
Command
+CSDH=<show>
+CSDH?
Response
Default
0
Set
Read
Test
+CSDH: <show>
+CSDH: (0,1)
+CSDH=?
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
62
List of AT Commands for Nokia 22
The +CSDH command controls whether detailed header information is shown in the text mode
result codes.
The test command returns the supported values as a compound value.
Defined values
<show>:
0
do not show header values defined in the commands +CSCA and
+CSMP (<sca>, <tosca>, <fo>, <vp>, <pid> and <dcs>) nor <length>,
<toda> or <tooa> in the +CMT, +CMGL, +CMGR result codes for SMS-
DELIVERs and SMS-SUBMITs in the text mode; for SMS-COMMANDs
in the +CMGR result code, do not show <pid>, <mn>, <da>, <toda>,
<length> or <cdata>
1
show the values in result codes
10.7 +CSCB Select cell broadcast message types
Command
Response
Default
+cms
error
Set
Read
Test
+CSCB=<mode>,<mids>,<dcss>
+CSCB?
+CSCB=?
0,"",""
x
+CSCB: <mode>,<mids>,<dccs>
+CSCB: (0,1)
The +CSCB command defines the types of CBMs that are to be received.
The test command returns the supported modes as a compound value.
Defined values
<mode>:
0
1
message types specified in <mids> and <dcss> are accepted
message types specified in <mids> and <dcss> are not accepted
<mids>
string type, all the possible combinations of GSM 03.41 CBM message
identifiers, e.g. "0,1,5,320-478,922"
<dcss>
string type, all the possible combinations of 03.38 CBM data coding
schemes, e.g. "0-3,5”
10.8 +CSAS Save settings
Command
Response
Default
+cms
error
Execute
Test
+CSAS=<profile>
+CSAS=?
[1]
x
x
+CSAS: (0,1)
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
63
List of AT Commands for Nokia 22
The +CSAS command saves active message service settings to a non-volatile memory. The
settings specified in the commands Service Centre Address +CSCA, Set Message Parameters
+CSMP and Select Cell Broadcast Message Types +CSCB are saved. The SMSC address is not
stored if +CSCA is not set/restored during the current session (i.e. +CSCA? returns
+CSCA: "",129). The protocol id (<pid>), data coding scheme (<dcs>) and validity period (<vp>)
are not stored if the +CSMP parameter <fo> does not indicate SMS-SUBMIT (i.e. bits 1-0 are not
‘01’). In addition, the validity period is not stored if <fo> does not indicate the relative validity period
format (i.e. bits 4-3 are not ‘10’). The destination address or alpha tag cannot be stored through an
AT interface.
NOTE: The values that are not stored shall remain intact.
The test command shall display the supported profile numbers for reading and writing of settings.
10.9 +CRES Restore settings
Command
Response
Default
+cms
error
Execute
Test
+CRES=<profile>
+CRES=?
[1]
x
x
+CRES: (0,1)
The +CRES command restores message service settings from the non-volatile memory to the
active memory. The settings specified in the commands Service Centre Address +CSCA, Set
Message Parameters +CSMP and Select Cell Broadcast Message Types +CSCB are restored. If
the protocol id, data coding scheme or validity period is restored, the +CSMP parameter <fo> is
forced to be SMS-SUBMIT (i.e. bits 1-0 are set to ‘01’). In addition, if a validity period is restored,
<fo> is forced to indicate the relative validity period format (i.e. bits 4-3 are set to ‘10’). The rest of
the <fo> bits are set to zero.
The test command shall display the supported profile numbers.
10.10+CNMI New message indications to TE
Command
Response
Default
+cms
error
Set
+CNMI=<mode>,<mt>,
<bm>,<ds>,<bfr>
+CNMI?
0,0,0,0,0
x
Read
Test
+CNMI: <mode>,<mt>,<bm>,<ds>,<bfr>
+CNMI: (0-2),(0-3),(0,2,3),(0-2),(0,1)
+CNMI=?
The +CNMI command defines the procedure for indicating the receiving of new messages from the
network to the TE when the TE is active, e.g. DTR signal is ON. If the TE is inactive (e.g. DTR
signal is OFF), message receiving should be done as specified in GSM 03.38.
<mode> controls the processing of unsolicited result codes specified within this command, <mt>
sets the result code indication routing for SMS-DELIVERs, <bm> for CBMs and <ds> for SMS-
STATUS-REPORTs. <bfr> defines the handling method for buffered result codes when <mode> 1
or 2 is enabled.
The test command gives the supported setting values.
Defined values
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
64
List of AT Commands for Nokia 22
<mode> the setting affects only to unsolicited result codes specified within this command:
0
1
2
Buffer unsolicited result codes in the Nokia 22. If the Nokia 22 result code buffer is
full, the oldest indications will be discarded and replaced with the new received
indications.
Discard indication and reject new received message unsolicited result codes when
the control link is reserved (e.g. in on-line data mode). Otherwise forward them
directly to the TE.
Buffer unsolicited result codes in the Nokia 22 when the control link is reserved (e.g.
in the on-line data mode) and flush them to the TE after reservation. Otherwise
forward them directly to the TE.
NOTE: The result code buffer is in the volatile memory, messages may get lost if the
Nokia 22 is switched off before the codes are sent to TE.
<mt>
0
The rules for storing received SMs depend on its data coding scheme (refer to GSM
03.38), preferred memory storage (+CPMS) setting, and this value:
No SMS-DELIVER indications are routed to the TE.
If SMS-DELIVER is stored into the Nokia 22, an indication of the memory location is
routed to the TE using an unsolicited result code: +CMTI: <mem>,<index>
1
SMS-DELIVERs (except for class 2 messages and messages in the message waiting
indication group (store message)) are routed directly to the TE using an unsolicited
result code:
+CMT: <length><CR><LF><pdu> (PDU mode enabled)
or
+CMT: <oa>,<scts>[,<tooa>,<fo>,<pid>,<dcs>,<sca>,<tosca>,
<length>]<CR><LF><data> (text mode enabled; about parameters in italics, refer to
the command Show Text Mode Parameters +CSDH)
Class 2 messages and messages in the message waiting indication
group (store message) result in an indication as defined in <mt>=1.
3
Class 3 SMS-DELIVERs are routed directly to the TE using unsolicited result codes
defined in <mt>=2. The messages of other data coding schemes result in an
indication as defined in <mt>=1.
<bm> the rules for storing received CBMs depend on its data coding scheme (refer
GSM 03.38), the setting of the Select CBM Types (+CSCB), and this value:
0
No CBM indications are routed to the TE.
2
New CBMs are routed directly to the TE using an unsolicited result
code:
+CBM: <length><CR><LF><pdu> (PDU mode enabled)
or +CBM: <sn>,<mid>,<dcs>,<page>,<pages><CR><LF><data>
(textmode enabled)
3
Class 3 CBMs are routed directly to the TE using unsolicited result
codes defined in <bm>=2. If the CBM storage is supported, the
messages of other classes result in an indication as defined in <bm>=1.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
65
List of AT Commands for Nokia 22
<ds>:
0
1
No SMS-STATUS-REPORTs are routed to the TE.
SMS-STATUS-REPORTs are routed to the TE using an unsolicited
result code:
+CDS: <length><CR><LF><pdu> (PDU mode enabled)
or
+CDS: <fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st> (text mode enabled)
2
If SMS-STATUS-REPORT is stored into the Nokia 22, an indication of
the memory location is routed to the TE using an unsolicited result code:
+CDSI: <mem>,<index>
<bfr>:
0
the Nokia 22 buffer of unsolicited result codes defined within this
command is flushed to the TE when <mode> 1-2 is entered (the OK
response shall be given before flushing the codes).
1
the Nokia 22 buffer of unsolicited result codes defined within this
command is cleared when <mode> 1-2 is entered.
10.11+CMGL List messages
Command Response
Default +cms
error
Execute
+CMGL=
<stat>
Text mode (+CMGF=1), SMS-DELIVER or SMS-SUBMIT:
+CMGL: <index>,<stat>,<oa/da>,[<scts>]
[,<tooa/toda>,<length>]<CR><LF><data>[<CR><LF>
+CMGL: <index>,<stat>,<oa/da>,[<scts>]
[,<tooa/toda>,<length>]<CR><LF><data>[...]]
text mode (+CMGF=1), SMS-STATUS-REPORT:
+CMGL: <index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,
<dt>,<st>[<CR><LF>
["REC
UNREA
D"/0]
x
+CMGL: <index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,
<dt>,<st>[...]]
text mode (+CMGF=1), SMS-COMMAND:
+CMGL: <index>,<stat>,<fo>,<ct>[<CR><LF>
+CMGL: <index>,<stat>,<fo>,<ct>[...]]
PDU mode (+CMGF=0):
+CMGL: <index>,<stat>,<length><CR><LF><pdu>
[<CR><LF>+CMGL:<index>,<stat>,<length>
<CR><LF><pdu>[...]]
Test
+CMGL=?
Text mode (+CMGF=1):
+CMGL: ("REC UNREAD","ALL")
PDU mode (+CMGF=0):
+CMGL: (0,4)
Text mode:
The +CMGL command returns the messages with the status value <stat> from a message storage
to the TE. If the status of the message is 'received unread', the status in the storage changes to
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
66
List of AT Commands for Nokia 22
'received read'.
NOTE: If the selected <mem1> can contain different types of SMs (e.g. SMS-DELIVERs, SMS-
SUBMITs, SMS-STATUS-REPORTs and SMS-COMMANDs), the response may be a mix of the
responses of the different SM types. The TE application can recognise the response format by
examining the third response parameter.
The test command shall give a list of all the supported status values.
PDU mode:
The +CMGL command returns messages with the status value <stat> from the preferred message
storage <mem1> to the TE. Entire data units <pdu> are returned. If the status of the message is
'received unread', the status in the storage changes to 'received read'.
Defined values
<stat> integer type in the PDU mode (default 0), or string type in the text mode;
indicates the status of the message in the memory:
0
1
2
3
4
"REC UNREAD" received unread message (i.e. new message)
"REC READ" received read message
"STO UNSENT" stored unsent message (only applicable to SMs)
"STO SENT" stored sent message (only applicable to SMs)
"ALL" all messages (only applicable to the +CMGL command)
<index> integer type value in the range of location numbers
<oa/da> GSM 03.40 TP-Originating/Destination-Address Address-Value field in string
format; type of address given by <tooda/toda>
<scts> GSM 03.40 TP-Service-Centre-Time-Stamp in time-string format
<tooa/toda>/<tora> GSM 04.11 TP-Originating/Destination-Address Type-of-Address
octet in integer format
129
145
unknown/telephony
internal/telephony
<length> integer type value that indicates the length of the message body <data> in
characters in the text mode (+CMGF=1); or integer type value that indicates the
length of the actual TP data unit in octets (i.e. the RP layer SMSC address octets are
not counted in the length) in the PDU mode (+CMGF=0),
<data> SMS: GSM 03.40 TP-User-Data in the text mode responses
<fo> first octet of GSM 03.40 SMS-DELIVER, SMS-SUBMIT, SMS-STATUS-
REPORT, or SMS-COMMAND in integer format
<mr> GSM 03.40 TP-Message-Reference in integer format
<ra> GSM 03.40 TP-Recipient-Address Address-Value field in string format; the type
of address is given by <tora>
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
67
List of AT Commands for Nokia 22
<dt> GSM 03.40 TP-Discharge-Time in time-string format: “yy/MM/dd,hh:mm:ss±zz”
<st> GSM 03.40 TP-Status in integer format
<ct> GSM 03.40 TP-Command-Type in integer format
<pdu> GSM 04.11 SC address followed by GSM 03.40 TPDU in hexadecimal format
10.12+CMGR Read message
Command Response
+cms
error
Execute
+CMGR=
<index>
text mode (+CMGF=1), SMS-DELIVER:
x
+CMGR: <stat>,<oa>,<scts>[,<tooa>,<fo>,<pid>,<dcs>,
<sca>,<tosca>,<length>]<CR><LF><data>
text mode (+CMGF=1), SMS-SUBMIT:
+CMGR: <stat>,<da>[,<toda>,<fo>,<pid>,<dcs>,[<vp>],
<sca>,<tosca>,<length>]<CR><LF><data>
text mode (+CMGF=1), SMS-STATUS-REPORT:
+CMGR: <stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>
text mode (+CMGF=1), SMS-COMMAND:
+CMGR: <stat>,<fo>,<ct>[,<pid>,[<mn>],[<da>],[<toda>],
<length><CR><LF><cdata>]
PDU mode (+CMGF=0):
+CMGR: <stat>,<length><CR><LF><pdu>
Test
+CMGR=?
Text mode:
The +CMGR command returns a message with the location value <index> from the message
storage. If the status of the message is 'received unread', the status in the storage changes to
'received read'.
PDU mode:
The +CMGR command returns a message with the location value <index> from the preferred
message storage to the TE. The status of the message and the entire message data unit <pdu> is
returned. If the status of the message is 'received unread', the status in the storage changes to
'received read'.
Defined values
<index> integer type; value in the range of the location numbers
<stat> integer type in the PDU mode (default 0), or string type in the text mode;
indicates the status of the message in the memory:
0
1
2
3
4
"REC UNREAD" received unread message (i.e. new message)
"REC READ" received read message
"STO UNSENT" stored unsent message (only applicable to SMs)
"STO SENT" stored sent message (only applicable to SMs)
"ALL" all messages (only applicable to the +CMGL command)
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
68
List of AT Commands for Nokia 22
<oa>/<da> GSM 03.40 TP-Originating/Destination-Address Address-Value field in
string format; the type of address is given by <tooda>/<toda>
<scts> GSM 03.40 TP-Service-Centre-Time-Stamp in time-string format
<tooa>/<toda>/<tora> GSM 04.11 TP-Originating/Destination-Address Type-of-
Address octet in integer format
129
145
unknown/telephony
internal/telephony
<fo> first octet of GSM 03.40 SMS-DELIVER, SMS-SUBMIT, SMS-STATUS-
REPORT, or SMS-COMMAND in integer format
<pid> GSM 03.40 TP-Protocol-Identifier in integer format
<dcs> GSM 03.38 SMS Data Coding Scheme in integer format
<sca> GSM 04.11 RP SC address Address-Value field in string format, type of
address given by <tosca>
<tosca> GSM 04.11 RP SC address Type-of-Address octet in integer format
129
145
unknown/telephony
internal/telephony
<length> integer type value that indicates the length of the message body <data> in
characters in the text mode (+CMGF=1); or that indicates the length of the actual TP
data unit in octets (i.e. the RP layer SMSC address octets are not counted in the
length) in the PDU mode (+CMGF=0).
<data> SMS: GSM 03.40 TP-User-Data in text mode responses
<vp> GSM 03.40 TP-Validity-Period either in integer format or in time-string format
(refer <dt>)
<mr> GSM 03.40 TP-Message-Reference in integer format
<ra> GSM 03.40 TP-Recipient-Address Address-Value field in string format; type of
address given by <tora>
<dt> GSM 03.40 TP-Discharge-Time in time-string format: “yy/MM/dd,hh:mm:ss±zz”
<st> GSM 03.40 TP-Status in integer format
<ct> GSM 03.40 TP-Command-Type in integer format
<mn> GSM 03.40 TP-Message-Number in integer format
<pdu> GSM 04.11 SC address followed by GSM 03.40 TPDU in hexadecimal format
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
69
List of AT Commands for Nokia 22
10.13+CNMA New message acknowledgement to ME/TA
Command
Response
+cms
error
Execute
Test
text mode (+CMGF=1):
+CNMA
x
PDU mode (+CMGF=0):
+CNMA=<n>,<length><CR>PDU is given<ctrl-Z/ESC>
+CNMA=?
PDU mode
(+CMGF=0):
+CNMA: (0-2)
Text mode:
The +CNMA command confirms the correct reception of a new message (SMS-DELIVER or SMS-
STATUS-REPORT) which is routed directly to the TE. This acknowledgement command (causing
the Nokia 22 to send RP-ACK to the network) shall be used when the +CSMS parameter
<service> equals 1. The Nokia 22 shall not send another +CMT or +CDS result code to the TE
before the previous one is acknowledged.
If the Nokia 22 does not get acknowledgement within the required time (network timeout), the
Nokia 22 will send a RP-ERROR to the network. Routing to the TE will automatically be disabled
by setting both <mt> and <ds> values of +CNMI to zero.
PDU mode:
The +CNMA command confirms the reception of a new message (SMS-DELIVER or SMS-
STATUS-REPORT) which is routed directly to the TE. This acknowledgement command shall be
used when the +CSMS parameter <service> equals 1. In the PDU mode, it is possible to send
either a positive (RP-ACK) or a negative (RP-ERROR) acknowledgement to the network. The
parameter <n> defines which acknowledgement will be sent. Optionally (when <length> is greater
than zero), an acknowledgement TPDU (SMS-DELIVER-REPORT for RP-ACK or RP-ERROR)
may be sent to the network. The entering of the PDU is done similarly as specified in the command
Send Message +CMGS, except that the format of <ackpdu> is used instead of <pdu> (i.e. SMSC
address field is not present). The PDU shall not be bounded by double quotes. The TA shall not
send another +CMT or +CDS result code to the TE before the previous code is acknowledged.
If the Nokia 22 does not get an acknowledgement within the required time (network timeout), the
ME should send an RP-ERROR to the network. The Nokia 22 shall automatically disable routing to
the TE by setting both <mt> and <ds> values of the +CNMI to zero.
The test command returns a list of supported <n> values. If the only value that is supported is 0,
the device does not support the sending of TPDU.
Defined values
<n>:
0
1
2
command operates as defined for the text mode
send RP-ACK (or buffered result code received correctly)
send RP-ERROR (if PDU is not given, the Nokia 22 shall send an SMS-
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
70
List of AT Commands for Nokia 22
DELIVER-REPORT with a GSM 03.40 TP-FCS value set to ‘FF’ (unspecified error
cause))
<length> the length of the actual TP data unit in octets (i.e. the RP layer SMSC
address octets are not counted in the length)
10.14+CMGS Send message
Command
Response
Default
+cms
error
Execute
Text mode (+CMGF=1):
+CMGS=<da>,<toda><CR>
text is entered<ctrl-Z/ESC>
text mode (+CMGF=1) and sending
ok:
+CMGS: <mr>[,<scts>]
text mode:
[,129/145]
x
PDU mode (+CMGF=0):
+CMGS=<length><CR>
PDU is given<ctrl-Z/ESC>
+CMGS=?
PDU mode (+CMGF=0) and sending
ok:
+CMGS: <mr>[,<ackpdu>]
Test
Text mode:
The +CMGS command sends message to the network (SMS-SUBMIT). The message reference
value <mr> is returned to the TE when a message is successfully delivered. Optionally (when
+CSMS <service> value is 1 and the network supports), <scts> is returned. Values can be used to
identify a message upon unsolicited delivery status report result code.
PDU mode:
The +CMGS command sends a message from a TE to the network (SMS-SUBMIT). The message
reference value <mr> is returned to the TE when a message is successfully delivered. Optionally
(when +CSMS <service> value is 1 and the network supports), <ackpdu> is returned. Values can
be used to identify a message upon an unsolicited delivery status report result code.
The text/PDU entering is as specified in 07.05. If the SMSC address is not set/restored during the
current session (i.e. +CSCA? returns +CSCA: "",129), it must automatically be read from the
SIM/ME (location 1). In the PDU mode, all kinds of GSM 03.40 MO TPDUs can be sent with this
command (operation equals +CMGC).
Defined values
<da> GSM 03.40 TP-Destination-Address Address-Value field in string format; the
type of address is given by <toda>
<toda> GSM 04.11 TP-Destination-Address Type-of-Address octet in integer format
129
145
unknown/telephony
internal/telephony
<mr> GSM 03.40 TP-Message-Reference in integer format
<scts> GSM 03.40 TP-Service-Centre-Time-Stamp in time-string format
<length> the length of the actual TP data unit in octets (i.e. the RP layer SMSC
address octets are not counted in the length)
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
71
List of AT Commands for Nokia 22
<ackpdu> GSM 03.40 RP-User-Data element of RP-ACK PDU
10.15+CMSS Send message from storage
Command
Response
Default
+cms
error
Execute
+CMSS=<index>, text mode (+CMGF=1) and sending ok:
[,"",129/145]
x
<da>,<toda>
+CMSS=?
+CMSS: <mr>[,<scts>]
PDU mode (+CMGF=0) and sending ok:
+CMSS: <mr>[,<ackpdu>]
Test
Text mode:
The +CMSS command sends a message with the location value <index> from a preferred
message storage <mem2> to the network (SMS-SUBMIT or SMS-COMMAND). If a new recipient
address <da> is given for the SMS-SUBMIT, it shall be used instead of the one stored with the
message. The reference value <mr> is returned to the TE on a successful message delivery.
Optionally (when +CSMS <service> value is 1 and network supports), <scts> is returned. Values
can be used to identify a message upon an unsolicited delivery status report result code.
PDU mode:
The +CMSS command sends a message with the location value <index> from a message storage
<mem2> to the network (SMS-SUBMIT or SMS-COMMAND). If the new recipient address <da> is
given for the SMS-SUBMIT, it shall be used instead of the one stored with the message. The
reference value <mr> is returned to the TE when a message is successfully delivered. Optionally
(when +CSMS <service> value is 1 and network supports), <ackpdu> is returned. Values can be
used to identify a message upon an unsolicited delivery status report result code.
Defined values
<index> integer type; a value in the range of the location numbers supported by the
associated memory
<da> GSM 03.40 TP-Destination-Address Address-Value field in string format; type of
address given by <toda>
<toda> GSM 04.11 TP-Destination-Address Type-of-Address octet in integer format
129
145
unknown/telephony
internal/telephony
<mr> GSM 03.40 TP-Message-Reference in integer format
<scts> GSM 03.40 TP-Service-Centre-Time-Stamp in time-string format
<ackpdu> GSM 03.40 RP-User-Data element of RP-ACK PDU
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
72
List of AT Commands for Nokia 22
10.16+CMMS More messages to send
Parameter Command Syntax
Command
Possible response(s)
+CMMS=[<n>]
+CMMS?
+CMMS: <n>
+CMMS=?
+CMMS: (list of supported <n>s)
Description
The set command controls the continuity of SMS relay protocol link. When the feature is enabled
(and supported by network), multiple messages can be sent much faster as the link is kept open.
The test command returns the supported values as a compound value.
Defined Values
<n>:
0
1
disable
keep enabled until the time between the response of the latest message send command
(+CMGS, +CMSS, etc.) and the next send command exceeds 1-5 seconds (the exact value
is up to the ME implementation), then the ME shall close the link and the TA automatically
switches <n> back to 0
2
enable (if the time between the response of the latest message send command and the next
send command exceeds 1-5 seconds (the exact value is up to the ME implementation), the
ME shall close the link but the TA shall not automatically switch back to <n>=0)
An example of the sending of a default alphabet message in the text mode and a SMS-STATUS-
REPORT is wanted:
AT+CNMI?
(check that status reports are routed to TE)
+CNMI: 2,1,0,1,0
OK
AT+CSMP=32,167,0,0
OK
(status report wanted; otherwise default settings)
AT+CMGS="+358501234567"
> This the first line.
(start editing a message)
(edit first line and press carriage return)
> This is the last line.^Z (edit second line and send message by pressing control-Z)
+CMGS: 10
OK
(success: message reference 10 returned from SMSC)
+CDS: 2,10,"+358501234567",145,"95/07/04/13:12:14+04",
"95/07/04/13:12:20+04",0
(status report of successful message delivery received)
Storing an unsent message in the memory, sending it from there, and deleting it:
AT+CPMS?
(check memory settings)
+CPMS: "ME",4,10,"ME",4,10,"ME",4,10
OK
AT+CMGW="9501231234"
(write message)
> This is the message body^Z
+CMGW: 7
OK
AT+CMSS=7
+CMSS: 12
OK
(index number in storage returned)
(send from storage)
(success: reference value 12 sent from SC)
AT+CMGD=7
(delete message)
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
73
List of AT Commands for Nokia 22
OK
10.17+CMGW Write message to memory
Command
Response
Default
+cms
error
Execute
Text mode (+CMGF=1):
+CMGW=<oa/da>,<tooa/toda>,<stat>
<CR>text is entered<ctrl-Z/ESC>
storing successful:
+CMGW: <index>
text mode:
[,129/145,
"STO UNSENT"]
x
PDU mode (+CMGF=0):
+CMGW=<length>,<stat><CR>
PDU is given<ctrl-Z/ESC>
+CMGW=?
PDU mode:
[,2]
Test
Text mode:
The +CMGW command stores a message (either SMS-DELIVER or SMS-SUBMIT) to the memory
storage <mem2>. A memory location <index> of the stored message is returned. By default, the
message status will be set to 'stored unsent', but the parameter <stat> also allows other status
values to be given. The entering of text is done similarly as specified in the command Send
Message +CMGS.
NOTE: SMS-COMMANDs and SMS-STATUS-REPORTs can not be stored in the text mode.
PDU mode:
The +CMGW command stores a message to the memory storage <mem2>. A memory location
<index> of the stored message is returned. By default, the message status will be set to 'stored
unsent', but the <stat> parameter also allows other status values to be given.
Text/PDU entering is as specified in ETSI GSM 07.05 /3/. If the SMSC address is not set/restored
during the current session (i.e. +CSCA? returns +CSCA: "",129) and the stored message is SMS-
SUBMIT or SMS-COMMAND, the SMSC address must automatically be read from the SIM/ME
(location 1).
Defined values
<oa>/<da> GSM 03.40 TP-Originating/Destination-Address Address-Value field in
string format; the type of address is given by <tooda>/<toda>
<scts> GSM 03.40 TP-Service-Centre-Time-Stamp in time-string format
<tooa>/<toda>/<tora> GSM 04.11 TP-Originating/Destination-Address Type-of-
Address octet in integer format
129
145
unknown/telephony
internal/telephony
<stat> integer type in the PDU mode (default 0), or string type in the text mode;
indicates the status of a message in the memory:
0
1
2
"REC UNREAD" received unread message (i.e. new message)
"REC READ" received read message
"STO UNSENT" stored unsent message (only applicable to SMs)
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
74
List of AT Commands for Nokia 22
3
4
"STO SENT" stored sent message (only applicable to SMs)
"ALL" all messages (only applicable to +CMGL command)
<index> integer type; value in the range of the location numbers
<length> integer type value that indicates the length of the message body <data> in
characters in the text mode (+CMGF=1); or that indicates the length of the actual TP
data unit in octets (i.e. the RP layer SMSC address octets are not counted in the
length) in the PDU mode (+CMGF=0).
10.18+CMGD Delete message
Command
+cms error
Execute
Test
+CMGD=<index>
+CMGD=?
X
The +CMGD command deletes a message from a preferred message storage location <index>.
10.19+CMGC Send command
Command
Response
Default
+cms
error
Execute
text mode (+CMGF=1):
+CMGC=<fo>,<ct>,<pid>,<mn>,<da>,
<toda><CR>text is entered<ctrl-Z/ESC>
text mode (+CMGF=1) and sending
ok:
+CMGC: <mr>[,<scts>]
text mode:
[2,0,0,
0,"",
x
129/145]
PDU mode (+CMGF=0):
+CMGC=<length><CR>
PDU is given<ctrl-Z/ESC>
+CMGC=?
PDU mode (+CMGF=0) and
sending ok:
+CMGC: <mr>[,<ackpdu>]
Test
Text mode:
The +CMGC command sends a command message from a TE to the network (SMS-COMMAND).
The entering of text (GSM 03.40 TP-Command-Data) is done as specified in the command Send
Message +CMGS, but the format is fixed to be a sequence of two IRA character long hexadecimal
numbers which Nokia 22 converts into 8-bit octets. The message reference value <mr> is returned
to the TE when a message is successfully delivered. Optionally (when +CSMS <service> value is 1
and network supports), <scts> is returned. Values can be used to identify a message upon an
unsolicited delivery status report result code.
PDU mode:
The +CMGC command sends a command message from a TE to the network (SMS-COMMAND).
The message reference value <mr> is returned to the TE on a successful message delivery.
Optionally (when +CSMS <service> value is 1 and the network supports), <ackpdu> is returned.
Values can be used to identify a message upon an unsolicited delivery status report result code.
Text/PDU entering is as specified in ETSI GSM 07.05. If the SMSC address is not set/restored
during the current session (i.e. +CSCA? returns +CSCA: "",129) it must automatically be read from
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
75
List of AT Commands for Nokia 22
the SIM/ME (location 1). In the PDU mode, all kinds of GSM 03.40 MO TPDUs can be sent with
this command (operation equals +CMGS).
Defined values
<fo> first octet of GSM 03.40 SMS-COMMAND in integer format
<ct> GSM 03.40 TP-Command-Type in integer format
<pid> GSM 03.40 TP-Protocol-Identifier in integer format
<mn> GSM 03.40 TP-Message-Number in integer format
<da> GSM 03.40 TP-Destination-Address Address-Value field in string format; the
type of address is given by <tooda>/<toda>
<toda> GSM 04.11 TP-Destination-Address Type-of-Address octet in integer format
129
145
unknown/telephony
internal/telephony
<mr> GSM 03.40 TP-Message-Reference in integer format
<scts> GSM 03.40 TP-Service-Centre-Time-Stamp in time-string format
<length> in the PDU mode (+CMGF=0), the length of the actual TP data unit in octets
(i.e. the RP layer SMSC address octets are not counted in the length)
<ackpdu> GSM 03.40 RP-User-Data element of RP-ACK PDU
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
76
List of AT Commands for Nokia 22
11 VOICE COMMANDS
11.1 +VTS DTMF generation
Command
Response
Execute
Test
+VTS=<dtmf>,<dtmf>,...
+VTS=?
(),(),()
The +VTS command sends Dual Tone Multiple Frequency (DTMF) voices during a call. The
dialling command can also be used to send DTMFs (see the D command).
Defined values
<dtmf> DTMF digit: 0 - 9, *, #
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
77
List of AT Commands for Nokia 22
12 MISCELLANEOUS COMMANDS
12.1 V.25ter
12.1.1 A/ Repeat last command line
As first chars of a command line, A/ repeats the previous command line form the Nokia 22
command line buffer. Lowercase (a/) is also accepted.
12.1.2 S47 Force fax class 2/2.0 error correction mode
Command Response
S47=<n>
<n> values
0..2 (default 0)
000..002
Set
Read
S47?
<n>
It is recommended that this command should be used when the fax ECM is implemented. The
command is used to force the ECM on, because fax software is not always capable of enabling it.
Defined values
<n>:
0
1
2
disabled
enabled with 64 byte frames
enabled with 256 byte frames
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
78
List of AT Commands for Nokia 22
13 FAX COMMANDS
The following standard facsimile (+F) command sets are supported by Nokia 22 according to GSM
03.45 facsimile group 3 transparent. The specification of these commands is out of the scope of
this document. The command structures can be found in the referred standards:
- Class 1, TIA-578-A /4/
- Class 2, TIA SP-2388 /6/
- Class 2.0, TIA-592 and ITU-T T.32 /7/
In the classes 2 and 2.0, the Nokia 22 Error supports the correction mode (ECM) with 16k send
and receive buffers. The facsimile commands supported by the Nokia 22 are listed below.
13.1 TIA-578-A
+FCLASS Select, read or test Service Class
+FMI
Report manufacturer identification
Request model identification
Request revision identification
Transmit silence
Receive silence
Facsimile transmit
Facsimile receive
HDLC transmit
HDLC receive
Flow control select
+FMM
+FMR
+FTS
+FRS
+FTM
+FRM
+FTH
+FRH
+FLO
+FPR
+FDD
Serial port rate control
Double Escape Character Replacement
13.2 TIA-592
+FCLASS Select, read or test Service Class
+FMI
+FMM
+FMR
D
Report manufacturer identification
Request model identification
Request revision identification
Originate command
A
Answer command
+FDT
+FDR
+FKS
+FIP
+FCC
+FIS
+FCS
+FLI
Data transmission
Data reception
Session termination
Initialise facsimile parameters
DCE capabilities parameters
Current session parameters
Current session results
Local ID strings
+FPI
+FNS
+FLP
+FSP
Local polling ID strings
Non-standard frame FIF octet string
Indicate document to poll
Request to poll
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
79
List of AT Commands for Nokia 22
+FCR
+FBU
+FNR
+FIE
Capability to receive
HDLC frame reporting
Negotiation message reporting
Procedure interrupt enable
Page status
Copy quality checking
Receive quality thresholds
Adaptive answer
DTE phase C response timeout
Call termination status
ECM retry count
Minimum phase C speed
Flow control select
Serial port rate control
Packet protocol control
Data bit order
Phase C received EOL alignment
Format conversion
+FPS
+FCQ
+FRQ
+FAA
+FCT
+FHS
+FRY
+FMS
+FLO
+FPR
+FPP
+FBO
+FEA
+FFC
+FBS
Buffer size
13.3 TIA SP-2388
+FCLASS Select, read or test Service Class
+FMFR
+FMDL
+FREV
D
Request manufacturer identification
Request model identification
Request product revision identification
Originate a call
A
Answer a call
+FDT
+FET
+FDR
+FDCC
+FK
Data transmission
Transmit page punctuation
Begin or continue phase C receive data
Establish DCE capabilities
Session termination
+FDIS
+FDCS
+FLID
+FCIG
+FLPL
+FSPL
+FCR
+FBUG
+FECM
+FPTS
+FCQ
Current session parameters
Current session results
Local ID string
Local polling ID string
Indicate document to poll
Request to poll
Capability to receive
Session message reporting
Error correction mode control
Page transfer status
Copy quality checking
+FBADMUL Error threshold multiplier
+FBADLIN Bad line threshold
+FPHCTO DTE phase C response timeout
+FAXERR T.30 session error report
+FCTCRTY ECM retry count
+FMINSP
Minimum phase C speed
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
80
List of AT Commands for Nokia 22
+FTBC
+FRBC
+FBOR
+FREL
+FVRFC
+FDFFC
+FLNFC
+FWDFC
+FAA
Phase C transmit data block size
Phase C receive data block size
Data bit order
Phase C received EOL alignment
Vertical resolution format conversion
Data compression format conversion
Page length format conversion
Page width format conversion
Answer parameter
+FBUF
Buffer size
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
81
List of AT Commands for Nokia 22
14 RESULT CODES
14.1 V.25ter
14.1.1 Basic syntax result codes
OK, ERROR, BUSY, CONNECT, CONNECT <rate>, NO ANSWER, NO CARRIER: See the ITU-T
Recommendation V.25ter, section 5.7.1 and the X, D, A and O commands in this document. Note
that OK can be a result of a successful remotely initiated in-call modification from data to speech
mode, and CONNECT[<rate>] can be a result of a successful remotely initiated in-call modification
from speech to data mode. NO CARRIER can also indicate a remote hang-up of a speech call.
RING: See ETSI GSM 07.07 /2/, section 7.12. See the ITU-T Recommendation V.25ter, section
6.3.4 and the +CRC command in this document. The MT voice calls or alternating voice/data calls
starting with voice shall not result to this indication. When the RING result code is enabled
(+CRC=0), alternating MT voice/fax calls starting with voice shall automatically be switched into the
fax mode by the Nokia 22 (if +CMOD=0). Note that the RING result code is not given for waiting
calls.
14.1.2 +DR Data compression report
Format
Description
+DR: <type>
given when +DR=1; informs about the presence of V.42bis data compression in the established
connection
The +DR intermediate result code, if enabled, is issued after the Error Control Report (+ER) and
before the final result code (e.g. CONNECT).
Defined values
<type>:
NONE
Data compression is not in use
V42B
V42B RD
V42B TD
V.42 bis is in use in both directions
V.42 bis is in use in receive direction only
V.42 bis is in use in transmit direction only
14.1.3 +ILRR DTE-DCE local rate report
Format
Description
+ILRR: <rate>
given when +ILRR=1; informs about the local port rate after connection
establishment
The +ILRR intermediate result code is given after the (possible) +DR result code.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
82
List of AT Commands for Nokia 22
14.2 De facto
14.2.1 Call repeat restriction result codes
BLACKLISTED and DELAYED. Refer to the dialling command D and GSM 02.07, Annex A.
14.3 GSM 07.07
14.3.1 +CSSI Intermediate supplementary service notification
Format
Description
+CSSI: <code>
given when +CSSN=1 and some supplementary service notification is given
by network during MO call establishment
The +CSSI is the first intermediate result code after the dial command D. This result code is
enabled and disabled with the +CSSN command.
Defined values
<code>:
0
1
2
3
5
6
7
unconditional call forwarding is active
some of the conditional call forwards are active
call has been forwarded
call is waiting
outgoing calls are barred
incoming calls are barred
CLIR suppression rejected
14.3.2 +COLP Connected line identification report
Format
Description
+COLP: <number>,<type>
Given when +COLP=1 and number received from the network when MO call
established
The +COLP intermediate result code is given after the possible +CSSI result code. This result code
is enabled and disabled with the +COLP command.
Defined values
<number> string type phone number of the format specified by <type>
<type> type of address octet in integer format (refer GSM 04.08 subclause 10.5.4.7):
129
145
unknown/telephony
international/telephony
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
83
List of AT Commands for Nokia 22
14.3.3 +CR Data service report
Format
Description
+CR: REL
ASYNC
given when +CR=1 and data call established; informs about the type of data call being
established
The +CR intermediate result code is given after a possible +COLP result code during a MO data
call setup. During a MT data call setup, this is the first intermediate result code. Note that this
result code shall replace the CARRIER result code (when X5 is set). This result code is enabled
and disabled with the +CR command.
14.3.4 +CRING Distinctive ring
Format
Description
+CRING: <type>
Given when +CRC=1 and incoming MT call (no active or held calls in
ME)
This result code is enabled and disabled with the +CRC command.
NOTE: +CRING replaces the V.25ter RING result code.
Defined values
<type>:
FAX
VOICE
REL ASYNC
ASYNC
facsimile (TS 62)
normal voice (TS 11)
normal data
normal data
VOICE/REL ASYNC
voice followed by data (BS 81)
ALT VOICE/REL ASYNC alternating voice/data, voice first (BS 61)
ALT REL ASYNC/VOICE alternating voice/data, data first (BS 61)
ALT VOICE/FAX
ALT FAX/VOICE
alternating voice/fax, voice first (TS 61)
alternating voice/fax, fax first (TS 61)
14.3.5 +CLIP Calling line identification report
Format
Description
+CLIP: <number>,<type>
given when +CLIP=1 and number received from network when MT
call received (no active or held calls in ME)
The +CLIP result code is sent to the TE after every RING (or +CRING) result code. This result
code is enabled and disabled with the +CLIP command.
Defined values
<number> string type phone number of a format specified by <type>
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
84
List of AT Commands for Nokia 22
<type> type of address octet in integer format (refer GSM 04.08 subclause 10.5.4.7):
129
145
unknown/telephony
international/telephony
14.3.6 +CSSU Unsolicited supplementary service notification
Format
Description
+CSSU: <code>[,<index>[,<number>,
<type>]]
given when +CSSN=,1 and some supplementary service notification
is given by the network during a MT call setup or during a voice call;
note that a remote release of a held call is also informed with this
result code
In the MT call setup case, the +CSSU result code is sent to the TE after every possible +CLIP
result code. In the case of a waiting call, this is given after the +CCWA result code but discarded if
the Nokia 22 is in the on-line data state. This result code is enabled and disabled with the +CSSN
command.
Defined values
<index> refer "Closed user group +CCUG"
<code>:
0
this is a forwarded call (MT call setup)
1
2
3
this is a CUG call (also <index> present) (MT call setup)
call has been put on hold (during a voice call)
call has been retrieved (during a voice call)
4
multiparty call entered (during a voice call)
5
call on hold has been released (this is not a SS notification) (during a
voice call)
7
call is being connected (alerting) with the remote party in the alerting
state in an explicit call transfer operation (during a voice call)
call has been connected with the other remote party in an explicit call
8
transfer operation (number and subaddress parameters may also be present) (during
a voice call or a MT call setup)
<number> string type phone number of a format specified by <type>
<type>
type of address octet in integer format (refer to GSM 04.08, subclause
10.5.4.7):
129
145
unknown/telephony
international/telephony
14.3.7 +CCWA Call waiting
Format
Description
+CCWA: <number>,<type>,<class>
given when +CCWA=1 and incoming MT call is received when
there is active or held calls in the ME discarded if in the on-line
data state
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
85
List of AT Commands for Nokia 22
Description
This command allows the controlling of the Call Waiting supplementary service. Activation,
deactivation and status query are supported. When querying the status of a network service
(<mode>=2), the response line for ‘not active’ case (<status>=0) should be returned only if the
service is not active for any <class>. The parameter <n> is used to disable/enable the presentation
of an unsolicited result code +CCWA: <number>,<type>,<class>[,<alpha>] to the TE when a call
waiting service is enabled. The command should be abortable when the network is interrogated.
The interaction of this command with other commands based on other GSM supplementary
services is described in the GSM standard.
The test command returns the values supported by the TA as a compound value.
Defined values
<n>
(sets/shows the result code presentation status in the TA):
0
1
disable
enable
<mode>
(when the <mode> parameter is not given, the network is not interrogated):
0
disable
1
enable
2
query status
<classx>
is a sum of integers each representing a class of information (default 7 equals all
classes):
1
2
voice (telephony)
data (usually refer to all bearer services; with <mode>=2 this may refer only to some
bearer service)
4
fax (facsimile services)
also all other values below 128 are reserved by this ETS
<status>:
0
1
not active
active
<number>: string type phone number of a calling address in the format specified by <type>
<type>:
type of address octet in integer format (refer GSM 04.08 [8] subclause 10.5.4.7)
<alpha>:
optional string type alphanumeric representation of <number> corresponding to the
entry found in the phonebook; the used character set should be the one selected with
the command Select TE Character Set +CSCS
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
86
List of AT Commands for Nokia 22
14.3.8 +CREG Network registration
Format
description
+CREG: <stat>[,<lac>,<cid>]
when +CREG=1: given when <stat> value changes; given after NO CARRIER if
network lost when on-line
when +CREG=2: given when <stat> value changes and when network cell
(<lac> and <cid>) of the ME changes; given after NO CARRIER if network lost
when on-line
The +CREG result code is enabled and disabled with the +CREG command.
Defined values
<stat>:
0
1
2
3
4
5
not registered, the ME is not currently searching for a new operator to register to
registered, home network
not registered, but ME is currently searching a new operator to register to
registration denied
unknown
registered, roaming
<lac>
string type, two byte location area code in hexadecimal format (e.g. "00C3" equals
193 in decimal)
<ci>
string type, two byte cell ID in hexadecimal format
14.3.9 +CUSD Network initiated unstructured supplementary service data
Format
Description
+CUSD: <m>,<str>,<dcs>
given when +CUSD=1 and network initiated ‘notify’ or ‘request’ USSD
message received; discarded if in the on-line data state
This result code is enabled and disabled with the +CUSD command.
NOTE: only the first ‘request’ message during a network initiated USSD session yields to the
+CUSD unsolicited result code. The rest are information responses of the +CUSD command.
Defined values
<m>:
0
1
no further user action required (network initiated USSD-Notify, or no further
information needed after mobile initiated operation)
further user action required (network initiated USSD-Request, or further information
needed after mobile initiated operation)
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
87
List of AT Commands for Nokia 22
<str>
string type USSD-string (when <str> parameter is not given, network is
not interrogated):
- if <dcs> indicates that GSM 03.38 default alphabet is used:
- if the TE character set is other than "HEX" (refer to the Select TE command)
- Character Set +CSCS): the Nokia 22 converts the GSM alphabet into current TE
character set according to the rules of GSM 07.05, Annex A
- if the TE character set is "HEX": the Nokia 22 converts each 7-bit character of the
GSM alphabet into two IRA character long hexadecimal numbers (e.g. character Π
(GSM 23) is presented as 17 (IRA 49 and 55))
- if <dcs> indicates that an 8-bit data coding scheme is used: the Nokia 22 converts
each 8-bit octet into two IRA character long hexadecimal numbers (e.g. octet with
integer value 42 is presented to the TE as two characters 2A (IRA 50 and 65))
<dcs> GSM 03.38 Cell Broadcast Data Coding Scheme in the integer format (default
0)
14.3.10
+CME ERROR Mobile equipment error
Format
Description
+CME ERROR: <err>
given instead of ERROR when +CMEE=1 or =2 and error is related to the ME or network
operation
Defined values
<err> see Error values section
14.4 GSM 07.05
14.4.1 +CMTI New SMS-DELIVER indication
Format
Description
+CMTI: <mem>,<index>
when +CNMI=0: indications are buffered into the Nokia 22
when +CNMI=1: in the on-line data state, indications are discarded; in the
command mode they are forwarded directly to the TE
when +CNMI=2: in the on-line data state, indications are buffered into the Nokia
22; in the command mode they are forwarded directly to the TE
See also the +CNMA command.
Defined values
<mem>
"SM"
memory to which th received SMs are preferred to be stored:
SIM message storage
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
88
List of AT Commands for Nokia 22
<index> integer type, the location of the message in the defined memory
14.4.2 +CMT New SMS-DELIVER
Format
Description
text mode:
when +CNMI=0: routed messages are buffered into the Nokia 22 (if the
buffer is full, ‘memory capacity exceeded’ is sent to the network)
when +CNMI=1: in the on-line data state, the routed messages are
rejected (e.g. ‘memory capacity exceeded’ is sent to the network and
when the command mode is entered, ‘memory available’ is sent to the
network); in the command mode they are forwarded directly to the TE
when +CNMI=2: in the on-line data state, routed messages are buffered
into the Nokia 22 (if the buffer is full, ‘memory capacity exceeded’ is
sent to the network and, when the command mode is entered, ‘memory
available’ is be sent to the network); in the command mode they are
forwarded directly to the TE
+CMT: <oa>,<scts>
[,<tooa>,<fo>,<pid>,<dcs>,<sca>,
<tosca>,<length>]<CR><LF><data>
PDU mode:
+CMT: <length>
<CR><LF><pdu>
See also +CNMA command.
Defined values
<oa>
GSM 03.40 TP-Originating -Address Address-Value field in string
format; the type of address is given by <tooa>
<scts>
<tooa>
GSM 03.40 TP-Service-Centre-Time-Stamp in time-string format
GSM 04.11 TP-Originating -Address Type-of-Address octet in integer
format
129
145
unknown/telephony
internal/telephony
<fo>
first octet of GSM 03.40 SMS-DELIVER, SMS-SUBMIT, SMS-STATUS-
REPORT, or SMS-COMMAND in integer format
<pid>
<dcs>
<sca>
GSM 03.40 TP-Protocol-Identifier in integer format
GSM 03.38 SMS Data Coding Scheme in integer format
GSM 04.11 RP SC address Address-Value field in string format, type of
address given by <tosca>
<tosca>
GSM 04.11 RP SC address Type-of-Address octet in integer format
129
145
unknown/telephony
internal/telephony
<length>
integer type value that indicates the length of the message body <data>
in characters in the text mode (+CMGF=1); or that indicates the length
of the actual TP data unit in octets (i.e. the RP layer SMSC address
octets are not counted in the length) in the PDU mode (+CMGF=0).
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
89
List of AT Commands for Nokia 22
<data>
<pdu>
SMS: GSM 03.40 TP-User-Data in the text mode responses
GSM 04.11 SC address followed by GSM 03.40 TPDU in the
hexadecimal format
14.4.3 +CBM New CBM
Format
Description
text mode:
when +CNMI=0: messages are discarded
when +CNMI=1-2: messages are
forwarded directly to the TE (CBMs
cannot be received during a call)
+CBM: <sn>,<mid>,<dcs>,<page>,<pages><CR><LF><data>
PDU mode:
+CBM: <length><CR><LF><pdu>
Defined values
<sn> GSM 03.41 CBM Serial Number in integer format
<mid> GSM 03.41 CBM Message Identifier in integer format
<dcs> GSM 03.38 Cell Broadcast Data Coding Scheme in integer format
<page> GSM 03.41 CBM Page Parameter bits 4-7 in integer format
<pages> GSM 03.41 CBM Page Parameter bits 0-3 in integer format
<data> GSM 03.41 CBM Content of Message in text mode responses; format:
- if <dcs> indicates that GSM 03.38 default alphabet is used:
- if the TE character set is other than "HEX" (refer command +CSCS in GSM 07.07):
the Nokia 22 converts the GSM alphabet into the current TE character set according
to the rules of Annex A
- if the TE character set is "HEX": the Nokia 22 converts each 7-bit character of the
GSM alphabet into two IRA character long hexadecimal numbers
- if <dcs> indicates that an 8-bit or a UCS2 data coding scheme is used: the Nokia 22
converts each 8-bit octet into two IRA character long hexadecimal numbers
<length> the length of the actual TP data unit in octets (i.e. the RP layer SMSC
address octets are not counted in the length)
<pdu> GSM 03.41 TPDU in hexadecimal format
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
90
List of AT Commands for Nokia 22
14.4.4 +CDSI New SMS-STATUS-REPORT indication
Format
Description
+CDSI: <mem>,<index>
when +CNMI=0: indications are buffered into the Nokia 22
when +CNMI=1: in the on-line data state, indications are discarded; in command
mode they are forwarded directly to the TE
when +CNMI=2: in the on-line data state, indications are buffered into the Nokia
22; in the command mode forwarded directly to the TE
Defined values
<mem> memory to which the received SMs are preferred to be stored:
"SM" SIM message storage
<index> integer type, the location of the message in the defined memory
14.4.5 +CDS New SMS-STATUS-REPORT
Format
Description
text mode:
+CDS: <fo>,<mr>,[<ra>],[<tora>],
<scts>,<dt>,<st>
PDU mode:
+CDS: <length><CR><LF><pdu>
when +CNMI=0: routed messages are buffered into the Nokia 22 (if
buffer is full, ‘memory capacity exceeded’ is sent to the network)
when +CNMI=1: in the on-line data state, the routed messages are
rejected (e.g. ‘memory capacity exceeded’ is sent to the network and
when the command mode is entered, ‘memory available’ is sent to
network); in the command mode they are forwarded directly to the TE
when +CNMI=2: in the on-line data state routed, messages are buffered
into the Nokia 22 (if the buffer is full, ‘memory capacity exceeded’ is sent
to the network and when the command mode is entered, ‘memory
available’ is sent to network); in the command mode, they are forwarded
directly to the TE
See also the +CNMA command.
Defined values
<fo>
<mr>
<ra>
first octet of GSM 03.40 SMS-STATUS-REPORT in integer format
GSM 03.40 TP-Message-Reference in integer format
GSM 03.40 TP-Recipient-Address Address-Value field in string format;
type of address given by <tora>
<tora>
GSM 04.11 TP- Recipient -Address Type-of-Address octet in integer
format:
129
145
unknown/telephony
internal/telephony
<scts>
<dt>
GSM 03.40 TP-Service-Centre-Time-Stamp in time-string format
GSM 03.40 TP-Discharge-Time in time-string format:
“yy/MM/dd,hh:mm:ss±zz”
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
91
List of AT Commands for Nokia 22
<st>
GSM 03.40 TP-Status in integer format
<length>
the length of the actual TP data unit in octets (i.e. the RP layer SMSC
address octets are not counted in the length)
<pdu>
GSM 04.11 SC address followed by GSM 03.40 TPDU in hexadecimal
format
14.4.6 +CMS ERROR Message service failure
Format
Description
+CMS ERROR: <err>
Given instead of ERROR when error is related to ME or network
operation
Defined values
<err> see the Error values section
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
92
List of AT Commands for Nokia 22
15 ERROR VALUES
15.1 +CME ERROR values
The columns in the following table indicate which AT commands can return the numeric <err>
value given in the topmost row. The Numbers in the cells indicate what kind of an error can
generate the <err>. The meanings of the numbers are given after the table.
An example of the +CNUM command:
Numeric error values: 1, 5, 10 - 12, 23.
The corresponding errors are: ‘external ME is not connected to TA’, ‘phone security code required
to execute the AT command’, ‘ME does not have a SIM connected to it’, 'SIM PIN required to
execute the AT command’, 'SIM PUK required to execute the AT command’.
Table 5. +CME error values
3
4
5
10
11
12
16
17
18
21
22
23
24
26
27
30
31 100
+CGMM
+CGMR
+CGSN
D><str>
D>mem<n>
+CNUM
9
9
1
1
1
2
3
4
7
8
2
2
3
3
4
4
5, 6
8
8
+CREG?
+COPS=
+COPS?
+COPS=?
+CLCK=
+CPWD=
+CCWA=
+CUSD=
+CLCC
10
1
1
1
1
1
1
1
2
2
2
2
2
2
2
3
3
3
3
3
3
3
4
4
4
4
4
4
4
15
11
12
12
8
8
13
23
14
14
14
14
11
13
13
13
23
23
23
+CFUN=
+CFUN?
+CPIN=
1
2
2
3
4
11
8
+CPIN?
+CSQ
+CPBS?
+CPBR=
+CPBR=?
+CPBF=
+CPBF=?
+CPBW=
+CPBW=?
1
1
1
1
1
1
1
2
2
2
2
2
2
2
3
3
3
3
3
3
3
4
4
4
4
4
4
4
8
8
8
8
8
8
8
5
5
18
24
15
16
12
17
18
19
1
phone security code required to execute the AT command
ME does not have a SIM connected to it
SIM PIN required to execute the AT command
SIM PUK required to execute the AT command
2
3
4
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
93
List of AT Commands for Nokia 22
5
memory location does not exist
6
phonebook memory location is empty
7
8
9
match in searched string is not found in any of the memory locations
general memory error; e.g. problems in SIM database communication
call hold/retrieve/swap/build/split/transfer/deflection failed or cannot be actioned
10
manual network selection is not possible because unavailable or forbidden network
name was given, or call is active
11
12
13
14
invalid password was given
SIM PUK2 required to execute the AT command
there is no network service to complete the request
supplementary service command failed due to an unknown error; i.e. an error that is
not covered by other <err> values
15
16
17
18
19
20
AT interpreter does not support the operation
SIM PIN2 required to execute the AT command
alpha entry to be stored is too long
number to be read/stored is too long
number to be stored contains characters that are not available in that memory
SIM interface control is not reserved or the maximum number of applications has
reserved the SIM control
22
23
24
external ME UI cannot be accessed
network timeout
entries cannot be stored in the currently selected phone book memory (e.g. on
missed calls list)
25
there is no active voice call
15.2 +CMS ERROR values
The columns in the following table indicate the SMS AT commands that can return the <err> value
given in the topmost row. The numbers in the cells indicate the error that can generate the <err>
value. The meaning of the numbers is given under the table. For details on how to read the table,
see the example in the previous section.
Table 6. +CMS error values
0-127
128-255
301 302 304 305 310 311 312 316 320 321 322 330 331
+CPMS=
+CPMS?
+CSCB=
+CSAS=
+CSAS=?
+CRES=
+CRES=?
+CNMI=
5
5
5
5
5
5
5
5
5
5
2
2
3
3
1
1
4
4
6
6
6
6
6
6
6
6
6
6
2
2
2
2
2
2
2
3
3
3
3
1
1
1
1
4
4
4
4
8
8
+CMGL=
+CMGR=
+CNMA=
+CMGS=
+CMSS=
+CMGW=
+CMGD=
+CMGC=
3
3
1
1
4
4
8
11
11
11
11
9
9
10
5
5
5
5
5
12
12
12
2
2
2
2
2
3
3
3
3
3
1
1
1
1
1
4
4
4
4
4
7
7
16
16
10
14
6
6
6
8
8
13
9
10
11
12
7
16
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
94
List of AT Commands for Nokia 22
1
2
3
4
5
6
7
phone security code required to execute the AT command
ME does not have a SIM connected to it
SIM PIN required to execute the AT command
SIM PUK required to execute the AT command
SMS interface is reserved by some other application
general memory error; e.g. problems in the SIM database communication
message to be sent to the network does not contain the SMSC address and
the SMSC address cannot be found from the Nokia 22
memory location does not exist
8
9
RP layer cause value from the network
10
11
TP layer cause value from the network
PDU mode is enabled: the length of the given PDU is not equivalent with the given
<length> or the ME/TA detects that the PDU is of invalid format
text mode is enabled: too long a message is attempted to be sent/stored, or the
+CSMP does not contain a valid SMS-SUBMIT (in the case of +CMGS=), or the
ME/TAdetects that the PDU is of invalid format
12
13
14
SMS memory is full
<index> given in the +CMSS does not contain SMS-SUBMIT or SMS-COMMAND, or
<index> given in the +CMSS contains SMS-COMMAND and the <da> is given
no network service
16
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
95
List of AT Commands for Nokia 22
16 REFERENCES
/1/ ITU-T Recommendation V.25ter: Serial asynchronous automatic dialling and control; Aug
1995.
/2/ GSM 07.07: Digital cellular telecommunications system (Phase 2+); AT command set for
GSM Mobile Equipment (ME); version 5.4.0; Nov 1997.
/3/ GSM 07.05: Digital cellular telecommunications system (Phase 2+); Use of Data Terminal
Equipment - Data Circuit terminating Equipment (DTE - DCE) interface for Short Message
Service (SMS) and Cell Broadcast Service (CBS); version 5.4.0; Nov 1997.
/4/ TIA-578-A Facsimile Digital Interfaces - Asynchronous Facsimile DCE Control Standard,
Service Class 1; May 1995.
/5/ TIA-592 Facsimile Digital Interfaces - Asynchronous Facsimile DCE Control Standard,
Service Class 2; May 1995.
/6/ TIA SP-2388: Proposed new standard - Asynchronous Facsimile DCE Control Standard; Aug
1990.
/7/ TIA PN-3131: Project to complete IS-101 Facsimile Digital Interfaces - Voice Control Interim
Standard for Asynchronous DCE; Feb 1995.
/9/ ITU-T Recommendation G.711: Pulse code modulation (PCM) of voice frequencies; 1993.
/10/ GSM 03.40: Digital cellular telecommunications system (Phase 2+); Technical realization of
the Short Message Service (SMS); Point-to-Point (PP).
/11/ GSM 03.38: Digital cellular telecommunications system (Phase 2+); alphabets and language-
specific information.
/12/ GSM 03.41: Digital cellular telecommunications system (Phase 2+); Technical realization of
the Short Message Service Cell Broadcast (SMSCB).
/13/ ETS 300 342-1: Radio Equipment and Systems (RES); ElectroMagnetic Compatibility (EMC)
for European digital cellular telecommunications system (GSM 900 MHz and DCS 1 800
MHz).
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
96
List of AT Commands for Nokia 22
17 EXAMPLE PROCEDURES ON SOME AT-COMMANDS
How to create a data call or send an SMS in text or PDU mode (and how to also check the PIN
code or signal quality).
17.1 Inputting PIN CODE
The password (PIN, security code etc.) status can be queried with the +CPIN? –command. If the
response is READY, no password is required. If the response is SIM PIN, the Nokia 22 is waiting
for a PIN code. It is possible that more than one password is needed. The following example
indicates how the PIN code is given to the Nokia 22.
How to input PIN code:
Command from the DCE
Response from
Explanation
the Nokia 22
AT+CPIN?<CR>
-
Query about password status
PIN code required
+CPIN: SIM PIN
OK
-
OK
-
Previous command was succesful
Give PIN code 1234 to the Nokia 22
Previous command was succesful
Query about the password status
No password required
AT+CPIN="1234"
AT+CPIN?<CR>
+CPIN: READY
OK
Previous command was succesful
How to check network registration (signal quality):
AT+CSQ<CR>
-
Query signal strength.
+CQ:31, 99
Response +CSQ<rssi>, 99 (*)
(*) Values for <rssi>
0
1-31
No network coverage (Check PIN code)
Signal strenght
17.2 Initialising the Nokia 22
Command from the DCE
Response
Explanation
from the
Nokia 22
AT&F<CR>
-
Set to factory defined configuration.
Previous command was succesful
Set the flow control to SW flow control, the
default is HW flow control (2,2)
Previous command was succesful
Ignore DTR changes
OK
-
AT+IFC=1,1<CR>
OK
-
AT&D0<CR>
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
97
List of AT Commands for Nokia 22
OK
Previous command was succesful
Making a data call with Nokia 22:
ATD+358705966200
-
Start connection with dialling the preferred
number
CARRIER
CONNECT
The Nokia 22 has a data connection to the
GSM infrastructure
The connection to the preferred number is
established and the application can start
sending data
17.3 Sending an SMS from a terminal or other similar application
There are two different modes – the text mode and the PDU (Protocol Data Unit) mode – for
handling short messages. The default mode of the Nokia 22 is the PDU mode (+CMGF=0). A PDU
is easier to understand than the PDU mode.
AT+CMGF=0<CR>
AT+CMGS=29<CR>
-
-
Set the Nokia 22 to GSM 07.05 SMS PDU
mode (default).
Send the message to the defined phone
number. The service number is not a
mandatory field in the PDU structure. This
example does not have the SMSC number.
>0011000C915358508181420000A7
1154747A0E4Acf41f4f29C9E769F41
21
17.4 Sending a sample SMS in the text mode
Command from the DCE
Response
from the
Nokia 22
-
Explanation
AT+CMGF=1
Set the Nokia 22 to GSM 07.05 SMS Text
mode. The default value is the PDU mode
(0).
OK
-
Previous command was successful.
Set the SMS Service Centre number to be
used with an outgoing SMS.
AT+CSCA="+358508771010",1
45
OK
Previous command was successful.
Send the "My SMS" message to defined
phone number. 145 specifies the phone
number type.
AT+CMGS="+358705966200",1
45<CR>My SMS<CTRL-Z>
+CMGS:
60
OK
Data Card responses to successful sending
with Message reference number
Previous command was successful.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
98
List of AT Commands for Nokia 22
17.5 HSCSD command examples
Connection Type
Wanted air interface user
rate
31.1 kHz
9600
AT+CBST=0,0,1;+CHSN=1,0,0,0
AT+CBST=0,0,1;+CHSN=2,0,0,0
AT+CBST=0,0,1;+CHSN=3,0,0,0
AT+CBST=0,0,1;+CHSN=4,0,0,0
AT+CBST=0,0,1;+CHSN=6,0,0,0
14400
19200
28800
43200
Connection Type
v.110
Wanted air interface user
rate
9600
AT+CBST=81,0,1;+CHSN=1,0,0,0
AT+CBST=81,0,1;+CHSN=2,0,0,0
AT+CBST=81,0,1;+CHSN=3,0,0,0
AT+CBST=81,0,1;+CHSN=4,0,0,0
AT+CBST=81,0,1;+CHSN=6,0,0,0
14400
19200
28800
43200
Connection Type
v.120
Wanted air interface user
rate
9600
AT+CBST=51,0,1;+CHSN=1,0,0,0
AT+CBST=51,0,1;+CHSN=2,0,0,0
AT+CBST=51,0,1;+CHSN=3,0,0,0
AT+CBST=51,0,1;+CHSN=4,0,0,0
AT+CBST=51,0,1;+CHSN=6,0,0,0
14400
19200
28800
43200
Q: Can the application or terminal I am using directly receive incoming SMS?
A: The received SMS messages are stored in the SIM card memory "SM" by default. The
messages can be read from the SIM card using AT commands, e.g., the +CMGR command.
The +CNMI command (e.g. AT+CNMI=1,2,2,1,0<CR>) allows the application to receive the
incoming SMSs directly in all environments.
The following ETSI specifications can be used as a reference when the GSM 07.05 Text- and PDU
modes are used: GSM 07.05, GSM 03.03, GSM 03.38, GSM 03.40, GSM 03.41, GSM 04.11.
Q: What standards does the Nokia 22 support?
A: There are several standards that have influenced the design of the Nokia 22. From the
application's point of view, the most important standards are those that specify the AT-command
interface: ITU-T V.25ter, ETS GSM 07.07, ETS GSM 07.05, TIA-578-A, TIA-592 and TIA SP-2388.
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
99
List of AT Commands for Nokia 22
Copyright © Nokia Mobile Phones 2001. All rights reserved.
Download from Www.Somanuals.com. All Manuals Search And Download.
|