SQN AT Commands Reference PDF
SQN AT Commands Reference PDF
Monarch
Platform
LR5.1.1.0
AT Commands
Reference
Manual
SEQUANS Communications
15-55 Boulevard Charles de Gaulle
92700 Colombes, France
Phone. +33.1.70.72.16.00
Fax. +33.1.70.72.16.09
www.sequans.com
contact@sequans.com
Preface
Legal Notices
Copyright © 2017, SEQUANS Communications
All information contained herein and disclosed by this document is
confidential and the proprietary property of SEQUANS Communications,
and all rights therein are expressly reserved. Acceptance of this material
signifies agreement by the recipient that the information contained in this
document is confidential and that it will be used solely for the purposes set
forth herein. Acceptance of this material signifies agreement by the recipient
that it will not be used, reproduced in whole or in part, disclosed, distributed,
or conveyed to others in any manner or by any means – graphic, electronic, or
mechanical, including photocopying, recording, taping, or information
storage and retrieval systems – without the express written permission of
SEQUANS Communications.
All Sequans’ logos and trademarks are the property of SEQUANS
Communications. Unauthorized usage is strictly prohibited without the
express written permission of SEQUANS Communications. All other
company and product names may be trademarks or registered trademarks of
their respective owners. Products and services of SEQUANS
Communications, and those of its licensees may be protected by one or more
pending or issued U.S. or foreign patents.
Because of continuing developments and improvements in design,
manufacturing, and deployment, material in this document is subject to
change without notification and does not represent any commitment or
obligation on the part of SEQUANS Communications. SEQUANS
Communications shall have no liability for any error or damages resulting
from the use of this document.
1 August 2017 First edition of the AT Commands Reference Manual for LTE software release
LR5.1.1.0. Preliminary edition.
2 September Second edition of the AT Commands Reference Manual for LTE software
2017 release LR5.1.1.0.
General Conventions
Caution A condition or circumstance that may cause damage to the equipment or loss of
data.
Software Conventions
Code Bold Courier font denotes commands and parameters that you enter exactly as
shown. Multiple parameters are grouped in brackets [ ]. If you are to choose only
one among grouped parameters, the choices are separated with a pipe: [parm1 |
parm2 | parm3] If there is no pipe separator, you must enter each parameter:
[parm1 parm2 parm3]
Code Italic Courier font denotes parameters that require you to enter a value or
variable. Multiple parameters are grouped in brackets [ ]. If you are to choose
only one among grouped parameters, the choices are separated with a pipe:
[parm1 | parm2 | parm3] If there is no pipe separator, you must enter a value for
each parameter: [parm1 parm2 parm3]
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i
Legal Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .i
Document Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ii
Chapter 1
ITU AT Channel Configuration Commands . . . . . . . . . . . . . . . . . . . 1
1.1 Received Line Signal Detector Behaviour: &C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Data Terminal Ready Behavior: &D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 Echo: E . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.4 Set to Factory-Defined Configuration: &F . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.5 Request Manufacturer Identification: +GMI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.6 Request Model Identification: +GMM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.7 Request Revision Identification: +GMR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.8 Request Product Serial Number Identification: +GSN. . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.9 Request Identification Information: I . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.10 DTE-DCE Character Framing: +ICF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.11 DTE-DCE Local Flow Control: +IFC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1.12 Fixed DTE Rate: +IPR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
1.13 Result Code Suppression: Q . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
1.14 Data Set Ready (DSR) Control: &S . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
1.15 Command Line Termination Character: S3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
1.16 Response Formatting Character: S4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
1.17 Command Line Editing Character: S5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
1.18 DCE Response Format: V. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
1.19 Reset to Default Configuration: Z . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Chapter 2
3GPP General Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
2.1 eDRX Read Dynamic Parameters: +CEDRXRDP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Proprietary vi
SEQUANS Communications
Table of Contents
Chapter 3
3GPP Commands for Packet Domain . . . . . . . . . . . . . . . . . . . . . 78
3.1 UE Modes of Operation for EPS: +CEMODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
3.2 EPS Network Registration Status: +CEREG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
3.3 PDP Context Activate or Deactivate: +CGACT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
3.4 PS Attach or Detach: +CGATT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
3.5 Define PDP Context Authentication Parameters: +CGAUTH . . . . . . . . . . . . . . . . . . . . . 88
3.6 PDP Context Modify: +CGCMOD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
3.7 PDP Context Read Dynamic Parameters: +CGCONTRDP . . . . . . . . . . . . . . . . . . . . . . . 91
3.8 Enter Data State: +CGDATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
3.9 Define PDP Context: +CGDCONT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
3.10 Define Secondary PDP Context: +CGDSCONT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
3.11 Define EPS Quality Of Service: +CGEQOS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
3.12 EPS Quality Of Service Read Dynamic Parameters: +CGEQOSRDP. . . . . . . . . . . . . . 107
3.13 Packet Domain Event Reporting: +CGEREP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
3.14 Show PDP address(es): +CGPADDR. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
3.15 Secondary PDP Context Read Dynamic Parameters: +CGSCONTRDP . . . . . . . . . . . . 113
3.16 Select Service for MO SMS Messages: +CGSMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
3.17 Traffic Flow Template: +CGTFT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Proprietary vii
SEQUANS Communications
Table of Contents
Chapter 4
3GPP Mobile Termination Control and Status Commands . . . . . . . . . . 124
4.1 Close Logical Channel: +CCHC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
4.2 Open Logical Channel: +CCHO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
4.3 Extended Error Report: +CEER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
4.4 Set Phone Functionality: +CFUN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
4.5 Generic UICC Logical Channel Access: +CGLA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
4.6 Printing IP Address Format: +CGPIAF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
4.7 List All Available AT Commands: +CLAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
4.8 Mobile Termination Error Result Code: +CME ERROR. . . . . . . . . . . . . . . . . . . . . . . . 137
4.9 Report Mobile Termination Error: +CMEE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
4.10 Mobile Termination Control Mode: +CMEC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
4.11 Mobile Termination Event Reporting: +CMER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
4.12 Phone Activity Status: +CPAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
4.13 Power Saving Mode Setting: +CPSMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
4.14 Call Control Hang-Up a Call: ATH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
4.15 Return to Online Data State: ATO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
Chapter 5
3GPP SMS Related Commands . . . . . . . . . . . . . . . . . . . . . . . . 161
5.1 Send Command: +CMGC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
5.2 Delete Message: +CMGD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
5.3 Message Format: +CMGF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
5.4 List Messages: +CMGL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
5.5 Read Message: +CMGR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
5.6 Send Message: +CMGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
5.7 Write Message to Memory: +CMGW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
5.8 Message Service Failure Result Code: +CMS ERROR . . . . . . . . . . . . . . . . . . . . . . . . . 174
5.9 Send Message from Storage: +CMSS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
5.10 Unsolicited Result Code: +CMTI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
5.11 New Message Acknowledgement to ME/TA: +CNMA. . . . . . . . . . . . . . . . . . . . . . . . . 178
5.12 New Message Indications to TE: +CNMI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
5.13 Preferred Message Storage: +CPMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
5.14 Restore Settings: +CRES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
5.15 Save Settings: +CSAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
5.16 Service Centre Address: +CSCA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
5.17 Show Text Mode Parameters: +CSDH. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
5.18 Set Text Mode Parameters: +CSMP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
5.19 Select Message Service: +CSMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
Chapter 6
USIM Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
6.1 Restricted SIM Access: +CRSM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
6.2 Generic SIM Access: +CSIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
6.3 Activate USAT Profile: +CUSATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
6.4 Profile Download upon Start-Up: +CUSATD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
6.5 Send USAT Envelope Command: +CUSATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
6.6 Read USAT Profile: +CUSATR. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
6.7 Send USAT Terminal Response: +CUSATT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
6.8 Write USAT Profile: +CUSATW. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
Chapter 7
SMS Proprietary Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 209
7.1 SMS Configuration: +SQNSMSCFG. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
7.2 Stored SMS Statistics: +SQNSMSCOUNT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
7.3 Delete long SMS: +SQNSMSDELETE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
7.4 Get List of Indexes of Received SMS: +SQNSMSLIST . . . . . . . . . . . . . . . . . . . . . . . . 216
7.5 Send Multiline SMS: +SQNSMSMLSEND. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
7.6 Read Long SMS: +SQNSMSREAD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
7.7 Send SMS: +SQNSMSSEND. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
Chapter 8
System Control Related Commands . . . . . . . . . . . . . . . . . . . . . . 225
8.1 Clock: +CCLK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
8.2 Change PIN with <aid>: +SCPWD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
8.3 RF Thermistor Measurement +SMDTH. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
8.4 Device Shutdown: +SQNSSHDN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
8.5 Hard Reset: ^RESET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
8.6 Read RSRP Values: +VZWRSRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
8.7 Read RSRQ Values: +VZWRSRQ. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
Chapter 9
Modem Configuration Commands . . . . . . . . . . . . . . . . . . . . . . . 233
9.1 Auto-Connect: +SQNAUTOCONNECT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
9.2 Internet Auto-Connect: +SQNAUTOINTERNET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
9.3 ICCID Read: +SQNCCID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
9.4 Conformance Test Mode: +SQNCTM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
9.5 Read the Home PLMN: +SQNHPLMN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
9.6 Change STK APN Configuration: +SQNSTKAPNE. . . . . . . . . . . . . . . . . . . . . . . . . . . 240
Chapter 10
Sequans IP Data Basic Commands . . . . . . . . . . . . . . . . . . . . . . 242
Proprietary ix
SEQUANS Communications
Table of Contents
Chapter 11
Sequans Specific HTTP Commands . . . . . . . . . . . . . . . . . . . . . . 273
11.1 HTTP Configure: +SQNHTTPCFG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
11.2 HTTP Query: +SQNHTTPQRY. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
11.3 HTTP Receive: +SQNHTTPRCV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
11.4 HTTP Response URC: +SQNHTTPRING. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
11.5 HTTP Send: +SQNHTTPSND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
Chapter 12
Sequans Non-Volatile Memory Commands . . . . . . . . . . . . . . . . . . 285
12.1 Read Data in NVM: +SQNSNVR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
12.2 Write Data in NVM: +SQNSNVW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
Chapter 13
OMA LWM2M Related Commands . . . . . . . . . . . . . . . . . . . . . . . 290
13.1 OMA LWM2M Battery Status: +SQNOMABATTST . . . . . . . . . . . . . . . . . . . . . . . . . 290
13.2 OMA LWM2M Host Device Identification Data: +SQNOMAHDEV . . . . . . . . . . . . . 292
Chapter 14
System Upgrade Related Commands . . . . . . . . . . . . . . . . . . . . . 295
14.1 Device Reset to Factory State: +SQNSFACTORYRESET . . . . . . . . . . . . . . . . . . . . . . 295
14.2 Device Upgrade: +SQNSUPGRADE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
14.3 Device Upgrade Configuration +SQNSUPGRADECFG. . . . . . . . . . . . . . . . . . . . . . . . 300
Appendix A
Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
1.1.1 Syntax
AT&C[<value>]
1.1.2 Description
This command defines the Circuit 109 (Received line signal detector)
behavior.
This parameter determines how the state of circuit 109 relates to the detection
of received line signal from the distant end. Changing the parameter will take
effect immediately in both the command and online command states.
In &C1 mode of operation, circuit 109 is not turned off until all data previously
received from the remote DCE is delivered to the local DTE. However, such
buffered data shall be discarded and circuit 109 turned off if the DTE turns off
circuit 108 (if &D1 or &D2 is set).
Value Description
1 Circuit 109 changes in accordance with the underlying DCE, which may
include functions? other than the physical layer functions (e.g., ITU-T Recs
V.42, V.110, V.120 and V.13).
1.2.1 Syntax
AT&D[<value>]
1.2.2 Description
This command defines the Circuit 108 (data terminal ready) behavior.
This parameter determines how the DCE responds when circuit 108/2 is
changed from the ON to the OFF condition during online data state.
If the value specified is not recognized, an ERROR result code is issued.
Implementation of defined values 0 and 2 is mandatory; implementation of
defined value 1 is optional.
Value Description
1 Upon an on-to-off transition of circuit 108/2, the DCE enters online command
state and issues an OK result code; the call remains connected.
2 Upon an on-to-off transition of circuit 108/2, the DCE instructs the underlying
DCE to perform an orderly cleardown of the call. The disposition of any data in
the DCE pending transmission to the remote DCE is controlled by the +ETBM
parameter (see Error control commands) if implemented; otherwise, this data
is sent before the call is cleared, unless the remote DCE clears the call first (in
which case pending data is discarded). The DCE disconnects from the line.
Automatic answer is disabled while circuit 108/2 remains off.
1.3 Echo: E
1.3.1 Syntax
ATE<value>
1.3.2 Description
The setting of this parameter determines whether or not the DCE echoes
characters received from the DTE during command state and online
command state.
Note: The default value is 0, i.e. DCE does not echo characters.
Value Description
0 DCE does not echo characters during command state and online command
state.
1 DCE echoes characters during command state and online command state.
1.4.1 Syntax
1.4.2 Description
This command instructs the DCE to set all parameters to default values
specified by the manufacturer, which may take into consideration hardware
configuration switches and other manufacturer-defined criteria.
An OK result code for this command is issued using the same rate, parity, and
word format as the DTE command line containing the command, but using
the factory-defined values for other parameters that affect the format of result
codes (e.g., Q, V, S3, S4) and dependent upon other commands that may
follow on the same command line.
Execution time for this action varies widely depending on manufacturer
implementation. The DTE should not assume the amount of time required to
execute this command, but await a result code or other positive indication
from the DCE that it is ready to accept a command.
Value Description
1.5.1 Syntax
AT+GMI OK
1.5.2 Description
See note above. Please refer to 2.4 Request Manufacturer Identification:
+CGMI on page 39
1.6.1 Syntax
AT+GMM OK
1.6.2 Description
See note above. Please refer to 2.5 Request Model Identification: +CGMM on
page 40
1.7.1 Syntax
AT+GMR OK
1.7.2 Description
See note above. Please refer to 2.6 Request Revision Identification: +CGMR on
page 41.
1.8.1 Syntax
AT+GSN OK
1.8.2 Description
This command causes the DCE to transmit one or more lines of information
text, determined by the manufacturer, which is intended to permit the user of
the DCE to identify the individual device. Typically, the text will consist of a
single line containing a manufacturer determined alpha-numeric string, but
manufacturers may choose to provide any information desired.
The total number of characters, including line terminators, in the information
text returned in response to this command shall not exceed 2048 characters.
Note that the information text shall not contain the sequence "0 <CR>"
(3/0, 0/13) or "OK<CR>" (4/15, 4/11, 0/13), so that DTE can avoid
false detection of the end of this information text.
1.9.1 Syntax
ATI[<value]
ATI1 <ue_version><CR><LF><lr_version>
1.9.2 Description
This command causes the DCE to transmit one or more lines of information
text, determined by the manufacturer, followed by a final result code.
<value> may optionally be used to select from among multiple types of
identifying information, specified by the manufacturer.
Note: The responses to this command may not be reliably used to deter-
mine the DCE manufacturer, revision level, feature set, or other
information, and should not be relied upon for software opera-
tion. In particular, expecting a specific numeric response to an I0
command to indicate which other features and commands are
implemented in a DCE dooms software to certain failure, since
there are widespread differences in manufacturer implementa-
tion among devices that may, coincidentally, respond with iden-
tical values to this command. Software implementors should use
I commands with extreme caution, since the amount of data
returned by particular implementations may vary widely from a
few bytes to several thousand bytes or more, and should be
prepared to encounter ERROR responses if the value is not recog-
nized.
1.9.3 Example
ATI
Sequans
VZ120Q
UE4.3.0.0-21466
OK
ATI1
UE4.3.0.0-21466
LR4.3.1.1-ER1-22900
OK
1.10.1 Syntax
AT+ICF=[<format[,<parity>]]
AT+ICF? +ICF:<format>,<parity>
1.10.2 Description
This extended-format compound parameter is used to determine the local
serial port start-stop (asynchronous) character framing that the DCE shall use
while accepting DTE commands and while transmitting information text and
result code, if this is not automatically determined; +IPR=0 forces +ICF=0
(see Fixed DTE Rate: +IPR). Note that the definition of fixed character format
for online data state is for further study.
Note: The semantics of this command are derived from ITU-T Rec.
V.58.
Value Description
0 autodetect
1 8 Data ; 2 Stop
3 8 Data ; 1 Stop
4 7 Data ; 2 Stop
6 7 Data ; 1 Stop
parity
Integer. Determines how the parity bit is generated and checked, if present.
Recommended default value is 3.
Value Description
0 Odd
1 Even
2 Mark
3 Space
1.10.4 Examples
• Read syntax
+ICF?
1.11.1 Syntax
AT+IFC=[<DCE_by_DTE[,<
DTE_by_DCE>]]
AT+IFC? +IFC:<DCE_by_DTE>,<DTE_by_DCE>
1.11.2 Description
This extended-format compound parameter is used to control the operation of
local flow control between the DTE and DCE during the data state when V.42
error control is being used, or when fallback to non-error control mode is
specified to include buffering and flow control. It accepts two numeric
subparameters:
• <DCE_by_DTE>, which specifies the method to be used by the DTE to
control the flow of received data from the DCE;
• <DTE_by_DCE>, which specifies the method to be used by the DCE to
control the flow of transmitted data from the DTE.
Note: The semantics of this command are derived from ITU-T Rec.
V.58.
Value Description
0 None
1 DC1/DC3 on circuit 103; do not pass DC1/DC3 characters to the remote DCE
DTE_by_DCE
Integer. Specifies the method to be used by the DCE to control the flow of
transmitted data from the DTE. Recommended default value is 2.
Value Description
0 None
1.11.4 Examples
• Read syntax
+IFC?
1.12.1 Syntax
AT+IPR=<rate>
AT+IPR? +IPR:<rate>
1.12.2 Description
This numeric extended-format parameter specifies the data rate at which the
DCE will accept commands, in addition to 1200 bit/s or 9600 bit/s (as required
in 4.3). It may be used to select operation at rates at which the DCE is not
capable of automatically detecting the data rate being used by the DTE.
Specifying a value of 0 disables the function and allows operation only at rates
automatically detectable by the DCE. The specified rate takes effect following
the issuance of any result code(s) associated with the current command line.
The <rate> specified does not apply in online data state if Direct mode of
operation is selected.
1.12.4 Examples
• Read syntax
+IPR?
The DCE shall transmit a string of information text to the DTE, consisting
of +IPR:<rate>.
– +IPR:0 if set for automatic rate detection.
– +IPR:9600 if set to 9600 bit/s.
• Test syntax
+IPR=?
The DCE shall transmit one or two strings of information text to the DTE,
consisting of +IPR:(list of supported autodetectable <rate>
values)[,(list of fixed-only <rate> values)]
+IPR:(0,300,1200,2400,4800,9600),(19200,38400,57600) if
the DCE can autodetect up to 9600 bit/s and can support three additional
higher fixed rates.
1.13.1 Syntax
ATQ[<value>] OK If value is 0.
(none) If value is 1 (because result codes are suppressed).
ERROR For unsupported values (if previous value was Q0).
(none) For unsupported values (if previous value was Q1).
1.13.2 Description
The setting of this parameter determines whether or not the DCE transmits
result codes to the DTE. When result codes are being suppressed, no portion
of any intermediate, final, or unsolicited result code – header, result text, line
terminator, or trailer – is transmitted. Information text transmitted in response
to commands is not affected by the setting of this parameter.
Value Description
1.14.1 Syntax
1.14.2 Description
Set command controls the RS232 DSR pin behaviour.
If value 1 is selected then DSR is tied High when the device receives from the
network the GSM traffic channel indication.
In power saving mode the DSR pin is always tied Low.
If parameter is omitted, the command has the same behaviour of AT&S0
Value Description
0 Always High
1.15.1 Syntax
ATS3=[<value>]
1.15.2 Description
This S-parameter represents the decimal IA5 value of the character recognized
by the DCE from the DTE to terminate an incoming command line. It is also
generated by the DCE as part of the header, trailer, and terminator for result
codes and information text, along with the S4 parameter (see the description
of the V parameter for usage).
The previous value of S3 is used to determine the command line termination
character for entry of the command line containing the S3 setting command.
However, the result code issued shall use the value of S3 as set during the
processing of the command line. For example, if S3 was previously set to 13
and the command line "ATS3=30" is issued, the command line shall be
terminated with a CR character (IA5 0/13), but the result code issued will use
the character with the ordinal value 30 (IA5 2/14) in place of the CR.
1.16.1 Syntax
ATS4=[<value>]
1.16.2 Description
This S-parameter represents the decimal IA5 value of the character generated
by the DCE as part of the header, trailer, and terminator for result codes and
information text, along with the S3 parameter (see the description of the V
parameter for usage).
If the value of S4 is changed in a command line, the result code issued in
response to that command line will use the new value of S4.
1.17.1 Syntax
ATS5=[<value>]
1.17.2 Description
This S-parameter represents the decimal IA5 value of the character recognized
by the DCE as a request to delete from the command line the immediately
preceding character.
1.18.1 Syntax
1.18.2 Description
The setting of this parameter determines the contents of the header and trailer
transmitted with result codes and information responses. It also determines
whether result codes are transmitted in a numeric form or an alphabetic (or
"verbose") form. The text portion of information responses is not affected by
this setting.
Table 1-11 shows the effect of the setting of this parameter on the format of
information text and result codes. All references to <cr> mean "the character
with the ordinal value specified in parameter S3"; all references to <lf>
likewise mean "the character with the ordinal value specified in parameter
S4". See Table 1-11.
V0 V1
Value Description
1 DCE transmits full headers and trailers and verbose response text.
1.19.1 Syntax
1.19.2 Description
This command instructs the DCE to set all parameters to their factory defaults
as specified by the manufacturer. This may include taking into consideration
the settings of hardware configuration switches or non-volatile parameter
storage (if implemented). If the DCE is connected to the line, it is disconnected
from the line, terminating any call in progress.
All of the functions of the command shall be completed before the DCE issues
the result code. The DTE should not include additional commands on the
same command line after the Z command because such commands may be
ignored.
Note: Because this command may take into consideration the settings of
switches and non-volatile parameter storage, it does not neces-
sarily return the DCE to a "known state". In particular, the DCE
may, as a result of execution of this command, be placed in a state
in which it appears to not respond to DTE commands, or respond
in a completely different format than was being used prior to
execution of the command.
2.1.1 Syntax
AT+CEDRXRDP +CEDRXRDP:
<AcT-type>[,<Requested_eDRX_value>[,<NW-provided_eDRX_value
>[,<Paging_time_window>]]]
AT+CEDRXRDP=?
2.1.2 Description
The execution command returns <AcT-type> and
<Requested_eDRX_value>, <NW-provided_eDRX_value> and
<Paging_time_window> if eDRX is used for the cell that the MS is currently
registered to.
If the cell that the MS is currently registered to is not using eDRX,
AcT-type=0 is returned.
Value Description
0 Access technology is not using eDRX. This parameter value is only used in the
unsolicited result code.
Requested_eDRX_value
String type; half a byte in a 4 bit format. The eDRX value refers to bit 4 to 1
of octet 3 of the Extended DRX parameters information element (see
subclause 10.5.5.32 of 3GPP TS 24.008 [8]). For the coding and the value
range, see Extended DRX parameters information element in 3GPP TS
24.008 [8] Table 10.5.5.32/3GPP TS 24.008. The default value, if available, is
manufacturer specific.
NW-provided_eDRX_value
String type; half a byte in a 4 bit format. The eDRX value refers to bit 4 to 1
of octet 3 of the Extended DRX parameters information element (see
subclause 10.5.5.32 of 3GPP TS 24.008 [8]). For the coding and the value
range, see Extended DRX parameters information element in 3GPP TS
24.008 [8] Table 10.5.5.32/3GPP TS 24.008.
Paging_time_window
String type; half a byte in a 4 bit format. The paging time window referes to
bit 8 to 5 of octet 3 of the Extended DRX parameters information element
(see subclause 10.5.5.32 of 3GPP TS 24.008 [8]). For the coding and the value
range, see the Extended DRX parameters information element in 3GPP TS
24.008 [8] Table 10.5.5.32/3GPP TS 24.008.
2.2.1 Syntax
2.2.2 Description
The set command controls the setting of the UEs eDRX parameters. The
command controls whether the UE wants to apply eDRX or not, as well as the
requested eDRX value for each specified type of access technology.
The set command also controls the presentation of an unsolicited result code
+CEDRXP:<AcT-type>[,<Requested_eDRX_value>[,<NW-provided_
eDRX_value>[,<Paging_time_window>]]] when <n>=2 and there is a
change in the eDRX parameters provided by the network.
A special form of the command can be given as +CEDRXS=3. In this form,
eDRX will be disabled and data for all parameters in the command +CEDRXS
will be removed or, if available, set to the manufacturer specific default
values.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
The read command returns the current settings for each defined value of
<AcT-type>.
The test command returns the supported <mode>s and the value ranges for
the access technology and the requested eDRX value as compound values.
Value Description
2 Enable the use of eDRX and enable the unsolicited result code
+CEDRXP:<AcT-type>[,<Requested_eDRX_value>[,<NW-provided_e
DRX_value>[,<Paging_time_window>]]]
3 Disable the use of eDRX and discard all parameters for eDRX or, if available,
reset to the manufacturer specific default values.
AcT-type
Integer type, indicates the type of access technology. This AT-command is
used to specify the relationship between the type of access technology and
the requested eDRX value.
Value Description
0 Access technology is not using eDRX. This parameter value is only used in the
unsolicited result code.
Requested_eDRX_value
String type; half a byte in a 4 bit format. The eDRX value refers to bit 4 to 1
of octet 3 of the Extended DRX parameters information element (see
subclause 10.5.5.32 of 3GPP TS 24.008 [8]). For the coding and the value
range, see Extended DRX parameters information element in 3GPP TS
24.008 [8] Table 10.5.5.32/3GPP TS 24.008. The default value, if available, is
manufacturer specific.
NW-provided_eDRX_value
String type; half a byte in a 4 bit format. The eDRX value refers to bit 4 to 1
of octet 3 of the Extended DRX parameters information element (see
subclause 10.5.5.32 of 3GPP TS 24.008 [8]). For the coding and the value
range, see Extended DRX parameters information element in 3GPP TS
24.008 [8] Table 10.5.5.32/3GPP TS 24.008.
Paging_time_window
String type; half a byte in a 4 bit format. The paging time window referes to
bit 8 to 5 of octet 3 of the Extended DRX parameters information element
(see subclause 10.5.5.32 of 3GPP TS 24.008 [8]). For the coding and the value
range, see the Extended DRX parameters information element in 3GPP TS
24.008 [8] Table 10.5.5.32/3GPP TS 24.008.
2.3.1 Syntax
2.3.2 Description
Execution command returns received signal quality parameters. If the current
serving cell is not a GERAN cell, <rxlev> and <ber> are set to value 99. If
the current serving cell is not a UTRA FDD or UTRA TDD cell, <rscp> is set
to 255. If the current serving cell is not a UTRA FDD cell, <ecno> is set to 255.
If the current serving cell is not an E-UTRA cell, <rsrq> and <rsrp> are set
to 255.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Test command returns values supported as compound values.
Value Description
... ...
ber
Integer. Channel bit error rate (in percent).
Value Description
rscp
Integer. Received signal code power (see 3GPP TS 25.133 [95] subclause
9.1.1.3 and 3GPP TS 25.123 [96] subclause 9.1.1.1.3).
Value Description
Value Description
... ...
ecno
Integer. Ratio of the received energy per PN chip to the total received
power spectral density (see 3GPP TS 25.133 [95] subclause).
Value Description
... ...
49 0 dB ≤ Ec/Io
rsrq
Integer. Reference signal received quality (see 3GPP TS 36.133 [96]
subclause 9.1.7).
Value Description
Value Description
... ...
34 -3 dB ≤ rsrq
rsrp
Integer. Reference signal received power (see 3GPP TS 36.133 [96]
subclause 9.1.4).
Value Description
... ...
2.4.1 Syntax
AT+CGMI <manufacturer>
+CME ERROR: <err>
AT+CGMI=?
2.4.2 Description
Execution command causes the TA to return one or more lines of information
text <manufacturer>, determined by the MT manufacturer, which is
intended to permit the user of the TA to identify the manufacturer of the MT
to which it is connected to. Typically, the text will consist of a single line
containing the name of the manufacturer, but manufacturers may choose to
provide more information if desired.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
2.5.1 Syntax
AT+CGMM <model>
+CME ERROR: <err>
AT+CGMM=?
2.5.2 Description
Execution command causes the TA to return one or more lines of information
text <model>, determined by the MT manufacturer, which is intended to
permit the user of the TA to identify the specific model of the MT to which it is
connected to. Typically, the text will consist of a single line containing the
name of the product, but manufacturers may choose to provide more
information if desired.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
2.6.1 Syntax
AT+CGMR <revision>
+CME ERROR: <err>
AT+CGMR=?
2.6.2 Description
Execution command causes the TA to return one or more lines of information
text <revision>, determined by the MT manufacturer, which is intended to
permit the user of the TA to identify the version, revision level or date, or
other pertinent information of the MT to which it is connected to. Typically,
the text will consist of a single line containing the version of the product, but
manufacturers may choose to provide more information if desired.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
2.7.1 Syntax
2.7.2 Description
Execution command causes the TA to return IMEI (International Mobile
station Equipment Identity number) and related information to identify the
MT that the TE is connected to.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Test command returns values supported as a compound value. For a TA
which does not support <snt>, only OK is returned.
Value Description
0 returns <sn>
sn
String. one or more lines of information text determined by the MT manu-
facturer. Typically, the text will consist of a single line containing the IMEI
number of the MT, but manufacturers may choose to provide more infor-
mation if desired. The total number of characters, including line termina-
tors, in the information text shall not exceed 2048 characters. Text shall not
contain the sequence 0<CR> or OK<CR>
imei
String type in decimal format indicating the IMEI; refer 3GPP TS 23.003 [7],
subclause 6.2.1. IMEI is composed of Type Allocation Code (TAC) (8
digits), Serial Number (SNR) (6 digits) and the Check Digit (CD) (1 digit).
Character set used in <imei> is as specified by command Select TE Char-
acter Set: +CSCS.
imeisv
String type in decimal format indicating the IMEISV; refer 3GPP TS 23.003
[7], subclause 6.2.2. The 16 digits of IMEISV are composed of Type Alloca-
tion Code (TAC) (8 digits), Serial Number (SNR) (6 digits) ETSI 3GPP TS
27.007 version 12.10.0 Release 12 23 ETSI TS 127 007 V12.10.0 (2015-10) and
the software version (SVN) (2 digits). Character set used in <imeisv> is as
specified by command Select TE Character Set: +CSCS.
svn
String type in decimal format indicating the current SVN which is a part of
IMEISV; refer 3GPP TS 23.003 [7], subclause 6.2.2. This allows identifying
different software versions of a given mobile. Character set used in <svn>
is as specified by command Select TE Character Set: +CSCS.
Note: The default value <snt>=0 returns the information text <sn>
with no command name prefixed. This has been done to
retain backward compatibility. All other values of <snt>
return the information text including command name prefix.
2.8.1 Syntax
AT+CIMI <IMSI>
+CME ERROR: <err>
AT+CIMI=?
2.8.2 Description
Execution command causes the TA to return <IMSI>, which is intended to
permit the TE to identify the individual SIM card or active application in the
UICC (GSM or USIM) which is attached to MT.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
2.9.1 Syntax
2.9.2 Description
Execute command is used to lock, unlock or interrogate a MT or a network
facility <fac>. Password is normally needed to do such actions. When
querying the status of a network service (<mode>=2) the response line for 'not
active' case (<status>=0) should be returned only if service is not active for
any <class>. This command should be abortable when network facilities are
set or interrogated.
Call barring facilities are based on GSM/UMTS supplementary services (refer
3GPP TS 22.088 [6]). The interaction of these with other commands based on
other GSM/UMTS supplementary services is described in the GSM/UMTS
standard.
Test command returns facility values supported as a compound value.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Caution: The “SC”, “FD” and “PN” facilities are currently imple-
mented.
Value Description
"PS" PH SIM (lock PHone to SIM/UICC card installed in the currently selected card
slot) (MT asks password when other than current SIM/UICC card inserted; MT
may remember certain amount of previously used cards thus not requiring
password when they are inserted)
"PF" lock Phone to the very First inserted SIM/UICC card (also referred in the
present document as PH-FSIM) (MT asks password when other than the first
SIM/UICC card is inserted)
"SC" SIM (lock SIM/UICC card installed in the currently selected card slot)
(SIM/UICC asks password in MT power up and when this lock command
issued)
"AO" BAOC (Barr All Outgoing Calls) (refer 3GPP TS 22.088 [6] clause 1)
"OI" BOIC (Barr Outgoing International Calls) (refer 3GPP TS 22.088 [6] clause 1)
"OX" BOIC exHC (Barr Outgoing International Calls except to Home Country) (refer
3GPP TS 22.088 [6] clause 1)
"AI" BAIC (Barr All Incoming Calls) (refer 3GPP TS 22.088 [6] clause 2)
"IR" BIC Roam (Barr Incoming Calls when Roaming outside the home country)
(refer 3GPP TS 22.088 [6] clause 2)
"NS" barr incoming calls from numbers Not stored to SIM/UICC memory
"NA" barr incoming calls from numbers Not stored in Any memory
"AB" All Barring services (refer 3GPP TS 22.030 [19]) (applicable only for <mode>=0)
"AG" All outGoing barring services (refer 3GPP TS 22.030 [19]) (applicable only for
<mode>=0)
Value Description
"AC" All inComing barring services (refer 3GPP TS 22.030 [19]) (applicable only for
<mode>=0)
"FD" SIM card or active application in the UICC (GSM or USIM) fixed dialling
memory feature (if PIN2 authentication has not been done during the current
session, PIN2 is required as <passwd>)
mode
Integer. Mode.
Value Description
0 unlock
1 lock
2 query status
status
Integer. Status.
Value Description
0 Not active
1 Active
passwd
String. Shall be the same as password specified for the facility from the MT
user interface or with command Change Password +CPWD.
classx
Integer. <classx> is a sum of integers each representing a class of infor-
mation. Default is 7 - voice + data + fax.
Value Description
1 voice (telephony)
2 data (refers to all bearer services; with <mode>=2 this may refer only to some
bearer service if TA does not support values 16, 32, 64 and 128)
2.10.1 Syntax
AT+CNUM +CNUM:
[<alpha1>],<number1>,<type1>[,<speed>,<service>[,<itc>]][<CR><LF>+CNUM:
[<alpha2>],<number2>,<type2>[,<speed>,<service>[,<itc>]][...]]
AT+CNUM=?
2.10.2 Description
Action command returns the MSISDNs related to the subscriber (this
information can be stored in the SIM/UICC or in the MT). When storing
information in the SIM/UICC, if the currently selected card slot contains a SIM
card or a UICC with an active GSM application, the information is stored in
the EFMSISDN under DFTelecom. If the currently selected card slot contains a
UICC with an active USIM application, the information is stored in the
EFMSISDN under ADFUSIM). If subscriber has different MSISDN for
different services, each MSISDN is returned in a separate line. See also 4.8
Mobile Termination Error Result Code: +CME ERROR on page 137 for <err>
values.
Value Description
0 asynchronous modem
1 synchronous modem
4 Voice
5 Fax
itc
Integer. Information transfer capability.
Value Description
0 3,1 kHz
1 UDI
2.11.1 Syntax
AT+COPN=?
2.11.2 Description
Execute command returns the list of operator names from the MT. Each
operator code <numericn> that has an alphanumeric equivalent <alphan>
in the MT memory shall be returned.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
2.12.1 Syntax
AT+COPS? +COPS:<mode>[,<format>,<oper>[,<AcT>]]
+CME ERROR: <err>
2.12.2 Description
Set command forces an attempt to select and register the GSM/UMTS/EPS
network operator using the SIM/USIM card installed in the currently selected
card slot.<mode> is used to select whether the selection is done automatically
by the MT or is forced by this command to operator <oper>(it shall be given
in format <format>) to a certain access technology, indicated in <AcT>. If the
selected operator is not available, no other operator shall be selected (except
<mode>=4). If the selected access technology is not available, then the same
operator shall be selected in other access technology. The selected operator
name format shall apply to further read commands (+COPS?) also.<mode>=2
forces an attempt to deregister from the network. The selected mode affects to
all further network registration (e.g. after <mode>=2, MT shall be
unregistered until <mode>=0 or 1 is selected). This command should be
abortable when registration/deregistration attempt is made.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Read command returns the current mode, the currently selected operator and
the current Access Technology. If no operator is selected, <format>, <oper>
and <AcT> are omitted.
Value Description
format
Integer.
Value Description
2 numeric <oper>
oper
String type; <format> indicates if the format is alphanumeric or numeric;
long alphanumeric format can be upto 16 characters long and short format
up to 8 characters (refer GSM MoU SE.13 [9]); numeric format is the GSM
Location Area Identification number (refer 3GPP TS 24.008 [8] subclause
10.5.1.3) which consists of a three BCD digit country code coded as in ITU
T Recommendation E.212 [10] Annex A, plus a two BCD digit network
code, which is administration specific; returned <oper> shall not be in
BCD format, but in IRA characters converted from BCD; hence the number
has structure: (country code digit 3)(country code digit 2)(country code
digit 1)(network code digit 3)(network code digit 2)(network code digit 1).
stat
Integer.
Value Description
0 unknown
1 available
2 current
3 forbidden
AcT
Integer. The parameter sets/shows the access technology selected.
Value Description
0 GSM
1 GSM Compact
2 UTRAN
7 E-UTRAN
2.13.1 Syntax
AT+CPIN= <pin>[,<newpin>]
+CME ERROR: <err>
AT+CPIN=?
2.13.2 Description
The “Set” command sends to the MT a password which is necessary before it
can be operated (SIM PIN, SIM PUK, PH SIM PIN, etc.). If the PIN is to be
entered twice, the TA shall automatically repeat the PIN. If no PIN request is
pending, no action is taken towards MT and an error message, +CME ERROR,
is returned to TE.
Notes:
1. SIM PIN, SIM PUK, PH-SIM PIN, PH-FSIM PIN, PH-FSIM PUK, SIM PIN2
and SIM PUK2 refer to the PIN of the selected application on the UICC. For
example, in an UTRAN context, the selected application on the currently
selected UICC should be a USIM and the SIM PIN then represents the PIN
of the selected USIM. See 3GPP TS 31.101 [65] for further details on appli-
cation selection on the UICC.
If the PIN required is SIM PUK or SIM PUK2, the second pin is required.
This second pin, <newpin>, is used to replace the old pin in the SIM.
2. Commands which interact with MT that are accepted when MT is pending
SIM PIN, SIM PUK, or PH SIM are: +CGMI, +CGMM, +CGMR, +CGSN,
D112; (emergency call), +CPAS, +CFUN, +CPIN, +CPINR, +CDIS (read and
test command only), and +CIND (read and test command only).
Value Description
PH-FSIM PUK MT is waiting phone-to-very first SIM card unblocking password to be given
Value Description
2.14.1 Syntax
AT+CPINR= [<sel_code>]
+CME ERROR: <err>
AT+CPINR=?
2.14.2 Description
Execution command cause the MT to return the number of remaining PIN
retries for the MT passwords with intermediate result code +CPINR:
<code>,<retries>[,<default_retries>] for standard PINs. One line
with one intermediate result code is returned for every <code> or
<ext_code> selected by <sel_code>.
When execution command is issued without the optional parameter
<sel_code>, intermediate result codes are returned for all <code>s and
<ext_code>s.
In the intermediate result codes, the parameter <default_retries> is an
optional (manufacturer specific) parameter, per <code> and <ext_code>.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
retries
Integer type. Number of remaining retries per PIN.
default_retries
Integer type. Number of default/initial retries per PIN.
code
Type of PIN. All values listed under the description of the AT+CPIN
command, <code> parameter, except 'READY'.
ext_code
Extended, manufacturer specific codes.
sel_code
String type. Same values as for the <code> and <ext_code> parameters.
These values are strings and shall be indicated within double quotes. It is
optional to support wildcard match by '*', meaning match any (sub-)string.
Example:AT+CPINR="SIM*" will return the lines:
+CPINR: SIM PIN,<retries>,<default_retries>
+CPINR: SIM PUK,<retries>,<default_retries>
+CPINR: SIM PIN2,<retries>,<default_retries>
+CPINR: SIM PUK2,<retries>,<default_retries>
Example:AT+CPINR="*SIM*" will additionally return the lines:
+CPINR: PH-SIM PIN,<retries>,<default_retries>
+CPINR: PH-FSIM PIN,<retries>,<default_retries>
+CPINR: PH-FSIM
PUK,<retries>,<default_retries>
2.15.1 Syntax
AT+CPLS? +CPLS:<list>
+CME ERROR: <err>
2.15.2 Description
This command is used to select one PLMN selector with Access Technology
list in the SIM card or active application in the UICC (GSM or USIM), that is
used by +CPOL command.
Execute command selects a list in the SIM/USIM.
Read command returns the selected PLMN selector list from the SIM/USIM.
Test command returns the whole index range supported lists by the
SIM/USIM.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Value Description
2.16.1 Syntax
AT+CPOL? +CPOL:[<index1>,<format>,<oper1>[,<GSM_AcT1>,<GSM_Compact_AcT1>,<UTRA
N_AcT1>,<E-UTRAN_AcT1>][<CR><LF>+CPOL:<index2>,<format>,<oper2>[,<GS
M_AcT2>,<GSM_Compact_AcT2>,<UTRAN_AcT2>,<E-UTRAN_AcT2>] [...]]
+CME ERROR: <err>
2.16.2 Description
This command is used to edit the PLMN selector with Access Technology lists
in the SIM card or active application in the UICC (GSM or USIM).
Execute command writes an entry in the SIM/USIM list of preferred PLMNs,
previously selected by the command +CPLS. If no list has been previously
selected, the User controlled PLMN selector with Access Technology,
EFPLMNwAcT, is the one accessed by default. If <index> is given but
<oper> is left out, entry is deleted. If <oper> is given but <index> is left
out, <oper> is put in the next free location. If only <format> is given, the
format of the <oper> in the read command is changed. The Access
Technology selection parameters, <GSM_AcT>, <GSM_Compact_AcT> and
<UTRAN_AcT> and <E-UTRAN_AcT> are required when writing User
controlled PLMN selector with Access Technology, EFPLMNwAcT, Operator
controlled PLMN selector with Access Technology EFOPLMNwAcT and
HPLMN selector with Access Technology EFHPLMNwAcT, see 3GPP TS
31.102 [59].
Notes:
1. MT can also update the User controlled PLMN selector with Access Tech-
nology, EFPLMNwAcT, automatically when new networks are selected.
2. The Operator controlled PLMN selector with Access Technology EFOPLM-
NwAcT, can only be written if the write access condition in the SIM/USIM
has been previously verified.
Read command returns all used entries from the SIM/USIM list of preferred
PLMNs, previously selected by the command +CPLS, with the Access
Technologies for each PLMN in the list.
Test command returns the whole index range supported by the SIM.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Value Description
2 Numeric <oper>
opern
String type; <format> indicates if the format is alphanumeric or numeric
(see +COPS)
GSM_AcTn
Integer type; GSM access technology
Value Description
GSM_Compact_AcTn
Integer type; GSM compact access technology
Table 2-25:
Value Description
UTRAN_AcTn
Integer type; UTRAN access technology
Value Description
E-UTRAN_AcTn
Integer type; E-UTRAN access technology
Value Description
2.17.1 Syntax
2.17.2 Description
Action command sets a new password for the facility lock function defined by
command Facility Lock +CLCK.
Test command returns a list of pairs which present the available facilities and
the maximum length of their password.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Caution: Only the “SC” and “P2” facilities are currently imple-
mented.
Value Description
oldpwd, newpwd
String. <oldpwd> shall be the same as password specified for the facility
from the MT user interface or with command Change Password +CPWD and
<newpwd> is the new password; maximum length of password can be
determined with <pwdlength>.
pwdlength
Integer. Maximum length of the password for the facility
2.18.1 Syntax
AT+CSCS= <chset> OK
AT+CSCS? +CSCS:<chset>
OK
2.18.2 Description
The “Set” command informs TA which character set <chset> is used by the TE.
TA is then able to convert character strings correctly between TE and MT
character sets.
When TA TE interface is set to 8 bit operation and used TE alphabet is 7 bit,
the highest bit shall be set to zero.
Read command shows current setting and test command displays conversion
schemes implemented in the TA.
Value Description
"GSM" GSM 7 bit default alphabet (3GPP TS 23.038 [25]); this setting causes easily
software flow control (XON/XOFF) problems.
Note: If MT is using GSM 7 bit default alphabet, its characters shall be padded
with 8th bit (zero) before converting them to hexadecimal numbers (i.e. no SMS
style packing of 7 bit alphabet).
"HEX" Character strings consist only of hexadecimal numbers from 00 to FF; e.g.
"032FE6" equals three 8-bit characters with decimal values 3, 47 and 230; no
conversions to the original MT character set shall be done.
“UCS2" 16-bit universal multiple-octet coded character set (see ISO/IEC10646 [32]);
UCS2 character strings are converted to hexadecimal numbers from 0000 to
FFFF; e.g. "004100620063" equals three 16-bit characters with decimal values 65,
98 and 99.
"UTF-8" Octet (8-bit) lossless encoding of UCS characters (see RFC 3629 [69]); UTF-8
encodes each UCS character as a variable number of octets, where the number
of octets depends on the integer value assigned to the UCS character. The input
format shall be a stream of octets. It shall not be converted to hexadecimal
numbers as in "HEX" or "UCS2". This character set requires an 8-bit TA - TE
interface.
2.19.1 Syntax
2.19.2 Description
Execution command returns received signal strength indication <rssi> and
channel bit error rate <ber> from the MT.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Test command returns values supported as compound values.
Value Description
1 -111 dBm
ber
Integer. Channel bit error rate (in percent).
Value Description
2.20.1 Syntax
2.20.2 Description
This set command controls the time zone change event reporting. If reporting
is enabled the MT returns the unsolicited result code +CTZV: <tz>, or
+CTZE: <tz>,<dst>,[<time>] whenever the time zone is changed. The
MT also provides the time zone upon network registration if provided by the
network. If setting fails in an MT error, +CME ERROR: <err> is returned.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Read command returns the current reporting settings in the MT.
Test command returns supported <reporting>-values.
Note: The Time Zone reporting is not affected by the Automatic Time
Zone setting command, +CTZU.
Value Description
1 Enable time zone change event reporting by unsolicited result code +CTZV:
<tz>.
tz
String type value representing the sum of the local time zone (difference
between the local time and GMT expressed in quarters of an hour) plus
daylight saving time. The format is "±zz", expressed as a fixed width, two
digit integer with the range -48 ... +56. To maintain a fixed width, numbers
in the range -9 ... +9 are expressed with a leading zero, e.g. "-09", "+00" and
"+09".
dst
Integer. Value indicating whether <tz> includes daylight savings adjust-
ment.
Value Description
time
String type value representing the local time. The format is
"YYYY/MM/DD,hh:mm:ss", expressed as integers representing year
(YYYY), month (MM), date (DD), hour (hh), minute (mm) and second (ss).
This parameter can be provided by the network at the time of delivering
time zone information and will be present in the extended time zone
reporting unsolicited result code if provided by the network.
2.21.1 Syntax
2.21.2 Description
Set command enables and disables automatic time zone update via NITZ. If
setting fails in an MT error, +CME ERROR: <err> is returned.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Read command returns the current settings in the MT.
Test command returns supported on- and off-values.
Value Description
2.22.1 Syntax
AT+WS46<n>
AT+WS46? <n>
2.22.2 Description
Set command selects the WDS side stack <n>to be used by the TA. Read
command shows current setting and test command displays side stacks
implemented in the TA.
Value Description
22 UTRAN only
28 E-UTRAN only
n (Set)
Integer. Refer PCCA STD 101 [17] for other values.
Value Description
12 3GPP System
28
29
30
31
3.1.1 Syntax
3.1.2 Description
The set command is used to set the MT to operate according to the specified
mode of operation for EPS, see 3GPP TS 24.301 [83]. If the requested mode of
operation is not supported, an ERROR or +CME ERROR response is returned.
Extended error responses are enabled by the +CMEE command.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
The read command returns the mode of operation set by the TE, independent
of the current serving cell capability and independent of the current serving
cell Access Technology.
mode
Integer. Indicates the mode of operation.
Value Description
0 PS mode 2 of operation
3 PS mode 1 of operation
3.2.1 Syntax
3.2.2 Description
The set command controls the presentation of an unsolicited result code
+CEREG: <stat> when <n>=1 and there is a change in the MT's EPS
network registration status in E-UTRAN, or unsolicited result code +CEREG:
<stat>[,[<tac>],[<ci>],[<AcT>]] when <n>=2 and there is a change
of the network cell in E-UTRAN. The parameters <AcT>, <tac> and <ci> are
sent only if available.The value <n>=3 further extends the unsolicited result
code with [,<cause_type>,<reject_cause>], when available, when the
value of <stat> changes.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
The read command returns the status of result code presentation and an
integer <stat> which shows whether the network has currently indicated the
registration of the MT. Location information elements <tac>, <ci> and
<AcT>, if available, are returned only when <n>=2 and MT is registered in the
network. The parameters [,<cause_type>,<reject_cause>], if
available, are returned when <n>=3.
Test command returns values supported as a compound value.
Table 3-2: n
Value Description
4 For a UE that wants to apply PSM, enable network registration and location
information unsolicited result code +CEREG:
<stat>[,[<tac>],[<ci>],[<AcT>][,,[,[<Active-Time>],[<Perio
dic-TAU>]]]]
stat
Integer. Indicates the EPS registration status.
Value Description
Value Description
3 registration denied
5 registered, roaming
NOTE 2:3GPP TS 24.008 [8] and 3GPP TS 24.301 [83] specify the condition
when the MS is considered as attached for emergency bearer services.
tac
String type; two byte tracking area code in hexadecimal format (e.g. "00C3"
equals 195 in decimal).
ci
String type; four byte E-UTRAN cell ID in hexadecimal format
AcT
Integer. The parameter sets/shows the access technology of the serving cell.
Value Description
Value Description
7 E-UTRAN
Value Description
reject_cause
Integer type; contains the cause of the failed registration. The value is of
type as defined by <cause_type>.
Active-Time
string type; one byte in an 8 bit format. Indicates the Active Time value
(T3324) allocated to the UE in E-UTRAN. The Active Time value is coded
as one byte (octet 3) of the GPRS Timer 2 information element coded as bit
format (e.g. "00100100" equals 4 minutes). For the coding and the value
range, see the GPRS Timer 2 IE in 3GPP TS 24.008 [8] Table 10.5.163/3GPP
TS 24.008. See also 3GPP TS 23.682 [149] and 3GPP TS 23.401 [82].
Periodic-TAU
string type; one byte in an 8 bit format. Indicates the extended periodic
TAU value (T3412) allocated to the UE in E-UTRAN. The extended periodic
TAU value is coded as one byte (octet 3) of the GPRS Timer 3 information
element coded as bit format (e.g. "01000111" equals 70 hours). For the
coding and the value range, see the GPRS Timer 3 IE in 3GPP TS 24.008 [8]
Table 10.5.163a/3GPP TS 24.008. See also 3GPP TS 23.682 [149] and 3GPP TS
23.401 [82].
3.3.1 Syntax
3.3.2 Description
The execution command is used to activate or deactivate the specified PDP
context (s). After the command has completed, the MT remains in V.250
command state. If any PDP context is already in the requested state, the state
for that context remains unchanged. If the requested state for any specified
context cannot be achieved, an ERROR or +CME ERROR response is returned.
Extended error responses are enabled by the +CMEE command. If the MT is
not PS attached when the activation form of the command is executed, the MT
first performs a PS attach and then attempts to activate the specified contexts.
If the attach fails then the MT responds with ERROR or, if extended error
responses are enabled, with the appropriate failure-to-attach error message.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
For EPS, if an attempt is made to disconnect the last PDN connection, then the
MT responds with ERROR or, if extended error responses are enabled, a
+CME ERROR.
Note: If the initial PDP context is supported, the context with <cid>=0
is automatically defined at startup, see subclause 10.1.0.
For EPS, the activation request for an EPS bearer resource will be answered by
the network by either an EPS dedicated bearer activation or EPS bearer
modification request. The request must be accepted by the MT before the PDP
context can be set in to established state.
If no <cid>s are specified the activation form of the command activates all
defined contexts.
If no <cid>s are specified the deactivation form of the command deactivates
all active contexts.
The read command returns the current activation states for all the defined
PDP contexts.
The test command is used for requesting information on the supported PDP
context activation states.
Note: This command has the characteristics of both the V.250 action and
parameter commands. Hence it has the read form in addition to
the execution/set and test forms.
Value Description
0 deactivated
1 activated
cid
Integer type; specifies a particular PDP context definition (see the
+CGDCONT and +CGDSCONT commands).
3.4.1 Syntax
3.4.2 Description
The execution command is used to attach the MT to, or detach the MT from,
the Packet Domain service. After the command has completed, the MT
remains in V.250 command state. If the MT is already in the requested state,
the command is ignored and the OK response is returned. If the requested
state cannot be achieved, an ERROR or +CME ERROR response is returned.
Extended error responses are enabled by the +CMEE command.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Note: If the initial PDP context is supported, the context with <cid>=0
is automatically defined at startup, see subclause 10.1.0.
Note: NOTE 2:This command has the characteristics of both the V.250
action and parameter commands. Hence it has the read form in
addition to the execution/set and test forms.
Value Description
0 detached
1 attached
3.5.1 Syntax
AT+CGAUTH? [+CGAUTH:
<cid>,<auth_prot>,<userid>,<password>][<CR><LF>+CGAUTH:<cid>,<auth_prot>,<u
serid>,<password> [...]]
3.5.2 Description
Set command allows the TE to specify authentication parameters for a PDP
context identified by the (local) context identification parameter <cid> used
during the PDP context activation and the PDP context modification
procedures. Since the <cid> is the same parameter that is used in the
+CGDCONT and +CGDSCONT commands, +CGAUTH is effectively as an
extension to these commands.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
The read command returns the current settings for each defined context.
The test command returns values supported as a compound value.
Value Description
0 None. Used to indicate that no authentication protocol is used for this PDP
context. Username and password are removed if previously specified.
1 PAP
2 CHAP
userid
String type. User name for access to the IP network.
password
String type. Password for access to the IP network.
3.6.1 Syntax
3.6.2 Description
The execution command is used to modify the specified PDP context (s) with
repect to QoS profiles and TFTs. After the command has completed, the MT
returns to V.250 online data state. If the requested modification for any
specified context cannot be achieved, an ERROR or +CME ERROR response is
returned. Extended error responses are enabled by the +CMEE command.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
For EPS, the modification request for an EPS bearer resource will be answered
by the network by an EPS bearer modification request. The request must be
accepted by the MT before the PDP context is effectively changed.
If no <cid>s are specified the activation form of the command modifies all
active contexts.
The test command returns a list of <cid>s associated with active contexts.
3.7.1 Syntax
3.7.2 Description
The execution command returns the relevant information <bearer_id>,
<apn>, <local_addr and subnet_mask>, <gw_addr>,
<DNS_prim_addr>, <DNS_sec_addr>, <P-CSCF_prim_addr>,
<P-CSCF_sec_addr>, <IM_CN_Signalling_Flag> and
<LIPA_indication> for an active non secondary PDP context with the
context identifier <cid>.
If the MT indicates more than two IP addresses of P-CSCF servers or more
than two IP addresses of DNS servers, multiple lines of information per
<cid> will be returned.
If the MT has dual stack capabilities, at least one pair of lines with information
is returned per <cid>. First one line with the IPv4 parameters followed by
one line with the IPv6 parameters. If this MT with dual stack capabilities
indicates more than two IP addresses of P-CSCF servers or more than two IP
addresses of DNS servers, multiple of such pairs of lines are returned.
If the parameter <cid> is omitted, the relevant information for all active non
secondary PDP contexts is returned.
The test command returns a list of <cid>s associated with active non
secondary contexts.
DNS_sec_addr
String type; shows the IP address of the secondary DNS server.
When +CGPIAF is supported, its settings can influence the format of this
parameter returned with the execute form of +CGCONTRDP.
P_CSCF_prim_addr
String type; shows the IP address of the primary P-CSCF server.
When +CGPIAF is supported, its settings can influence the format of this
parameter returned with the execute form of +CGCONTRDP.
P_CSCF_sec_addr
String type; shows the IP address of the secondary P-CSCF server.
When +CGPIAF is supported, its settings can influence the format of this
parameter returned with the execute form of +CGCONTRDP.
IM_CN_Signalling_Flag
Integer type; shows whether the PDP context is for IM CN
subsystem-related signalling only or not.
Value Description
LIPA_indication
Integer type; indicates that the PDP context provides connectivity using a
LIPA PDN connection. This parameter cannot be set by the TE.
Value Description
0 indication not received that the PDP context provides connectivity using a
LIPA PDN connection
1 indication received that the PDP context provides connectivity using a LIPA
PDN connection
3.8.1 Syntax
AT+CGDATA[=<L2P>[,<cid CONNECT
>[,<cid>[,...]]]] ERROR
+CME ERROR:<err>
3.8.2 Description
The execution command causes the MT to perform whatever actions are
necessary to establish communication between the TE and the network using
one or more Packet Domain PDP types. This may include performing a PS
attach and one or more PDP context activations. If the <L2P> parameter value
is unacceptable to the MT, the MT shall return an ERROR or +CME ERROR
response. Otherwise, the MT issues the intermediate result code CONNECT and
enters V.250 online data state.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Note: If the initial PDP context is supported, the context with <cid>=0
is automatically defined at startup, see subclause 10.1.0.
If context activation takes place during the PDP startup, one or more <cid>s
may be specified in order to provide the information needed for the context
activation request(s).
During each PDP startup procedure the MT may have access to some or all of
the following information:
• The MT may have a priori knowledge, for example, it may implement only
one PDP type.
• The command may have provided an <L2P> parameter value.
• The TE may provide a PDP type and/or PDP address to the MT during in
the PDP startup procedure.
If any of this information is in conflict, the command will fail.
Any PDP type and/or PDP address present in the above information shall be
compared with the PDP type and/or PDP address in any context definitions
specified in the command in the order in which their <cid>s appear. For a
context definition to match:
• The PDP type must match exactly.
• The PDP addresses are considered to match if they are identical or if either
or both addresses are unspecified. For example, a PPP NCP request speci-
fying PDP type = IP and no PDP address would cause the MT to search
through the specified context definitions for one with PDP type = IP and
any PDP address.
The context shall be activated using the matched value for PDP type and a
static PDP address if available, together with the other information found in
the PDP context definition. If a static PDP address is not available then a
dynamic address is requested.
If no <cid> is given or if there is no matching context definition, the MT shall
attempt to activate the context with whatever information is available to the
MT. The other context parameters shall be set to their default values.
If the activation is successful, data transfer may proceed.
After data transfer is complete, and the layer 2 protocol termination procedure
has completed successfully, the V.250 command state is re-entered and the MT
returns the final result code OK.
In the event of an erroneous termination or a failure to start up, the V.250
command state is re-entered and the MT returns the final result code NO
CARRIER or, if enabled, +CME ERROR. Attach, activate and other errors may
be reported.
The test command is used for requesting information on the supported layer 2
protocols.
This command may be used in both normal and modem compatibility modes.
L2P
String. Layer 2 protocol to be used between the TE and MT.
Value Description
3.9.1 Syntax
AT+CGDCONT? [+CGDCONT:<cid>,<PDP_type>,<APN>,<PDP_addr>,<d_comp>,<h_comp>[,<IPv4Ad
drAlloc>[,<emergency
indication>[,<P-CSCF_discovery>[,<IM_CN_Signalling_Flag_Ind>]]]]][<CR><LF>+
CGDCONT:<cid>,<PDP_type>,<APN>,<PDP_addr>,<d_comp>,<h_comp>[,<IPv4Addr
Alloc>[,<emergency
indication>[,<P-CSCF_discovery>[,<IM_CN_Signalling_Flag_Ind>]]]][...]]
3.9.2 Description
The set command specifies PDP context parameter values for a PDP context
identified by the (local) context identification parameter, <cid>. The number
of PDP contexts that may be in a defined state at the same time is given by the
range returned by the test command.
For EPS the PDN connection and its associated EPS default bearer is identified
herewith. For EPS the <PDP_addr> parameter value shall be omitted.
A special form of the set command, +CGDCONT=<cid> causes the values for
context number <cid> to become undefined.
PDP_type
String type; specifies the type of packet data protocol
Value Description
Note: Only IP, IPV6 and IPV4V6 values are supported for EPS
services.
APN
String type; a logical name that is used to select the GGSN or the external
packet data network.
If the value is null or omitted, then the subscription value will be requested.
PDP_addr
String type; identifies the MT in the address space applicable to the PDP.
If the parameter value is null or omitted, then a value may be provided by
the TE during the PDP startup procedure or, failing that, a dynamic
address will be requested.
The read form of the command will continue to return the null string even
if an address has been allocated during the PDP startup procedure. The
allocated address(es) may be read using the +CGPADDR command.
When +CGPIAF is supported, its settings can influence the format of this
parameter returned with the read form of +CGDCONT.
Note: For EPS, this field or the parameter value of the field is
omitted.
d_comp
Integer type; controls PDP data compression (applicable for SNDCP only)
(refer 3GPP TS 44.065 [61])
Value Description
0 off
2 V.42bis
3 V.44
h_comp
Integer type; controls PDP header compression (refer 3GPP TS 44.065 [61]
and 3GPP TS 25.323 [62])
Value Description
0 off
Value Description
IPv4AddrAlloc
Integer type; controls how the MT/TA requests to get the IPv4 address
information
Value Description
emergency indication
Integer type; indicates whether the PDP context is for emergency bearer
services or not.
Value Description
P-CSCF_discovery
Integer type; influences how the MT/TA requests to get the P-CSCF
address, see 3GPP TS 24.229 [89] annex B and annex L.
Value Description
IM_CN_Signalling_Flag_Ind
Integer type; indicates to the network whether the PDP context is for IM
CN subsystem-related signalling only or not.
Value Description
3.10.1 Syntax
AT+CGDSCONT=[<cid>,<p
_cid>[,<d_comp>[,<h_comp>[,
<IM_CN_Signalling_Flag_In
d>]]]]
AT+CGDSCONT? [+CGDSCONT:<cid>,<p_cid>,<d_comp>,<h_comp>,<IM_CN_Signalling_Flag_Ind>][
<CR><LF>+CGDSCONT:<cid>,<p_cid>,<d_comp>,<h_comp>,<IM_CN_Signalling_Fl
ag_Ind>[...]]
3.10.2 Description
The set command specifies PDP context parameter values for a Secondary
PDP context identified by the (local) context identification parameter, <cid>.
The number of PDP contexts that may be in a defined state at the same time is
given by the range returned by the test command.
In EPS the command is used to define traffic flows.
A special form of the set command, +CGDSCONT=<cid> causes the values for
context number <cid> to become undefined.
Note: If the initial PDP context is supported, the context with <cid>=0
is automatically defined at startup, see subclause 10.1.0.
The read command returns the current settings for each defined context.
The test command returns values supported as a compound value.
p_cid
Integer type; specifies a particular PDP context definition which has been
specified by use of the +CGDCONT command. The parameter is local to the
TE-MT interface. The list of permitted values is returned by the test form of
the command.
d_comp
Integer type; controls PDP data compression (applicable for SNDCP only)
(refer 3GPP TS 44.065 [61])
Value Description
0 off
2 V.42bis
3 V.44
h_comp
Integer type; controls PDP header compression (refer 3GPP TS 44.065 [61]
and 3GPP TS 25.323 [62])
Value Description
0 off
Value Description
IM_CN_Signalling_Flag_Ind
Integer type; indicates to the network whether the PDP context is for IM
CN subsystem-related signalling only or not.
Value Description
3.11.1 Syntax
AT+CGEQOS? [+CGEQOS:<cid>,<QCI>,[<DL_GBR>,<UL_GBR>],[<DL_MBR>,<UL_MBR>]][<C
R><LF>+CGEQOS:
<cid>,<QCI>,[<DL_GBR>,<UL_GBR>],[<DL_MBR>,<UL_MBR>] [...]]
3.11.2 Description
The set command allows the TE to specify the EPS Quality of Service
parameters <cid>, <QCI>, [<DL_GBR> and <UL_GBR>] and [<DL_MBR>
and <UL_MBR>] for a PDP context or Traffic Flows (see 3GPP TS 24.301 [83]
and 3GPP TS 23.203 [85]). When in UMTS/GPRS the MT applies a mapping
function to UTMS/GPRS Quality of Service.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
A special form of the set command, +CGEQOS= <cid> causes the values for
context number <cid> to become undefined.
The read command returns the current settings for each defined QoS.
The test command returns the ranges of the supported parameters.
Value Description
DL_GBR
Integer type; indicates DL GBR in case of GBR QCI. The value is in kbit/s.
This parameter is omitted for a non-GBR QCI (see 3GPP TS 24.301 [83]).
UL_GBR
Integer type; indicates UL GBR in case of GBR QCI. The value is in kbit/s.
This parameter is omitted for a non-GBR QCI (see 3GPP TS 24.301 [83]).
DL_MBR
Integer type; indicates DL MBR in case of GBR QCI. The value is in kbit/s.
This parameter is omitted for a non-GBR QCI (see 3GPP TS 24.301 [83]).
UL_MBR
Integer type; indicates UL MBR in case of GBR QCI. The value is in kbit/s.
This parameter is omitted for a non-GBR QCI (see 3GPP TS 24.301 [83]).
3.12.1 Syntax
AT+CGEQOSRDP [+CGEQOSRDP:<cid>,<QCI>,[<DL_GBR>,<UL_GBR>],[<DL_MBR>,<UL_MBR>][,<
DL_AMBR>,<UL_AMBR>]][<CR><LF>+CGEQOSRDP:<cid>,<QCI>,[<DL_GBR>,<
UL_GBR>],[<DL_MBR>,<UL_MBR>][,<DL_AMBR>,<UL_AMBR>] [...]]
3.12.2 Description
The execution command returns the Quality of Service parameters <QCI>,
[<DL_GBR> and <UL_GBR>] and [<DL_MBR> and <UL_MBR>] of the active
secondary or non secondary PDP context associated to the provided context
identifier <cid>.
If the parameter <cid> is omitted, the Quality of Service parameters for all
secondary and non secondary active PDP contexts are returned.
The test command returns a list of <cid>s associated with secondary or non
secondary active PDP contexts.
Parameters of both network and MT/TA initiated PDP contexts will be
returned.
Value Description
DL_GBR
Integer type; indicates DL GBR in case of GBR QCI. The value is in kbit/s.
This parameter is omitted for a non-GBR QCI (see 3GPP TS 24.301 [83]).
UL_GBR
Integer type; indicates UL GBR in case of GBR QCI. The value is in kbit/s.
This parameter is omitted for a non-GBR QCI (see 3GPP TS 24.301 [83]).
DL_MBR
Integer type; indicates DL MBR in case of GBR QCI. The value is in kbit/s.
This parameter is omitted for a non-GBR QCI (see 3GPP TS 24.301 [83]).
UL_MBR
Integer type; indicates UL MBR in case of GBR QCI. The value is in kbit/s.
This parameter is omitted for a non-GBR QCI (see 3GPP TS 24.301 [83]).
DL_AMBR
Integer type; indicates DL APN aggregate MBR (see 3GPP TS 24.301 [83]).
The value is in kbit/s.
UL_AMBR
Integer type; indicates UL APN aggregate MBR (see 3GPP TS 24.301 [83]).
The value is in kbit/s.
3.13.1 Syntax
3.13.2 Description
Set command enables or disables sending of unsolicited result codes, +CGEV:
XXX from MT to TE in the case of certain events occurring in the Packet
Domain MT or the network. <mode> controls the processing of unsolicited
result codes specified within this command. <bfr> controls the effect on
buffered codes when <mode> 1 or 2 is entered. If a setting is not supported by
the MT, ERROR or +CME ERROR: is returned.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Read command returns the current mode and buffer settings
Test command returns the modes and buffer settings supported by the MT as
compound values.
Value Description
0 buffer unsolicited result codes in the MT; if MT result code buffer is full, the
oldest ones can be discarded. No codes are forwarded to the TE.
bfr
Integer type
Value Description
3.14.1 Syntax
3.14.2 Description
The execution command returns a list of PDP addresses for the specified
context identifiers. If no <cid> is specified, the addresses for all defined
contexts are returned.
The test command returns a list of defined <cid>s.
3.15.1 Syntax
AT+CGSCONTRDP[=<cid> [+CGSCONTRDP:<cid>,<p_cid>,<bearer_id>[,<IM_CN_Signalling_Flag>]][<CR><L
] F>+CGSCONTRDP: <cid>,<p_cid>,<bearer_id>[,<IM_CN_Signalling_Flag>][...]]
3.15.2 Description
The execution command returns <p_cid>, <bearer_id> and
<IM_CN_Signalling_Flag> for an active secondary PDP context with the
context identifier <cid>.
If the parameter <cid> is omitted, the <cid>, <p_cid>, <bearer_id> and
<IM_CN_Signalling_Flag> are returned for all active secondary PDP
contexts.
In EPS, the Traffic Flow parameters are returned.
The test command returns a list of <cid>s associated with active secondary
PDP contexts.
Value Description
3.16.1 Syntax
AT+CGSMS=[<service>]
3.16.2 Description
The set command is used to specify the service or service preference that the
MT will use to send MO SMS messages.
The read command returns the currently selected service or service
preference.
The test command is used for requesting information on the currently
available services and service preferences.
service
Integer type; indicates the service or service preference to be used
Value Description
0 Packet Domain
1 circuit switched
3 circuit switched preferred (use Packet Domain if circuit switched not available)
3.17.1 Syntax
3.17.2 Description
This command allows the TE to specify a Packet Filter - PF for a Traffic Flow
Template - TFT that is used in the GGSN in UMTS/GPRS and Packet GW in
EPS for routing of packets onto different QoS flows towards the TE. The
concept is further described in the 3GPP TS 23.060 [47]. A TFT consists of from
one and up to 16 Packet Filters, each identified by a unique <packet filter
identifier>. A Packet Filter also has an <evaluation precedence index> that is
unique within all TFTs associated with all PDP contexts that are associated
with the same PDP address.
The set command specifies a Packet Filter that is to be added to the TFT stored
in the MT and used for the context identified by the (local) context
identification parameter, <cid>. The specified TFT will be stored in the GGSN
in UMTS/GPRS and Packet GW in EPS only at activation or MS-initiated
modification of the related context. Since this is the same parameter that is
used in the +CGDCONT and +CGDSCONT commands, the +CGTFT
command is effectively an extension to these commands. The Packet Filters
consist of a number of parameters, each of which may be set to a separate
value.
A special form of the set command, +CGTFT=<cid> causes all of the Packet
Filters in the TFT for context number <cid> to become undefined. At any time
there may exist only one PDP context with no associated TFT amongst all PDP
contexts associated to one PDP address. At an attempt to delete a TFT, which
would violate this rule, an ERROR or +CME ERROR response is returned.
Extended error responses are enabled by the +CMEE command.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
The read command returns the current settings for all Packet Filters for each
defined context.
The test command returns values supported as a compound value. If the MT
supports several PDP types, the parameter value ranges for each PDP type are
returned on a separate line. TFTs shall be used for PDP-type IP and PPP only.
For PDP-type PPP a TFT is applicable only when IP traffic is carried over PPP.
If PPP carries header-compressed IP packets, then a TFT cannot be used.
direction
Integer type. Specifies the transmission direction in which the packet filter
shall be applied.
Value Description
1 Uplink
2 Downlink
Some of the above listed attributes may coexist in a Packet Filter while
others mutually exclude each other, the possible combinations are shown
in 3GPP TS 23.060 [47].
3.18.1 Syntax
3.18.2 Description
The execution command returns the relevant information about Traffic Flow
Template for an active secondary or non secondary PDP context specified by
<cid> together with the additional network assigned values when
established by the network. If the parameter <cid> is omitted, the Traffic
Flow Templates for all active secondary and non secondary PDP contexts are
returned.
Parameters of both network and MT/TA initiated PDP contexts will be
returned.
The test command returns a list of <cid>s associated with active secondary
and non secondary contexts.
direction
Integer type. Specifies the transmission direction in which the Packet Filter
shall be applied.
Value Description
0 Pre Release 7 TFT Filter (see 3GPP TS 24.008 [8], table 10.5.162)
1 Uplink
2 Downlink
4.1.1 Syntax
AT+CCHC=<sessiondd> +CCHC
+CME ERROR: <err>
4.1.2 Description
This command asks the ME to close a communication session with the active
UICC. The ME shall close the previously opened logical channel. The TE will
no longer be able to send commands on this logical channel. The UICC will
close the logical channel when receiving this command.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
4.2.1 Syntax
AT+CCHO=<dfname> <sessionid>
+CME ERROR: <err>
4.2.2 Description
Execution of the command causes the MT to return <sessionid> to allow
the TE to identify a channel that is being allocated by the currently selected
UICC, which is attached to ME. The currently selected UICC will open a new
logical ETSI 3GPP TS 27.007 version 12.10.0 Release 12 141 ETSI TS 127 007
V12.10.0 (2015-10) channel; select the application identified by the <dfname>
received with this command and return a session Id as the response. The ME
shall restrict the communication between the TE and the UICC to this logical
channel.
This <sessionid> is to be used when sending commands with Restricted
UICC Logical Channel access +CRLA or Generic UICC Logical Channel
Access: +CGLA commands.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
4.3.1 Syntax
AT+CEER=?
4.3.2 Description
Execution command causes the TA to return one or more lines of information
text <report>, determined by the MT manufacturer, which should offer the
user of the TA an extended report of the reason for:
• the failure in the last unsuccessful call setup (originating or answering) or
in call modification;
• the last call release;
• the last unsuccessful GPRS attach or unsuccessful PDP context activation;
• the last GPRS detach or PDP context deactivation.
Typically, the text will consist of a single line containing the cause information
given by GSM/UMTS network in textual format.
Test command returns a list of pairs which present the available facilities and
the maximum length of their password.
4.4.1 Syntax
AT+CFUN? +CFUN:<fun>
or
+CME ERROR: <err>
4.4.2 Description
Set command selects the level of functionality <fun> in the MT. Level "full
functionality" is where the highest level of power is drawn. "Minimum
functionality" is where minimum power is drawn. Level of functionality
between these may also be specified by manufacturers. When supported by
manufacturers, MT resetting with <rst> parameter may be utilized.
fun
Integer. Functionality code.
Value Description
0 minimum functionality
1 full functionality
5..127 reserved for manufacturers as intermediate states between full and minimum
functionality
rst
Integer. Reset required indication.
Value Description
4.5.1 Syntax
4.5.2 Description
Set command transmits to the MT the <command> it then shall send as it is to
the selected UICC. In the same manner the UICC <response> shall be sent
back by the MT to the TA as it is.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
This command allows a direct control of the currently selected UICC by a
distant application on the TE. The TE shall then take care of processing UICC
information within the frame specified by GSM/UMTS.
Although Generic UICC Logical Channel Access command +CGLA allows TE
to take control over the UICC-MT interface, there are some functions of the
UICC-MT interface that logically do not need to be accessed from outside the
TA/MT. Moreover, for security reason the GSM network authentication
should not be handled outside the TA/MT. Therefore it shall not be allowed to
execute a Run GSM Algorithm command or an Authenticate command in
GSM ETSI 3GPP TS 27.007 version 12.10.0 Release 12 139 ETSI TS 127 007
V12.10.0 (2015-10) context from the TE using +CGLA at all time whether the
+CGLA is locked or unlocked. This shall not forbid the TE to send
Authenticate commands in other security contexts (e.g. EAP security context).
For example, the TA/MT shall forbid the transfer of the Authenticate
command to a USIM application when parameters P2 = 0 (GSM security
context). See 3GPP TS 31.102 [59] for USIM authenticate command definition.
4.6.1 Syntax
AT+CGPIAF=[<IPv6_Addres
sFormat>[,<IPv6_SubnetNota
tion>[,<IPv6_LeadingZeros>[,
<IPv6_CompressZeros>]]]]
AT+CGPIAF? +CGPIAF:<IPv6_AddressFormat>,<IPv6_SubnetNotation>,<IPv6_LeadingZeros>,<IP
v6_CompressZeros>
4.6.2 Description
Set command decides what format to print IPV6 address parameters of other
AT commands. See RFC 4291 [88] for details of the IPv6 address format.
The +CGPIAF parameters <IPv6_AddressFormat>,
<IPv6_SubnetNotation>, <IPv6_LeadingZeros> and
<IPv6_CompressedZeros> affect the following commands and
parameters:
1. in +CGTFT and +CGTFTRDP, the <remote address and subnet
mask>;
2. in +CGDCONT, the <PDP_addr>;
3. in +CGPADDR, the <PDP_addr_1> and <PDP_addr_2>;
4. in +CGCONTRDP, the <local address and subnet mask>,
<DNS_prim_addr>, <DNS_sec_addr>, <P_CSCF_prim_addr> and
<P_CSCF_sec_addr>; and
5. in +CRC, the <PDP_addr> of unsolicited result code GPRS <PDP_type>,
<PDP_addr>[, [<L2P>][,<APN>]].
Value Description
IPv6_SubnetNotation
Integer type, decides the subnet-notation for <remote address and
subnet mask>. Setting does not apply if <IPv6_AddressFormat> = 0.
Value Description
0 Both IP Address and subnet mask are stated explicitly, separated by a space.
Example:"2001:0DB8:0000:CD30:0000:0000:0000:0000
FFFF:FFFF:FFFF:FFF0:0000:0000:0000:0000"
IPv6_LeadingZeros
Integer type, decides whether leading zeros are omitted or not. Setting does
not apply if <IPv6_AddressFormat> = 0.
Value Description
IPv6_CompressZeros
Integer type, decides whether 1-n instances of 16-bit zero-values are
replaced by only '::'. This applies only once. Setting does not apply if
<IPv6_AddressFormat> = 0.
Value Description
0 No zero compression.Example:"2001:DB8:0:CD30:0:0:0:0"
4.7.1 Syntax
4.7.2 Description
Execution command causes the MT to return one or more lines of AT
Commands.
Note: This command only returns the AT commands that are available
for the user.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
4.8.1 Syntax
4.8.2 Description
The operation of +CME ERROR: <err> final result code is similar to the
regular ERROR result code: if +CME ERROR: <err> is the result code for any
of the commands in a command line, none of the following commands in the
same command line is executed (neither ERROR nor OK result code shall be
returned as a result of a completed command line execution). The format of
<err> can be either numeric or verbose. This is set with command +CMEE,
see Section 4.9 Report Mobile Termination Error: +CMEE on page 142.
Code Description
0 phone failure
1 no connection to phone
Code Description
16 incorrect password
20 memory full
21 invalid index
22 not found
23 memory failure
30 no network service
31 network timeout
Code Description
50 Incorrect parameters
100 unknown
Code Decsription
Table 4-8: GPRS related "CME ERROR" Codes (3GPP TS 27.007) (Continued)
Code Decsription
Code Description
300 ME failure
Table 4-9: SMS related "CMS ERROR" Codes (3GPP TS 27.005) (Continued)
Code Description
4.9.1 Syntax
4.9.2 Description
Set command disables or enables the use of final result code +CME ERROR:
<err> as an indication of an error relating to the functionality of the MT.
When enabled, MT related errors cause +CME ERROR: <err> final result
code instead of the regular ERROR final result code. ERROR is returned
normally when error is related to syntax, invalid parameters, or TA
functionality.
Test command returns values supported as a compound value.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Table 4-10: n
Value Description
0 disable +CME ERROR: <err> result code and use ERROR instead
1 enable+CME ERROR: <err> result code and use numeric <err> values
2 enable +CME ERROR: <err> result code and use verbose<err> values
4.10.1 Syntax
4.10.2 Description
Set command selects the equipment, which operates MT keypad, writes to MT
display and sets MT indicators. If operation mode is not allowed by the MT,
+CME ERROR: <err> is returned.
Test command returns the modes supported as compound values.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
keyp
Integer.
Value Description
disp
Integer.
Value Description
0 only MT can write to its display (command +CDIS can only be used to read the
display)
ind
Integer.
Value Description
0 only MT can set the status of its indicators (command +CIND can only be used
to read the indicators)
tscrn
Integer.
Value Description
0 only MT can set the status of its indicators (execute command of +CTSA cannot
be used)
4.11.1 Syntax
AT+CMER? +CMER:<mode>,<keyp>,<disp>,<ind>,<bfr>,<tscrn>,<orientation>
4.11.2 Description
Set command enables or disables sending of unsolicited result codes from TA
to TE in the case of key pressings, display changes, and indicator state
changes. <mode> controls the processing of unsolicited result codes specified
within this command. <bfr>controls the effect on buffered codes when
<mode> 1, 2 or 3 is entered. If setting is not supported by the MT, +CME
ERROR: <err> is returned.
Test command returns the modes supported as compound values.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
mode
Integer.
Value Description
0 buffer unsolicited result codes in the TA; if TA result code buffer is full, codes
can be buffered in some other place or the oldest ones can be discarded
3 forward unsolicited result codes directly to the TE; TA TE link specific inband
technique used to embed result codes and data when TA is in on line data
mode
keyp
Integer.
Value Description
disp
Integer.
Value Description
ind
Integer. Event indicator.
Value Description
bfr
Integer.
Value Description
tscrn
Integer. Touch screen event.
Value Description
Value Description
3 Verbose mode. Touch screen event reporting using unsolicited result code
+CTEV: <action>,<x>,<y>. This is a special mode where intermediate
depressed result codes (+CTEV: 1,<x>,<y>) are generated for each new
<x>,<y> coordinate detected while a user is dragging a touch to a new
location. All other touch screen actions shall be directed from the TA to the TE
normally. Only those touch screen events which are not caused by +CTSA shall
be indicated by the TA to the TE.NOTE 5:When this mode is enabled,
corresponding result codes of all touch screen actions are flushed to the TA
regardless of <bfr> setting.
4 enchanced touch screen event reporting using unsolicited result code +CTEV:
<action>,<x>,<y>,<id>[,<duration>]. The <x>,<y> parameters
indicate the x, y coordinates on the touch screen device (as specified for
+CTSA), the <duration> parameter indicates the duration of the touch (as
specified for +CTSA) and, the <id> identifies any simultaneous touch (as
specified for +CTSA). Only those touch screen events, which are not caused by
+CTSA shall be indicated by the TA to the TE. The <action> parameter indicates
the action performed on the screen, if the <duration> parameter is:- 0, it is valid
for the <action> parameter to indicate 0 for screen released, 1 for screen
depressed, 2 for single tap, and 3 for double tap;-a positive, non-zero integer, it
is valid for the <action> parameter to indicate 0 for screen released.NOTE 6:
When this mode is enabled, corresponding result codes of all touch screen
actions are flushed to the TA regardless of <bfr> setting.
5 enchanced touch screen event reporting using unsolicited result code +CTEV:
<action>,<x>,<y>,<id>[,<duration>]. See description of <tscrn> set to 4 for the
valid for the <action> parameter. All touch screen events shall be directed from
the TA to the TE.NOTE 7:When this mode is enabled, corresponding result
codes of all touch screen actions are flushed to the TA regardless of <bfr>
setting.
6 Verbose mode. enchanced touch screen event reporting using unsolicited result
code +CTEV: <action>,<x>,<y>,<id>[,<duration>]. This is a special mode where
intermediate depressed result codes (+CTEV: 1,<x>,<y>,<id>[,<duration>]) are
generated for each new <x>,<y> coordinate detected while a user is dragging a
touch to a new location. All other touch screen actions shall be directed from
the TA to the TE normally. See description of <tscrn> set to 4 for the valid for
the <action> parameter. Only those touch screen events which are not caused
by +CTSA shall be indicated by the TA to the TE.NOTE 8:When this mode is
enabled, corresponding result codes of all touch screen actions are flushed to
the TA regardless of <bfr> setting.
orientation
Integer. Parameter to enable display orientation event reporting from the
TA to the TE, using unsolicited result code +COEV: <CurrentTopSide>. The
<CurrentTopSide> parameter indicates the top of the ME's screen (as spec-
ified for +CSO).
Value Description
1 Only those display orientation events, which are not caused by +CSO shall be
indicated.
4.12.1 Syntax
4.12.2 Description
Execution command returns the activity status <pas> of the MT. It can be
used to interrogate the MT before requesting action from the phone.
Test command returns values supported by the MT as a compound value.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Value Description
3 ringing (MT is ready for commands from TA/TE, but the ringer is active)
4 call in progress (MT is ready for commands from TA/TE, but a call is in
progress)
6..128 Reserved
4.13.1 Syntax
+CPSMS=[<mode>[,<Request OK
ed_Peri +CME ERROR: <err>
odic-RAU>[,<Requested_GPR
SREADYtimer>[,<
Requested_Periodic-
TAU>[,<Requested_Active-
Time>]]]]]
+CPSMS? +CPSMS:<mode>,[<Requested_Periodic-
RAU>],[<Requested_GPRS-READYtimer>],[<Requested_Periodic-TAU>],[<Requested
_Active-Time>]
4.13.2 Description
The set command controls the setting of the UEs power saving mode (PSM)
parameters. The command controls whether the UE wants to apply PSM or
not, as well as the requested extended periodic RAU value and the requested
GPRS READY timer value in GERAN/UTRAN, the requested extended
periodic TAU value in E-UTRAN and the requested Active Time value. See
the unsolicited result codes provided by commands +CGREG for the Active
Time value, the extended periodic RAU value and the GPRS READY timer
value that are allocated to the UE by the network in GERAN/UTRAN and
+CEREG for the Active Time value and the extended periodic TAU value that
are allocated to the UE by the network in E-UTRAN.
A special form of the command can be given as +CPSMS= (with all parameters
omitted). In this form, the parameter <mode> will be set to 0, the use of PSM
will be disabled and data for all parameters in command +CPSMS will be
removed or, if available, set to the manufacturer specific default values.
Value Description
Requested_Periodic-RAU
string type; one byte in an 8 bit format. Requested extended periodic RAU
value (T3312) to be allocated to the UE in GERAN/UTRAN. The requested
extended periodic RAU value is coded as one byte (octet 3) of the GPRS
Timer 3 information element coded as bit format (e.g. "01000111" equals 70
hours). For the coding and the value range, see the GPRS Timer 3 IE in
3GPP TS 24.008 [8] Table 10.5.163a/3GPP TS 24.008. See also 3GPP TS 23.682
[149] and 3GPP TS 23.060 [47]. The default value, if available, is manufac-
turer specific.
Requested_GPRS-READY-timer
string type; one byte in an 8 bit format. Requested GPRS READY timer
value (T3314) to be allocated to the UE in GERAN/UTRAN. The requested
GPRS READY timer value is coded as one byte (octet 2) of the GPRS Timer
information element coded as bit format (e.g. "01000011" equals 3 deci-
hours or 18 minutes). For the coding and the value range, see the GPRS
Timer IE in 3GPP TS 24.008 [8] Table 10.5.172/3GPP TS 24.008. See also
3GPP TS 23.060 [47]. The default value, if available, is manufacturer
specific.
Requested_Periodic-TAU
string type; one byte in an 8 bit format. Requested extended periodic TAU
value (T3412) to be allocated to the UE in E-UTRAN. The requested
extended periodic TAU value is coded as one byte (octet 3) of the GPRS
Timer 3 information element coded as bit format (e.g. "01000111" equals 70
hours). For the coding and the value range, see the GPRS Timer 3 IE in
3GPP TS 24.008 [8] Table 10.5.163a/3GPP TS 24.008. See also 3GPP TS 23.682
[149] and 3GPP TS 23.401 [82]. The default value, if available, is manufac-
turer specific.
Requested_Active-Time
string type; one byte in an 8 bit format. Requested Active Time value
(T3324) to be allocated to the UE. The requested Active Time value is coded
as one byte (octet 3) of the GPRS Timer 2 information element coded as bit
format (e.g. "00100100" equals 4 minutes). For the coding and the value
range, see the GPRS Timer 2 IE in 3GPP TS 24.008 [8] Table 10.5.163/3GPP
TS 24.008. See also 3GPP TS 23.682 [149], 3GPP TS 23.060 [47] and 3GPP TS
23.401 [82]. The default value, if available, is manufacturer specific.
4.14.1 Syntax
ATH OK
4.14.2 Description
This command releases all active and held calls.
4.14.3 Example
ATH
OK
4.15.1 Syntax
ATO[<value>] <result_code>
OK
4.15.2 Description
Causes the DCE to return to online data state and issue a CONNECT or
CONNECT <text> result code. This command may not be aborted.
This command is used to resume the data mode that might be suspended by
the +++ escape sequence.
Value Description
CONNECT <text> If connection is successfully resumed and Xn is selected where "n" is any value
other than 0
4.15.4 Example
ATH
OK
5.1.1 Syntax
AT+CMGC=?
5.1.2 Description
Execution command sends a command message from a TE to the network
(SMS-COMMAND). The entering of text (3GPP TS 23.040 [3]
TP-Command-Data) is done similarly as specified in command Send Message
+CMGS, but the format is fixed to be a sequence of two IRA character long
hexadecimal numbers which ME/TA converts into 8-bit octets (refer +CMGS).
Message reference value <mr> is returned to the TE on successful message
delivery. Optionally (when +CSMS <service> value is 1 and network
supports) <scts> is returned. Values can be used to identify message upon
unsolicited delivery status report result code. If sending fails in a network or
an ME error, final result code +CMS ERROR: <err> is returned. This
command should be abortable.
See also 5.8 Message Service Failure Result Code: +CMS ERROR on page 174
for <err> values.
5.2.1 Syntax
5.2.2 Description
Execution command deletes message from preferred message storage
<mem1> location <index>. If <delflag> is present and not set to 0 then the
ME shall ignore <index> and follow the rules for <delflag> shown below.
If deleting fails, final result code +CMS ERROR: <err> is returned.
Test command shows the valid memory locations and optionally the
supported values of <delflag>.
See also 5.8 Message Service Failure Result Code: +CMS ERROR on page 174
for <err> values.
Value Description
0 (or omitted) Default value if not specified. Delete the message specified in <index>.
1 Delete all read messages from preferred message storage, leaving unread
messages and stored mobile originated messages (whether sent or not)
untouched
2 Delete all read messages from preferred message storage and sent mobile
originated messages, leaving unread messages and unsent mobile originated
messages untouched
3 Delete all read messages from preferred message storage, sent and unsent
mobile originated messages leaving unread messages untouched.
5.3.1 Syntax
AT+CMGF=[<mode>]
AT+CMGF? +CMGF:<mode>
5.3.2 Description
Set command tells the TA, which input and output format of messages to use.
<mode> indicates the format of messages used with send, list, read and write
commands and unsolicited result codes resulting from received messages.
Mode can be either PDU mode (entire TP data units used) or text mode
(headers and body of the messages given as separate parameters). Text mode
uses the value of parameter <chset> specified by command Select TE
Character Set +CSCS to inform the character set to be used in the message
body in the TA-TE interface.
Test command returns supported modes as a compound value.
See also 5.8 Message Service Failure Result Code: +CMS ERROR on page 174
for <err> values.
Value Description
1 text mode
5.4.1 Syntax
5.4.2 Description
Execution command returns messages with status value <stat> from
message storage <mem1> to the TE. About text mode parameters in italics,
refer command Show Text Mode Parameters +CSDH. If status of the
message is 'received unread', status in the storage changes to 'received read'. If
listing fails, final result code +CMS ERROR: <err> is returned.
Note: If the selected <mem1> can contain different types of SMs (e.g.
SMS-DELIVERs, SMS-SUBMITs, SMS-STATUS-REPORTs and
SMS-COMMANDs), the response may be a mix of the responses
of different SM types. TE application can recognize the response
format by examining the third response parameter.
Test command shall give a list of all status values supported by the TA.
See also 5.8 Message Service Failure Result Code: +CMS ERROR on page 174
for <err> values.
Value Description
5.5.1 Syntax
AT+CMGR=?
5.5.2 Description
Execution command returns message with location value <index> from
message storage <mem1> to the TE. About text mode parameters in italics,
refer command Show Text Mode Parameters +CSDH. If status of the message
is 'received unread', status in the storage changes to 'received read'. If reading
fails, final result code +CMS ERROR: <err> is returned.
See also 5.8 Message Service Failure Result Code: +CMS ERROR on page 174
for <err> values.
5.6.1 Syntax
AT+CMGS=?
5.6.2 Description
Execution command sends message from a TE to the network (SMS-SUBMIT).
Message reference value <mr> is returned to the TE on successful message
delivery. Optionally (when +CSMS <service> value is 1 and network
supports) <scts> is returned. Values can be used to identify message upon
unsolicited delivery status report result code. If sending fails in a network or
an ME error, final result code +CMS ERROR: <err> is returned. This
command should be abortable.
See also 5.8 Message Service Failure Result Code: +CMS ERROR on page 174
for <err> values.
• entered text (3GPP TS 23.040 [3] TP-Data-Unit) is sent to address <da> and
all current settings (refer Set Text Mode Parameters +CSMP and Service
Centre Address +CSCA) are used to construct the actual PDU in ME/TA.
• the TA shall send a four character sequence
<CR><LF><greater_than><space> (IRA 13, 10, 62, 32) after command line is
terminated with <CR>; after that text can be entered from TE to ME/TA.
• the DCD signal shall be in ON state while text is entered.
• the echoing of entered characters back from the TA is controlled by V.25ter
echo command E.
• the entered text should be formatted as follows:
– if <dcs> (set with +CSMP) indicates that 3GPP TS 23.038 [2] GSM 7 bit
default alphabet is used and <fo> indicates that 3GPP TS 23.040 [3]
TP-User-Data-Header-Indication is not set:
5.7.1 Syntax
AT+CMGW=?
5.7.2 Description
Execution command stores message (either SMS-DELIVER or SMS-SUBMIT)
to memory storage <mem2>. Memory location <index> of the stored message
is returned. By default message status will be set to 'stored unsent', but
parameter <stat> allows also other status values to be given. The entering of
text is done similarly as specified in command Send Message: +CMGS. If
writing fails, final result code +CMS ERROR: <err> is returned.
See also 5.8 Message Service Failure Result Code: +CMS ERROR on page 174
for <err> values.
Value Description
1 text mode
5.8.1 Syntax
5.8.2 Description
Final result code +CMS ERROR: <err> indicates an error related to mobile
equipment or network. The operation is similar to ERROR result code. None
of the following commands in the same command line is executed. Neither
ERROR nor OK result code shall be returned. ERROR is returned normally
when error is related to syntax or invalid parameters.
Value Description
300 ME failure
Value Description
5.9.1 Syntax
AT+CMSS=?
5.9.2 Description
Execution command sends message with location value <index> from
preferred message storage <mem2> to the network (SMS-SUBMIT or
SMS-COMMAND). If new recipient address <da> is given for SMS-SUBMIT,
it shall be used instead of the one stored with the message. Reference value
<mr> is returned to the TE on successful message delivery. Optionally (when
+CSMS <service> value is 1 and network supports) <scts> is returned.
Values can be used to identify message upon unsolicited delivery status report
result code. If sending fails in a network or an ME error, final result code +CMS
ERROR: <err> is returned. This command should be abortable.
See also 5.8 Message Service Failure Result Code: +CMS ERROR on page 174
for <err> values.
5.10.1 Syntax
+CMTI:<mem>,<index>
5.11.1 Syntax
5.11.2 Description
Caution: Only parameter <n> is currently supported.
5.12.1 Syntax
5.12.2 Description
Set command selects the procedure, how receiving of new messages from the
network is indicated to the TE when TE is active, e.g. DTR signal is ON. If TE
is inactive (e.g. DTR signal is OFF), message receiving should be done as
specified in 3GPP TS 23.038 [2].
Note: When DTR signal is not available or the state of the signal is
ignored (V.25ter command &D0), reliable message transfer can be
assured by using +CNMA acknowledgement procedure.
mode
The buffering mechanism may as well be located in the ME; the setting
affects only to unsolicited result codes specified within this command):
Value Description
0 Buffer unsolicited result codes in the TA. If TA result code buffer is full,
indications can be buffered in some other place or the oldest indications may
be discarded and replaced with the new received indications.
1 Discard indication and reject new received message unsolicited result codes
when TA-TE link is reserved (e.g. in on-line data mode). Otherwise forward
them directly to the TE.
2 Buffer unsolicited result codes in the TA when TA-TE link is reserved (e.g. in
on-line data mode) and flush them to the TE after reservation. Otherwise
forward them directly to the TE.
3 Forward unsolicited result codes directly to the TE. TA-TE link specific inband
technique used to embed result codes and data when TA is in on-line data
mode.
mt
The rules for storing received SMs depend on its data coding scheme (refer
3GPP TS 23.038 [2]), preferred memory storage (+CPMS) setting and this
value; refer table 1
Table 5-7: mt
Value Description
5.13.1 Syntax
AT+CPMS=<mem1>[, +CPMS:<used1>,<total1>,<used2>,<total2>,<used3>,<total3>
<mem2>[,<mem3>]] +CMS ERROR:<err>
AT+CPMS? +CPMS:<mem1>,<used1>,<total1>,<mem2>,<used2>,<total2>,<mem3>,<used3>,<total3
>
+CMS ERROR:<err>
5.13.2 Description
Set command selects memory storages <mem1>, <mem2> and <mem3> to be
used for reading, writing, etc. If chosen storage is not appropriate for the ME
(but is supported by the TA), final result code +CMS ERROR: <err> shall be
returned.
Test command returns lists of memory storages supported by the TA.
See also 5.8 Message Service Failure Result Code: +CMS ERROR on page 174
for <err> values.
5.14.1 Syntax
5.14.2 Description
Execution command restores message service settings from non-volatile
memory to active memory. A TA can contain several profiles of settings.
Settings specified in commands Service Centre Address +CSCA, Set Message
Parameters +CSMP and Select Cell Broadcast Message Types +CSCB (if
implemented) are restored. Certain settings may not be supported by the
storage (e.g. (U)SIM SMS parameters) and therefore can not be restored.
See also 5.8 Message Service Failure Result Code: +CMS ERROR on page 174
for <err> values.
5.15.1 Syntax
5.15.2 Description
Execution command saves active message service settings to a non-volatile
memory. A TA can contain several profiles of settings. Settings specified in
commands Service Centre Address +CSCA, Set Message Parameters +CSMP
and Select Cell Broadcast Message Types +CSCB (if implemented) are saved.
Certain settings may not be supported by the storage (e.g. (U)SIM SMS
parameters) and therefore can not be saved.
See also 5.8 Message Service Failure Result Code: +CMS ERROR on page 174
for <err> values.
Test command shall display the supported profile numbers for reading and
writing of settings.
5.16.1 Syntax
AT+CSCA=<sca>[, <tosca>]
AT+CSCA? +CSCA:<sca>,<tosca>
AT+CSCA=?
5.16.2 Description
Set command updates the SMSC address, through which mobile originated
SMs are transmitted. In text mode, setting is used by send and write
commands. In PDU mode, setting is used by the same commands, but only
when the length of the SMSC address coded into <pdu> parameter equals
zero.
5.17.1 Syntax
AT+CSDH[=<show>]
AT+CSDH? +CSDH:<show>
5.17.2 Description
Set command controls whether detailed header information is shown in text
mode result codes.
Test command returns supported values as a compound value.
Value Description
0 do not show header values defined in commands +CSCA and +CSMP (<sca>,
<tosca>, <fo>, <vp>, <pid> and <dcs>) nor <length>, <toda> or <tooa> in +CMT,
+CMGL, +CMGR result codes for SMSDELIVERs and SMS-SUBMITs in text
mode; for SMS-COMMANDs in +CMGR result code, do not show <pid>, <mn>,
<da>, <toda>, <length> or <cdata>.
5.18.1 Syntax
AT+CSMP=[<fo>[,<vp>[,<pid
>[,<dcs>]]]]
AT+CSMP=?
5.18.2 Description
Set command is used to select values for additional parameters needed when
SM is sent to the network or placed in a storage when text format message
mode is selected. It is possible to set the validity period starting from when the
SM is received by the SMSC (<vp> is in range 0... 255) or define the absolute
time of the validity period termination (<vp> is a string). The format of <vp>
is given by <fo>. If TA supports the EVPF, see 3GPP TS 23.040 [3], it shall be
given as a hexadecimal coded string (refer e.g. <pdu>) with double quotes.
5.19.1 Syntax
AT+CSMS? +CSMS:<service>,<mt>,<mo>,<bm>
5.19.2 Description
Set command selects messaging service <service>. It returns the types of
messages supported by the ME: <mt> for mobile terminated messages, <mo>
for mobile originated messages and <bm> for broadcast type messages. If
chosen service is not supported by the ME (but is supported by the TA), final
result code +CMS ERROR: <err> shall be returned.
See also 5.8 Message Service Failure Result Code: +CMS ERROR on page 174
for <err> values.
Also read command returns supported message types along the current
service setting.
Test command returns a list of all services supported by the TA.
service
Integer.
Value Description
1 3GPP TS 23.040 [3] and 3GPP TS 23.041 [4]the requirement of <service> setting
1 is mentioned under corresponding command descriptions)
2...127 reserved
mt, mo, bm
Integer.
Value Description
1 type supported
6.1.1 Syntax
AT+CRSM=?
6.1.2 Description
By using this command instead of Generic SIM Access +CSIM TE application
has easier but more limited access to the SIM database. Set command
transmits to the MT the SIM <command> and its required parameters. If a SIM
installed in the currently selected card slot, the MT handles internally all SIM
MT interface locking and file selection routines. As response to the command,
MT sends the actual SIM information parameters and response data. MT error
result code +CME ERROR may be returned when the command cannot be
passed to the SIM, but failure in the execution of the command in the SIM is
reported in <sw1> and <sw2> parameters. Refer to Section 4.8 Mobile
Termination Error Result Code: +CME ERROR on page 137 for details on
<err>.
Coordination of command requests to SIM and the ones issued by
GSM/UMTS application inside the MT is implementation dependent.
Value Description
242 STATUS
pathid
String. Path of an elementary file on the SIM/UICC in hexadecimal format
as defined in ETSI TS 102 221 [60] (e.g. "7F205F70" in SIM and UICC case).
The <pathid> shall only be used in the mode "select by path from MF" as
defined in ETSI TS 102 221 [60].
NOTE 3:Since valid elementary file identifiers may not be unique over all
valid dedicated file identifiers the <pathid> indicates the targeted
UICC/SIM directory path in case of ambiguous file identifiers. For earlier
versions of this specification or if <pathid> is omitted, it could be imple-
mentation specific which one will be selected.
sw1, sw2
Integer. Information from the SIM about the execution of the actual
command. These parameters are delivered to the TE in both cases, on
successful or failed execution of the command
response
Hexadecimal. Response of a successful completion of the command previ-
ously issued. See also Section 2.18 Select TE Character Set: +CSCS on page
69. STATUS and GET RESPONSE return data, which gives information
about the current elementary datafield. This information includes the type
of file and its size (refer 3GPP TS 51.011 [28]). After READ BINARY, READ
RECORD or RETRIEVE DATA command the requested data will be
returned. <response> is not returned after a successful UPDATE BINARY,
UPDATE RECORD or SET DATA command.
6.2.1 Syntax
AT+CSIM=?
6.2.2 Description
The “Set” command transmits to the MT the <command> it then shall send as
it is to the SIM. In the same manner the SIM <response> shall be sent back
by the MT to the TA as it is. See also 4.8 Mobile Termination Error Result
Code: +CME ERROR on page 137 for <err> values.
This command allows a direct control of the SIM by an distant application on
the TE. The TE shall then take care of processing SIM information within the
frame specified by GSM/UMTS.
6.3.1 Syntax
6.3.2 Description
Execution command +CUSATA retrieves the current UICC state or downloads
a profile to the UICC and/or activates handling of the TE profile facilities.
A positive result upon a +CUSATA=1 or +CUSATA=3 command (also) enables
TE profile facility handling via unsolicited result codes
+CUSATP: <proactive_command>
+CFUN to get back to an initial non-active UICC state. The +CUSATD command
can be used to set profile handling upon the next restart.
All USAT proactive commands that the MT does not process itself and all
terminal responses from the TE are transparently forwarded by the MT. The
routing mechanism for USAT commands supported by both entities is
specified in 3GPP TS 31.111 [92].
Test command returns values supported as a compound value.
Refer to Section 4.8 Mobile Termination Error Result Code: +CME ERROR on
page 137 for details on <err>.
Value Description
1 Enable TE profile facility handling only, no profile download. This action can
only be used if the combined TE and MT profile was downloaded during
start-up (setting +CUSATD=1).
UICC_state
Integer type. Parameter reports that the UICC entered a new state during
start-up or that the UICC ended startup and entered active state.
Value Description
1 UICC start-up halted and ready for profile download. This state is reached if
+CUSATD=2 was issued before restart. UICC start-up will continue upon
+CUSATA=2 or +CUSATA=3.
Value Description
4 UICC active.
additional_profile_support
Integer type. Indicates whether the UICC supports the "Additional
TERMINAL PROFILE after UICC activation" feature (see 3GPP TS 31.111
[92]). The value may not be available during early phases of start-up.
Value Description
0 No support.
1 Supported.
proactive_command
String type in hexadecimal character format. Proactive command as
defined in 3GPP TS 31.111 [92], consisting of the full BER-TLV data object.
6.4.1 Syntax
AT+CUSATD? +CUSATD:<download>,<reporting>
6.4.2 Description
This command determines if, and optionally which profile should be
downloaded to the UICC automatically upon startup. If, prior to a
restart/start-up, the +CUSATD settings have not been altered, then the default
settings determine the behaviour upon start-up. However, if the parameters of
+CUSATD has been set to other than default and then a restart is performed
(e.g. by +CFUN), these values determine the behaviour. This is true for one
restart only after altering +CUSATD parameters as they are always reset to
default at the end of the next UICC start-up (i.e. when the USIM initialisation
as specified in 3GPP TS 31.102 [98] has been completed).
The command without parameters resets the parameters to their default
values.
The command can only be used if the UICC is already in active state
(<UICC_state> 4, e.g. upon +CUSATA) or in download completed state
(<UICC_state> 2) and the UICC does not support the "Additional
TERMINAL PROFILE after UICC activation" feature (see 3GPP TS 31.111
[92]). In all other cases the command responds with +CME ERROR: 14 (SIM
busy).
+CUSATD=<download>,1 also enables the unsolicited result code +CUSATS:
<UICC_state>. The MT uses this unsolicited result code to indicate that a
profile download is performed (setting +CUSATD=0,1 or +CUSATD=1,1) or
that it is ready for profile download (setting +CUSATD=2,1). In both cases, the
MT also indicates the end of UICC start-up by the unsolicited result code
+CUSATS: 4. If the UICC is awaiting PIN verification during start-up, this is
also reported.
When using +CUSATD=1, the +CUSATA=1 command has to be used to enable
TE profile facility handling after restart. In the time between profile download
and issuance of +CUSATA=1, the UICC may already attempt to issue proactive
commands. The MT will not send these to the TE, but rather give the UICC the
response "terminal currently unable to process command" autonomously. The
UICC may implement only a limited number of retries, which can potentially
leave USAT in an unwanted state if the +CUSATA=1 command arrives late.
Value Description
5 Halt next UICC start-up when ready for profile download. Profile to download
will be selected and download will be triggered by +CUSATA.
reporting
Integer type. Parameter enables unsolicited result code
+CUSATS: <UICC_state> to notify the TE about a new state during
start-up.
Value Description
UICC_state
Integer type. Parameter reports that the UICC entered a new state during
start-up or that the UICC ended startup and entered active state.
Value Description
1 UICC start-up halted and ready for profile download. This state is reached if
+CUSATD=2 was issued before restart. UICC start-up will continue upon
+CUSATA=2 or +CUSATA=3.
4 UICC active.
6.5.1 Syntax
AT+CUSATT=?
6.5.2 Description
Execution command sends a USAT terminal response to the MT as an answer
to a preceding USAT proactive command sent from the UICC with unsolicited
result code +CUSATP: <proactive_command> (see +CUSATA command
description).
Refer to Section 4.8 Mobile Termination Error Result Code: +CME ERROR on
page 137 for details on <err>.
Value Description
2 UICC responded with USAT is busy even after one or more retries by the MT.
sw1
Integer type. Status word information from the envelope response
returned by the UICC as defined in ETSI TS 102 221 [60], subclause 10.2.
The parameter can be delivered to the TE both in the case of successful and
failed execution of the envelope command.
sw2
Integer type. For description, see <sw1>.
6.6.1 Syntax
AT+CUSATR [+CUSATR:
[=<profile_storage>] <profile_storage>,<profile>][<CR><LF>+CUSATR:<profile_storage>,<profile>[...]]
+CME ERROR: <err>
OK
6.6.2 Description
Execution command +CUSATR=<profile_storage> returns the profile
specified by <profile_storage>.
Execution command issued without parameter +CUSATR returns all profiles.
Test command returns values supported as a compound value.
Refer to Section 4.8 Mobile Termination Error Result Code: +CME ERROR on
page 137 for details on <err>.
Value Description
2 MT default profile that reflects the inherent, default supported facilities of the
MT.
3 UICC profile that reflects the currently active UICC profile that was sent to the
UICC in the last TERMINAL?PROFILE command.
4 UICC EFUST. The elementary file that indicates services available in the USIM.
5 List of MT only facilities (facilities that are not allowed to be assigned to the TE,
see 3GPP TS 31.111 [92]).
profile
string type in hexadecimal character format. The profile describing the
supported facilities of the referenced <profile_storage> as specified
for the Terminal Profile in 3GPP TS 31.111 [92] or for the related EF in 3GPP
TS 31.102 [59].S
6.7.1 Syntax
AT+CUSATE=?
6.7.2 Description
Execution command allows the TE to send a USAT envelope command to the
MT. If the UICC provides response data to the command or indicates that
USAT is busy, the information response
+CUSATE: <envelope_response>[,<busy>] is returned. A second line
of information response +CUSATE2: <sw1>,<sw2> may be provided if the
MT presents the status words provided by the UICC.
Refer to Section 4.8 Mobile Termination Error Result Code: +CME ERROR on
page 137 for details on <err>.
6.8.1 Syntax
6.8.2 Description
Execution command +CUSATR=<profile_storage> returns the profile
specified by <profile_storage>.
Execution command issued without parameter +CUSATR returns all profiles.
Test command returns values supported as a compound value.
Refer to Section 4.8 Mobile Termination Error Result Code: +CME ERROR on
page 137 for details on <err>.
Value Description
0 TE. Refers profile storage for the facilities supported by the TE. Default value is
a blank profile with all bits set to zero. This value is applicable both in the
execution command and in the information response.
1 MT. Refers profile storage for the facilities to be supported by MT, which can be
a subset of the default MT facilities. The TE can choose to register a subset of
the MT default profile, typically omitting facilities also?supported by the TE
profile. Default value is the MT default profile. This value is applicable both in
the?execution command and in the information response.
5 Refers to a conflict between the TE profile and the list of MT only facilities. This
value is not applicable in?the execution command.
profile
String type in hexadecimal character format. The profile describing the
supported USAT facilities of the referenced <profile_storage> as specified
for the Terminal Profile in 3GPP TS 31.111 [92].
conflict_profile
String type in hexadecimal character format. A bitwise AND of two
profiles, showing the conflicts, that is, USAT facilities supported by both
profiles. See description of Terminal Profile in 3GPP TS 31.111 [92].
7.1.1 Syntax
7.1.2 Description
This command configures the parameters of SMS.
Value Description
mo-char-set
String. Force the text encoding of MO SMS.
Value Description
"7BIT-ASCII"
"7BIT-GSM"
"7BIT-IA5"
"8BIT-LATIN"
"16BIT-UCS2"
mo-ack-req
Integer. Send TP-SRR(3GPP) or BearerReplyOption(3GPP2).
Value Description
0 do not request
1 do request
7.1.4 Examples
AT+SQNSMSCFG=?
+SQNSMSCFG:
("3GPP","3GPP2","TEXT"),("AUTO","7BIT_ASCII","7BIT_GSM","7BIT_IA5","8B
IT_LATIN","16BIT_UCS2"),(0,1)
OK
AT+SQNSMSCFG="3GPP"
+SQNSMSCFG: "3GPP","AUTO",0
OK
AT+SQNSMSCFG=,"7BIT_IA5",1
+SQNSMSCFG: "3GPP","7BIT_IA5",1
OK
AT+SQNSMSCFG?
+SQNSMSCFG: "3GPP","7BIT_IA5",1
OK
7.2.1 Syntax
AT+SQNSMSCOUNT=[=<mem>[,<stat +SQNSMSCOUNT:<count>,<mem>,<stat>
>]] OK
7.2.2 Description
Execution command returns the number of SMS of status <stat> stored in
given <mem>.
If <mem> is omitted, then current mem1 is used. If <stat> is omitted, then
results is returned for all possible <stat>.
The command has no impact on the status of messages (UNREAD or READ).
Value Description
stat
String type, indicates the status of message in memory
Value Description
count
Integer type. Number of SMS in storage <mem> with status <stat>.
7.2.4 Example
•
AT+SQNSMSCOUNT="ME","REC READ"
+SQNSMSCOUNT: 1,ME,REC READ
OK
•
AT+SQNSMSCOUNT
+SQNSMSCOUNT: 0,ME,REC UNREAD
+SQNSMSCOUNT: 1,ME,REC READ
+SQNSMSCOUNT: 0,ME,STO UNSENT
+SQNSMSCOUNT: 1,ME,STO SENT
+SQNSMSCOUNT: 2,ME,ALL
OK
7.3.1 Syntax
7.3.2 Description
This command deletes the message <index> from the message storage. If the
message is segmented, all its segments are deleted.
7.3.3 Example
The first command deletes the SMS of index 0. The second command on the
same index returns an error.
AT+SQNSMSDELETE=0
OK
AT+SQNSMSDELETE=0
+CMS ERROR: 321
7.4.1 Syntax
7.4.2 Description
This command returns the indexes of all stored messages. For segmented
messages, it returns only one index (of one of its segment).
7.4.3 Example
In the following example, 7 SMS fragments (#0 to #6) are in memory, and the
last 3 belong to the same SMS (fragments #4, #5 and #6).
AT+SQNSMSLIST
+SQNSMSLIST: 0,1,2,3,4
OK
7.5.1 Syntax
AT+SQNSMSMLSEND=<to>[,<save> +SQNSMSMLSEND:ID,<internalId>
[,<priority> [,<cbkNumber>]]]<CR>Text is +SQNSMSMLSEND: STORED,<mem>,<storageId>
entered <CTRL+Z/ESC>
7.5.2 Description
Execution command (optionaly stores, and) sends message from a TE to the
network.
Message reference value <mr> is returned to the TE via URC on successful
message delivery. Command behaves as AT+SQNSMSSEND except that text is
entered at separate lines after prompt <CR><LF><greater_than><space>
(IRA 13, 10, 62, 32).
Final result OK or ERROR is returned immediately, not waiting for Network
response.
Command has auto-segmentation feature. If necessary, the entered text is split
to chunks and sent in several concatenated SMS.
The sending can be cancelled by entering <ESC> character (IRA 27). The
<ctrl-Z> (IRA 26) must be used to indicate the ending of the message body.
save
Integer type
Value Description
priority
Integer type, 3GPP2 only
Value Description
0 NORMAL
1 INTERACTIVE
2 URGENT
3 EMERGENCY
cbkNumber
String type, 3GPP2 only, number to call back.
internalId
Integer type, internal identifier used to bind intermediate response with
subsequent URC.
7.5.5 Example
• Send message:
AT+SQNSMSMLSEND="+11325476980"
> This the first line.
> This is the last line.
+SQNSMSMLSEND: ID,4
OK
+SQNSMSMLSENDRES: SENT OK,4,44
+SQNSMSMLSENDRES: ACK OK,4
7.6.1 Syntax
7.6.2 Description
This command reads the message <index> from the message storage location.
If the message is segmented, then it performs an automatic reconstruction of
the full message from available segments in the storage.
Value Description
0 Normal
1 Interactive
2 Urgent
3 Emergency
7.6.4 Example
AT+SQNSMSREAD=2
+SQNSMSREAD: "REC READ","SEND UNSET","5714550728",
"12/12/04,03:48:20+00", "14/09/17,18:16:21+00",2, "222222222"
Test msg to check Priority and Call-Back
OK
7.7.1 Syntax
AT+SQNSMSSEND=<to>, OK
<text>[, <save>[, <priority>[,
<cbk number>]]]
7.7.2 Description
Execution command (optionaly store and) sends message from a TE to the
network.
Message reference value <mr> is returned to the TE via +SQNSMSSENDRES
URC on successful message delivery.
Final result OK or ERROR return immediately not waiting for Network
response.
Command has auto-segmentation feature - if necessary, entered text is split to
chunks and sent in several concatenated SMS.
Value Description
priority
Integer.
Value Description
0 Normal
1 Interactive
2 Urgent
3 Emergency
cbk number
String. Callback number.
7.7.4 Examples
• Send message
AT+SQNSMSSEND="123456789","This is the SMS content"
8.1.1 Syntax
AT+CCLK= <time>
+CME ERROR: <err>
AT+CCLK=?
8.1.2 Description
Set command sets the real time clock of the MT. If setting fails in an MT error,
+CME ERROR: <err> is returned. See Section 4.8 Mobile Termination Error
Result Code: +CME ERROR on page 137.
Read command returns the current setting of the clock.
8.2.1 Syntax
8.2.2 Description
This command allows changing PIN with aid.
8.2.4 Example
AT+SCPWD="SC", 1234,5678,A0000000871004010203040506070809
OK
8.3.1 Syntax
+SMDTH=[crnti][,txPsd,txMode] +SMDTH:temperature
+SMT ERROR: err
+SMDTH=?
8.3.2 Description
The command provides thermistor measurement block which gives an
absolute value of the temperature.
temperature
Measured temperature in degrees Celsius. -1 error code otherwise.
err
Error list:
• NA: Temperature service is not available for this RFIC chip.
• ONGOING: Measurement is on-going.
8.4.1 Syntax
AT+SQNSSHDN=? OK
8.4.2 Description
Set command causes device detach from the network and shutdown. Before
definitive shutdown an OK response is returned. After the issuing of this
command, any previous activity is terminated and the device will not respond
to any further command.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
8.5.1 Syntax
8.5.2 Description
This command performs an hardware reset.
8.6.1 Syntax
Note: This command is implemented according to the definitions in
Device Requirements LTE AT Commands For Test Automation from
Verizon Wireless™.
8.6.2 Description
Execution command returns the RSRP values for all cells which the UE is
measuring. The device shall be capable of returning the RSRP values of up to 8
cells. The device shall support this command in both RRC_IDLE and
RRC_CONNECTED modes.
If command fails, +CME ERROR: <err> is returned.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
8.7.1 Syntax
Note: This command is implemented according to the definitions in
Device Requirements LTE AT Commands For Test Automation from
Verizon Wireless™.
8.7.2 Description
Execution command returns the RSRQ values for all cells which the UE is
measuring. The device shall be capable of returning the RSRQ values of up to
8 cells. The device shall support this command in both RRC_IDLE and
RRC_CONNECTED modes.
If command fails, +CME ERROR: <err> is returned.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
9.1.1 Syntax
AT+SQNAUTOCONNECT OK
=<autoconnect>[,forceautocon
nect]
AT+SQNAUTOCONNECT +SQNAUTOCONNECT:<autoconnect>
? OK
9.1.2 Description
The set command changes the autoconnect mode of the device. When
enabled, the device will automatically set the UE to its maximal functionality
(equivalent to AT+CFUN=1) after each reboot. This setting is persistent across
reboot.
The read command returns the current autoconnect mode.
The test command returns the possible autoconnect values.
Value Description
0 Autoconnect is disabled.
1 Autoconnect is enabled.
forceautoconnect
String. Force autoconnect Mode.
Value Description
1 ForceAutoconnect is enabled.
9.1.4 Example
Enable autoconnect:
AT+SQNAUTOCONNECT=1
OK
9.2.1 Syntax
AT+SQNAUTOINTERNET=? +SQNAUTOINTERNET:(0,1)
OK
9.2.2 Description
The set command changes the autointernet mode of the device. When
enabled, the device will automatically try to connect internet PDN
provisioned into /etc/config/sqnmm after each attach to the network.
This setting is persistent across reboot.
The read command returns the current autointernet mode.
The test command returns the possible autointernet values.
Value Description
0 Autointernet is disabled
1 Autointernet is enabled
9.3.1 Syntax
AT+SQNCCID? +SQNCCID:<iccid>[,<euiccid>]
OK
+CME ERROR:<err>
9.3.2 Description
The execution command reads the ICCID (card identification number) on the
SIM card.
The test command returns OK result code.
9.4.1 Syntax
AT+SQNCTM=<ctm> OK
AT+SQNCTM? +SQNCTM:<ctm>
OK
9.4.2 Description
The set command changes the conformance test mode of the device.
Note: The values not listed in Table 9-4 are reserved for Sequans use and
should not be used.
Value Description
9.4.4 Example
Change the conformance test mode to “3gpp-conformance” to run PS tests:
AT+SQNCTM="3gpp-conformance"
OK
AT^RESET
9.5.1 Syntax
9.5.2 Description
This command reads the HPLMN.
9.5.4 Example
AT+SQNHPLMN?
+SQNHPLMN: "00101","TEST","Aeroflex"
OK
9.6.1 Syntax
AT+SQNSTKAPNE= OK
<apnname>, <iptype>,
<enabled>
9.6.2 Description
The set command changes the STK APN configuration. If the UICC STK
application does not provide the APN in the open channel, this configuration
will be used instead.
This setting is not persistent across reboot.
The read command returns the current configuration.
The test command returns the possible values.
Value Description
ip IPv4 only
enabled
Integer. Status.
Value Description
0 APN is disabled
1 APN is enabled
9.6.4 Example
Set STK APN:
AT+SQNSTKAPNE="stktest","ipv4v6",1
OK
10.1.1 Syntax
10.1.2 Description
Execution command accepts an incoming socket connection after an
unsolicited result code +SQNSRING: <connId>. Note that this +SQNSRING
URC is the consequence of the creation of a socket listen (+SQNSL).
Setting the command before having received a +SQNSRING URC will result in
an ERROR indication, with information that a connection request has not yet
been received.
Use +SQNSH command to reject the connection.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Test command returns the range of supported values for all the
subparameters.
Value Description
1 Command mode
10.1.4 Example
• General syntax:
at+sqnsa=?
+SQNSA: (1-6)[,(0-1)]
OK
at+sqnsa=1
CONNECT
at+sqnsa=2,1
OK
• Send some text to socket. Note the final <Ctrl+Z> before <CR>.
AT+SQNSSEND=1
> Some text <Ctrl+Z>
OK
• Shutdown connection.
AT+SQNSH=1
OK
10.2.1 Syntax
AT+SQNSCFG=<connId>,<c OK
id>,<pktSz>,<maxTo>,<connTo ERROR
>,<txTo> +CME ERROR:<err>
AT+SQNSCFG=? +SQNSCFG:(1-6),(0-6),(0-1500),(0-65535),(0,10-1200),(0-255)
OK
10.2.2 Description
This command sets the socket configuration parameters.
Value Description
Value Description
maxTo
Integer in range [0-65535]. Exchange timeout. if there is no data exchange
within this timeout period, then the connection is closed.
Value Description
0 No timeout.
connTo
Integer in range [0,10-1200]. Connection timeout. If a connection to the
remote can’t be established within this timeout period, then an error is
raised.
Value Description
0 No timeout.
txTo
Integer in range [0-255]. Data sending timeout. Data is sent even if less than
max packet size, after this period. Used for online data mode only.
Value Description
0 No timeout.
10.2.4 Example
at+sqnscfg=?
+SQNSCFG: (1-6),(0-5),(0-1500),(0-65535),(0,10-1200),(0-255)
OK
at+sqnscfg?
+SQNSCFG: 1,1,300,90,600,50
+SQNSCFG: 2,1,300,90,600,50
+SQNSCFG: 3,1,300,90,600,50
+SQNSCFG: 4,1,300,90,600,50
+SQNSCFG: 5,1,300,90,600,50
+SQNSCFG: 6,1,300,90,600,50
OK
at+sqnscfg=1,3,0,90,600,50
OK
10.3.1 Syntax
AT+SQNSCFGEXT=<connI OK
d>,<srMode>, ERROR
<recvDataMode>, <keepalive>, +CME ERROR:<err>
[<listenAutoRsp>],
[<sendDataMode>[,<unused_
A> [,<unused_B>]]]]
AT+SQNSCFGEXT=? +SQNSCFGEXT:(1-6),(0-2),(0-1),(0-240)[,(0-1)[,(0-1)[,(0)[,(
0)]]]]
OK
10.3.2 Description
This command sets the socket configuration extended parameters.
Value Description
recvDataMode
Integer in range [0-1]. “Received data view mode” presentation format.
Value Description
keepalive
Integer type [0-240]. Currently unused.
listenAutoRsp
Integer in range [0-1]. “Listen auto-response mode”, that affects AT+SQNSL
command.
Value Description
sendDataMode
Integer in range [0-1]. “Sent data view mode” presentation format.
Value Description
10.3.4 Example
at+sqnscfgext=?
+SQNSCFGEXT: (1-6),(0-2),(0-1),(0-240),(0-1),(0-1),(0),(0)
OK
at+sqnscfgext?
+SQNSCFGEXT: 1,0,0,0,0,0,0,0
+SQNSCFGEXT: 2,0,0,0,0,0,0,0
+SQNSCFGEXT: 3,0,0,0,0,0,0,0
+SQNSCFGEXT: 4,0,0,0,0,0,0,0
+SQNSCFGEXT: 5,0,0,0,0,0,0,0
+SQNSCFGEXT: 6,0,0,0,0,0,0,0
OK
at+sqnscfgext=1,0,0,0
OK
10.4.1 Syntax
AT+SQNSD=? +SQNSD:
(1-6),(0-1),(0-65535),<IPaddr>[,(0,255)[,(0-65535)[,(0-1)]]
]
OK
10.4.2 Description
This commands opens a remote connection via socket.
Notes:
1. If <connMode> is set to online mode connection and the command is
successful, then we enter the 'online data mode' and we see the intermediate
result code CONNECT. After the CONNECT, we can suspend the direct inter-
face to the socket connection (the socket remains open) using the escape
sequence (+++). The module moves back to 'command mode' and we receive
the final result code OK after the suspension. After such a suspension, it is
possible to resume at any moment (unless the socket inactivity timer time-
outs, see Socket Configuration: +SQNSCFG) by using the Socket Restore:
+SQNSO command with the corresponding <connId>.
2. If we set <connMode> to command mode connection and the command is
successful, the socket is opened and we remain in 'command mode' and we
see the result code OK.
3. If some data comes in through a connected socket and is not read because
the module entered 'command mode' before reading it (after an escape
sequence or after +SQNSD has been issued with <connMode> set to
'command mode' connection), this data is buffered and we receive the
SQNSRING URC (SQNSRING presentation format depends on the last
+SQNSCFGEXT setting). It is possible to read this data later with
+SQNSRECV. Under the same hypothesis, it is possible to send data while
in 'command mode' by issuing +SQNSSEND.
Value Description
0 TCP
1 UDP
rPort
Integer type [0-65535]. Remote host port to contact.
IPaddr
String type. Address of the remote host.
Any valid IP address in the format “xxx.xxx.xxx.xxx” or any host
name solved with a DNS query.
closureType
Integer type. Socket closure behaviour for TCP, has no effect for UDP
connections.
Value Description
lPort
Integer type in range [0-65535]. UDP connection local port, has no effect for
TCP connections.
connMode
Integer type [0-1]. Connection mode.
Value Description
10.4.4 Example
at+sqnsd=?
+SQNSD: (1-6),(0-1),(0-65535),,(0,255),(0-65535),(0-1)
OK
at+sqnsd=1,0,7,"10.10.10.4",0,0,0
CONNECT
at+sqnsd=1,0,80,"www.example.com",0,0,1
OK
10.5.1 Syntax
AT+SQNSH=<connId> OK
ERROR
+CME ERROR:<err>
(Unsollicited response)
+SQNSH:<connId>
10.5.2 Description
This command closes a socket connection.
10.5.4 Example
at+sqnsh=?
+SQNSH: (1-6)
OK
at+sqnsh=1
OK
10.6.1 Syntax
AT+SQNSI=<connId> +SQNSI:<connId>,<sent>,<received>,<buff_in>,<ack_waiting>
OK
ERROR
NO CARRIER
+CME ERROR<err>
AT+SQNSI +SQNSI:<connId1>,<sent1>,<received1>,<buff_in1>,<ack_waiting1><CR><LF>
…
+SQNSI:<connId6>,<sent6>,<received6>,<buff_in6>,<ack_waiting6>
OK
AT+SQNSI=? +SQNSI:(1-6)
10.6.2 Description
Execution command is used to get information about socket data traffic.
Test command reports the range for parameter <connId>.
Note: Data not yet acknowledged is available only for TCP connec-
tions. The value <ack_waiting> is always 0 for UDP
connections.
10.6.4 Examples
• Read Command
AT+SQNSI=?
+SQNSI: (1-6)
OK
• Read Command
AT+SQNSI
+SQNSI: 1,32,75,8,0
+SQNSI: 2,0,0,0,0
+SQNSI: 3,0,0,0,0
+SQNSI: 4,0,0,0,0
+SQNSI: 5,0,0,0,0
+SQNSI: 6,0,0,0,0
OK
• Set connection 1
AT+SQNSI=1
+SQNSI: 1,0,0,0,0
OK
10.7.1 Syntax
AT+SQNSL=<connId>,<liste OK
nState>,<listenPort>[,<linger ERROR
T>] +CME ERROR:<err>
AT+SQNSL? +SQNSL:<connId1><CR><LF>
...
[+SQNSL:<connIdN>]
10.7.2 Description
This command opens/closes a socket listening for an incoming TCP
connection on a specified port.
If successful, commands returns a final result code OK. Then, when there is an
incoming connection on the local port, unsolicited result code +SQNSRING:
<connId> is received.
Afterwards user can use Socket Accept: +SQNSA to accept the connection or
Socket Shutdown: +SQNSH to reject that incoming connection.
<listenPort> is optional when closing the socket.
If the ListenAutoRsp flag from +SQNSCFGEXT command has been set, then,
when a TCP connection request comes on the input port, the connection is
automatically accepted: the CONNECT indication is given and the modem goes
into 'online data mode'.
If the socket is closed by the network, then the following URC is received:
+SQNSH: <connId>.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Read command returns all the actual listening TCP sockets.
Test command returns the range of supported values for all the
subparameters.
Value Description
listenPort
Local listening TCP port, Integer [0-65535].
lingerT
Closure type, optional, integer [0,255].
Value Description
255 Socket is closed after an escape sequence (+++) or after remote closure
10.7.4 Example
at+sqnsl=?
+SQNSL: (1-6),(0-1),(0-65535)[,(0,255)]
OK
at+sqnsl?
OK
at+sqnsl=1,1,99
OK
at+sqnsl=2,1,555
OK
at+sqnsl?
+SQNSL: 1
+SQNSL: 2
OK
10.8.1 Syntax
AT+SQNSLUDP=<connId>, OK
<listenState>[,<listenPort>] ERROR
+CME ERROR:<err>
AT+SQNSLUDP? +SQNSLUDP:<connId1>
...
+SQNSLUDP:<connIdN>
OK
10.8.2 Description
This command opens/closes a socket listening for an incoming UDP
connection on a specified port.
If successful, commands returns a final result code OK. Then, when there is an
incoming connection on the local port, unsolicited result code +SQNSRING:
<connId> is received.
Afterwards user can use +SQNSA to accept the connection or +SQNSH to refuse
it. <listenPort> is optional when closing the socket.
If the socket is closed by the network the following unsolicited result code is
received +SQNSLUDP: ABORTED.
Read command returns all the actual listening sockets.
Test command returns values supported as a compound value.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Value Description
listenPort
Listening UDP port, Integer [0-65535].
10.8.4 Example
at+sqnsludp=?
+SQNSLUDP: (1-6),(0-1),(0-65535)
OK
at+sqnsludp?
OK
at+sqnsludp=1,1,456
OK
at+sqnsludp?
+SQNSLUDP: 1
OK
10.9.1 Syntax
10.9.2 Description
This command resumes the socket connection which has been suspended by
the escape sequence.
Note: After the CONNECT, you can suspend the socket connection (the
socket remaining open) using the escape sequence (+++). The
device re-enters 'command mode' and you will receive the final
result code OK after the suspension.
10.9.4 Example
at+sqnso=?
+SQNSO: (1-6)
OK
at+sqnso=1
CONNECT
10.10.1 Syntax
AT+SQNSRECV=<connId>, +SQNSSRECV:<connId>,<maxByte><CR><LF>
<maxByte> <data>
OK
ERROR
+CME ERROR:<err>
10.10.2 Description
This command reads data arrived through a connected socket, buffered and
not yet read because the module entered ‘command mode’ before reading them.
The module is notified of these data by a SQNSRING URC, whose presentation
format depends on the last +SQNSCFGEXT setting.
10.10.4 Example
at+sqnsrecv=?
+SQNSRECV: (1-6),(1-1500)
OK
at+sqnsrecv=1,5
+SQNSRECV: 1,5
hello+OK
10.11.1 Syntax
Unsollicited Response(s)
10.11.2 Description
Unsolicited response that can be received while being in 'command mode'
only. It can notify of data arrival, more or less detailed (see syntax), and of an
incoming TCP connection if a listening socket has been started before with
+SQNSL command.
Note:
• After data arrival notification, received bytes are flushed only
by explicit read through +SQNSRECV command.
• Internal buffering is limited and +SQNSRING notification will
stop until host starts reading data through +SQNSRECV
command. URC will be sent again if enough data has been
read and if there are still new data arrival to notify.
10.11.4 Example
at+sqnscfgext=1,0, 0,0,0,0,0,0
OK
(...)
+SQNSRING: 1
+SQNSRING : 1
+SQNSRING: 1
+SQNSRING: 1
+SQNSRING: 1
at+sqnscfgext=2,1,0,0,0,0,0,0
OK
(...)
+SQNSR I NG: 2,1500
10.12.1 Syntax
AT+SQNSS +SQNSS:<connId1>,<state1>,<locIP1>,<locPort1>,<remIP1>,<remPort1><CR><LF>
...
+SQNSS:<connId6>,<state6>,<locIP6>,<locPort6>,<remIP6>,<remPort6><CR><LF>
OK
AT+SQNSS? +SQNSS:<connId1>,<state1>,<locIP1>,<locPort1>,<remIP1>,<remPort1><CR><LF>
...
+SQNSS:<connId6>,<state6>,<locIP6>,<locPort6>,<remIP6>,<remPort6><CR><LF>
OK
AT+SQNSS=? OK
10.12.2 Description
This command reports the current status of the sockets.
Value Description
0 Socket Closed.
2 Socket suspended.
4 Socket listening.
5 Socket with an incoming connection. Waiting for the user accept or shutdown
command.
6 Socket in opening process. The socket is not in Closed state but still not in
Active or Suspended or Suspended with pending data state.
locIP
IP address associated by the context activation to the socket.
locPort
One of the following:
• The listening port if the socket is in listen mode.
• The local port for the connection if the socket is connected to a remote
machine.
remIP
Remote IP address when the device is connected to a remote machine.
remPort
Connected port on the remote machine.
10.12.4 Example
at+sqnss
+SQNSS: 1,2,192.168.6.8,36419,65.52.116.180,80
+SQNSS: 2,4,0.0.0.0,888,,0
+SQNSS: 3,0
+SQNSS: 4,5,192.168.9.2,999,10.10.10.6,45133
+SQNSS: 5,3,192.168.6.2,57037,10.10.10.4,7
+SQNSS: 6,0
at+sqnss?
+SQNSS: 1,0
+SQNSS: 2,0
+SQNSS: 3,0
+SQNSS: 4,0
+SQNSS: 5,0
+SQNSS: 6,0
OK
at+sqnss=?
OK
10.13.1 Syntax
AT+SQNSSEND=? +SQNSSEND:(1-6)
OK
10.13.2 Description
This command, while the module is in command mode, sends data through a
connected socket.
To complete the operation, send Ctrl-Z char (0x1A in hexadecimal). To exit
without sending the message, send ESC char (0x1B in hexadecimal).
If data is successfully sent, then the response is OK. If data sending fails for
some reason, then an error code is reported.
Notes:
1. The maximum number of bytes to send is 1500.
2. It is possible to use +SQNSSEND only if the connection was opened by
+SQNSD, else the UE will raise an error.
3. A byte corresponding to BS character (0x08) is processed with its corre-
sponding meaning (back space). Therefore, the previous byte will be
cancelled and the BS character itself will not be sent.
10.13.4 Example
at+sqnssend=?
+SQNSSEND: (1-6)
OK
at+sqnssend=1
>hello
OK
10.14.1 Syntax
10.14.2 Description
This command allows, while the module is in command mode, to send data
through a connected socket including all possible octets (from 0x00 to 0xFF).
The device responds to the command with the prompt ‘>’ (<greater_than>
sign and <space> character) and waits for the data to send.
When <bytestosend> bytes have been sent, then the operation is
automatically completed.
If data is successfully sent, then the response is OK. If data sending fails for
some reason, then an error code is reported.
Notes:
1. The maximum number of bytes to send is 1500.
2. It is possible to use +SQNSSENDEXT only if the connection was opened by
+SQNSD, else the UE will raise an error.
3. All special characters are sent like generic bytes. A byte corresponding to
BS character (0x08) is sent through the socket and doesn’t behave like a
back space. Therefore, the previous byte will not be deleted.
10.14.4 Example
at+sqnssendext=?
+SQNSSENDEXT: (1-6),(1-1500)
OK
at+sqnssendext=1,11
>hello again
11.1.1 Syntax
AT+SQNHTTPCFG? +SQNHTTPCFG:
<prof_id1>,<server_address1>,<server_port1>,<auth_type1>,<username1>,
<password1>,<ssl_enabled1>,<timeout1>,<cid1>
...
+SQNHTTPCFG:
<prof_idN>,<server_addressN>,<server_portN>,<auth_typeN>,<username
N>,<passwordN>,<ssl_enabledN>,<timeoutN>,<cidN>
OK
AT+SQNHTTPCFG=? +SQNHTTPCFG:<prof_id>,<s_length>,<server_port>,<auth_type>,<u_leng
th>,<p_length>,<ssl_enabled>,<timeout>,<cid>
OK
11.1.2 Description
This command sets the parameters needed to the HTTP connection.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Read command returns the current settings for each defined profile.
Test command returns the range of supported values/lengths for all the
subparameters.
Value Description
0 (Default) No authentication
1 Basic authentication
username
String. Authentication user identification string for HTTP. This parameter
is empty by default.
password
String. Authentication password for HTTP. This parameter is empty by
default.
ssl_enabled
Integer in range [0-1]. Indicates if the SSL encryption is enabled.
Value Description
timeout
Integer in range [1-120]. Time interval in seconds to wait for receiving data
from HTTP server. Default: 120.
cid
Integer in range [1-8]. PDN Context Identifier. Default: 3.
s_length
Integer. Maximum length of of parameter <server_address>.
u_length
Integer. Maximum length of of parameter <username>.
p_length
Integer. Maximum length of of parameter <password>.
11.2.1 Syntax
AT+SQNHTTPQRY=? +SQNHTTPQRY:<prof_id>,<command>,<r_length>,<m_length>
OK
11.2.2 Description
This command performs HTTP GET, HEAD or DELETE request to server.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Test command returns the range of supported values/lengths for all the
subparameters.
When an answer from HTTP server is received, the +SQNHTTPRING URC is
shown.
Value Description
0 GET
1 HEAD
2 DELETE
resource
String. HTTP resource (uri), object of the request.
extra_header_line
String. Optional HTTP header line.
content_type
String. “Content-Type” header line, as received from the server (see RFC
2616)
data_size
Integer. Amount of data (in byte) received from the server.
If the server doesn’t report the "Content-Length:" header line, the param-
eter value is 0.
Note: Note: if there are no data from server or the server doesn’t
answer within the time interval specified in <timeout>
parameter of +SQNHTTPCFGcommand, then the URC
+SQNHTTPRING <http_status_code> parameter has
value 0.
http_status_code
Integer. Status code, as received from the server (see RFC 2616).
r_length
This value is used only in test command AT+SQNHTTPQRY=?.
Maximum length of of parameter <resource>, integer.
m_length
This value is used only in test command AT+SQNHTTPQRY=?.
Maximum length of of parameter <extra_header_line>, integer.
11.3.1 Syntax
AT+SQNHTTPRCV=? +SQNHTTPRCV:<prof_id>,<max_bytes>
OK
11.3.2 Description
This command is used to read the body of HTTP response. It can be used after
receiving of HTTP Response URC: +SQNHTTPRING
Set command permits the user to read data from HTTP server in response to a
previous HTTP module request. The module is notified of these data by the
+SQNHTTPRING URC. The device shall prompt a three character sequence
<<< (<less_than><less_than><less_than> (IRA 60, 60, 60)) followed by the data. If
reading ends successfully, the response is OK; otherwise an error code is
reported.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Test command returns values supported as a compound value.
http_status_code
Integer. Status code, as received from the server (see RFC 2616).
11.3.4 Examples
• Setting www.w3.org as remote server.
AT+SQNHTTPCFG=1,"www.w3.org"
OK
• +SQNHTTPRING URC is shown. Status code is 200 (OK), content type has
an extension and content-length is 5223 bytes.
+SQNHTTPRING: 1,200,"text/html; charset=iso-8859-1",5223
OK
11.4.1 Syntax
+SQNHTTPRING:<prof_id>,<http_status_code>,<content_type>,<data_siz
e>
11.4.2 Description
This URC is shown when an answer from HTTP server is received.
11.5.1 Syntax
AT+SQNHTTPSND=? +SQNHTTPSND:<prof_id>,<command>,<r_length>,<data_len>,<p_length>
,<m_length>
OK
11.5.2 Description
Set command performs a POST or PUT request to HTTP server and starts
sending data to the server. The device shall prompt a three character sequence
>>> (<greater_than><greater_than><greater_than> (IRA 62, 62, 62)) after
command line is terminated with <CR>; after that the data can be entered
from TE, sized <data_len> bytes. When the HTTP server answer is received,
then the following URC (when supported) is put on the serial port:
+SQNHTTPRING: <prof_id>,<http_status_code>,<content_type>
,<data_size>.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Test command returns values supported as a compound value.
Value Description
0 POST
1 PUT
resource
String. HTTP resource (uri), object of the request
data_len
Integer. Length of input data in bytes.
post_param
String. HTTP Content-Type identifier.
Used only for POST command, optionally followed by colon character (:)
and a string that extends with sub-types the identifier. Other content–free
string corresponding to other content type and possible sub-types.
Value Description
extra_header_line
String. Optional HTTP header line.
content_type
String. “Content-Type” header line, as received from the server (see RFC
2616)
data_size
Integer. Amount of data (in byte) received from the server.
If the server doesn’t report the "Content-Length:" header line, the param-
eter value is 0.
Note: Note: if there are no data from server or the server doesn’t
answer within the time interval specified in <timeout>
parameter of +SQNHTTPCFGcommand, then the URC
+SQNHTTPRING <http_status_code> parameter has
value 0.
r_length
Integer, Maximum length of of parameter <resource>.
p_length
Integer. Maximum length of of parameter <post_param>.
m_length
Integer. Maximum length of of parameter <extra_header_line>.
11.5.4 Example
• Post 100 byte without “Content-type” header
AT+SQNHTTPSND=0,0,”/”,100
>>>
12.1.1 Syntax
AT+SQNSNVR? OK
12.1.2 Description
Note: The commands +SQNSNVR and +SQNSNVW allow reading and
writing data (Certificate, etc.) from/to the non-volatile (NV)
memory or from/to the Flash File System. Data stores in
Non-Volatile Memory will be persistent against device reboot
and software upgrade.
This command allows to read data (Certificate, etc.) stored in the non-volatile
(NV) memory or the Flash File System.
Read command usage and syntax vary depending on the type of stored data.
AT+SQNSNVR="certificate"[,<index>]
If <index> is not provided, then all available certificates are displayed, one per
line.
12.1.4 Example
• Read certificate @ index 5
AT+SQNSNVR="certificate",5
+SQNSNVR:
"certificate",5,<issuer>,<serial-number>,<subject>,<valid-from>,<
valid-to>,<signature-algorithm>,<signature>,<thumbprint-algorithm
>,<thumbprint>
OK
12.2.1 Syntax
AT+SQNSNVW=<type>,...AT+SQNSN OK
VW="certificate",<index>,<size><CR><L
F><data>
AT+SQNSNVW? OK
12.2.2 Description
Note: The commands +SQNSNVR and +SQNSNVW allow reading and
writing data (Certificate, etc.) from/to the non-volatile (NV)
memory or from/to the Flash File System. Data stores in
Non-Volatile Memory will be persistent against device reboot
and software upgrade.
12.2.4 Example
• Certificate upload @ index 5:
AT+SQNSNVW="certificate",5,1346
-----BEGIN CERTIFICATE-----
MIIDXTCCAkWgAwIBAgIJAJC1HiIAZAiIMA0GCSqGSIb3DfBAYTAkFVMRMwEQYDVQQ
IDApTb21lLVN0YXRlMSEwHwYDVx[…]C3Fayua4DRHyZOLmlvQ6tIChY0ClXXuefbm
VSDeUHwc8YuB7xxt8BVc69rLeHV15A0qyx77CLSj3tCx2IUXVqRs5mlSbvA==
-----END CERTIFICATE-----
OK
13.1.1 Syntax
AT+SQNOMABATTST=<status> OK
13.1.2 Description
This command writes baterry status to LWM2M client. These value is
accessible via LWM2M Device object (3) with corresponding id (20). Stored
data will be persistent against device reboot.
Value Description
13.2.1 Syntax
AT+SQNOMAHDEV OK
13.2.2 Description
This command reads and writes Host Device Identifivation values such as
UID, Device model, Firmware version.
These values are accessible via LWM2M objects Host Device (10255) and
Portfolio (16). Stored data will be persistent against device reboot.
Value Description
0 UID
1 Manufacturer
2 Model
3 FW Version
value
String. Arbitrary identification string.
13.2.4 Example
1. Review default values after the first boot
$ AT+SQNOMAHDEV?
+SQNOMAHDEV: 0, 0, HUID0
+SQNOMAHDEV: 0, 1, HMAN0
+SQNOMAHDEV: 0, 2, HMOD0
+SQNOMAHDEV: 0, 3, HFW0
+SQNOMAHDEV: 1, 0, HUID1
+SQNOMAHDEV: 1, 1, HMAN1
+SQNOMAHDEV: 1, 2, HMOD1
+SQNOMAHDEV: 1, 3, HFW1
OK
2. Modify default values
$ AT+SQNOMAHDEV=0,2,"Some module #1"
OK
$ AT+SQNOMAHDEV=1,3,"Some firmware #2"
OK
$ AT+SQNOMAHDEV?
+SQNOMAHDEV: 0, 0, HUID0
+SQNOMAHDEV: 0, 1, HMAN0
+SQNOMAHDEV: 0, 2, Some module #1
+SQNOMAHDEV: 0, 3, HFW0
+SQNOMAHDEV: 1, 0, HUID1
+SQNOMAHDEV: 1, 1, HMAN1
+SQNOMAHDEV: 1, 2, HMOD1
+SQNOMAHDEV: 1, 3, Some firmware #2
OK
3. Values seen by Verizon (Host Device Object) LWM2M nodes
$ AT+SQNOMAGET="/10255"
+SQNOMAGET: /10255/0/0 LWM2M_TYPE_STRING: HMAN0
+SQNOMAGET: /10255/0/1 LWM2M_TYPE_STRING: Some module
#1
+SQNOMAGET: /10255/0/2 LWM2M_TYPE_STRING: HUID0
OK
$ AT+SQNOMAGET="/10255/1"
+SQNOMAGET: /10255/1/0 LWM2M_TYPE_STRING: HMAN1
+SQNOMAGET: /10255/1/1 LWM2M_TYPE_STRING: HMOD1
+SQNOMAGET: /10255/1/2 LWM2M_TYPE_STRING: HUID1
OK
4. Values seen by AT&T (Portfolio Object) LWM2M nodes
$ AT+SQNOMAGET="/16"
+SQNOMAGET: /16/0/0 LWM2M_TYPE_STRING: HUID0
+SQNOMAGET: /16/0/1 LWM2M_TYPE_STRING: HMAN0
+SQNOMAGET: /16/0/2 LWM2M_TYPE_STRING: Some module #1
+SQNOMAGET: /16/0/3 LWM2M_TYPE_STRING: HFW0
OK
$ AT+SQNOMAGET="/16/1"
+SQNOMAGET: /16/1/0 LWM2M_TYPE_STRING: HUID1
+SQNOMAGET: /16/1/1 LWM2M_TYPE_STRING: HMAN1
+SQNOMAGET: /16/1/2 LWM2M_TYPE_STRING: HMOD1
+SQNOMAGET: /16/1/3 LWM2M_TYPE_STRING: Some firmware #2
OK
14.1.1 Syntax
AT+SQNSFACTORYRESE OK
T=?
14.1.2 Description
Set command causes device to reset to factory state. A device reboot is
necessary to finalize the reset to factory state.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
14.2.1 Syntax
AT+SQNSUPGRADE? SQNSUPGRADE:<upgrade_state>[,...]
14.2.2 Description
The write command used to trigger device upgrade with a firmware located
either in the device filesystem or fetched from anexternal server.
The parameters <reboot>, <report_progress> and <command> are
optional. A device reboot is necessary to finalize the system upgrade. Any
kind of reboot is acceptable (AT^RESET, AT+SQNSSHDN, hardware reset).
<reboot> parameter controls automatic reboot after download firmware has
been validated and installed. Upgrade can be launched in foreground or
background as specified by <command> value. User can cancel upgrade by
sending cancel <command> any time before device reboot. An unsolicited
result code +SQNSUPGRADE: "installed" is generated as soon as
firmware download is complete and verified, stating device is ready for
reboot. <report_progress> controls presentation of unsolicited result code
+SQNSUPGRADE: "downloading".
The write command is also used in case of manual network initiated firmware
upgrade, to control firmware upgrade operation timings: the user calls this
command to trigger the firmware upgrade and/or to cancel the operation.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
The read command returns the status of result code presentation
corresponding to the current state of upgrade process.
Test command returns values supported as a compound value.
Value Description
0 No reboot after the firmware is installed. The user must reboot explicitly the
device to take into account the new firmware
report_progress
Integer
Value Description
command
integer
Value Description
Value Description
2 Cancel upgrade.
Cancel upgrade if any or do nothing, then returns OK. In case of Network
Initiated firmware upgrade, then the network will be notified with upgrade
cancel error code.
upgrade_state
String
Value Description
"installed" The upgraded is installed and will be effective after the next reboot
“rebooting” This notification is sent just before the device reboot that finalizes the system
upgrade.
percent_downloaded
Integer. Percentage of image downloaded. Range is 0..100.
14.2.4 Example
AT+SQNSUPGRADE?
+SQNSUPGRADE: "idle"
OK
The following error codes may be returned through +CME ERROR. They are
also listed in
Code Description
14.3.1 Syntax
AT+SQNSUPGRADECFG SQNSUPGRADECFG:<mode>,<report>,<report_progress>
?
14.3.2 Description
The write command is used to configure the device behavior in case of
network-initiated firmware upgrade configuration. This is typically the case
for OTADM FOTA. The level of interaction with the user or the external host is
configured by the <mode> parameter. Two modes are defined: automatic
(default) and manual. The manual mode is currently not available.
In automatic mode, the network-initiated firmware upgrade operates in
background of the regular module operation. After the completion of the new
firmware download, the module will automatically apply the new firmware
and then reboot.
After the reboot, the module will send a status to the upgrade server, with
respect to the Over-The-Air firmware upgrade protocol. The user is notified of
the upgrade progress (firmware downloading, firmware installed, upgrade
canceled, rebooting) by +SQNSUPGRADE unsolicited result codes, as defined
by the notification level configuration (<report> and
<report_progress>) parameters.
See also 4.8 Mobile Termination Error Result Code: +CME ERROR on page 137
for <err> values.
Value Description
report
Integer
Value Description
report_progress
Integer
Value Description
Acronym Description
RF Radio Frequency
Rx Receiver
SoC System-on-Chip
TE Terminating Equipment
Tx Transmitter
UE User Equipment