Download: | |
Mirror Download [FCC.gov] | |
Document ID | 789840 |
Application ID | SMb8n5Fpoun/ckJqqzmMmQ== |
Document Description | User Manual |
Short Term Confidential | No |
Permanent Confidential | No |
Supercede | No |
Document Type | User Manual |
Display Format | Adobe Acrobat PDF - pdf |
Filesize | 80.81kB (1010102 bits) |
Date Submitted | 2007-05-09 00:00:00 |
Date Available | 2007-05-09 00:00:00 |
Creation Date | 2006-01-23 11:33:46 |
Producing Software | Acrobat Distiller 5.0.5 (Windows) |
Document Lastmod | 2006-01-23 11:33:46 |
Document Title | User Manual |
Wireless GSM/GPRS
Modems
MultiModem GPRS (MTCBA-G)
ModemModule GPRS (MTMMC-G)
SocketModem GPRS (MTSMC-G)
AT Commands
Fax Commands
V.24 and V.25 Commands
SIM Application Toolkit Commands
Reference Guide
Copyright and Technical Support
AT Commands for Wireless GSM/GPRS Modems
Reference Guide
Products: MTCBA-G-xx, MTMMC-G-xx, and MTSMC-G-xx
PN S000293E, Revision E
Copyright
This publication may not be reproduced, in whole or in part, without prior expressed written permission from Multi-Tech
Systems, Inc. All rights reserved. Copyright © 2003-2005, by Multi-Tech Systems, Inc.
Multi-Tech Systems, Inc. makes no representations or warranties with respect to the contents hereof and specifically
disclaims any implied warranties of merchantability or fitness for any particular purpose. Furthermore, Multi-Tech
Systems, Inc. reserves the right to revise this publication and to make changes from time to time in the content hereof
without obligation of Multi-Tech Systems, Inc. to notify any person or organization of such revisions or changes.
Revisions
Revision Level
Date
07/15/03
03/08/04
09/28/04
08/04/05
01/23/06
Description
Initial release.
Added Values to each command. Added new commands.
Changed data/fax call to ATD; and voice call to ATD
Changed Autobauding is supported (operating from 2400 to 115200)
Added “Length of Phone Numbers” section to Chapter 3. Changed maximum length of
phone numbers to 60 digits. Added to +CMGF values. Added new command,
+CMMS. Removed values 2 and 4 from \N. Increased I/O ports to ten in the index value
of +WIOR and +WIOW. Added more text to +WRIM. Removed one note from +CGCONT.
Changed the font size from 10 point to 9 point; this brought the manual under 200 pages.
Added and to products listed on the cover.
Trademarks
MultiModem, SocketModem, and the Multi-Tech logo are registered trademarks of Multi-Tech Systems, Inc.
ModemModule is a trademark of Multi-Tech Systems, Inc.
World Headquarters
Multi-Tech Systems, Inc.
2205 Woodale Drive
Mounds View, Minnesota 55112
Phone: 763-785-3500 or 800-328-9717
Fax: 763-785-9874
Technical Support
Country
France:
India:
U.K.:
U.S. and Canada:
Rest of the World:
Internet Address:
By Email
support@multitech.fr
support@multitechindia.com
support@multitech.co.uk
support@multitech.com
support@multitech.com
http://www.multitech.com
By Phone
(33) 1-64 61 09 81
91 (124) 6340778
(44) 118 959 7774
(800) 972-2439
(763) 717-5863
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
Table of Contents
Contents
Chapter 1 – Introduction................................................................................................................................................9
Scope of This Document ............................................................................................................................................9
Related Documents....................................................................................................................................................9
Definitions ..................................................................................................................................................................9
Chapter 2 – AT Command Features ...........................................................................................................................10
Line Settings ............................................................................................................................................................10
Command Line .........................................................................................................................................................10
Information Responses and Result Codes ...............................................................................................................10
Chapter 3 – General Behaviors...................................................................................................................................11
SIM Card Insertion and Removal Procedures ..........................................................................................................11
Background Initialization ..........................................................................................................................................11
About the Length of Phone Numbers .......................................................................................................................11
Chapter 4 – General AT Commands ...........................................................................................................................12
Manufacturer Identification +CGMI.........................................................................................................................12
Request Model Identification +CGMM....................................................................................................................12
Request Revision Identification +CGMR ................................................................................................................12
Product Serial Number +CGSN..............................................................................................................................12
Select TE Character Set +CSCS............................................................................................................................13
Phonebook Character Set +WPCS ........................................................................................................................13
Request IMSI +CIMI...............................................................................................................................................13
Card Identification +CCID.......................................................................................................................................14
Capabilities List +GCAP .........................................................................................................................................14
Repeat Last Command A/ .......................................................................................................................................14
Power Off +CPOF ...................................................................................................................................................14
Set Phone Functionality +CFUN ............................................................................................................................15
Phone Activity Status +CPAS.................................................................................................................................15
Report Mobile Equipment Errors +CMEE...............................................................................................................15
Keypad Control +CKPD .........................................................................................................................................16
Clock Management +CCLK....................................................................................................................................16
Alarm Management +CALA....................................................................................................................................16
Chapter 5 – AT Call Control Commands ....................................................................................................................17
Dial Command D ....................................................................................................................................................17
Hang-Up command H.............................................................................................................................................18
Answer a Call A......................................................................................................................................................18
Remote Disconnection .............................................................................................................................................18
Extended Error Report +CEER ..............................................................................................................................19
DTMF Signals +VTD, +VTS ...................................................................................................................................19
Redial Last Telephone Number DL ........................................................................................................................19
Automatic Dialing with DTR %D .............................................................................................................................20
Automatic Answer S0 .............................................................................................................................................20
Incoming Call Bearer +CICB ..................................................................................................................................20
Single Numbering Scheme +CSNS........................................................................................................................21
Gain Control +VGR, +VGT.....................................................................................................................................21
Microphone Mute Control +CMUT..........................................................................................................................22
Speaker & Microphone Selection +SPEAKER .......................................................................................................22
Echo Cancellation +ECHO .....................................................................................................................................23
SideTone Modification +SIDET ..............................................................................................................................24
Initialize Voice Parameters +VIP ............................................................................................................................25
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
Table of Contents
Chapter 6 – Network Service Commands ..................................................................................................................26
Signal Quality +CSQ ...............................................................................................................................................26
Operator Selection +COPS ....................................................................................................................................26
Network Registration +CREG.................................................................................................................................28
Read Operator Name +WOPN................................................................................................................................28
Selection of Preferred PLMN List +CPLS...............................................................................................................29
Preferred Operator List +CPOL..............................................................................................................................29
Read Operator Name +COPN................................................................................................................................31
Chapter 7 – Security Commands................................................................................................................................32
Enter PIN +CPIN ....................................................................................................................................................32
Enter PIN2 +CPIN2 ................................................................................................................................................34
PIN Remaining Attempt Number +CPINC ..............................................................................................................34
Facility Lock +CLCK ...............................................................................................................................................35
Change Password +CPWD ....................................................................................................................................36
Chapter 8 – Phonebook Commands ..........................................................................................................................37
Select Phonebook Memory Storage +CPBS ...........................................................................................................37
Read Phonebook Entries +CPBR ..........................................................................................................................37
Find Phonebook Entries +CPBF ............................................................................................................................38
Write Phonebook Entry +CPBW.............................................................................................................................39
Phonebook Phone Search +CPBP.........................................................................................................................40
Move Action in Phonebook +CPBN........................................................................................................................40
Subscriber Number +CNUM...................................................................................................................................41
Avoid Phonebook Initialization +WAIP ...................................................................................................................42
Delete Calls Phonebook +WDCP...........................................................................................................................42
Set Voice Mail Number +CSVM ..............................................................................................................................42
Chapter 9 – Short Messages .......................................................................................................................................43
Parameters Definition...............................................................................................................................................43
Select Message Service +CSMS ............................................................................................................................44
New Message Acknowledgement +CNMA.............................................................................................................44
Preferred Message Storage +CPMS......................................................................................................................45
Preferred Message Format +CMGF.......................................................................................................................46
Save Settings +CSAS ............................................................................................................................................46
Restore Settings +CRES........................................................................................................................................46
Show Text Mode Parameters +CSDH.....................................................................................................................47
New Message Indication +CNMI ............................................................................................................................48
Read Message +CMGR .........................................................................................................................................49
List Message +CMGL.............................................................................................................................................50
Send Message +CMGS .........................................................................................................................................51
Write Message to Memory +CMGW.......................................................................................................................51
Send Message from Storage +CMSS ....................................................................................................................52
Set Text Mode Parameters +CSMP ........................................................................................................................52
Delete Message +CMGD .......................................................................................................................................53
Service Center Address +CSCA ............................................................................................................................53
Select Cell Broadcast Message Types +CSCB......................................................................................................54
Cell Broadcast Message Identifiers +WCBM..........................................................................................................54
Message Status Modification +WMSC ...................................................................................................................55
Message Overwriting +WMGO...............................................................................................................................55
Unchange SMS Status +WUSS .............................................................................................................................56
More Messages to Send +CMMS ..........................................................................................................................56
Chapter 10 – Supplementary Services Commands ..................................................................................................57
Call Forwarding +CCFC ..........................................................................................................................................57
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
Table of Contents
Call Barring +CLCK ................................................................................................................................................58
Modify SS Password +CPWD ................................................................................................................................58
Call Waiting +CCWA ..............................................................................................................................................59
Calling Line Identification Restriction +CLIR ..........................................................................................................59
Calling Line Identification Presentation +CLIP .......................................................................................................60
Connected Line Identification Presentation +COLP ...............................................................................................60
Advice of Charge +CAOC ......................................................................................................................................61
Accumulated Call Meter +CACM............................................................................................................................61
Accumulated Call Meter Maximum +CAMM...........................................................................................................62
Price Per Unit and Currency Table +CPUC............................................................................................................62
Call Related Supplementary Services +CHLD .......................................................................................................62
List Current Calls +CLCC .......................................................................................................................................63
Supplementary Service Notifications +CSSN.........................................................................................................64
Unstructured Supplementary Service Data +CUSD ...............................................................................................65
Closed User Group +CCUG ....................................................................................................................................65
Chapter 11 – Data Commands ....................................................................................................................................66
Using AT Commands During a Data Connection .....................................................................................................66
Bearer Type Selection +CBST ...............................................................................................................................67
Select Mode +FCLASS ..........................................................................................................................................68
Service Reporting Control +CR ...............................................................................................................................68
Cellular Result Codes +CRC..................................................................................................................................69
DTE-DCE Local Rate Reporting +ILRR..................................................................................................................69
Radio Link Protocol Parameters +CRLP ................................................................................................................70
Other Radio Link Parameters +DOPT .....................................................................................................................70
Select Data Compression %C .................................................................................................................................70
V42bis Data Compression +DS..............................................................................................................................71
V42bis Data Compression Report +DR..................................................................................................................71
Select Data Error Correcting Mode \N....................................................................................................................72
Chapter 12 – Fax Commands......................................................................................................................................73
Transmit Speed +FTM............................................................................................................................................73
Receive Speed +FRM ............................................................................................................................................73
HDLC Transmit Speed +FTH .................................................................................................................................73
HDLC Receive Speed +FRH..................................................................................................................................74
Stop Transmission and Wait +FTS.........................................................................................................................74
Receive Silence +FRS ...........................................................................................................................................74
Setting Up the PC Fax Application: ..........................................................................................................................74
Chapter 13 – Fax Class 2 Commands ........................................................................................................................75
Transmit Data +FDT...............................................................................................................................................75
Receive Data +FDR ................................................................................................................................................75
Transmit Page Punctuation +FET ...........................................................................................................................75
Page Transfer Status Parameters +FPTS...............................................................................................................75
Terminate Session +FK..........................................................................................................................................76
Page Transfer Bit Order +FBOR ............................................................................................................................76
Buffer Size Report +FBUF......................................................................................................................................76
Copy Quality Checking +FCQ .................................................................................................................................76
Capability to Receive +FCR ....................................................................................................................................76
Current Sessions Parameters +FDIS ......................................................................................................................77
DCE Capabilities Parameters +FDCC....................................................................................................................78
Local ID String +FLID.............................................................................................................................................78
Page Transfer Timeout Parameter +FPHCTO ........................................................................................................78
Fax Class 2 Indication Messages.............................................................................................................................79
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
Table of Contents
Chapter 14 – V.24 and V.25 Commands .....................................................................................................................80
Fixed DTE Rate +IPR.............................................................................................................................................80
DTE-DCE Character Framing +ICF........................................................................................................................81
DTE-DCE Local Flow Control +IFC........................................................................................................................82
Set DCD Signal &C ................................................................................................................................................82
Set DTR Signal &D.................................................................................................................................................82
Set DSR Signal &S.................................................................................................................................................83
Back to Online Mode O ...........................................................................................................................................83
Result Code Suppression Q...................................................................................................................................83
DCE Response Format V.......................................................................................................................................83
Default Configuration Z ..........................................................................................................................................83
Save Configuration &W ...........................................................................................................................................84
Auto-Tests &T ........................................................................................................................................................84
Echo E....................................................................................................................................................................84
Restore Factory Settings &F ..................................................................................................................................84
Display Configuration &V .......................................................................................................................................85
Request Identification Information I ........................................................................................................................85
Multiplexing Mode +WMUX .....................................................................................................................................86
Chapter 15 – Specific AT Commands ........................................................................................................................87
Cell Environment Description +CCED ....................................................................................................................87
General Indications +WIND....................................................................................................................................89
Analog Digital Converter Measurements +ADC ......................................................................................................90
Mobile Equipment Event Reporting +CMER ..........................................................................................................91
Indicator Control +CIND ...........................................................................................................................................92
Mobile Equipment Control Mode +CMEC................................................................................................................93
Read Language Preference +WLPR......................................................................................................................93
Write Language Preference +WLPW .....................................................................................................................94
Read GPIO Value +WIOR.......................................................................................................................................94
Write GPIO Value +WIOW .....................................................................................................................................94
Input/Output Management +WIOM ........................................................................................................................95
Abort Command +WAC..........................................................................................................................................95
Play Tone +WTONE...............................................................................................................................................96
Play DTMF Tone +WDTMF....................................................................................................................................97
Downloading +WDWL ............................................................................................................................................97
Voice Rate +WVR ..................................................................................................................................................98
Data Rate +WDR ...................................................................................................................................................98
Select Voice Gain +WSVG.....................................................................................................................................99
Status Request +WSTR .........................................................................................................................................99
Scan +WSCAN.......................................................................................................................................................99
Ring Indicator Mode +WRIM ................................................................................................................................100
32kHz Power Down Mode +W32K .......................................................................................................................101
Change Default Melody +WCDM .........................................................................................................................101
Custom Character Set +WCCS............................................................................................................................102
Lock +WLCK ........................................................................................................................................................103
CPHS Command +CPHS.....................................................................................................................................104
Unsolicited Result: Voice Mail Indicator +WVMI...................................................................................................106
Unsolicited Result: Diverted Call Indicator +WDCI...............................................................................................106
Network Operator Name +WNON ........................................................................................................................107
CPHS Information +WCPI ....................................................................................................................................107
Customer Service Profile +WCSP.........................................................................................................................108
Customer Storage Mirror +WMIR.........................................................................................................................108
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
Table of Contents
Change Default Player +WCDP ............................................................................................................................108
CPHS Mail Box Number +WMBN ........................................................................................................................109
Alternate Line Service +WALS .............................................................................................................................110
Open AT Control Command +WOPEN ................................................................................................................110
Reset +WRST ......................................................................................................................................................111
Set Standard Tone +WSST..................................................................................................................................112
Hang-up +WATH..................................................................................................................................................112
Chapter 16 – SIM ToolKit...........................................................................................................................................113
Overview of SIM Application ToolKit ......................................................................................................................113
Messages Exchanged During a SIM ToolKit Operation .........................................................................................114
SIM Toolkit Commands ..........................................................................................................................................115
SIM ToolKit Set Facilities +STSF .........................................................................................................................115
SIM ToolKit Indication +STIN ...............................................................................................................................117
SIM ToolKit Get Information +STGI......................................................................................................................118
Unsolicited Result: SIM ToolKit Control Response +STCR..................................................................................121
SIM ToolKit Give Response +STGR ....................................................................................................................121
Chapter 17 – GPRS commands ................................................................................................................................124
Define PDP Context +CGDCONT ........................................................................................................................124
Quality of Service Profile Requested +CGQREQ..................................................................................................126
Quality of Service Profile Minimum Acceptable +CGQMIN ..................................................................................128
GPRS Attach or Detach +CGATT ........................................................................................................................129
PDP Context Activate or Deactivate +CGACT .....................................................................................................130
Enter Data State +CGDATA.................................................................................................................................131
GPRS Mobile Station Class +CGCLASS .............................................................................................................132
Select Service for MO SMS Messages +CGSMS ................................................................................................133
GPRS Event Reporting +CGEREP ......................................................................................................................134
GPRS Network Registration Status +CGREG......................................................................................................135
Request GPRS IP Service D ................................................................................................................................135
Network Requested PDP Context Activation..........................................................................................................136
Automatic Response to a Network Request for PDP Context Activation +CGAUTO ...........................................137
Manual Response to a Network Request for PDP Context Activation +CGANS ..................................................138
Show PDP Address +CGPADDR.........................................................................................................................139
Cellular Result Codes +CRC................................................................................................................................139
Service Reporting Control +CR ............................................................................................................................140
Extended Error Report +CEER ............................................................................................................................140
GPRS Parameters Customization +WGPRS .......................................................................................................141
Full GPRS AT Command Examples.......................................................................................................................142
GPRS-Related Errors +CME ERROR ..................................................................................................................143
Specific GPRS Failure Cause for +CEER ..............................................................................................................143
Chapter 18 – Other AT Commands...........................................................................................................................144
V.25ter Recommendation.......................................................................................................................................144
GSM 07.05 Recommendation ................................................................................................................................144
GSM 07.07 Recommendation ...............................................................................................................................144
Appendix A – Result Codes, Failure Causes, Other Tables ...................................................................................145
ME Error Result Code: +CME ERROR: ...................................................................................................145
Message Service Failure Result Code +CMS ERROR: ................................................................................146
Specific Error Result Codes ...................................................................................................................................146
Failure Cause from GSM 04.08 Recommendation +CEER...................................................................................147
Specific Failure Cause for +CEER .........................................................................................................................148
GSM 04.11 Annex E-2: Mobile Originating SM-Transfer......................................................................................148
Unsolicited Result Codes .......................................................................................................................................149
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
Table of Contents
Final Result Codes .................................................................................................................................................149
Intermediate Result Codes.....................................................................................................................................149
Parameter Storage Mode .......................................................................................................................................150
GSM Sequences List..............................................................................................................................................152
Operator Names.....................................................................................................................................................154
Appendix B – Data Commands & Multiplexing, CPHS Information Field, and CSP Constants ........................162
Data Commands and Multiplexing..........................................................................................................................162
CPHS Information Field..........................................................................................................................................163
CSP Constants.......................................................................................................................................................164
Appendix C - AT Command Examples .....................................................................................................................166
Examples ...............................................................................................................................................................166
Appendix D - ME SIM ToolKit Support .....................................................................................................................170
Appendix E – Structure of the Terminal Profile.......................................................................................................171
Appendix F – Command Type and Next Action Indicator .....................................................................................173
Appendix G – Coding of Alpha fields in the SIM for UCS2.....................................................................................174
Appendix H – Specification of Power Down Control via RS232 ............................................................................175
Appendix I – Conditions for Command Execution and SIM Dependence.............................................................176
General Commands ...............................................................................................................................................176
Call Control Commands .........................................................................................................................................176
Network Service Commands ..................................................................................................................................176
Security Commands ...............................................................................................................................................177
Phonebook Commands..........................................................................................................................................177
Short Messages Commands ..................................................................................................................................177
Supplementary Services Commands .....................................................................................................................177
Data Commands ....................................................................................................................................................178
Fax Commands ......................................................................................................................................................178
Class 2 Commands ................................................................................................................................................178
V24-V25 Commands ..............................................................................................................................................178
Specific AT Commands..........................................................................................................................................179
SIM ToolKit Commands .........................................................................................................................................179
Index ...........................................................................................................................................................................180
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
Chapter 1 – Introduction
Chapter 1 – Introduction
Scope of This Document
This document describes the AT-command based messages exchanged between an application and the Multi-Tech Systems,
Inc. products in order to manage GSM-related events or services.
Related Documents
This interface specification is based on the following recommendations:
[1] ETSI GSM 07.05: Digital cellular telecommunications system (Phase 2);
Use of DTE-DCE interface for Short Message Service (SMS) and Cell Broadcast Service (CBS)
[2] ETSI GSM 07.07: Digital cellular telecommunications system (Phase 2);
AT command set for GSM Mobile Equipment (ME)
[3] ITU-T Recommendation V.25 ter: Serial asynchronous automatic dialing and control
[4] ETSI GSM 03.40: Digital cellular telecommunications system (Phase 2);
Technical implementation of the Short Message Service (SMS) Point-to-Point (PP)
[5] ETSI GSM 03.38: Digital cellular telecommunications system (Phase 2);
Alphabets and language-specific information
[6] ETSI GSM 04.80: Digital cellular telecommunications system (Phase 2):
Mobile radio interface layer 3, Supplementary service specification, Formats and coding
Definitions
The words, “Mobile Station” (MS) or “Mobile Equipment” (ME) are used for mobile terminals supporting GSM services.
A call from a GSM mobile station to the PSTN is called a “mobile originated call” (MOC) or “outgoing call”, and a call from
a fixed network to a GSM mobile station is called a “mobile terminated call” (MTC) or “incoming call”.
In this document, the word “product” refers to any Multi-Tech product supporting the AT commands interface.
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
Chapter 2 – AT Command Features
Chapter 2 – AT Command
Features
Line Settings
A serial link handler is set with the following default values (factory settings): autobaud, 8 bits data, 1 stop bit, no parity,
RTS/CTS flow control. Please use the +IPR, +IFC and +ICF commands to change these settings.
Command Line
Commands always start with AT (which means ATtention) and finish with a character.
Information Responses and Result Codes
Responses start and end with , except for the ATV0 DCE response format and the ATQ1 (result code
suppression) commands.
•
If command syntax is incorrect, an ERROR string is returned.
•
If command syntax is correct but with some incorrect parameters, the +CME ERROR: or +CMS ERROR:
strings are returned with different error codes.
•
If the command line has been performed successfully, an OK string is returned.
In some cases, such as “AT+CPIN?” or (unsolicited) incoming events, the product does not return the OK string as a
response.
In the following examples and are intentionally omitted.
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
10
Chapter 3 – General Behaviors
Chapter 3 – General Behaviors
SIM Card Insertion and Removal Procedures
SIM card Insertion and Removal procedures are supported. There are software functions relying on positive reading of the
hardware SIM detect pin. This pin state (open/closed) is permanently monitored.
When the SIM detect pin indicates that a card is present in the SIM connector, the product tries to set up a logical SIM
session. The logical SIM session will be set up or not depending on whether the detected card is a SIM Card or not. The
AT+CPIN? command delivers the following responses:
•
If the SIM detect pin indicates “absent”, the response to AT+CPIN? is “+CME ERROR 10” (SIM not inserted).
•
If the SIM detect pin indicates “present”, and the inserted Card is a SIM Card, the response to AT+CPIN? is
“+CPIN: xxx” depending on SIM PIN state.
•
If the SIM detect pin indicates “present”, and the inserted Card is not a SIM Card, the response to AT+CPIN? is
CME ERROR 10.
•
These last two states are not given immediately due to background initialization. Between the hardware SIM
detect pin indicating “present” and the previous results the AT+CPIN? sends “+CME ERROR: 515” (Please wait,
init in progress).
When the SIM detect pin indicates card absence, and if a SIM Card was previously inserted, an IMSI detach procedure is
performed, all user data is removed from the product (Phonebooks, SMS etc.). The product then switches to emergency
mode.
Background Initialization
After entering the PIN (Personal Identification Number), some SIM user data files are loaded into the product
(Phonebooks, SMS status, etc.). Please be aware that it might take some time to read a large phonebook.
The AT+CPIN? command response comes just after the PIN is checked. After this response user data is loaded (in
background). This means that some data may not be available just after PIN entry is confirmed by ’OK’. The reading of
phonebooks will then be refused by “+CME ERROR: 515” or “+CMS ERROR: 515” meaning, “Please wait, service is not
available, init in progress”.
This type of answer may be sent by the product at several points:
•
When trying to execute another AT command before the previous one is completed (before response),
•
When switching from ADN to FDN (or FDN to ADN) and trying to read the relevant phonebook immediately,
•
When asking for +CPIN? status immediately after SIM insertion and before the product has determined if the
inserted card is a valid SIM Card.
About the Length of Phone Numbers
Phone numbers can be made of up to 60 digits. The first 20 digits are stored in the SIM in the phonebook file (EFADN,
EFFDN or EFLND) corresponding to the selected phonebook. The next digits are stored in other extension SIM files (EFEXT1
or EFEXT2).
Example:
Number of Digits
1 to 20
21 to 40
41 to 60
Nb of Records in EFADN
Nb of Records in EFEXT1
If there are no more free records in the EFEXT1, the behavior is:
•
if the user tries to store an entry that exceeds 20 digits: +CME: 20
•
if the user tries to dial an number that exceeds 20 digits: +CME: 20
Since the maximum length for the numbers in the ADN, FDN, and LND phonebooks is 60 digits:
•
if the user tries to dial a number that exceeds 60 digits: +CME: 3
Before the user can perform a call, the number of free records in the EFEXT1 is checked for availability of free space to
store this number.
•
If there are free records left, the call is setup.
•
Otherwise, +CME: 20 error is returned (Memory Full).
See Recommendation 3GPP 11.11 for more details.
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
11
Chapter 4 – General AT Commands
Chapter 4 – General AT
Commands
Manufacturer Identification +CGMI
Description:
Displays the manufacturer identification.
Values:
No parameters
Syntax:
AT+CGMI
Command
Possible responses
AT+CGMI
WAVECOM MODEM
OK
Note: Get manufacturer identification
Note: Command valid, Wavecom modem
Request Model Identification +CGMM
Description:
Values:
Syntax:
Displays the supported frequency bands. With multi-band products the response may be a combination
of different bands.
No parameters
AT+CGMM
Command
AT+CGMM
Note: Get hardware version
AT+CGMM
Note: Get hardware version
Possible responses
MULTIBAND 900 E 1800
OK
Note: Multiband: GSM 900 MHz extended band and DCS
1800
MULTIBAND G850 1900
OK
Note: Multiband: GSM 850 and PCS
Request Revision Identification +CGMR
Description:
Values:
Syntax:
Displays the revised software version.
No parameters
AT+CGMR
Command
Possible responses
AT+CGMR
640b09gg.Q2406A 1266500 070403
17:06
Note: Get software version
OK
Note: Software release 6.40b, generated on the 4th
of July 2003
Product Serial Number +CGSN
Description:
Values:
Syntax:
Allows the user application to get the IMEI (Interrnational Mobile Equipment Identity, 15-digit number) of
the product.
No parameters
AT+CGSN
Command
Possible responses
AT+CGSN
012345678901234
OK
Note: Get the IMEI
Note: IMEI read from EEPROM
AT+CGSN
+CME ERROR: 22
Note: Get the IMEI
Note: IMEI not found in EEPROM
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
12
Chapter 4 – General AT Commands
Select TE Character Set +CSCS
Description:
Values:
Default:
Syntax:
Informs the ME which character set is used by the TE. The ME can convert each character of entered
or displayed strings. This is used to send, read or write short messages. See also +WPCS for the
phonebooks’ character sets.
GSM GSM default alphabet.
PCCP437
PC character set code page 437.
CUSTOM
User defined character set (cf. +WCCS command).
HEX
Hexadecimal mode. No character set used; the user can read or write hexadecimal values.
GSM alphabet
AT+CSCS=
Command
Possible responses
AT+CSCS=”GSM”
OK
Note: GSM default alphabet
Note: Command valid
AT+CSCS=”PCCP437”
OK
Note: PC character set code
Note: Command valid
AT+CSCS=?
+CSCS: ("GSM","PCCP437","CUSTOM","HEX")
OK
Note: Get possible values
Note: Possible values
Phonebook Character Set +WPCS
Description:
Informs the ME which character set is used by the TE for the phonebooks. The ME can convert each
character of entered or displayed strings. This is used to read or write phonebook entries. See also
+CSCS for the short messages character sets.
Values:
TRANSPARENT
Transparent mode. The strings are displayed and entered as they are stored in
SIM or in ME.
CUSTOM
User defined character set (cf. +WCCS command).
HEX
Hexadecimal mode. No character set used; the user can read or write
hexadecimal values.
Syntax:
AT+WPCS=
Command
Possible responses
AT+WPCS=”TRANSPARENT”
OK
Note: Transparent mode
Note: Command valid
AT+WPCS=”CUSTOM”
OK
Note: Custom character set
Note: Command valid
AT+WPCS=?
+WPCS: ("TRANSPARENT","HEX","CUSTOM")
OK
Note: Get possible values
Note: Possible values
Request IMSI +CIMI
Description:
Reads and identifies the IMSI (International Mobile Subscriber Identity) of the SIM card. The PIN may
need to be entered before reading the IMSI.
Values:
No parameters
Syntax:
AT+CIMI
Command
Possible responses
AT+CIMI
208200120320598
Note: Read the IMSI
OK
Note: IMSI value (15 digits), starting with MCC (3 digits) / MNC (2 digits, 3
for PCS 1900)
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
13
Chapter 4 – General AT Commands
Card Identification +CCID
Description:
Orders the product to read the EF-CCID file on the SIM card.
Values:
No parameters
Syntax:
AT+CCID
Command
Possible responses
AT+CCID
+CCID: “123456789AB111213141”
Note: Get card ID
Note: EF-CCID is present, hexadecimal format
AT+CCID?
+ CCID: “123456789AB111213141”
Note: Get current value
Note: Same result as +CCID
AT+CCID= ?
OK
Note: Get possible value
Note: No parameter but this command is valid
Note: If there is no EF-CCID file present on the SIM, the +CCID answer will not be sent, but the OK message will
be returned.
Capabilities List +GCAP
Description:
Values:
Syntax:
Displays the complete list of capabilities.
No parameters
AT+GCAP
Command
AT+GCAP
Note: Get capabilities list
Possible responses
+GCAP: +CGSM +FCLASS
OK
Note: Supports GSM and FAX commands
Repeat Last Command A/
Description:
Values:
Syntax:
Repeats the previous command. Only the A/ command itself cannot be repeated.
No parameters
A/
Command
Possible responses
A/
Note: Repeat last command
Power Off +CPOF
Description:
Values:
Syntax:
Stops the GSM software stack as well as the hardware layer. The AT+CFUN=0 command is equivalent
to +CPOF.
No parameters
AT+CPOF
Command
Possible responses
AT+CPOF
OK
Note: Stop GSM stack
Note: Command valid
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
14
Chapter 4 – General AT Commands
Set Phone Functionality +CFUN
Description:
Values:
Syntax:
Selects the mobile station’s level of functionality. When the application wants to stop the product with a
power off, or if the application wants to force the product to execute an IMSI DETACH procedure, then it
must send: AT+CFUN=0 (equivalent to AT+CPOF). This command executes an IMSI DETACH and
makes a backup copy of some internal parameters in SIM and in EEPROM. The SIM card cannot then
be accessed. If the mobile equipment is not powered off by the application after this command has been
sent, a re-start command (AT+CFUN=1) will have to issued to restart the whole GSM registration
process. If the mobile equipment is turned off after this command, then a power on will automatically
restart the whole GSM process. The AT+CFUN=1 command restarts the entire GSM stack and GSM
functionality: a complete software reset is performed. All parameters are reset to their previous values if
AT&W was not used. If you write entries in the phonebook (+CPBW) and then reset the product directly
(AT+CFUN=1, with no previous AT+CFUN=0 command), some entries may not be written (the SIM task
does not have enough time to write entries in the SIM card). In addition, the OK response will be sent at
the last baud rate defined by the +IPR command. With the autobauding mode the response can be at a
different baud rate, it is therefore preferable to save the defined baud rate with AT&W before directly
sending the AT+CFUN=1 command.
0 Set minimum funtionality; IMSI detach procedure
1 Set the full functionality mode with a complete software reset
AT+CFUN=
Command
Possible responses
AT+CFUN?
+CFUN: 1
Note: Ask for current functionality level
OK
Note: Full functionality
AT+CFUN=0
OK
Note: Set minimum functionality, IMSI detach procedure
Note: Command valid
AT+CFUN=1
OK
Note: Set the full functionality mode with a complete software reset
Note: Command valid
Phone Activity Status +CPAS
Description:
Values:
Syntax:
Returns the activity status of the mobile equipment.
0 ready (allow commands from TA/TE)
1 unavailable (does not allow commands)
2 unknown
3 ringing (ringer is active)
4 call in progress
5 asleep (low functionality)
AT+CPAS
Command
Possible responses
AT+CPAS
+CPAS:
Note: Current activity status
OK
Report Mobile Equipment Errors +CMEE
Description:
Values:
Syntax:
Disables or enables the use of the “+CME ERROR: ” or “+CMS ERROR:” result code
instead of simply “ERROR”. See Appendix A for +CME ERROR result codes description and +CMS
ERROR result codes.
0 Disable ME error reports; use only ERROR
1 Enable +CME ERROR: or +CMS ERROR:
AT+CMEE=
Command
Possible responses
AT+CMEE=0
OK
Note: Disable ME error reports, use only ERROR
AT+CMEE=1
OK
Note: Enable +CME ERROR: or
+CMS ERROR:
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
15
Chapter 4 – General AT Commands
Keypad Control +CKPD
Description:
Values:
Syntax:
Emulates the ME keypad by sending each keystroke as a character in a string. The supported
GSM sequences are listed in the Appendix A.
If emulation fails, a +CME ERROR: is returned. If emulation succeeds, the result depends on the
GSM sequence activated: : string of the following characters (0-9,*,#).
Note: In the case where the FDN phonebook is activated, the sequences concerning “call forwarding”
are allowed only if the entire sequence is written in the FDN.
Keyboard sequence; string of the following characters (0-9, *, #)
AT+CKPD=
Command
Possible responses
AT+CKPD=”*#21#”
+CCFC: 0,7
Note: Check every call forwarding status
AT+CKPD=”1234”
+CME ERROR 3
Note: Sequence not allowed
Clock Management +CCLK
Description:
Values:
Syntax:
Sets or gets the current date and time of the ME real-time clock.
String format for date/time is “yy/MM/dd,hh:mm:ss”
Note: Valid years are 98 (for 1998) to 97 (for 2097). The seconds field is not mandatory. Default
date/time is “98/01/01,00:00:00” (January 1st, 1998 / midnight).
AT+CCLK=
Command
Possible responses
AT+CCLK=”00/06/09,17:33:00”
OK
Note: set date to June 9th, 2000, and
Note: Date/Time stored
time to 5:33pm
AT+CCLK=”00/13/13,12:00:00”
+CME ERROR 3
Note: Incorrect month entered
AT+CCLK?
+CCLK: “00/06/09,17:34:23”
Note: Get current date and time
OK
Note: current date is June 9th, 2000
current time is 5:34:23 pm
Alarm Management +CALA
Description:
Values:
Syntax:
Sets the alarm date/time in the ME. The maximum number of alarms is 16.
String format for alarms: “yy/MM/dd,hh:mm:ss” (see +CCLK)
Note: Seconds are taken into account.
Offset in the alarm list, range 1 to 16
AT+CALA= (set alarm)
AT+CALA=””, (delete alarm)
Command
Possible responses
OK
AT+CALA=”00/06/09,07:30”
th
Note: Alarm stored
Note: set an alarm for June 9 , 2000 at 7:30 am
AT+CALA=”99/03/05,13:00:00”
+CME ERROR 3
Note: set an alarm for March 5th, 1999 at 1:00 pm
Note: Invalid alarm (date/time expired)
AT+CALA?
+CALA: “00/06/08,15:25:00”,0
+CALA: “00/06/09,07:30:00”,1
Note: list all alarms
+CALA: “00/06/10,23:59:00”,2
Note: three alarms are set (index 0, 1, 2)
+CALA: “00/06/08,15:25:00”,0
Note: an alarm occurs (index 0)
AT+CALA=””,2
OK
Note: delete alarm index 2
Note: Alarm index 2 deleted
AT+CALA?
+CALA: “00/06/09,07:30:00”,1
Note: list all alarms
Note: Only one alarm (index 1)
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
16
Chapter 5 – AT Call Control Commands
Chapter 5 – AT Call Control
Commands
Dial Command D
Description:
Values:
The ATD command sets a voice, data or fax call. As per GSM 02.30, the dial command also controls
supplementary services.
For a data or a fax call, the application sends the following ASCII string to the product (the bearer must
be previously selected with the +CBST command):
ATD where is the destination phone number;
For a voice call, the application sends the following ASCII string to the product: (the bearer may be
selected previously, if not a default bearer is used).
ATD; where is the destination phone number.
Please note that for an international number, the local international prefix does not need to be set
(usually 00) but does need to be replaced by the ‘+’ character.
Example: to set up a voice call to Multi-Tech offices from another country, the AT command is:
“ATD+17637853600;”
Note that some countries/regions may have specific numbering rules for their GSM handset numbering.
Destination phone number
Optional parameter means “invocation” (restrict CLI presentation)
Means “suppresssion” (allow CLI presentation)
Phonebook (one of SM, LD, MC, ME, RC, MT or SN). A default value can be selected by
+CPBS command.
Call number at indicated offset from the phonebook selected by the +CPBS command.
Call number corresponding to given name from the phonebook selected by the +CPBS
command.
The response to the ATD command is one of the following:
Verbose result code Numeric code
Description
(with ATV0 set)
OK
if the call succeeds, for voice call only
CONNECT 10,11,12,13,14,15 if the call succeeds, for data calls only, takes
the value negotiated by the product.
BUSY
If the called party is already in communication
NO ANSWER
If no hang up is detected after a fixed network time-out
NO CARRIER
Call setup failed or remote user release. Use the
AT+CEER command to know the failure cause
Direct Dialing from a Phonebook (stored in the SIM card) can be performed with the following commands:
ATD> ;
to call from the selected phonebook (by the +CPBS command)
ATD> “BILL”;
to call “BILL” from the selected phonebook
ATD> mem (mem is SM, LD, MC, ME, RC, MT or SN, see +CPBS command) allows direct
dialing from a phonebook number. Does not function with ON mem.
Syntax:
ATD[][;]
ATD>[][][;]
ATD>[][][;]
Command
AT+CPBS?
Note: Which phonebook is selected ?
ATD>SM6;
Note: Call index 6 from AND phonebook
Possible responses
+CPBS:”SM”,8,10
Note: ADN phonebook is selected, 8
locations are used and 10 locations are
available
OK
Note: Call succeeds
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
17
Chapter 5 – AT Call Control Commands
When the FDN phonebook has been locked, only numbers beginning with the digits of FDN phonebook
entries can be called. For example, if “014629” is entered in the FDN phonebook all the phone numbers
beginning with these 6 digits can be called. The CLIR supplementary service subscription can be
overridden for this call only.
“I” means “invocation” (restrict CLI presentation).
“i” means “suppression” (allow CLI presentation).
Control of CUG supplementary service information by “G” or “g” is allowed for this call only. The index
and info values set with the +CCUG command are used. An outgoing call attempt could be refused if
the AOC service is active and credit has expired (NO CARRIER). When trying to set up an outgoing call
while there is an active call, the active call is first put on hold, then the call set up is carried out. As per
GSM 02.30, GSM sequences may be controlled using dial commands. These sequences can contain
“*”, “#”, but “;” is forbidden. If the sequence is not supported or fails, +CME ERROR: is returned.
In the case where the FDN phonebook is activated, the sequences concerning call forwarding are
allowed only if there are written in the FDN.
Command
Possible responses
ATD*#21#
+CCFC: 0,7
Note: Check any call forwarding status
Note: No call forwarding
ATD**61*+33146290800**25#
OK
Note: Register call forwarding on no reply, with no
Note: done
reply timer fixed at 25 s.
ATD*2#
+CME ERROR 3
Note: Bad sequence
Hang-Up command H
Description:
Values:
Syntax:
The ATH (or ATH0) command disconnects the remote user. In the case of multiple calls, all calls are
released (active, on-hold and waiting calls). The specific ATH1 command has been appended to
disconnect the current outgoing call, only in dialing or alerting state (ie. ATH1 can be used only after the
ATD command, and before its terminal response (OK, NO CARRIER, ...). It can be useful in the case of
multiple calls.
0 Ask for disconnection (default value)
1 Ask for outgoing call disconnection
ATH
Command
Possible responses
ATH
OK
Note: Ask for disconnection
Note: Every call, if any, is released
ATH1
OK
Note: Ask for outgoing call disconnection Note: Outgoing call, if any, is released
Answer a Call A
Description:
Syntax:
When the product receives a call, it sets the RingInd signal and sends the ASCII “RING” or “+CRING:
” string to the application (+CRING if the cellular result code +CRC is enabled). Then it waits for
the application to accept the call with the ATA command.
ATA
Command
Possible responses
RING
Note: Incoming call
ATA
OK
Note: Answer to this incoming call
Note: Call accepted
ATH
OK
Note: Disconnect call
Note: Call disconnected
Remote Disconnection
This message is used by the product to inform the application that an active call has been released by the remote user.
The product sends “NO CARRIER” to the application and sets the DCD signal.
In addition, for AOC, the product can release the call if credit has expired (release cause 68 with +CEER command).
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
18
Chapter 5 – AT Call Control Commands
Extended Error Report +CEER
Description:
This command gives the cause of call release when the last call set up (originating or answering) failed.
Values:
No parameters
Syntax:
AT+CEER
Command
Possible responses
ATD123456789;
NO CARRIER
Note: Outgoing voice call
Note: Call setup failure
AT+CEER
+CEER: Error
OK
Note: Ask for reason of release
Note: is the cause information element values from GSM
recommendation 04.08 or specific Call accepted
Note: “NO CARRIER” indicates that the AT+CEER information is available for failure diagnosis.
DTMF Signals +VTD, +VTS
+VTD
Description:
Values:
Syntax:
The product enables the user application to send DTMF tones over the GSM network. This command is
used to define tone duration (the default value is 300ms). To define this duration, the application uses:
AT+VTD= where *100 gives the duration in ms. If n < 4, tone duration is 300 ms.
tone duration.
*100 is the duration in ms. If < 4, tone duration is 300 ms; if n > 255, the value used is modulo 256.
Default value: 300 ms, that is = 3.
AT+VTD=
Command
Possible responses
AT+VTD=6
OK
Note: To define 600 ms tone duration
Note: Command valid
AT+VTD=0
OK
Note: To set the default value
+VTDS
Description:
Values:
Syntax:
The product enables the user application to send DTMF tones over the GSM network. This command
enables tones to be transmitted only when there is an active call.
To transmit DTMF tones (only when there is an active call), the application uses:
AT+VTS=
where is in {0-9,*,#,A,B,C,D}
DTMF tone to transmit. Tone is in {0-9, *, #, A, B, C, D}
AT+VTS=
Command
Possible responses
AT+VTS=A
OK
Note: Command valid
AT+VTS=11
+CME ERROR: 4
Note: To set the default value
Note: If the is wrong
AT+VTS=4
+CME ERROR: 3
Note: If there is no communication
Example:
To send tone sequence 13#, the application sends:
AT+VTS=1;+VTS=3;+VTS=#
OK
Redial Last Telephone Number DL
Description:
Values:
Syntax:
This command redials the last number used in the ATD command. The last number dialed is displayed
followed by “;” for voice calls only.
No parameters
ATDL
Command
Possible responses
ATDL
0146290800;
Note: Redial last number
OK
Note: Last call was a voice call. Command valid
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
19
Chapter 5 – AT Call Control Commands
Automatic Dialing with DTR %D
Description:
Values:
Syntax:
This command enables and disables:
Automatic dialing of the phone number stored in the first location of the ADN phonebook,
Automatic sending of the short message (SMS) stored in the first location of the SIM.
The number is dialed when DTR OFF switches ON. The short message is sent when DTR OFF
switches ON.
Enable or disables automatic message transmission or number dialing.
Informs the product that the number is a voice rather than a fax or data number.
0 Disables automatic DTR number dialing / message transmission.
1; Enables automatic DTR dialing if DTR switches from OFF to ON; Dials the phone number in
the first location of the ADN phonebook. Voice call.
1 Activates automatic DTR dialing if DTR switches from OFF to ON; Dials the phone number in
the first location of the ADN phonebook. Data or Fax call.
2 Activates automatic DTR message transmission if DTR switches from OFF to ON.
AT%D[;]
Command
Possible responses
AT%D1;
OK
Note: Activates DTR number dialing
Note: Command has been executed
DTR is OFF
DTR switches ON
Note: The number in the first location of the ADN is dialed automatically
DTR switches OFF
Note: The product goes on-hook
AT%D2
OK
Note: Activates DTR short message sending
Note: Command has been executed
Automatic Answer S0
Description:
Values:
Syntax:
This S0 parameter determines and controls the product automatic answering mode.
is the number of rings before automatic answer (3 characters padded with zeros)
Range of values is 0 to 255.
ATS0=
Command
Possible responses
ATS0=2
OK
Note: Automatic answer after 2 rings
ATS0?
002
OK
Note: Current value
Note: always 3 characters padded with zeros
ATS0=0
OK
Note: No automatic answer
Note: Command valid
All others S-parameters (S6,S7,S8 …) are not implemented.
Incoming Call Bearer +CICB
Description:
Values:
Syntax:
This command sets the type of incoming calls when no incoming bearer is given (see +CSNS).
Note: Setting the +CICB command affects the current value of +CSNS.
0 Data
1 Fax
2 Speech
AT+CICB=
Command
Possible responses
AT+CICB=1
OK
Note: If no incoming bearer, force a fax call
Note: Command accepted
AT+CICB=2
OK
Note: If no incoming bearer, force a voice call
Note: Command accepted
AT+CICB?
+CICB: 2
Note: Interrogate value
OK
Note: Default incoming bearer: voice call
AT+CICB=?
+CICB: (0-2)
Note: Test command
OK
Note: Speech, data or fax default incoming bearer
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
20
Chapter 5 – AT Call Control Commands
Single Numbering Scheme +CSNS
Description:
Values:
Syntax:
Selects the bearer to be used when an MT single numbering scheme call is set up (see +CICB).
Note: Setting the +CSNS command affects the current value of +CICB.
0 Voice
2 Fax
4 Data
AT+CSNS
Command
Possible responses
AT+CSNS=2
Note: force a fax call
OK
Note: Command accepted
AT+CSNS=0
Note: force a voice call OK
Note: Command accepted
AT+CSNS?
Note: Interrogate value +CSNS: 0
Note: Default incoming bearer: voice call
AT+CSNS=?
Note: Test command
+CSNS: (0,2,4)
Note: Voice, data or fax default incoming
bearer
Gain Control +VGR, +VGT
Description:
Values:
Syntax:
This command is used by the application to tune the receive gain of the speaker and the transmit gain
of the microphone.
is the reception gain
is the transmission gain
AT+VGR= and AT+VGT=
Command
Possible responses
AT+VGR=25
OK
Note: Command valid
AT+VGT=45
OK
Note: Command valid
AT+VGR?
+VGR: 64
Note: Interrogate value OK
Note: Default receive gain
AT+VGR=?
+VGR: (0-255)
Note: Test command
OK
Note: Possible values
AT+VGT?
+VGT: 64
Note: Interrogate value OK
Note: Default transmit gain
AT+VGT=?
+VGT: (0-255)
Note: Test command
OK
Note: Possible values
Note: For the AT+VGT? command with controller 1 set, the value is the lower value of range, whereas with controller 2,
value corresponds to the entered value with AT+VGT=xx.
The application sends:
AT+VGR= for receive gain
0 to 15
16 to 31
32 to 47
48 to 63
64 to 79
80 to 95
96 to 111
112 to 127
128 to 143
144 to 159
160 to 175
176 to 191
192 to 207
208 to 223
224 to 255 (*)
+6 db
+4 db
+2 db
+0 db
-2 db
-4 db
-6 db
-8 db
-10 db
-12 db
-14 db
-16 db
-18 db
-20 db
-22 db
AT+VGT=
Controller 1
0 to 31
32 to 63
64 to 95
96 to 127
128 to 159
160 to 191
192 to 223
224 to 255
for transmit gain
Controller 1
+30 db
+33 db
+36 db
+39 db
+42 db
+45 db
+48 db
+51 db
AT+VGT=
Controller 2
…
19
20
21 (**)
22 (**)
23 (**)
…
58 (**)
59 (**)
60 (**)
61
62
…
101
102 to 127
128 to 243
244
245
246
…
255
for transmit gain
Controller 2
+0 db
+0,5 db
+1 db
+1,5 db
…
+9,5 db
+10 db
+10.5 db
+11 db
+11.5 db
+29 db
+29.5 db
+30 db
+30,5 db
+31 db
…
+50,5 db
+51 db
-6,5 db
-6 db
-5,5 db
-5 db
…
-0,5 db
The gain values listed here are relative, for absolute (electrical) values please refer to the specific hardware
documentation of the module used in the application.
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
21
Chapter 5 – AT Call Control Commands
Microphone Mute Control +CMUT
Description:
Values:
Syntax:
This command mutes the microphone input on the product (for the active microphone set with the
+SPEAKER command). This command is only allowed during a call.
0 microphone mute off (default value).
1 microphone mute on.
AT+CMUT=
Command
Possible responses
AT+CMUT=?
+CMUT: (0,1)
OK
Note: Test command
Note: Enable / disable mute
AT+CMUT?
+CMUT: 0
OK
Note: Ask for current value
Note: Current value is OFF
AT+CMUT=1
OK
Note: Mute ON (call active)
Note: Command valid
AT+CMUT?
+CMUT: 1
OK
Note: Ask for current value
Note: Mute is active (call active)
AT+CMUT=0
+CME ERROR:3
Note: Mute OFF (call not active)
Note: Command not valid
Speaker & Microphone Selection +SPEAKER
Description:
Values:
Syntax:
This specific command selects the speaker and the microphone set.
0 Speaker One, Micro One
1 Speaker Two, Micro Two
AT+SPEAKER=
Command
Possible responses
AT+SPEAKER=0
OK
Note: Speaker ONE and Micro ONE
Note: Command valid
AT+SPEAKER?
+SPEAKER: 0
OK
Note: Speaker ONE and Micro ONE are active
AT+SPEAKER=?
+SPEAKER: (0,1)
OK
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
22
Chapter 5 – AT Call Control Commands
Echo Cancellation +ECHO
Description:
Values:
This command enables, disables or configures the Echo Cancellation functions for voice calls (in rooms,
in cars, etc.). It is necessary to tune the Microphone gain (AT+VGT) and the Speaker gain (AT+VGR)
before activating the Echo Cancellation.
0 Deactivate Echo
1 Activate Echo
When mode = 1 is choosen, AlgoId is mandatory.
1 Echo cancellation 1
3 Echo cancellation 3
To use Echo cancellation 3, the ECHO feature must be activated.
Echo cancellation 1 (4 parameters):
The parameter specifies the maximum attenuation of the switch
0 31 db (default)
1 29 db
2 27 db
3 25 db
…
14 3 db
15 1 db
The parameter specifies the attenuation step between attenuation and no attenuation.
0 1 db
1 2 db
2 3 db
specifies the relative threshold between max and min energy information.
The allowed range is [0 - 31]. Default = 10.
specifies threshold of max energy information.
The allowed range is [0 - 31]. Default = 7.
Echo Cancellation 3 (3 parameters):
high value leads to high echo attenuation but the full-duplex quality will be less efficient.
The allowed range is [ 0 ; 63 ]. (30 by default)
indicates the noise threshold. Low value leads to high noise attenuation. The
threshold 32767 indicates no noise attenuation. The allowed range is [0 ;32767].
The default is 8000.
indicates the Number of Taps of the Adaptive Filter. The allowed range is [64 -256].
The default is 256.
64 taps = short Echo
256 taps = long Echo.
Read Command:
AT+ECHO?
This command returns the current settings of the Echo cancellation.
Returns: +ECHO: ,, ,, , ,
,
The number of parameters displayed depends on the algorythm used. For Echo cancellation 1, 4
parameters are displayed, 3 parameters are displayed for Echo cancellation 3.
0 Echo Deactivated.
1 Echo Activated for Mic/Spk one.
2 Echo Activated for Mic/Spk two.
3 Reset the product.
Note: You can activate/deactivate the echo cancellation during a call without resetting the product if the
parameter is not changed, but you have to use the syntax with all parameters:
AT+ECHO=1,3,30,8000,256 for instance.
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
23
Chapter 5 – AT Call Control Commands
Syntax:
AT+ECHO= [,, ,,,,,]
Command
Possible responses
AT+CMEE=1
OK
Note: Enables the use of result code
AT+SPEAKER?
+ SPEAKER: 0
OK
Note: Speaker ONE and Micro ONE are active
AT+SIDET=0
OK
Note: Deactivate the Sidetone
AT+SIDET?
+SIDET: 0,0
AT+ECHO?
+ECHO: 0,1,0,3,10,7
Note: Read current settings
OK
AT+ECHO=1,1,0,3,10,7
OK
Note: Active Echo cancellation 1 for Mic/Spk one.
AT+ECHO?
+ECHO: 1,1,0,3,10,7
Note: Read current settings
OK
AT+ECHO=1,3,30,8000,256
+CME ERROR: 519
Note: Activate the Echo cancellation 3
Note: The new algorithm will be activated
after a reset of the product
AT+ECHO?
+ECHO: 3,3,30,8000,256
Note: Read the Echo cancellation settings
OK
AT+CFUN=1
OK
Note: Reset the product
AT+ECHO?
+ECHO: 1,3,30,8000,256
Note: Read current settings
OK
AT+ECHO=0
OK
Note: Deactivate the Echo Cancellation
SideTone Modification +SIDET
Description:
Values:
Syntax:
This command sets the level of audio feedback in the speaker (microphone feedback in the speaker).
0 SideTone is disabled
1 SideTone is enabled
(default value 0 will be used if this parameter is not given)
0 0 db
1 - 6 db
2 - 12 db
3 - 18 db
AT+SIDET=,
Command
Possible responses
AT+SIDET=1,0
OK
Note: Command valid
AT+SIDET?
+SIDET: 1,0
Note: Current value
OK
Note: Command valid
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
24
Chapter 5 – AT Call Control Commands
Initialize Voice Parameters +VIP
Description:
Values:
Syntax:
This command allows factory settings for voice parameters to be restored from EEPROM.
These voice parameters include:
Gain control (+VGR & +VGT commands)
Gain controller (+WSVG command)
Microphone mute control (+CMUT command)
Speaker & Microphone selection (+SPEAKER command)
Echo cancellation (+ECHO command)
Side tone modification (+SIDET command)
1 Restore all voice parameters.
Other values are not supported.
AT+VIP=
Command
Possible responses
AT+VIP?
AT+VIP=2
Note: Syntax error
AT+VIP=1
Note: Restore the factory settings from EEPROM
AT+VIP=1
Note: Restore the factory settings from EEPROM
with the current Echo cancellation algo (different of
the default algo).
AT+VIP=?
Note: List of supported s
+VIP: 1
OK
+CME ERROR: 3
OK
Note: The command has been executed
CME ERROR: 519
Note: Reset the product to accept the new algo.
+VIP: (1)
OK
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
25
Chapter 6 – Network Service Commands
Chapter 6 – Network Service
Commands
Signal Quality +CSQ
Description:
Values:
Syntax:
This command determines the received signal strength indication () and the channel bit error rate
() with or without a SIM card inserted.
:
0 -113 dBm or less
1 -111 dBm
2 to 30
-109 to –53 dBm
31 -51dBm or greater
99 not known or not detectable
:
0…7: as RXQUAL values in the table GSM 05.08
99 not known or not detectable
AT+CSQ
Command Possible responses
AT+CSQ
+CSQ: , (Note: and as defined below)
OK
Operator Selection +COPS
Description:
Values:
Syntax:
There are three possible ways of selecting an operator (PLMN):
1) The product is in manual mode. It then tries to find the operator specified by the application and if
found, tries to register.
2) The product is in automatic mode. It then tries to find the home operator and if found, tries to
register. If not found, the product automatically searches for another network.
3) The product enters into manual/automatic mode, and then tries to find an operator as specified by
the application (as in manual mode). If this attempt fails, it enters automatic mode. If this is
successful, the operator specified by the application is selected. The mobile equipment then enters
into automatic mode.
Note: The read command returns the current mode and the currently selected operator. In manual
mode, this PLMN may not be the one set by the application (as it is in the search phase). These
commands are not allowed during one communication.
0 automatic (default value)
1 manual
2 deregistration ; ME will be unregistered until =0 or 1 is selected.
3 set only (for read command AT+COPS?)
4 manual / automatic ( shall be present), if manual selection fails, automatic mode is
entered.
: format of field
0 long alphanumeric format
1 short alphanumeric format
2 numeric (default value) : status of
0 unknown
1 available
2 current
3 forbidden
: operator identifier (MCC/MNC in numeric format only for operator selection)
The long alphanumeric format can be up to 16 characters long (see Appendix A for operator names
description, field is “Name”). The short alphanumeric format can be up to 8 characters long.
AT+COPS=, [ [ , ] ] (To force an attempt to select and register on a network,
the application must send this command)
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
26
Chapter 6 – Network Service Commands
Possible responses for AT+COPS=:
OK
(Network is selected with full service)
+CME ERROR: 30 (No network service),
+CME ERROR: 32 (Network not allowed – emergency calls only)
+CME ERROR: 3 (not allowed during one Communication)
+CME ERROR: 4 (Incorrect parameters)
+CME ERROR: 527
(Please wait, and retry your selection later)
+CME ERROR: 528
(Location update failure – emergency calls only)
+CME ERROR: 529
(Selection failure – emergency calls only)
Response syntax for AT+COPS?: +COPS: [, , ]
Response syntax for AT+COPS=?: +COPS: [list of supported (, long alphanumeric , short alphanumeric
s, numeric ) s]
If an incoming call occurs during a PLMN list request, the operation is aborted
(+CME ERROR: 520) and the unsolicited RING appears.
Command
AT+COPS?
Note: Ask for current PLMN
AT+COPS=?
Note: Ask for PLMN list
AT+COPS=1,2,20810
Note: Ask for registration on SFR network
AT+COPS=1,1,23433
Note: Ask for registration on UK Orange network
AT+COPS=0
Note: Ask for registration on home network
AT+COPS=3,0
Note: Set to long alphanumeric
AT+COPS?
Note: Ask for current PLMN
AT+COPS=2
Note: Ask for deregistration from network
AT+COPS?
Note: Ask for current PLMN
Possible responses
+COPS: 0,2,20801
OK
Note: Home PLMN is France Telecom Orange
+COPS: (2,”F Itinéris”,”Itline”,”20801”), (3,”F SFR”,”SFR”,”20810”)
OK
Note: Home PLMN is France Telecom SFR network has been
detected
+CME ERROR: 32
Note: Network not allowed – emergency calls only
+CME ERROR: 529
Note: Selection failed – emergency calls only
OK
Note: Succeeded
OK
+COPS: 0,0,”Orange F”
OK
Note: Home PLMN is France Telecom Orange
OK
Note: Succeeded
+COPS: 2
Note: ME is unregistered until =0 or 1 is selected
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
27
Chapter 6 – Network Service Commands
Network Registration +CREG
Description:
Values:
This command is used by the application to ascertain the registration status of the product.
0 Disable network registration unsolicited result code (default)
1 Enable network registration code result code +CREG:
2 Enable network registration and location information unsolicited result code +CREG:
,, if there is a change of network cell.
0 not registered, ME is not currently searching for a new operator.
1 registered, home network.
2 not registered, ME currently searching for a new operator to register to.
registration denied.
4 unknown.
5 registered, roaming.
: string type; two byte location area code in hexadecimal format (e.g. “00C3” equals 195 in
decimal).
: string type; two byte cell ID in hexadecimal format.
Syntax:
Command Syntax: AT+CREG=
Response syntax: +CREG: , [ ,, ] for AT+CREG? Command only
Command
Possible responses
AT+CREG?
+CREG: ,
OK
Note: As defined here-above
AT+CREG=0
OK
Note: Disable network registration unsolicited result code Note: Command valid
AT+CREG=1
OK
Note: Enable network registration unsolicited result code Note: Command valid
AT+CREG=2
OK
Note: Enable network registration and location
Note: Command valid
information unsolicited result code
AT+CREG=?
+CREG: (0-2)
Note: 0,1,2 values are supported
Read Operator Name +WOPN
Description:
Values:
Syntax:
This command returns the operator name in alphanumeric format when given the numeric format.
With E-ONS feature, lac is an optional parameter to read names from OPL/PNN sim files. If it is not
entered, name will be given with current lac. Note that in limited service, current lac is set to 0.
is the required format. Only long (0) and short (1) alphanumeric formats are supported.
is the operator in numeric format.
is the operator in long or short alphanumeric format (see Appendix A for description).
is the two byte Location Area Code to be used to get the PLMN name. If it is not entered, Current
lac will be used (0 if limited service).
Command syntax: AT+WOPN=,
Response syntax: +WOPN: ,
Command
Possible responses
AT+WOPN=?
OK
Note: Test command
AT+WOPN=0,20801
+WOPN: 0,”Orange F”
Note: Give an operator in numeric format
OK
Note: Alphanumeric answer
AT+WOPN=0,99999
+CME ERROR: 22
Note: Give a wrong operator
Note: Not found
AT+WOPN=0,2081,36
+WOPN: 0, “OrangeF”
Note: Give an operator in numeric format for lac 36 OK
Note: Alphanumeric answer
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
28
Chapter 6 – Network Service Commands
Selection of Preferred PLMN List +CPLS
Description:
Values:
Syntax:
This command selects one PLMN selector with access technology list in the SIM card that is used by
AT+CPOL command.
:
0 User controlled PLMN selector with access technology EF_PLMNwAct
Note: if this file is not found EF_PLMNSel will be selected
1 Operator controlled PLMN selector with access technology EF_OPLMNwAct
2 Home PLMN selector with access technology EF_HPLMNwAct
AT+CPLS=
Command
Possible responses
AT+CPLS?
+CPLS: 1
OK
Note: Ask for selection of the SIM file Note: EF_OPLMNwAct is selected
AT+CPLS=0
Note: if EF_PLMNwAct is not present, EF_PLMNsel will be
Note: selection of EF_PLMNwAct
selected
AT+CPLS=1
+CME ERROR: 3
Note: selection of EF_OPLMNwAct
Note: EF_OPLMNwAct is not present
AT+CPLS=?
+CPLS: (0-2)
Note: Get possible values
OK
Note: The 3 files with Acces technology are present and can
be selected
AT+CPLS=?
+CPLS: (0)
OK
Note: Get possible values
Note: Only EF_PLMNwAct or EF_PLMNsel can be selected
Preferred Operator List +CPOL
Description:
This command edits (or updates) the SIM preferred list of networks. This list is read in the SIM file
selected by the command AT+CPLS.
Values:
: position of the operator record in the Sim preferred operator list. Use AT+CPOL=? to view the
maximum index of the selected EF.
0 long alphanumeric format for
1 short alphanumeric format for
2 numeric format for
: characterstring or integer (see ) indicating operator identifier.
: GSM access technology
: GSM compact access technology
: UTRA access technology
0 access technology not selected
1 access technology selected
Syntax:
AT+CPOL= [] [,[,[,,,]]]
The different possibilities are:
AT+CPOL = to delete an entry.
AT+CPOL = , to set the format used by the read command (AT+CPOL?).
AT+CPOL = , , to put in the next free location.
AT+CPOL = , , to write in the at the .
AT+CPOL = ,,,,,
To write in the at the precising the access technology (in the case of
EF_PLMNwact, EF_HPLMNwact or EF_OPLMNwact is present).
Note: Per default if Acces technology parameters are not given, the GSM access technology will be
chosen.
The supported format are those of the +COPS command.
The length of this list is limited to 85 entries for EF_PLMNsel, and 51 for EF_PLMNwAct,
EF_OPLMNwAct, EF_HPLMNwAct.
(See table on next page)
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
29
Chapter 6 – Network Service Commands
Command
AT+CPOL?
Note: Ask for preferred list of networks
With only EF_PLMNsel present
AT+CPOL?
Note: Ask for preferred list of networks
With EF_PLMNwAct selected and present
AT+CPOL=,0
Note: Select long alphanumeric format
AT+CPOL?
Note: Ask for preferred list of networks
With only EF_PLMNsel present
AT+CPOL=7,2,20801
Note: Add a network to the list
AT+CPOL?
Note: Ask for preferred list of networks
With only EF_PLMNsel present
AT+CPOL=7
th
Note: Delete 7 location
AT+CPOL?
Note: Ask for preferred list of networks
With only EF_PLMNsel present
AT+CPOL=8,2,77777
Note: Add a new network to the list
With only EF_PLMNsel present
AT+CPOL=8,2,77777,0,0,1
Note: Add a new network to the list
With EF_PLMNwact present
AT+CPOL=8,2,77777
Note: Add a new network to the list
With EF_PLMNwact present
AT+CPOL?
Note: Ask for preferred list of networks
With only EF_PLMNsel present
AT+CPOL=9,0,”Orange F”
Note: Add a new network to the list (text format)
AT+CPOL?
Note: Ask for preferred list of networks
With only EF_PLMNsel present
AT+CPOL=?
Possible responses
+CPOL:1,2,26201
+CPOL: 6,2,20810
OK
Note: Preferred list of networks in numeric format (read in
EF_PLMNsel)
+CPOL:1,2,26201,1,0,0
+CPOL: 6,2,20810,1,0,0
OK
Note: Preferred list of networks in numeric format (read in
EF_PLMNwAct)
GSM acces technology selected
GSM compact acces technology not selected
Utran acces technology not selected
OK
+CPOL: 1,0,”D1-TELEKOM”
+CPOL: 6,0,”F SFR”
OK
Note: Preferred list of networks in long alphanumeric format
OK
+CPOL: 1,0,”D1-TELEKOM”
+CPOL: 6,0,”F SFR”
+CPOL: 7,0,”Orange F”
OK
Note: Preferred list of networks in long alphanumeric format
OK
+CPOL: 1,0,”D1-TELEKOM”
+CPOL: 6,0,”F SFR”
OK
Note: Preferred list of networks in long alphanumeric format
OK
OK
Note: Acces technology UTRAN is selected
OK
Note: Per default Acces technology GSM is selected
+CPOL: 1,0,”D1-TELEKOM”
+CPOL: 6,0,”F SFR”
+CPOL: 8,2,77777”
OK
th
Note: Preferred networks list in long alphanumeric format; 8
entry is unknown so the product edits it in the numeric format
+CPOL: 1,0,”D1-TELEKOM”
+CPOL: 6,0,”F SFR”
+CPOL: 8,2,77777”
+CPOL: 9,0,”Orange F”
OK
Note: Preferred list of networks in long alphanumeric format
+CPOL: (1-16),(0-2)
OK
Note: The EF can accept 16 records. Supported formats are
0, 1, or 2.
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
30
Chapter 6 – Network Service Commands
Read Operator Name +COPN
Description:
This command returns the list of all operator names (in numeric and alphanumeric format) stored in the
module.
Values:
: is the operator in numeric format
: is the operator in long alphanumeric format
Syntax:
AT+COPN
Command Response: +COPN: ,
Command
Possible responses
AT+COPN
+COPN: 23201,”A1”
+COPN: 23203,”Amax.”
Note: Ask for list of operators
+COPN: 23207,”A tele.ring”
+COPN: 23205,”one”
…
OK
AT+COPN=?
+CME ERROR:
OK
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
31
Chapter 7 – Security Commands
Chapter 7 – Security
Commands
Enter PIN +CPIN
Description:
Values:
Syntax:
This command enters the ME passwords (CHV1 / CHV2 / PUK1 / PUK2, etc.), that are required before
any ME functionality can be used. CHV1/CHV2 is between 4 and 8 digits long, PUK1/PUK2 is only 8
digits long. If the user application tries to make an outgoing call before the SIM PIN code (CHV1) has
been confirmed, then the product will refuse the “ATD” command with a “+CME ERROR: 11” (SIM PIN
required). The application is responsible for checking the PIN after each reset or power on - if the PIN
was enabled.
is the personal identification number
is the personal unblocking key needed to change the PIN.
AT+CPIN=
Command
Possible responses
AT+CPIN=1234
OK
Note: Enter PIN
Note: PIN code is correct
AT+CPIN=5678
+CME ERROR: 3
Note: Enter PIN
Note: Operation not allowed, PIN previously entered
After 3 unsuccessful attempts to enter the PIN (Personal Identification Number), the PUK (Personal
Unblocking Key) will be required.
PUK validation forces the user to enter a new PIN code as a second parameter and this will be the new
PIN code if PUK validation succeeds. CHV1 is then enabled if PUK1 is correct. The application
therefore uses this command: AT+CPIN=,
Command
Possible responses
AT+CPIN=00000000,1234
+CME ERROR: 16
Note: Enter PUK and new PIN
Note: Incorrect PUK
AT+CPIN=12345678,1234
OK
Note: Enter PUK and new PIN, 2nd attempt
Note: PUK correct, new PIN stored
To determine which code must be entered (or not), the following query command can be used:
AT+CPIN? The possible responses are:
+CPIN: READY
ME is not pending for any password
+CPIN: SIM PIN
CHV1 is required
+CPIN: SIM PUK
PUK1 is required
+CPIN: SIM PIN2
CHV2 is required
+CPIN: SIM PUK2
PUK2 is required
+CPIN: PH-SIM PIN
SIM lock (phone-to-SIM) is required
+CPIN: PH-NET PIN
Network personnalisation is required
+CME ERROR:
SIM failure (13) absent (10) etc…
Please note that in this case the mobile equipment does not end its response with the OK string.
The response +CME ERROR: 13 (SIM failure) is returned after 10 unsuccessful PUK attempts. The SIM card is then out
of order and must be replaced by a new one.
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
32
Chapter 7 – Security Commands
Example:
Three (3) failed PIN validations + 1 successful PUK validation
AT+CPIN?
Read the PIN status
+CPIN: SIM PIN
The product requires SIM PIN
AT+CPIN=1235
First attempt to enter a SIM PIN
+CME ERROR: 16
Wrong PIN
AT+CPIN=1236
Second attempt
+CME ERROR: 16
Wrong PIN
AT+CPIN=1237
Third attempt
+CME ERROR: 16
Wrong PIN
AT+CPIN?
+CPIN: SIM PUK
Read PIN state
The product requires PUK
AT+CPIN=99999999,5678
OK
AT+CPIN?
+CPIN: READY
The PUK is entered, the new PIN shall be 5678 PUK validation is OK. New Pin
is 5678
Read PIN state
The product is ready
If the user tries to do something which requires PIN2 (CHV2), the product will refuse the action with a “+CME
ERROR: 17” (SIM PIN2 required). The product then waits for SIM PIN2 to be given. Of course, if SIM PIN2 is
blocked, SIM PUK2 is required instead of SIM PIN2.
For example, the product needs PIN2 to write in the fixed dialing phonebook (FDN) , so if SIM PIN2 authentication
has not been performed during the current session, SIM PIN2 is required
Command
AT+CPBS=”FD”
Note: Choose FDN
AT+CPBW=5,”01290917”,129,”Jacky”
Note: Write in FDN at location 5
AT+CPIN?
Note:
Possible responses
OK
+CME ERROR: 17
Note: SIM PIN2 is required
SIM PIN2
Note: SIM PIN2 is required
OK
AT+CPIN=5678
Note: Enter SIM PIN2
AT+CPBW=2,”01290917”,129,”Jacky”
OK
Note: Write in FDN at location 5
Note: Now writing in FDN is allowed
Please note that the product only requests PIN2 or PUK2 once. Therefore, if they are not entered
properly, the next +CPIN? command will return “+CPIN: READY”.
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands - PN S000293E
33
Chapter 7 – Security Commands
Enter PIN2 +CPIN2
Description:
This command validates the PIN2 code (CHV2) or the PUK2 code (UNBLOCK CHV2) and defines a
new PIN2 code. Of course, the +CPIN command allows PIN2 or PUK2 codes to be validated, but only
when the last command executed resulted in PIN2 authentication failure. PIN2 length is between 4 and
8 digits; PUK2 length is 8 digits only.
Values:
is the personal identification number 2
is the personal unblocking key 2 needed to change the PIN 2
Note: PIN2 length is between 4 and 8 digits; PUK2 length is 8 digits only.
Syntax: AT+CPIN2=
Command
AT+CPIN2=1234
Note: Enter PIN2
AT+CPIN2=5678
Note: Enter PIN2
Possible responses
OK
Note: PIN2 code is correct
+CME ERROR: 3
Note: Operation not allowed, PIN2 previously entered
After 3 unsuccessful attempts, PUK2 will be required. PUK2 validation forces the user to enter a new PIN2
code as a second parameter and this will be the new PIN2 code if PUK1 validation succeeds. The
application uses this command: AT+CPIN2=,
Command
AT+CPIN2=00000000,1234
Note: Enter PUK2 and new PIN2
AT+CPIN2=12345678,1234
Note: Enter PUK2 and new PIN2, 2nd
attempt
Possible responses
+CME ERROR: 16
Note: Incorrect Password (PUK2)
OK
Note: PUK2 correct, new PIN2 stored
To determine which code must be entered (or not), the following query command can be used:
AT+CPIN2?
The possible responses are:
+CPIN2: READY
No PIN2 is needed
+CPIN2: SIM PIN2
PIN2 is required
+CPIN2: SIM PUK2
PUK2 is required
+CME ERROR:
Absent (10) etc…
PIN Remaining Attempt Number +CPINC
Description:
This command gets the number of valid attempts for PIN1 (CHV1), PIN2 (CHV2), PUK1 (UNBLOCK
CHV1) and PUK2 (UNBLOCK CHV2) identifiers.
Values
, are the attempts left for PIN1, PIN2 (0 = blocked, 3 max)