SIM7000 Series - AT Command Manual - V1.06
SIM7000 Series - AT Command Manual - V1.06
SIM7000 Series - AT Command Manual - V1.06
AT Command Manual
LPWA Module
GENERAL NOTES
COPYRIGHT
www.simcom.com 2 / 281
SIM7000 Series_AT Command Manual_V1.06
Version History
www.simcom.com 3 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 4 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 5 / 281
SIM7000 Series_AT Command Manual_V1.06
Contents
Version History..................................................................................................................................... 3
Contents................................................................................................................................................. 6
1 Introduction.................................................................................................................................. 15
1.1 Scope of the document........................................................................................................................15
1.2 Related documents...............................................................................................................................15
1.3 Conventions and abbreviations.......................................................................................................... 15
1.4 AT Command syntax............................................................................................................................ 15
1.4.1 Basic syntax...................................................................................................................................16
1.4.2 S Parameter syntax......................................................................................................................16
1.4.3 Extended Syntax...........................................................................................................................16
1.4.4 Combining AT commands on the same Command line........................................................ 17
1.4.5 Entering successive AT commands on separate lines........................................................... 17
1.5 Supported character sets.................................................................................................................... 17
1.6 Flow control............................................................................................................................................18
1.6.1 Software flow control (XON/XOFF flow control)......................................................................18
1.6.2 Hardware flow control (RTS/CTS flow control)........................................................................18
1.7 Definitions...............................................................................................................................................19
1.7.1 Parameter Saving Mode..............................................................................................................19
1.7.2 Max Response Time.....................................................................................................................19
www.simcom.com 6 / 281
SIM7000 Series_AT Command Manual_V1.06
2.2.17 ATS8 Set Number of Seconds to Wait for Comma Dial Modifier Encountered in Dial
String of D Command...................................................................................................................................29
2.2.18 ATS10 Set Disconnect Delay after Indicating the Absence of Data Carrier.................... 30
2.2.19 ATV TA Response Format........................................................................................................ 30
2.2.20 ATX Set CONNECT Result Code Format and Monitor Call Progress..............................31
2.2.21 AT&C Set DCD Function Mode............................................................................................... 32
2.2.22 AT&D Set DTR Function Mode................................................................................................32
2.2.23 AT&E Set CONNECT Result Code Format About Speed.................................................. 33
2.2.24 AT+GCAP Request Complete TA Capabilities List.............................................................. 33
2.2.25 AT+GMI Request Manufacturer Identification.......................................................................34
2.2.26 AT+GMM Request TA Model Identification............................................................................34
2.2.27 AT+GMR Request TA Revision Identification of Software Release.................................. 35
2.2.28 AT+GOI Request Global Object Identification...................................................................... 35
2.2.29 AT+GSN Request TA Serial Number Identification (IMEI)..................................................36
2.2.30 AT+ICF Set TE-TA Control Character Framing.................................................................... 36
2.2.31 AT+IFC Set TE-TA Local Data Flow Control......................................................................... 37
2.2.32 AT+IPR Set TE-TA Fixed Local Rate......................................................................................38
www.simcom.com 7 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 8 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 9 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 10 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 11 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 12 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 13 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 14 / 281
SIM7000 Series_AT Command Manual_V1.06
1 Introduction
This document presents the AT Command Set for SIMCom SIM7000 Series, including SIM7000A, SIM700C,
SIM7000E, SIM7000C-N, SIM7000E-N, SIM7000JC and SIM7000G.
You can visit the SIMCom Website using the following link:
http://www.simcom.com
In application, controlling device controls the GSM engine by sending AT Command via its serial interface.
The controlling device at the other end of the serial line is referred to as following term:
TE (Terminal Equipment);
DTE (Data Terminal Equipment) or plainly "the application" which is running on an embedded system;
The "AT" or "at" or "aT" or "At" prefix must be set at the beginning of each Command line. To terminate a
www.simcom.com 15 / 281
SIM7000 Series_AT Command Manual_V1.06
The AT Command set implemented by SIM7080 Series is a combination of 3GPP TS 27.005, 3GPP TS
27.007 and ITU-T recommendation V.25ter and the AT commands developed by SIMCom.
NOTE
Only enter AT Command through serial port after SIM7080 Series is powered on and Unsolicited Result
Code "RDY" is received from serial port. If auto-bauding is enabled, the Unsolicited Result Codes
"RDY" and so on are not indicated when you start up the ME, and the "AT" prefix, or "at" prefix must be
set at the beginning of each command line.
All these AT commands can be split into three categories syntactically: "basic", "S parameter", and
"extended". These are as follows:
These AT commands have the format of "AT<x><n>", or "AT&<x><n>", where "<x>"is the Command, and
"<n>"is/are the argument(s) for that Command. An example of this is "ATE<n>", which tells the DCE
whether received characters should be echoed back to the DTE according to the value of "<n>". "<n>" is
optional and a default will be used if missing.
These AT commands have the format of "ATS<n>=<m>", where "<n>" is the index of the S register to set,
and "<m>" is the value to assign to it. "<m>" is optional; if it is missing, then a default value is assigned.
www.simcom.com 16 / 281
SIM7000 Series_AT Command Manual_V1.06
Write Command
This command sets the user-definable parameter values.
AT+<x>=<…>
Execution Command The execution command reads non-variable parameters affected
AT+<x> by internal processes in the GSM engine.
You can enter several AT commands on the same line. In this case, you do not need to type the "AT" or "at"
prefix before every command. Instead, you only need type "AT" or "at" the beginning of the command line.
Please note to use a semicolon as the command delimiter after an extended command; in basic syntax or S
parameter syntax, the semicolon need not enter, for example:
ATE1Q0S0=1S3=13V1X4;+IFC=0,0;+IPR=115200.
The Command line buffer can accept a maximum of 559 characters (counted from the first command
without "AT" or "at" prefix) or 39 AT commands. If the characters entered exceeded this number then none
of the Command will executed and TA will return "ERROR".
When you need to enter a series of AT commands on separate lines, please Note that you need to wait the
final response (for example OK, CME error, CMS error) of last AT Command you entered before you enter
the next AT Command.
The SIM7080 Series AT Command interface defaults to the IRA character set. The SIM7080 Series
supports the following character sets:
GSM format
UCS2
IRA
The character set can be set and interrogated using the "AT+CSCS" Command (3GPP TS 27.007). The
character set is defined in GSM specification 3GPP TS 27.005.
The character set affects transmission and reception of SMS and SMS Cell Broadcast messages, the entry
and display of phone book entries text field and SIM Application Toolkit alpha strings.
www.simcom.com 17 / 281
SIM7000 Series_AT Command Manual_V1.06
Flow control is very important for correct communication between the GSM engine and DTE. For in the
case such as a data or fax call, the sending device is transferring data faster than the receiving side is ready
to accept. When the receiving buffer reaches its capacity, the receiving device should be capable to cause
the sending device to pause until it catches up.
There are basically two approaches to achieve data flow control: software flow control and hardware flow
control. SIM7080 Series support both two kinds of flow control.
In Multiplex mode, it is recommended to use the hardware flow control.
Software flow control sends different characters to stop (XOFF, decimal 19) and resume (XON, decimal 17)
data flow. It is quite useful in some applications that only use three wires on the serial interface.
The default flow control approach of SIM7080 Series is hardware flow control (RTS/CTS flow control), to
enable software flow control in the DTE interface and within GSM engine, type the following AT Command:
AT+IFC=1,1
Ensure that any communications software package (e.g. Hyper terminal) uses software flow control.
NOTE
Software Flow control should not be used for data calls where binary data will be transmitted or
received (e.g. TCP/IP) as the DTE interface may interpret binary data as flow control characters.
Hardware flow control achieves the data flow control by controlling the RTS/CTS line. When the data
transfer should be suspended, the CTS line is set inactive until the transfer from the receiving buffer has
completed. When the receiving buffer is ok to receive more data, CTS goes active once again.
To achieve hardware flow control, ensure that the RTS/CTS lines are present on your application platform.
www.simcom.com 18 / 281
SIM7000 Series_AT Command Manual_V1.06
1.7 Definitions
For the purposes of the present document, the following syntactical definitions apply:
NO_SAVE: The parameter of the current AT command will be lost if module is rebooted or current AT
command doesn't have parameter.
AUTO_SAVE: The parameter of the current AT command will be kept in NVRAM automatically and
take in effect immediately, and it won't be lost if module is rebooted.
AUTO_SAVE_REBOOT: The parameter of the current AT command will be kept in NVRAM
automatically and take in effect after reboot, and it won't be lost if module is rebooted.
-: "-" means this AT command doesn't care the parameter saving mode.
Max response time is estimated maximum time to get response, the unit is seconds.
"-" means this AT command doesn't care the response time.
www.simcom.com 19 / 281
SIM7000 Series_AT Command Manual_V1.06
2 AT Commands According to
V.25TER
These AT Commands are designed according to the ITU-T (International Telecommunication Union,
Telecommunication sector) V.25ter document.
Command Description
A/ Re-issues the last command given
ATD Mobile originated call to dial a number
ATE Set command echo mode
ATH Disconnect existing connection
ATI Display product identification information
ATL Set monitor speaker loudness
ATM Set monitor speaker mode
+++ Switch from data mode or ppp online mode to command mode
ATO Switch from command mode to data mode
ATQ Set result code presentation mode
ATS0 Set number of rings before automatically answering the call
ATS3 Set command line termination character
ATS4 Set response formatting character
ATS5 Set command line editing character
ATS6 Pause before blind dialing
ATS7 Set number of seconds to wait for connection completion
Set number of seconds to wait for comma dial modifier encountered in dial
ATS8
string of D command
ATS10 Set disconnect delay after indicating the absence of data carrier
ATV TA response format
ATX Set connect result code format and monitor call progress
ATZ Reset default configuration
AT&C Set DCD function mode
AT&D Set DTR function mode
AT&F Factory defined configuration
AT&V Display current configuration
AT&E Set CONNECT Result Code Format About Speed
www.simcom.com 20 / 281
SIM7000 Series_AT Command Manual_V1.06
Reference Note
V.25ter
www.simcom.com 21 / 281
SIM7000 Series_AT Command Manual_V1.06
Emergency call:
<n> Standardized emergency number 112 (no SIM needed)
<mgsm> String of GSM modifiers:
I Actives CLIR (Disables presentation of own number to
called party)
i Deactivates CLIR (Enable presentation of own number
to called party)
G Activates Closed User Group invocation for this call only
g Deactivates Closed User Group invocation for this call
only
Parameter Saving Mode NO_SAVE
Max Response Time Timeout set with ATS7 (data call)
Note
Reference
V.25ter
www.simcom.com 22 / 281
SIM7000 Series_AT Command Manual_V1.06
Execution Command
Example:
ATI
SIM7000 R1351
OK
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
V.25ter
www.simcom.com 23 / 281
SIM7000 Series_AT Command Manual_V1.06
2.2.8 +++ Switch from Data Mode or PPP Online Mode to Command Mode
+++ Switch from Data Mode or PPP Online Mode to Command Mode
Response
The +++ character sequence causes the TA to cancel the data flow over the
AT interface and switch to Command mode. This allows you to enter AT
Command while maintaining the data connection to the remote server.
OK
Execution Command
+++ To prevent the +++ escape sequence from being misinterpreted as data, it
should comply to following sequence:
No characters entered for T1 time (1 second)
"+++" characters entered with no characters in between (1 second)
No characters entered for T1 timer (1 second)
Switch to Command mode, otherwise go to step 1.
www.simcom.com 24 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 25 / 281
SIM7000 Series_AT Command Manual_V1.06
2.2.11 ATS0 Set Number of Rings before Automatically Answering the Call
www.simcom.com 26 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
Parameters
See Write Command
Response
This parameter setting determines the character recognized by TA to
terminate an incoming command line. The TA also returns this character in
output.
Write Command
OK
ATS3=<n>
or
ERROR
Parameters
<n> 13 Command line termination character
Parameter Saving Mode -
Max Response Time -
Reference Note
V.25ter Default 13 = CR. It only supports default value.
www.simcom.com 27 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 28 / 281
SIM7000 Series_AT Command Manual_V1.06
2.2.17 ATS8 Set Number of Seconds to Wait for Comma Dial Modifier Encountered in
Dial String of D Command
ATS8 Set Number of Seconds to Wait for Comma Dial Modifier Encountered in Dial
String of D Command
Response
<n>
Read Command
ATS8? OK
Parameters
See Write Command
Response
Write Command OK
ATS8=<n> or
ERROR
www.simcom.com 29 / 281
SIM7000 Series_AT Command Manual_V1.06
Parameters
<n> 0-2-255 The value of this register determines how long the
modem should pause when it sees a comma in the dialing string.
Parameter Saving Mode -
Max Response Time -
Reference Note
V.25ter No effect in GSM
2.2.18 ATS10 Set Disconnect Delay after Indicating the Absence of Data Carrier
ATS10 Set Disconnect Delay after Indicating the Absence of Data Carrier
Response
<n>
Read Command
ATS10? OK
Parameters
See Write Command
Response
This parameter setting determines the amount of time that the TA will
remain connected in absence of data carrier. If the data carrier is once more
detected before disconnecting, the TA remains connected.
Write Command
OK
ATS10=<n>
or
ERROR
Parameters
<n> 1-14-255 Number of tenths seconds of delay
Parameter Saving Mode -
Max Response Time -
Reference Note
V.25ter
www.simcom.com 30 / 281
SIM7000 Series_AT Command Manual_V1.06
When <value>=1
OK
Parameters
<value>
0 Information response: <text><CR><LF>
Short result code format: <numeric code><CR>
1 Information response: <CR><LF><text><CR><LF>
Long result code format: <CR><LF><verbose code><CR><LF>
The result codes, their numeric equivalents and brief descriptions of the use
of each are listed in the following table.
Parameter Saving Mode -
Max Response Time -
Reference Note
V.25ter
2.2.20 ATX Set CONNECT Result Code Format and Monitor Call Progress
ATX Set CONNECT Result Code Format and Monitor Call Progress
Response
Execution Command This parameter setting determines whether or not the TA detected the
ATX<value> presence of dial tone and busy signal and whether or not TA transmits
particular result codes.
www.simcom.com 31 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
ERROR
Parameters
<value> 0 CONNECT result code only returned, dial tone and busy
detection are both disabled.
1 CONNECT<text> result code only returned, dial tone and
busy detection are both disabled.
2 CONNECT<text> result code returned, dial tone detection
is enabled, busy detection is disabled.
3 CONNECT<text> result code returned, dial tone detection
is disabled, busy detection is enabled.
4 CONNECT<text> result code returned, dial tone and busy
detection are both enabled.
Parameter Saving Mode -
Max Response Time -
Reference Note
V.25ter
www.simcom.com 32 / 281
SIM7000 Series_AT Command Manual_V1.06
Response
This parameter determines how the TA responds when circuit 108/2 (DTR)
is changed from the ON to the OFF condition during data mode.
OK
or
Execution Command ERROR
AT&D[<value>] Parameters
<value> 0 TA ignores status on DTR.
1 ON->OFF on DTR: Change to Command mode with
remaining the connected call.
2 ON->OFF on DTR: Disconnect call, change to Command
mode. During state DTR = OFF is auto-answer off.
Parameter Saving Mode -
Max Response Time -
Reference Note
V.25ter
www.simcom.com 33 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
Parameters
<name> +CGSM GSM function is supported
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
V.25ter
TA reports one or more lines of information text which permit the user to
identify the manufacturer.
Execution Command
SIMCOM_Ltd
AT+GMI
OK
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
V.25ter
TA reports one or more lines of information text which permit the user to
identify the specific model of device.
Execution Command
<model>
AT+GMM
OK
www.simcom.com 34 / 281
SIM7000 Series_AT Command Manual_V1.06
Parameters
<model> Product model identification text
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
V.25ter
www.simcom.com 35 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 36 / 281
SIM7000 Series_AT Command Manual_V1.06
Response
This parameter setting determines the serial interface character framing
format and parity received by TA from TE.
OK
Parameters
Write Command <format> 1 8 data 0 parity 2 stop
AT+ICF=<format>[,<pa 2 8 data 1 parity 1 stop
rity>] 3 8 data 0 parity 1 stop
4 7 data 0 parity 2 stop
5 7 data 1 parity 1 stop
6 7 data 0 parity 1 stop
<parity> 0 odd
1 even
3 space (0)
Parameter Saving Mode -
Max Response Time -
Note
The Command is applied for Command state;
Reference
In <format> parameter, "0 parity" means no parity;
V.25ter
The <parity> field is ignored if the <format> field specifies no parity and
string "+ICF: <format>,255" will be response to "AT+ICF?" Command.
www.simcom.com 37 / 281
SIM7000 Series_AT Command Manual_V1.06
Parameters
<dce_by_dte> Specifies the method will be used by TE at receive of
data from TA
0 No flow control
1 Software flow control
2 Hardware flow control
<dte_by_dce> Specifies the method will be used by TA at receive of data
from TE
0 No flow control
1 Software flow control
2 Hardware flow control
www.simcom.com 38 / 281
SIM7000 Series_AT Command Manual_V1.06
600
1200
2400
4800
9600
19200
38400
57600
115200
230400
921600
2000000
2900000
3000000
3200000
3686400
4000000
Parameter Saving Mode AUTO_SAVE
Max Response Time -
Reference
Note
V.25ter
www.simcom.com 39 / 281
SIM7000 Series_AT Command Manual_V1.06
Command Description
AT+CGMI Request manufacturer identification
AT+CGMM Request model identification
AT+CGMR Request TA revision identification of software release
AT+CGSN Request product serial number identification (identical with +GSN)
AT+CSCS Select TE character set
AT+CIMI Request international mobile subscriber identity
AT+CLCK Facility lock
AT+CMEE Report mobile equipment error
AT+COPS Operator selection
AT+CPAS Phone activity status
AT+CPIN Enter PIN
AT+CPWD Change password
AT+CRC Set cellular result codes for incoming call indication
AT+CREG Network registration
AT+CRSM Restricted SIM access
AT+CSQ Signal quality report
AT+CPOL Preferred operator list
AT+COPN Read operator names
AT+CFUN Set phone functionality
AT+CCLK Clock
AT+CSIM Generic SIM access
AT+CBC Battery charge
AT+CUSD Unstructured supplementary service data
AT+CNUM Subscriber Number
www.simcom.com 40 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 41 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 42 / 281
SIM7000 Series_AT Command Manual_V1.06
AT+CSCS=?
OK
Parameters
<chset> "GSM" GSM 7 bit default alphabet (3GPP TS 23.038);
"UCS2" 16-bit universal multiple-octet coded character set
(ISO/IEC10646); 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
"IRA" International reference alphabet (ITU-T T.50)
Response
+CSCS: <chset>
Read Command
AT+CSCS? OK
Parameters
See Test Command
Response
Sets which character set <chset> are used by the TE. The TA can then
convert character strings correctly between the TE and ME character sets.
Write Command OK
AT+CSCS=<chset> If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Test Command
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.007 [13]
Execution Command
OK
AT+CIMI
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<IMSI> International Mobile Subscriber Identity (string without double
www.simcom.com 43 / 281
SIM7000 Series_AT Command Manual_V1.06
quotes)
Parameter Saving Mode NO_SAVE
Max Response Time 20s
Reference
Note
3GPP TS 27.007 [13]
www.simcom.com 44 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 45 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
Parameters
See Write Command
Response
TA disables or enables the use of result code +CME ERROR: <err> as an
indication of an error relating to the functionality of the ME.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Write Command
Parameters
AT+CMEE=[<n>]
<n> 0 Disable +CME ERROR: <err> result code and use ERROR
instead.
1 Enable +CME ERROR: <err> result code and use numeric
<err>
2 Enable +CME ERROR: <err> result code and use verbose
<err> values
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.007 [13]
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
Read Command
TA returns the current mode and the currently selected operator. If no
www.simcom.com 46 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
TA forces an attempt to select and register the GSM network operator. If the
selected operator is not available, no other operator shall be selected
(except <mode>=4). The selected operator name format shall apply to
further read commands (AT+COPS?).
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<stat> 0 Unknown
1 Operator available
2 Operator current
3 Operator forbidden
<oper> Refer to [27.007]
operator in format as per <format>
Write Command
<mode> 0 Automatic mode; <oper> field is ignored
AT+COPS=<mode>,[<f
1 Manual (<oper> field shall be present, and <AcT> optionally)
ormat>[,<oper>]]
2 manual deregister from network
3 set only <format> (for read Command +COPS?) - not
shown in Read Command response
4 Manual/automatic (<oper> field shall be present); if
manual selection fails, automatic mode (<mode>=0) is
entered
<format> 0 Long format alphanumeric <oper>
1 Short format alphanumeric <oper>
2 Numeric <oper>; GSM Location Area Identification
number
<netact> 0 User-specified GSM access technology
1 GSM compact
3 GSM EGPRS
7 User-specified LTE M1 A GB access technology
9 User-specified LTE NB S1 access technology
Parameter Saving Mode AUTO_SAVE
Test command: 45 seconds
Max Response Time
Write command: 120 seconds
Reference Note
3GPP TS 27.007 [14]
www.simcom.com 47 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
If error is related to ME functionality:
Execution Command +CME ERROR: <err>
AT+CPAS Parameters
<pas>
0 Ready (MT allows commands from TA/TE)
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)
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.007 [13]
OK
www.simcom.com 48 / 281
SIM7000 Series_AT Command Manual_V1.06
Parameters
<code>
READY MT is not pending for any password
SIM PIN MT is waiting SIM PIN to be given
SIM PUK MT is waiting for SIM PUK to be given
PH_SIM PIN ME is waiting for phone to SIM card (antitheft)
PH_SIM PUK ME is waiting for SIM PUK (antitheft)
SIM PIN2 PIN2, e.g. for editing the FDN book possible only if
preceding Command was acknowledged with +CME ERROR:17
SIM PUK2 Possible only if preceding Command was
acknowledged with error +CME ERROR: 18.
Response
TA stores a password which is necessary before it can be operated (SIM
PIN, SIM PUK, PH- SIM PIN, etc.).
If the PIN required is SIM PUK or SIM PUK2, the second pin is required.
This second pin <new pin>, is used to replace the old pin in the SIM.
Write Command
OK
AT+CPIN=<pin>[,<new
If error is related to ME functionality:
pin>]
+CME ERROR: <err>
Parameters
<pin> String type; password
<new pin> String type; If the PIN required is SIM PUK or SIMPUK2:
new password
Parameter Saving Mode NO_SAVE
Max Response Time 5s
Reference Note
3GPP TS 27.007 [13]
www.simcom.com 49 / 281
SIM7000 Series_AT Command Manual_V1.06
pwd>,<newpwd> Parameters
<fac>
"AB" All Barring services
"AC" All inComing barring services(only for
<mode>=0)
"AG" All outGoing barring services(only for
<mode>=0)
"AI" BAIC (Barr All Incoming Calls)
"AO" BAOC (Barr All Outgoing Calls)
"IR" BIC- Roam (Barr Incoming Calls when
Roaming outside the home country)
"OI" BOIC (Barr Outgoing International Calls)
"OX" BOIC- exHC (Barr Outgoing International Calls
except to Home Country)
"SC" SIM (lock SIM/UICC card) (SIM/UICC asks
password in MT power-up and when this lock
command issued) Correspond to PIN1 code.
"P2" SIM PIN2
<oldpwd> String type (string should be included in quotation marks):
password specified for the facility from the user interface or with command.
If an old password has not yet been set,<oldpwd> is not to enter.
<newpwd> String type (string should be included in quotation marks):
new password
Parameter Saving Mode NO_SAVE
Max Response Time 15s
Reference Note
3GPP TS 27.007 [13]
3.2.13 AT+CRC Set Cellular Result Codes for Incoming Call Indication
www.simcom.com 50 / 281
SIM7000 Series_AT Command Manual_V1.06
Response
TA controls whether or not the extended format of incoming call indication is
used.
OK
Parameters
<mode> 0 Disable extended format
1 Enable extended format
Omitted Use previous value
Write Command Unsolicited Result Code
AT+CRC=[<mode>] When enabled, an incoming call is indicated to the TE with unsolicited result
code +CRING: <type> instead of the normal RING.
Parameters
<type> ASYNC Asynchronous transparent
SYNC Synchronous transparent
REL ASYNC Asynchronous non-transparent
REL SYNC Synchronous non-transparent
FAX Facsimile
VOICE Voice
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.007 [13]
OK
If error is related to ME functionality:
+CME ERROR: <err>
Write Command Response
www.simcom.com 51 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 52 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<Command>
176 READ BINARY
178 READ RECORD
192 GET RESPONSE
214 UPDATE BINARY
Write Command 220 UPDATE RECORD
AT+CRSM=<Command 242 STATUS
>[,<fileId>[,<P1>,<P2>, All other values are reserved; refer GSM 11.11.
<P3>[,<data>]]] <fileId> Integer type; this is the identifier for an elementary data file on
SIM. Mandatory for every Command except STATUS
<P1>,<P2>,<P3> Integer type, range 0 – 255
Parameters to be passed on by the ME to the SIM; refer GSM
11.11.
<data> Information which shall be written to the SIM (hex-decimal
character format)
<sw1>,<sw2> Integer type, range 0 - 255
Status 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;
refer GSM 11.11.
<response> Response of a successful completion of the Command
previously issued (hexadecimal character format)
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference
Note
3GPP TS 27.007
GSM 11.11
www.simcom.com 53 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
Response
+CSQ: <rssi>,<ber>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Execution Command returns received signal strength indication <rssi> and
channel bit error rate <ber> from the ME. Test Command returns values
supported by the TA.
Execution Command Parameters
AT+CSQ <rssi>
0 - 115 dBm or less
1 - 111 dBm
2...30 - 110... - 54 dBm
31 - 52 dBm or greater
99 not known or not detectable
<ber> (in percent):
0...7 As RXQUAL values in the table in GSM 05.08 [20]
subclause 7.2.4
99 Not known or not detectable
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.007 [13]
www.simcom.com 54 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<index> Integer type: order number of operator in SIM preferred
operator list
<format> Indicates whether alphanumeric or numeric
format used (see +COPS Command)
0 Long format alphanumeric <oper>
Write Command 1 Short format alphanumeric <oper>
AT+CPOL=<index>[,<f 2 Numeric <oper>
ormat>[,<oper>[<GSM <oper> String type(string should be included in quotation marks)
>,<GSM_compact>,<U <GSM> GSM access technology
TRAN>,<E-UTRAN>]]]
0 Access technology is not selected
1 Access technology is selected
<GSM_compact> GSM compact access technology
0 Access technology is not selected
1 Access technology is selected
<UTRAN> UTRAN access technology
0 Access technology is not selected
1 Access technology is selected
<E-UTRAN> E-UTRAN access technology
0 Access technology is not selected
1 Access technology is selected
Parameter Saving Mode -
Max Response Time -
Reference Note
3GPP TS 27.007 [13]
www.simcom.com 55 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<numericn>String type (string should be included in quotation marks):
operator in numeric format (see +COPS)
<alphan> String type (string should be included in quotation marks):
operator in long alphanumeric format (see +COPS)
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.007 [13]
Test Command OK
AT+CFUN=? If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
+CFUN: <fun>
Read Command OK
AT+CFUN? If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
OK
Write Command
If error is related to ME functionality:
AT+CFUN=<fun>[,<rst
+CME ERROR: <err>
>]
Parameters
<fun>
www.simcom.com 56 / 281
SIM7000 Series_AT Command Manual_V1.06
0 Minimum functionality
1 Full functionality (Default)
4 Disable phone both transmit and receive RF circuits.
5 Factory Test Mode
6 Reset
7 Offline Mode
<rst>
0 Do not Reset the MT before setting it to <fun> power level.
1 Reset the MT before setting it to <fun> power level.
Parameter Saving Mode -
Max Response Time 10s
Note
The <fun> power level will be written to flash except minimum
functionality.
Reference
AT+CFUN=1,1 can be used to reset module purposely at minimum/full
3GPP TS 27.007 [13]
functionality mode.
Response string "OK" will be returned after module resets if baud rate
is set to fixed baud rate.
AT+CCLK Clock
Test Command Response
AT+CCLK=? OK
Response
+CCLK: <time>
Read Command OK
AT+CCLK? If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Write Command Parameters
AT+CCLK=<time> <time> String type(string should be included in quotation marks) value;
format is "yy/MM/dd,hh:mm:ss±zz", where characters indicate year (two last
digits),month, day, hour, minutes, seconds and time zone (indicates the
difference, expressed in quarters of an hour, between the local time and
GMT; range -47...+48). E.g. 6th of May 2010, 00:01:52 GMT+2 hours
www.simcom.com 57 / 281
SIM7000 Series_AT Command Manual_V1.06
equals to "10/05/06,00:01:52+08".
Parameter Saving Mode AUTO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.007 [13] Only time zone is auto saved.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Write Command
Parameters
AT+CSIM=<length>,<C
ommand> <length> Integer type: length of characters sent to the TE in
<Command> or <response> (i.e. twice the number of octets in the raw
data).
<Command> String type (string should be included in quotation marks):
hex format: GSM 11.11 SIM Command sent from the ME to the SIM.
<response> String type(string should be included in quotation marks):
hex format: GSM 11.11 response from SIM to <Command>.
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.007 [13]
www.simcom.com 58 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<bcs> Charge status
0 ME is not charging
1 ME is charging
2 Charging has finished
<bcl> Battery connection level
1...100 battery has 1- 100 percent of capacity remaining vent
<voltage> Battery voltage(mV)
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference
Note
3GPP TS 27.007 [13]
www.simcom.com 59 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
Execution Command If error is related to ME functionality:
+CME ERROR: <err>
AT+CNUM
Parameters
<numberx> String type (string should be included in quotation marks)
phone number of format specified by <typex>
<typex> Type of address octet in integer format (refer GSM04.08[8]
subclause 10.5.4.7)
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.007 [13]
www.simcom.com 60 / 281
SIM7000 Series_AT Command Manual_V1.06
Command Description
AT+CMGD Delete SMS message
AT+CMGF Select SMS message format
AT+CMGL List SMS messages from preferred store
AT+CMGR Read SMS message
AT+CMGS Send SMS message
AT+CMGW Write SMS message to memory
AT+CMSS Send SMS message from storage
AT+CNMI New SMS message indications
AT+CPMS Preferred SMS message storage
AT+CRES Restore SMS settings
AT+CSAS Save SMS settings
AT+CSCA SMS service center address
AT+CSDH Show SMS text mode parameters
AT+CSMP Set SMS text mode parameters
AT+CSMS Select message service
27.005
www.simcom.com 61 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
Parameters
See Write Command
Response
TA deletes message from preferred message storage <mem1> location
<index>.
OK
ERROR
If error is related to ME functionality:
+CMS ERROR: <err>
Parameters
<index> Integer type; value in the range of location numbers supported by
the associated memory
Write Command <delflag> 0 Delete the message specified in <index>
AT+CMGD=<index>[,< 1 Delete all read messages from preferred message storage,
delflag>] 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
4 Delete all messages from preferred message storage
including unread messages
Parameter Saving Mode NO_SAVE
5s(delete 1 message)
Max Response Time 25s(delete 50 messages)
25s(delete 150 messages)
Reference Note
3GPP TS 27.005
www.simcom.com 62 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 63 / 281
SIM7000 Series_AT Command Manual_V1.06
<mode> 0 Normal
1 Not change status of the specified SMS record
Response
TA returns messages with status value <stat> from message storage
<mem1> to the TE. If status of the message is 'received unread', status in
the storage changes to 'received read'.
for SMS-STATUS-REPORTs:
+CMGL: <index>,<stat>,<fo>,<mr>[,<ra>][,<tora>],<scts>,<dt>,<st>
[<CR><LF>+CMGL: <index>,<stat>,<fo>,<mr>
[,<ra>][,<tora>],<scts>,<dt>,<st>[...]]
for SMS-COMMANDs:
+CMGL: <index>,<stat>,<fo>,<ct>[<CR><LF>
+CMGL: <index>,<stat>,<fo>,<ct>[...]]
www.simcom.com 64 / 281
SIM7000 Series_AT Command Manual_V1.06
TS 27.007)
<da> GSM 03.40 TP-Destination-Address Address-Value field in
string format; BCD numbers (or GSM default alphabet characters) are
converted to characters of the currently selected TE character set (refer
Command +CSCS in 3GPP TS 27.007); type of address given by <toda>
<data> In the case of SMS: GSM 03.40 TP-User-Data in text mode
responses; format:
- if <dcs> indicates that GSM 03.38 default alphabet is used and
<fo> indicates that GSM 03.40 TPUser-Data-Header-Indication
is not set:
- if TE character set other than "HEX" (refer Command Select TE
Character Set +CSCS in 3GPP TS 27.007):ME/TA converts
GSM alphabet into current TE character set according to rules of
Annex A
- if TE character set is "HEX": ME/TA converts each 7-bit
character of GSM alphabet into two IRA character long
hexadecimal number (e.g. character P (GSM 23) is presented as
17 (IRA 49 and 55))
- if <dcs> indicates that 8-bit or UCS2 data coding scheme is
used, or <fo> indicates that GSM 03.40
TP-User-Data-Header-Indication is set: ME/TA converts each
8-bit octet into two IRA character long hexadecimal number (e.g.
octet with integer value 42 is presented to TE as two characters
2A (IRA 50 and 65)) In the case of CBS: GSM 03.41 CBM
Content of Message in text mode responses; format:
- if <dcs> indicates that GSM 03.38 default alphabet is used:
- if TE character set other than "HEX" (refer Command +CSCS in
3GPP TS 27.007): ME/TA converts GSM alphabet into current
TE character set according to rules of Annex A
- if TE character set is "HEX": ME/TA converts each 7-bit
character of GSM alphabet into two IRA character long
hexadecimal number
- if <dcs> indicates that 8-bit or UCS2 data coding scheme is
used: ME/TA converts each 8-bit octet into two IRA character
long hexadecimal number
<length> Integer type value indicating in the text mode (+CMGF=1) the
length of the message body <data> (or <cdata>) in characters; or in PDU
mode (+CMGF=0), the length of the actual TP data unit in octets (i.e. the RP
layer SMSC address octets are not counted in the length)
<index> Integer type; value in the range of location numbers supported
by the associated memory
<oa> GSM 03.40 TP-Originating-Address Address-Value field in
string format; BCD numbers (or GSM default alphabet characters) are
converted to characters of the currently selected TE character set (refer
Command +CSCS in 3GPP TS 27.007); type of address given by <tooa>
<pdu> In the case of SMS: GSM 04.11 SC address followed by
www.simcom.com 65 / 281
SIM7000 Series_AT Command Manual_V1.06
2) If PDU mode:
Execution Command
the same as AT+CMGL=0, received unread messages
AT+CMGL
www.simcom.com 66 / 281
SIM7000 Series_AT Command Manual_V1.06
,<sca>,<tosca>,<length>]<CR><LF><data>
for SMS-SUBMIT:
+CMGR: <stat>,<da>[,<alpha>][,<toda>,<fo>,<pid>,<dcs>[,<vp>]
,<sca>,<tosca>,<length>]<CR><LF><data>
for SMS-STATUS-REPORTs:
+CMGR: <stat>,<fo>,<mr>[,<ra>][,<tora>],<scts>,<dt>,<st>
for SMS-COMMANDs:
+CMGR: <stat>,<fo>,<ct>[,<pid>[,<mn>][,<da>][,<toda>]
,<length><CR><LF><cdata>]
OK
3) If error is related to ME functionality:
+CMS ERROR: <err>
Parameters
<alpha> String type (string should be included in quotation marks)
alphanumeric representation of <da> or <oa> corresponding to the entry
found in MT phonebook; implementation of this feature is manufacturer
specific
<da> GSM 03.40 TP-Destination-Address Address-Value field in
string format; BCD numbers (or GSM default alphabet characters) are
converted to characters of the currently selected TE character set (specified
by +CSCS in 3GPP TS 27.007); type of address given by <toda>
<data> In the case of SMS: GSM 03.40 TP-User-Data in text mode
responses; format:
- if <dcs> indicates that GSM 03.38 default alphabet is used and
<fo> indicates that GSM 03.40 TPUser-Data-Header-Indication
is not set:
- if TE character set other than "HEX" (refer Command Select TE
Character Set +CSCS in 3GPP TS 27.007):ME/TA converts
GSM alphabet into current TE character set according to rules of
Annex A
- if TE character set is "HEX": ME/TA converts each 7-bit
character of GSM alphabet into two IRA character long
hexadecimal number (e.g. character P (GSM 23) is presented as
17 (IRA 49 and 55))
- if <dcs> indicates that 8-bit or UCS2 data coding scheme is
used, or <fo> indicates that GSM 03.40
TP-User-Data-Header-Indication is set: ME/TA converts each
8-bit octet into two IRA character long hexadecimal number (e.g.
www.simcom.com 67 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 68 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 69 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
2) If PDU mode(+CMGF=0) and sending successful:
+CMGS: <mr>
OK
3)If error is related to ME functionality:
+CMS ERROR: <err>
Parameter
<mr> GSM 03.40 TP-Message-Reference in integer format
Parameter Saving Mode NO_SAVE
Max Response Time 60s
Reference Note
3GPP TS 27.005 Reject incoming call when sending messages.
www.simcom.com 70 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
If error is related to ME functionality:
+CMS ERROR: <err>
Parameter Saving Mode NO_SAVE
Max Response Time 5s
Reference
Note
3GPP TS 27.005
www.simcom.com 71 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
2) If PDU mode(+CMGF=0) and sending successful:
+CMSS: <mr>
Write Command
AT+CMSS=<index>[,< OK
da>,<toda>] 3)If error is related to ME functionality:
+CMS ERROR: <err>
Parameters
<index> Integer type; value in the range of location numbers supported
by the associated memory
<da> GSM 03.40 TP-Destination-Address Address-Value field in
string format(string should be included in quotation marks); BCD numbers
(or GSM default alphabet characters) are converted to characters of the
currently selected TE character set (specified by +CSCS in 3GPP TS
27.007); type of address given by <toda>
<toda> GSM 04.11 TP-Destination-Address Type-of-Address octet
in integer format (when first character of <da> is + (IRA 43) default is 145,
otherwise default is 129)
<mr> GSM 03.40 TP-Message-Reference in integer format
Parameter Saving Mode NO_SAVE
Max Response Time 60s
Reference
Note
3GPP TS 27.005
www.simcom.com 72 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
or
ERROR
Parameters
<mode> 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
Write Command
indications.
AT+CNMI=<mode>[,< 1 Discard indication and reject new received message
mt>[,<bm>[,<ds>[,<bfr
>]]]] 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.
<mt> (the rules for storing received SMs depend on its data coding
scheme (refer GSM 03.38 [2]), preferred memory storage (+CPMS) setting
and this value):
0 No SMS-DELIVER indications are routed to the TE.
1 If SMS-DELIVER is stored into ME/TA, indication of the
memory location is routed to the TE using unsolicited result code: +CMTI:
<mem>,<index>
2 SMS-DELIVERs (except class 2) are routed directly to the
TE using unsolicited result code:
www.simcom.com 73 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 74 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 75 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
ERROR
Parameters
<mem1> Messages to be read and deleted from this memory storage
"SM"SIM message storage
<mem2> Messages will be written and sent to this memory storage
"SM"SIM message storage
<mem3> Received messages will be placed in this memory storage if
routing to PC is not set ("+CNMI")
"SM"SIM message storage
<usedx> Integer type; Number of messages currently in <memx>
<totalx> Integer type; Number of messages storable in <memx>
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference
Note
3GPP TS 27.005
www.simcom.com 76 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 77 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
Parameters
See Write Command
Response
TA updates the SMSC address, through which mobile originated SMS are
transmitted. In text mode, setting is used by send and writes 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.
www.simcom.com 78 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
Parameter
See Write Command
Response
TA determines whether detailed header information is shown in text mode
result codes.
OK
Write Command Parameter
AT+CSDH=<show> <show> 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
SMS-DELIVERs and SMS-SUBMITs in text mode
1 Show the values in result codes
Execution Command Response
AT+CSDH OK
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.005
www.simcom.com 79 / 281
SIM7000 Series_AT Command Manual_V1.06
Parameters
<fo> Depending on the command or result code: first octet of GSM
03.40 SMS-DELIVER, SMS-SUBMIT (default 17),
SMS-STATUS-REPORT, or SMS-COMMAND (default 2) in integer format.
SMS status report is supported under text mode if <fo> is set to 49.
<vp> Depending on SMS-SUBMIT <fo> setting: GSM 03.40
TP-Validity-Period either in integer format (default 167) or in time-string
format (refer <dt>)
<pid> GSM 03.40 TP-Protocol-Identifier in integer format (default 0).
<dcs> GSM 03.38 SMS Data Coding Scheme in Integer format.
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
3GPP TS 27.005
OK
If error is related to ME functionality:
+CME ERROR: <err>
Write Command
Parameters
AT+CSMS=<service>
<service> 0 GSM 03.40 and 03.41 (the syntax of SMS AT commands
is compatible with 3GPP TS 27.005 Phase 2 version 4.7.0; Phase 2+
features which do not require new Command syntax may be supported (e.g.
correct routing of messages with new Phase 2+ data coding schemes))
1 GSM 03.40 and 03.41 (the syntax of SMS AT commands
is compatible with 3GPP TS 27.005 Phase 2+
www.simcom.com 80 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 81 / 281
SIM7000 Series_AT Command Manual_V1.06
5.1 Overview
Command Description
AT+CPOWD Power off
AT+CADC Read ADC
AT+CFGRI Indicate RI when using URC
AT+CLTS Get local timestamp
AT+CBAND Get and set mobile operation band
AT+CNSMOD Show network system mode
AT+CSCLK Configure slow clock
AT+CCID Show ICCID
AT+CDEVICE View Current Flash Device Type
AT+GSV Display product identification information
AT+SGPIO Control the GPIO
AT+SLEDS Set the timer period of net light
AT+CNETLIGHT Close the net light or open it to shining
AT+CSGS Netlight indication of GPRS status
AT+CGPIO Control the GPIO by PIN Index
AT+CBATCHK Set VBAT checking feature ON/OFF
AT+CNMP Preferred mode selection
AT+CMNB Preferred selection between CAT-M and NB-IoT
AT+CPSMS Power Saving Mode Setting
AT+CEDRXS Extended-DRX Setting
AT+CPSI Inquiring UE system information
AT+CGNAPN Get Network APN in CAT-M Or NB-IOT
AT+CSDP Service Domain Preference
AT+MCELLLOCK Lock the special CAT-M cell
AT+NCELLLOCK Lock the special NB-IOT cell
AT+NBSC Configure NB-IOT Scrambling Feature
AT+CAPNMODE Select the mode of application configure APN
AT+CRRCSTATE Query RRC State
AT+CBANDCFG Configure CAT-M Or NB-IOT Band
AT+CNACT APP Network Active
AT+CNCFG PDP Configure
www.simcom.com 82 / 281
SIM7000 Series_AT Command Manual_V1.06
AT+CEDUMP Set whether the module reset when the module is crashed
AT+CNBS Configure Band Scan Optimization for NB-IOT
AT+CNDS Configure Service Domain Preference For NB-IOT
AT+CENG Switch on or off Engineering Mode
AT+CNACTCFG Configure IP Protocol Type
AT+CTLIIC Control the Switch of IIC
AT+CWIIC Write Values to Register of IIC Device
AT+CRIIC Read Values from Register of IIC Device
AT+CMCFG Manage Mobile Operator Configuration
AT+CSIMLOCK SIM Lock
AT+CRATSRCH Configure parameter for better RAT search
AT+SPWM Generate the Pulse-Width-Modulation
AT+CASRIP Show Remote IP Address and Port When Received Data
AT+CEDRX Configure EDRX parameters
AT+CPSMRDP Read PSM Dynamic Parameters
AT+CPSMCFG Configure PSM version and Minimum Threshold Value
AT+CPSMCFGEXT Configure Modem Optimization of PSM
AT+CPSMSTATUS Enable Deep Sleep Wakeup Indication
AT+CEDRXRDP eDRX Read Dynamic Parameters
AT+CRAI Configure Release Assistance Indication in NB-IOT network
www.simcom.com 83 / 281
SIM7000 Series_AT Command Manual_V1.06
Test Command OK
AT+CADC=? Parameters
<status> 1 Success
0 Fail
<value> Integer 0,100-1700
Response
+CADC: <status>,<value>
Read Command
AT+CADC? OK
Parameters
See Test Command
Parameter Saving Mode NO_SAVE
Max Response Time 2s
Note
Reference
www.simcom.com 84 / 281
SIM7000 Series_AT Command Manual_V1.06
<status> 0 Off
1 On(TCPIP, FTP and URC control RI pin)
2 On(only TCPIP control RI pin)
Parameter Saving Mode -
Max Response Time -
Note
Reference RI pin can not controll by "AT+CFGRI" command when module has call
service or receiving SMS.
www.simcom.com 85 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 86 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 87 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
Parameter
See Write Command
Response
OK
ERROR:
Parameter
<n>
0 Disable auto report the network system mode information
Write Command 1 Auto report the network system mode information, command:
AT+CNSMOD=<n> +CNSMOD: <stat>
<stat>
0 no service
1 GSM
3 EGPRS
7 LTE M1
9 LTE NB
Parameter Saving Mode -
Max Response Time
Reference
www.simcom.com 88 / 281
SIM7000 Series_AT Command Manual_V1.06
Parameter
<n> 0 Disable slow clock, module will not enter sleep mode.
1 Enable slow clock, it is controlled by DTR. When DTR is
high, module can enter sleep mode. When DTR changes to low
level, module can quit sleep mode.
Parameter Saving Mode AUTO_SAVE
Max Response Time -
Note
Reference
OK
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
V.25ter
www.simcom.com 89 / 281
SIM7000 Series_AT Command Manual_V1.06
Example:
Execution Command
SIMCOM_Ltd
AT+GSV
SIMCOM_SIM7000
Revision: 1351B01SIM7000
OK
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
www.simcom.com 90 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 91 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 92 / 281
SIM7000 Series_AT Command Manual_V1.06
Parameters
See Write Command
Response
+CSGS: <mode>
Read Command
AT+CSGS? OK
Parameters
See Write Command
Response
OK
ERROR
Parameters
<mode>
Write Command
0 Disable
AT+CSGS=<mode>
1 Enable, the netlight will be forced to enter into 64ms on/300ms off
blinking state in GPRS data transmission service. Otherwise, the
netlight state is not restricted.
2 Enable, the netlight will blink according to AT+SLEDS in GPRS data
transmission service.
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference
Note
www.simcom.com 93 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 94 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 95 / 281
SIM7000 Series_AT Command Manual_V1.06
Response
OK
If failed:
Write Command +CME ERROR: <err>
AT+CMNB=<mode> Parameters
<mode> 1 CAT-M
2 NB-Iot
3 CAT-M and NB-IoT
Parameter Saving Mode AUTO_SAVE
Max Response Time -
Note
Reference Default value of parameter <mode> is different among SIM7000 series
project.
OK
Response
+CPSMS: <mode>,[<Requested_Periodic-RAU>],[<Requested_GPRS-
READY-timer>],[<Requested_Periodic-TAU>],[<Requested_Active-Tim
Read Command e>]
AT+CPSMS?
OK
Parameters
See Write Command
Response
Write Command OK
AT+CPSMS=[<mode>[, If failed:
<Requested_Periodic- +CME ERROR: <err>
RAU>[,<Requested_G Parameters
PRS-READY-timer>[,<
Requested_Periodic-T <mode>
AU>[,<Requested_Acti 0 Disable the use of PSM
ve-Time>]]]]] 1 Enable the use of PSM
<Requested_Periodic-RAU> Not supported
www.simcom.com 96 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
Response
+CEDRXS: <AcT-type>,<Requested_eDRX_value>
Read Command
AT+CEDRXS? OK
Parameters
See Write Command
Write Command Response
AT+CEDRXS=<n>,<Ac OK
T-type>,<Requested_e If failed:
www.simcom.com 97 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
If camping on a CAT-M or NB-IOT cell:
+CPSI: <System Mode>,<Operation Mode>,<MCC>-<MNC>,<TAC>,<S
Read Command
CellID>,<PCellID>,<Frequency Band>,<earfcn>,<dlbw>,<ulbw>,<RSR
AT+CPSI?
Q>,<RSRP>,<RSSI>,<RSSNR>
OK
If no service:
+CPSI: NO SERVICE,Online
OK
If failed:
www.simcom.com 98 / 281
SIM7000 Series_AT Command Manual_V1.06
www.simcom.com 99 / 281
SIM7000 Series_AT Command Manual_V1.06
OK
If failed:
+CME ERROR: <err>
Parameters
<valid>
Execution Command
0 The network did not sent APN parameter to UE.In the
AT+CGNAPN
case,<Network_APN> is NULL.
1 The network sent APN parameter to UE.
<length>
Max the length of <network_APN>.
<Network_APN>
String type.The network sends APN parameter to UE when UE
registers CAT-M or NB-IOT network successfully.In
GSM,<Network_APN> always is NULL.
Parameter Saving Mode -
Max Response Time -
Note
In CAT-M or NB-IOT,after UE sending attach request message,If core
Reference
network responds attach accept message that includes APN
parameter,<Netwok_APN> is valid.
Parameters
See Write Command
Response
OK
If failed:
+CME ERROR: <err>
Write Command
Parameters
AT+CSDP=<domain>
<domain>
0 CS(Circuit Switched Domain) ONLY
1 PS(Packet Switched Domain) ONLY
2 CS(Circuit Switched Domain) + PS(Packet Switched Domain)
Parameter Saving Mode AUTO_SAVE_REBOOT
Max Response Time -
Reference Note
AT+NBSC?
OK
Parameters
See Write Command
Response
OK
If failed:
Write Command +CME ERROR: <err>
AT+NBSC=<mode> Parameters
<mode>
0 Disable the scrambling feature in NB-IOT network.
1 Enable the scrambling feature in NB-IOT network.
Parameter Saving Mode AUTO_SAVE_REBOOT
Max Response Time -
Note
Reference Please configure UE in accordance with the base station,Otherwise UE
can not register NB-IOT network.
Parameters
<mode>
0 Deactive
1 Active
2 Auto Active
<apn>
(Access Point Name) A string parameter (string should be included in
quotation marks) which is 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.The default
value is NULL.
<status>
0 Deactived
1 Actived
2 In operation
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
"+APP PDP: ACTIVE" will be reported if the app network actived,and "+APP
Reference
PDP: DEACTIVE" will be reported if the app network deactived.
Auto Active means the will active automatically if the activation failed.
OK
Read Command Response
AT+CNCFG? +CNCFG:
<ip_type>,<APN>,<usename>,<password>,<authentication>
OK
Write Command Response
AT+CNCFG=<ip_type>[,<AP OK
N>[,<usename>,<password If failed:
>[,<authentication>]]] +CME ERROR: <err>
Parameter Saving Mode -
Max Response Time -
Reference
Defined Values
<action> 0 Deactive
1 Active
2 Auto Active
<ip_type> Packet Data Protocol type) A Integer type parameter which specifies
the type of packet data protocol.
0 Dual PDN Stack
1 Internet Protocol Version 4
2 Internet Protocol Version 6
<APN> (Access Point Name) A string parameter (string should be included in
quotation marks) which is 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.The default
value is NULL.
<usename> Username for authentication.
<password> Password for authentication.
<authentication> 0 NONE
1 PAP
2 CHAP
3 PAP or CHAP
<len_APN> Integer type. Maximum length of parameter <APN>.
<len_name> Integer type. Maximum length of parameter <usename>.
<len_password> Integer type. Maximum length of parameter <password>.
5.2.32 AT+CEDUMP Set Whether the Module Reset When The Module is Crashed
AT+CEDUMP Set Whether the Module Reset When The Module is Crashed
Response
+CEDUMP: <mode>
Read Command OK
AT+CEDUMP? If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
Write Command OK
AT+CEDUMP=<mode> If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<fun>
0 The module will reset when the module is crashed(Default)
1 The module will go into download mode when the module is
crashed
Parameter Saving Mode -
Max Response Time
Reference
Note
[+CENG: <cell>,"<bcch>,<rxl>,<bsic>,<cellid>,<mcc>,<mnc>,<lac>"
Read Command <CR><LF>+CENG:
AT+CENG? <cell>,"<bcch>,<rxl>,<bsic>,<cellid>,<mcc>,<mnc>,<lac>"…]
OK
[+CENG:
<cell>,"<earfcn>,<pci>,<rsrp>,<rssi>,<rsrq>,<sinr>,<tac>,<cellid>,<mc
c>,<mnc>,<tx power>"
<CR><LF>+CENG:
<cell>,"<earfcn>,<pci>,<rsrp>,<rssi>,<rsrq>,<sinr>"…]
OK
Parameters
See Write Command
Switch on or off engineering mode.
Write Command OK
AT+CENG=<mode>[,< If failed:
Ncell>] +CME ERROR: <err>
Parameters
AT+CNACTCFG=?
OK
Parameters
See Write Command
Response
+CNACTCFG: <IPType>
Read Command
AT+CNACTCFG? OK
Parameters
See Write Command
Response
OK
If failed:
Write Command +CME ERROR: <err>
AT+CNACTCFG=<IPTy Parameters
pe> <IPType>
"IPV4" IPv4 protocol
"IPV6" IPv6 protocol
"IPV4V6" IPv4 and IPv6 protocol
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference
ERROR
Parameters
<mode>
0 Switch off the IIC
1 Switch on the IIC
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
or
ERROR
Parameters
<addr> Device address. Input format must be hex, such as 0xFF.
<reg> Register address. Input format must be hex, such as 0xFF.
<len> Read length. Range:1-4; unit:byte.
<data> Data read. Input format must be hex, such as 0xFF.
Parameter Saving Mode -
Max Response Time -
Reference Note
Write Command
OK
AT+CMCFG=<mode>[, If failed:
<config_name>]
+CME ERROR: <err>
Parameters
<mode> 0 Manually select mobile operator configuration
1 Automatically select mobile operator configuration
according to ICCID information in SIM card
2 Activate specified mobile operator configuration,
OK
Parameters
See Write Command
Response
Read Command OK
AT+CSIMLOCK? Parameters
See Write Command
If <mode>≠2 and Command is successful
OK
If <mode>=2 and Command is successful
+CSIMLOCK: <status>,<pers_code_list>
OK
Note
Lock device
Customer can send AT command to lock the deivce that can only use
some specific SIM card.
AT+CSIMLOCK="PN",1, "0123456789ABCDEF","460-00;460-01"
Unlock device
Reference If the device is locking, Customer can send AT command to unlock the
device.
AT+CSIMLOCK="PN",0, "ABCDEFGH12345678"
Query device status
customer may send AT command as follow to query status of the
device
AT+CSIMLOCK="PN",2
5.2.44 AT+CASRIP Show Remote IP address and Port When Received Data
Parameters
See Write Command
Response
OK
or
Write Command ERROR
AT+CASRIP=<mode> Parameters
<mode> A numeric parameter which shows remote IP address and port.
0 Do not show the prompt
1 Show the prompt, the format is as follows:
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference
<cycle_length> 0-15
Note
The value 0-15 of ptw separately means 1280,2560,3840,5120,6400,
7680,8960,10240,11520,12800,14080,15360,16640,17920,19200,
20480.(ms)
Reference
The value 0-15 of cycle_length separately means 5.12,10.24,20.48,
40.96,61.44,81.92,102.40,122.88,143.36,163.84,327.68,655.36,1310.
72,2621.44,5242.88,10485.76.(seconds)
There has no effect if <mode> is 0 or 1.
The edrx parameters can take effect after module restarting
OK
Parameters
<mode> Integer type.Disable or enable the use of PSM in the UE.
0 Disable the use of PSM
1 Enable the use of PSM
<Requested_active_Time> Integer type.Requested active time
Execution Command
value(T3324) to be configed by UE in E-UTRAN network.Unit:
AT+CPSMRDP
second.
<Requested_Periodic_TAU> Integer type.Requested extended periodic
TAU value (T3412_EXT) to be configed by UE in E-UTRAN
network.Unit: second.
<Network_Active_Time> Integer type.Network assign active timer
value(T3324) in E-UTRAN network.If <network_Active_Time> is
0,it show s that network does not support PSM
feature.Unit:second.
<Network_T3412_EXT_value> Integer type.Network assign extended
periodic TAU value(T3412_EXT) in E-UTRAN
network.Unit:second.
<Network_T3412_value> Integer type.Network assign periodic TAU
OK
Parameters
See Write Command
Response
+CPSMCFGEXT:
<psm_opt_mask>,<max_oos_full_scans>,<psm_duration_due_to_oos
>,<psm_randomization_window>,<max_oos_time>,<early_wake_up_ti
Read Command
me>
AT+CPSMCFGEXT?
OK
Parameters
See Write Command
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<psm_opt_mask> Integer type.The range is from 0 to 15.The default
Write Command
value
AT+CPSMCFGEXT=<p is 10.
sm_opt_mask>[,<max
_oos_full_scans>[,<ps 1st bit of <psm_opt_mask> is used to enable/disable PSM ENTER
m_duration_due_to_o request without sending PSM_READY_REQ to NAS.This is a quick PSM
os>[,<psm_randomizat operation.
ion_window>[,<max_o
2nd bit of <psm_opt_mask> is used to enable/disable Out of
os_time>[,<early_wake
_up_time>]]]]] Service(OoS) status indication from Modem to AP.
3rd bit of <psm_opt_mask> is used to enable/disable limited
service status indication from Modem to AP.
4th bit of <psm_opt_mask> is used to enable/disable deep-sleep
mode.If PSM duration is less than the threshold value.If enabled,it puts the
device in deep-sleep mode,if PSM is not entered due to not meeting
threshold value.
Parameters
<enable>
0 Disable indication when modem wakes up from deep sleep
1 Enable indication when modem wakes up from deep sleep
Parameter Saving Mode -
Max Response Time -
Note
Reference
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<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
Execution Command 0 Access technology is not using Edrx
AT+CEDRXRDP 4 E-UTRAN(CAT-M1)
5 E-UTRAN(NB-S1 mode)
<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 sub-clause 10.5.5.32 of
3GPP TS 24.008).For the coding and the value range,see
Extended DRX parameters information element in 3GPP TS
24.008 Table 10.5.5.32/3GPP TS 24.008.
<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 sub-clause 10.5.5.32 of
3GPP TS 24.008).For the coding and the value range,see the
Extended DRX parameters information element in 3GPP TS
1 unlimited time
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference Before UE sends the last packet of data, AT+CRAI should be executed
firstly.
6.1 Overview
Command Description
AT+CGATT Attach or detach from GPRS service
AT+CGDCONT Define PDP context
AT+CGACT PDP context activate or deactivate
AT+CGPADDR Show PDP address
AT+CGREG Network registration status
AT+CGSMS Select service for MO SMS messages
AT+CEREG EPS Network Registration Status
OK
Parameters
See Write Command
Response
OK
Write Command
or
AT+CGDCONT=<cid>[,
ERROR
<PDP_type>[,<APN>[,<
PDP_addr>[,<d_comp Parameters
>[,<h_comp>][,<ipv4_c <cid> (PDP Context Identifier) a numeric parameter which
trl>[,<emergency_flag
specifies a particular PDP context definition. The parameter
>]]]]]]
is local to the TE-MT interface and is used in other PDP
context-related commands. The range of permitted values
AT+CGPADDR=?
OK
Parameters
See Write Command
Response
+CGPADDR: <cid>,<PDP_addr>
[<CR><LF>+CGPADDR: <cid>,<PDP_addr>[…]]
OK
If SIM card supports IPV4V6 type and the PDP_type of the command
"AT+CGDCONT" defined is ipv4v6 :
[+CGPADDR: <cid>,<PDP_addr_IPV4>,<PDP_addr_IPV6>]
+CGPADDR: <cid>,<PDP_addr_IPV4>,<PDP_addr_IPV6>[...]]]
OK
or
Write Command ERROR
AT+CGPADDR=<cid>[, Parameters
<cid>[,…]] <cid> A numeric parameter which specifies a particular PDP context
definition (see +CGDCONT Command)
1…24
<PDP_addr> String type, IP address
Format: <n>.<n>.<n>.<n> where <n>=0..255
<PDP_addr_IPV4>
A string parameter that identifies the MT in the address space
applicable to the PDP.
<PDP_addr_IPV6>
A string parameter that identifies the MT in the address space
applicable to the PDP when the sim_card supports ipv6.
The pdp type must be set to "ipv6" or "ipv4v6" by the
AT+CGDCONT command.
Response
[+CGPADDR: <cid>,<PDP_addr>]
+CGPADDR: <cid>,<PDP_addr>[...]]]
OK
If error is related to ME functionality:
Execution Command
+CME ERROR: <err>
AT+CGPADDR
If SIM card supports IPV4V6 type and the PDP_type of the command
"AT+CGDCONT" defined is ipv4v6 :
[+CGPADDR: <cid>,<PDP_addr_IPV4>,<PDP_addr_IPV6>]
+CGPADDR: <cid>,<PDP_addr_IPV4>,<PDP_addr_IPV6>[...]]]
OK
Parameters
See Write Command
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference <cid> values 17 to 24 are supported from MPSS JO 1.0+ onwards.
Write command returns address provided by the network if a
connection has been established.
OK
Parameters
See Write Command
Response
when <n>=0, 1, 2 and command successful:
+CEREG: <n>,<stat>[,[<tac>],[<rac>],[<ci>],[<AcT>]]
OK
when <n>=4 and command successful:
Read Command
+CEREG: <n>,<stat>[,[<tac>],[<rac>],[<ci>],[<AcT>][,,[,[<Active-Time>]
AT+CEREG? ,[<Periodic-TAU>]]]]
OK
If error is related to wrong AT syntax or operation not allowed:
+CME ERROR: <err>
Parameters
See Write Command
Response
OK
or
ERROR
Parameters
<n> 0 Disable network registration unsolicited result code
1 Enable network registration unsolicited result code +CEREG:
<stat>
2 Enable network registration and location information
unsolicited result code
+CEREG: <stat>[,[<tac>],[<rac>],[<ci>],[<AcT>]]
4 For a UE that wants to apply PSM, enable network
registration and location information unsolicited result code
Write Command
+CEREG: <stat>[,[<tac>],[<rac>],[<ci>],[<AcT>][,,[,[<Active-
AT+CEREG[=<n>]
Time>],[<Periodic-RAU>]]]]
<stat>
0 Not registered, MT is not currently searching an operator to
register to.The GPRS service is disabled, the UE is allowed to
attach for GPRS if requested by the user.
1 Registered, home network.
2 Not registered, but MT is currently trying to attach or
searching an operator to register to. The GPRS service is
enabled, but an allowable PLMN is currently not available. The
UE will start a GPRS attach as soon as an allowable PLMN is
available.
3 Registration denied, The GPRS service is disabled, the UE
is not allowed to attach for GPRS if it is requested by the user.
4 Unknown
5 Registered, roaming
<tac> String type (string should be included in quotation marks); two
byte location area code in hexadecimal format (e.g. "00C3"
equals 195 in decimal)
<ci> String type (string should be included in quotation marks); two
bytes cell ID in hexadecimal format
<AcT> 0 User-specified GSM access technology
7 User-specified LTE M1 A GB access technology
9 User-specified LTE NB S1 access technology
<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).
<Periodic-RAU>
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).
Parameter Saving Mode -
Max Response Time -
Reference Note
7.1 Overview
Command Description
AT+SAPBR Bearer settings for applications based on IP
If <cmd_type>=2
+SAPBR: <cid>,<Status>,<IP_Addr>
Write Command OK
If <cmd_type>=4
AT+SAPBR=<cmd_typ
e>,<cid>[,<ConParamT +SAPBR:
ag>,<ConParamValue> <ConParamTag>,<ConParamValue>
] OK
0 Close bearer
1 Open bearer
2 Query bearer
3 Set bearer parameters
4 Get bearer parameters
<cid> Bearer profile identifier
<Status>
0 Bearer is connecting
1 Bearer is connected
2 Bearer is closing
3 Bearer is closed
<ConParamTag> Bearer parameter
"APN" Access point name string: maximum 64
characters
"USER" User name string: maximum 32 characters
"PWD" Password string: maximum 32 characters
<ConParamValue> Bearer paramer value
<IP_Addr> The IP address of bearer
Parameter Saving Mode NO_SAVE
When <cmd_type> is 1, 85 seconds
Max Response Time
When <cmd_type> is 0, 65 seconds
Reference Note
This command is applied to activate some applications such as HTTP, FTP.
8.1 Overview
Command Description
AT+CIPMUX Start up multi-IP connection
AT+CIPSTART Start up TCP or UDP connection
AT+CIPSEND Send data through TCP or UDP connection
AT+CIPQSEND Select data transmitting mode
AT+CIPACK Query previous connection data transmitting state
AT+CIPCLOSE Close TCP or UDP connection
AT+CIPSHUT Deactivate GPRS PDP context
AT+CLPORT Set local port
AT+CSTT Start task and set APN, user name, password
AT+CIICR Bring up wireless connection with GPRS
AT+CIFSR Get local IP address
AT+CIFSREX Get Local IP Address extend
AT+CIPSTATUS Query current connection status
AT+CDNSCFG Configure domain name server
AT+CDNSGIP Query the IP address of given domain name
AT+CIPHEAD Add an IP head at the beginning of a package received
AT+CIPATS Set auto sending timer
AT+CIPSPRT Set prompt of ‘>’ when module sends data
AT+CIPSERVER Configure module as server
AT+CIPCSGP Set GPRS for connection mode
AT+CIPSRIP Show remote IP address and port when received data
AT+CIPDPDP Set whether to check state of GPRS network timing
AT+CIPMODE Select TCPIP application mode
AT+CIPCCFG Configure transparent transfer mode
AT+CIPSHOWTP Display transfer protocol in IP head when received data
AT+CIPUDPMODE UDP extended mode
AT+CIPRXGET Get data from network manually
AT+CIPRDTIMER Set remote delay timer
AT+CIPSGTXT Select GPRS PDP context
OK
2) If AT+CIPMUX=1
Test Command
+CIPSTART: (list of supported <n>),(list of supported <mode>),(<IP
AT+CIPSTART=?
address>),(<port>)
+CIPSTART: (list of supported <n>),(list of supported <mode>),(<domain
name>),(<port>)
OK
Parameters
See Write Command
Response
1)If single IP connection (+CIPMUX=0)
If format is right response
OK
Write Command otherwise response
1)If single IP connection If error is related to ME functionality:
(+CIPMUX=0) +CME ERROR <err>
Response when connection exists
AT+CIPSTART=<mode
>,<IP address>,<port> ALREADY CONNECT
or Response when connection is successful
CONNECT OK
AT+CIPSTART=<mode
>,<domain Otherwise
name>,<port> STATE: <state>
CONNECT FAIL
2)If multi-IP connection
2)If multi-IP connection (+CIPMUX=1)
(+CIPMUX=1) If format is right
AT+CIPSTART=<n>,< OK,
mode>,<address>,<po otherwise response
rt> If error is related to ME functionality:
or +CME ERROR <err>
AT+CIPSTART=<n>,< Response when connection exists
mode>,<domain <n>,ALREADY CONNECT
name>,<port> If connection is successful
<n>,CONNECT OK
Otherwise
<n>,CONNECT FAIL
Parameters
OK
Test Command
2) For multi IP connection (+CIPMUX=1)
AT+CIPSEND=?
+CIPSEND: (0-7),<length>
OK
Parameters
See Write Command
Response
1) For single IP connection (+CIPMUX=0)
+CIPSEND: <size>
OK
Read Command 2) For multi IP connection (+CIPMUX=1)
AT+CIPSEND? +CIPSEND: <n>,<size>
OK
Parameters
<n> A numeric parameter which indicates the connection number
<size> A numeric parameter which indicates the data length sent at a time
Response
This Command is used to send changeable length data
If single IP is connected (+CIPMUX=0)
If connection is not established or module is disconnected:
If error is related to ME functionality:
Write Command
+CME ERROR <err>
1) If single IP connection
If sending is successful:
(+CIPMUX=0)
When +CIPQSEND=0
AT+CIPSEND=<length
SEND OK
>
When +CIPQSEND=1
DATA ACCEPT: <length>
2) If multi IP connection
If sending fails:
(+CIPMUX=1)
SEND FAIL
AT+CIPSEND=<n>[,<le
If multi IP connection is established (+CIPMUX=1)
ngth>]
If connection is not established or module is disconnected:
If error is related to ME functionality:
+CME ERROR <err>
If sending is successful:
When +CIPQSEND=0
<n>,SEND OK
When +CIPQSEND=1
DATA ACCEPT: <n>,<length>
If sending fails:
<n>,SEND FAIL
Parameters
<n> A numeric parameter which indicates the connection number
<length> A numeric parameter which indicates the length of sending
data, it must be less than <size>
Response
This Command is used to send changeable length data.
If single IP connection is established (+CIPMUX=0)
If connection is not established or module is disconnected:
If error is related to ME functionality:
+CME ERROR <err>
If sending is successful:
Execution Command
When +CIPQSEND=0
AT+CIPSEND
SEND OK
Response ">", then type
When +CIPQSEND=1
data for send,tap
DATA ACCEPT: <length>
CTRL+Z to send, tap
If sending fails:
ESC to cancel the
SEND FAIL
operation
Note
This Command can only be used in single IP connection mode
(+CIPMUX=0) and to send data on the TCP or UDP connection that has
been established already. Ctrl-Z is used as a termination symbol. ESC is
used to cancel sending data. There are at most <size> bytes which can be
sent at a time.
Parameter Saving Mode NO_SAVE
When +CIPQSEND=0 and the remote server no response, after 645
Max Response Time
seconds, "CLOSE" will be reported.
Note
The data length which can be sent depends on network status.
Reference
Set the time that send data automatically with the Command of
AT+CIPATS.
Only send data at the status of established connection.
Response
+CIPQSEND: (0,1)
Test Command
AT+CIPQSEND=? OK
Parameters
See Write Command
Response
+CIPQSEND: <n>
Read Command
AT+CIPQSEND? OK
Parameter
See Write Command
Response
OK
Parameters
<n>
Write Command 0 Normal mode – when the server receives TCP data, it will response
AT+CIPQSEND=<n> SEND OK.
1 Quick send mode – when the data is sent to module, it will response
DATA ACCEPT: <length> (For single IP connection (+CIPMUX=0)) or
DATA ACCEPT: <n>,<length> (For multi IP connection (+CIPMUX=1))
while not responding SEND OK.
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
Write Command
OK
If multi IP connection
Parameters
(+CIPMUX=1)
<n> A numeric parameter which indicates the connection number
AT+CIPACK=<n>
<txlen> The data amount which has been sent
<acklen> The data amount confirmed successfully by the server
<nacklen> The data amount without confirmation by the server
Execution Command Response
OK
Test Command
2) For multi IP connection (+CIPMUX=1)
AT+CLPORT=?
+CLPORT: (0-7),("TCP","UDP"),(0-65535)
OK
Parameters
See Write Command
Response
1) For single IP connection (+CIPMUX=0)
Read Command +CLPORT: <TCP port>,<UDP port>
AT+CLPORT?
OK
2) For multi IP connection (+CIPMUX=1)
OK
Parameters
See Write Command
Response
Write Command
OK
1) For single IP
or
connection
ERROR
(+CIPMUX=0)
Parameters
AT+CLPORT=<mode>,
<n> 0..7 A numeric parameter which indicates the connection
<port>
number this used in multi IP connection
2) For multi IP
<mode> A string parameter which indicates the connection type
connection
"TCP" TCP local port
(+CIPMUX=1)
"UDP" UDP local port
AT+CLPORT=<n>,<mo
<port> 0-65535 A numeric parameter which indicates the local port.
de>,<port>
Default value is 0, a port can be dynamically allocated a port.
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
This command will be effective when module is set as a Client.
8.2.9 AT+CSTT Start Task and Set APN, USER NAME, PASSWORD
Parameters
See Write Command
Response
OK
or
ERROR
Write Command Parameters
AT+CSTT=<apn>,<use <apn> A string parameter which indicates the GPRS access point
r name>,<password> name. The max length is 50 bytes.Defautl value is "CMNET".
<user name> A string parameter which indicates the GPRS user name.
The max length is 50 bytes.
<password> A string parameter which indicates the GPRS password.
The max length is 50 bytes.
Parameter Saving Mode NO_SAVE
Max Response Time -
Response
Execution Command OK
AT+CSTT or
ERROR
Note
Reference The write command and execution command of this command is valid only
at the state of IP INITIAL. After this command is executed, the state will be
changed to IP START.
Execution Command
OK
AT+CIFSREX
Parameter
<IP address> A string parameter which indicates the IP address assigned
from GPRS
Parameter Saving Mode NO_SAVE
STATE: <state>
2) If in multi-connection mode (+CIPMUX=1)
OK
CLOSING
<client state> INITIAL
CONNECTING
CONNECTED
REMOTE CLOSING
CLOSING
CLOSED
<state> A string parameter which indicates the progress of
connecting
0 IP INITIAL
1 IP START
2 IP CONFIG
3 IP GPRSACT
4 IP STATUS
5 TCP CONNECTING/UDP CONNECTING
/SERVER LISTENING
6 CONNECT OK
7 TCP CLOSING/UDP CLOSING
8 TCP CLOSED/UDP CLOSED
9 PDP DEACT
In Multi-IP state:
0 IP INITIAL
1 IP START
2 IP CONFIG
3 IP GPRSACT
4 IP STATUS
5 IP PROCESSING
9 PDP DEACT
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
Response
PrimaryDns: <pri_dns>
SecondaryDns: <sec_dns>
Read Command
AT+CDNSCFG?
OK
Parameter
See Write Command
Response
OK
or
Write Command ERROR
AT+CDNSCFG=<pri_d Parameters
ns>[,<sec_dns>] <pri_dns> A string parameter which indicates the IP address of the
primary domain name server. Default value is 0.0.0.0.
<sec_dns> A string parameter which indicates the IP address of the
secondary domain name server. Default value is 0.0.0.0.
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
3 NETWORK ERROR
There are some other error codes as well.
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
OK
Parameters
See Write Command
Response
OK
or
ERROR
Parameters
Write Command <send prompt> A numeric parameter which indicates whether to echo
AT+CIPSPRT=<send prompt ‘>’ after module issues AT+CIPSEND command.
prompt> 0 It shows "send ok" but does not prompt echo ‘>’ when sending is
successful.
1 It prompts echo ‘>’ and shows "send ok" when sending is
successful.
2 It neither prompts echo ‘>’ nor shows "send ok" when sending is
successful.
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
Parameters
<mode> 0 Close server
1 Open server
<port> 1..65535 Listening port
<channel id> Channel id
<bearer> GPRS bearer
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference This command is allowed to establish a TCP server only when the state is
IP INITIAL or IP STATUS when it is in single state. In multi-IP state, the
state is in IP STATUS only.
8.2.21 AT+CIPSRIP Show Remote IP Address and Port When Received Data
OK
Parameters
See Write Command
Response
+CIPDPDP: <mode>,<interval>,<timer>
Read Command
AT+CIPDPDP? OK
Parameters
See Write Command
Response
OK
or
ERROR
Parameters
Write Command
<mode>
AT+CIPDPDP=<mode>
0 Not set detect PDP
[,<interval>,<timer>]
1 Set detect PDP
<interval>
1<=interval<=180(s), default value is 10.
<timer>
1<=timer<=10, default value is 3.
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference If "+PDP: DEACT" urc is reported because of module not attaching to gprs
for a certain time or other reasons, user still needs to execute
"AT+CIPSHUT" command makes PDP context come back to original state.
Parameters
See Write Command
Response
OK
Write Command or
AT+CIPMODE=<mode ERROR
> Parameters
<mode> 0 Normal mode
1 Transparent mode
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
<data size>,<TCP/UDP>:<data>"
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
This command will be effective only in single connection mode
Reference
(+CIPMUX=0).
Only when +CIPHEAD is set to 1, the setting of this command will work.
OK
Test Command
2) For multi IP connection (+CIPMUX=1)
AT+CIPUDPMODE=?
+CIPUDPMODE: (0-5),(0-2),("(0-255).(0-255).(0-255).(0-255)"),(1-65535)
OK
Parameters
See Write Command
Response
1) For single IP connection (+CIPMUX=0)
+CIPUDPMODE: <mode>[,<IP address>,<Port>]
OK
2) For multi IP connection (+CIPMUX=1)
+CIPUDPMODE: 0,<mode>[,<IP address>,<Port>]
+CIPUDPMODE: 1,<mode>[,<IP address>,<Port>]
Read Command +CIPUDPMODE: 2,<mode>[,<IP address>,<Port>]
AT+CIPUDPMODE? +CIPUDPMODE: 3,<mode>[,<IP address>,<Port>]
+CIPUDPMODE: 4,<mode>[,<IP address>,<Port>]
+CIPUDPMODE: 5,<mode>[,<IP address>,<Port>]
+CIPUDPMODE: 6,<mode>[,<IP address>,<Port>]
+CIPUDPMODE: 7,<mode>[,<IP address>,<Port>]
OK
Parameter
See Write Command
Write Command Response
1) For single IP OK
connection or
(+CIPMUX=0) ERROR
AT+CIPUDPMODE=<m
ode>[,<IP <n> 0-7 A numeric parameter which indicates the connection
address>,<Port>] number
2) For multi IP <mode> 0UDP Normal Mode
connection 1 UDP Extended Mode
(+CIPMUX=1) 2 Set UDP address to be sent
AT+CIPUDPMODE=<n <IP address> A string parameter which indicates remote IP address
>,<mode>[,<IP <port> Remote port
address>,<Port>]
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
OK
Test Command If multi IP connection (+CIPMUX=1)
AT+CIPRXGET=? +CIPRXGET: (list of supported <mode>s), (list of supported <id>s), (list of
supported <reqlength>)
OK
Parameters
See Write Command
Response
+CIPRXGET: <mode>
Read Command
AT+CIPRXGET? OK
Parameters
See Write Command
Write Command Response
1) If single IP connection OK
(+CIPMUX=0) or
ERROR
AT+CIPRXGET=<mode 1)For single IP connection
>[,<reqlength>] If "AT+CIPSRIP=1" is set, IP address and port are contained.
if <mode>=1
2) If multi IP connection +CIPRXGET: 1[,<IP ADDRESS>:<PORT>]
(+CIPMUX=1) if <mode>=2
+CIPRXGET: 2,<reqlength>,<cnflength>[,<IP ADDRESS>:<PORT>]
AT+CIPRXGET=<mode 1234567890…
>[,<id>,<reqlength>] OK
if <mode>=3
+CIPRXGET: 3,<reqlength>,<cnflength>[,<IP ADDRESS>:<PORT>]
5151…
OK
if <mode>=4
+CIPRXGET: 4,<cnflength>
OK
2)For multi IP connection
If "AT+CIPSRIP=1" is set, IP address and port is contained.
if <mode>=1
+CIPRXGET: 1[,<id>,<IP ADDRESS>:<PORT>]
if <mode>=2
+CIPRXGET: 2,<id>,<reqlength>,<cnflength>[,<IP
ADDRESS>:<PORT>]
1234567890…
OK
if <mode>=3
+CIPRXGET: 3,<id>,<reqlength>,<cnflength>[,<IP
ADDRESS>:<PORT>]
5151…
OK
if <mode>=4
+CIPRXGET: 4,<id>,<cnflength>
OK
Note
Reference
Parameters
See Write Command
Response
OK
If error is related to ME functionality:
ERROR
Parameters
<mode> Set TCP keepalive option.
Write Command 0 Disable TCP keep alive mechanism
AT+CIPTKA=<mode>[, 1 Enable TCP keep alive mechanism
<keepIdle>[,<keepInter <keepIdle> Integer type; Idle time (in second) before TCP send the initial
val>[,<keepCount>]]] keepalive probe.
30-7200
<keepInterval> Interval time (in second) between keepalive probes
retransmission.
30-75-600
<keepCount> Integer type; Maximum number of keepalive probes to be
sent.
1-9
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
e> OK
If error is related to ME functionality:
ERROR
Parameters
<mode> Config to enable or disable TCP nagle algorithm
0 Enable TCP nagle algorithm
1 Disable TCP nagle algorithm
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
SIM7000 series has an embedded TCP/IP stack that is driven by AT commands and enables the host
application to easily access the Internet HTTP(S) service. This chapter is a reference guide to all the AT
commands and responses defined to use with the TCP/IP stack in HTTP(S) Service.
9.1 Overview
AT Command Description
AT+SHSSL Select SSL Configure
AT+SHCONF Set HTTP(S) Parameter
AT+SHCONN HTTP(S) Connection
AT+SHBOD Set Body
AT+SHBODEXT Set Extension Body
AT+SHAHEAD Add Head
AT+SHPARA Set HTTP(S) Para
AT+SHCPARA Clear HTTP(S) Para
AT+SHCHEAD Clear Head
AT+SHSTATE Query HTTP(S) Connection Status
AT+SHREQ Set Request Type
AT+SHREAD Read Response Value
AT+SHDISC Disconnect HTTP(S)
AT+HTTPTOFS Download file to ap file system
AT+HTTPTOFSRL State of download file to ap file system
ERROR
Parameters
<body> Set body value (max length is SHCONF Set value)
<bodylen> Set body length (max length is SHCONF Set value)
Parameter Saving Mode AUTO_SAVE
Max Response Time -
Note:
Reference
Must be executed after the connection
OK
Read Command Response
AT+SHBODEXT? +SHBODEXT: <body>,<len_body>
OK
Write Command Response
AT+SHBODEXT=<len_body OK
>,<timeout> or
<CR>text is entered ERROR
<ctrl-Z/ESC> Parameters
ESC quits without sending <body> Set body value (max length is SHCONF Set value)
<len_body> Length of <body>. Max value is <bodylen>.
<bodylen> Max length set by
"AT+SHCONF="BODYLEN",<bodylen>"
<timeout> Timeout for automatically sending edited data
(100-10000 ms)
Parameter Saving Mode AUTO_SAVE
Max Response Time -
Note:
Reference
Must be executed after the connection
Response
Test command +SHAHEAD: "type",”value”
AT+SHAHEAD=?
OK
Response
Read command +SHAHEAD: <type>,<value>
AT+SHAHEAD?
OK
Response
OK
OR
Write command
ERROR
AT+SHAHEAD=<type>,<
Parameters
value>
<type> Head type (max length is SHCONF Set value)
<value> Head value (max length is SHCONF Set value)
Note: The sum of type and value max length is 350
Parameter Saving Mode AUTO_SAVE
Max Response Time -
Note:
Reference
Must be executed after the connection
OK
Response
Read command +SHPARA: <key>,<value>
AT+SHPARA?
OK
Response
OK
Write command or
AT+SHPARA=<key>,<va ERROR
lue> Parameters
<key> Set key (max is 64 bytes)
<value> Set value (max is 64 bytes)
Parameter Saving Mode AUTO_SAVE
Max Response Time -
Note:
Reference
Must be executed after the connection.
Response
Test command +SHREAD: (0-306176),(1-306176)
AT+SHREAD=?
OK
Response
OK
+SHREAD: <data_len>
<data>
+SHREAD: <data_len>
<data>
.....
or
Write command
ERROR
AT+SHREAD=<startaddr
ess>,<datalen>
If<datalen> is bigger than the data size received, it’s error
If <datalen> is bigger than 2048, will got multi URC +SHREAD
Parameters
<startaddress> Start address of data
<datalen> Set read values length
<data_len> Return data length max is 2048 bytes once,
if more than 2048 bytes, will return many timer until all data are
read out
<data> Response data
Parameter Saving Mode -
Max Response Time -
Note:
Reference
Read data after request
Read Command OK
AT+HTTPTOFS? If error is related to ME functionality:
+CME ERROR: <err>
Parameters
See Write Command
Response
OK
+HTTPTOFS: <StatusCode>,<DataLen>
Parameters
<status>
0 Idle
1 Busy
<url> The url
<file_path>
File path and name on AP side,
For example: "/customer/test.bin","/custapp/ test.bin ","/fota/test.bin"
<timeout> Timeout of HTTP request. Unit is second.
Write Command Range is 10-1000, default value is 50.
AT+HTTPTOFS=<url>, <retrycnt> Retry times of HTTP request.
<file_path>[,<timeout> Range is 5-100, default value is 5.
[,<retrycnt>]] <StatusCode> HTTP Status Code responded by remote server, it
identifier refer to HTTP1.1(RFC2616)
100 Continue
200 OK
206 Partial Content
400 Bad Request
404 Not Found
408 Request Time-out
500 Internal Server Error
600 Not HTTP PDU
601 Network Error
602 No memory
603 DNS Error
604 Stack Busy
OK
If error is related to ME functionality:
+CME ERROR: <err>
Read Command
Parameters
AT+HTTPTOFSRL?
<status> Downloading state
0 Idle
1 During downloading
<curlen> The length of data have been download successfully
<totallen> The length of data download. If total length does not been got,
<totallen> will be 0.
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference
SIM7000 series has an embedded TCP/IP stack that is driven by AT commands and enables the host
application to easily access the Internet FTP service. This chapter is a reference guide to all the AT
commands and responses defined for using with the TCP/IP stack in FTP Service.
10.1 Overview
Command Description
AT+FTPPORT Set FTP control port
AT+FTPMODE Set active or passive FTP mode
AT+FTPTYPE Set the type of data to be transferred
AT+FTPPUTOPT Set FTP put type
AT+FTPCID Set FTP bearer profile identifier
AT+FTPREST Set resume broken download
AT+FTPSERV Set FTP server address
AT+FTPUN Set FTP user name
AT+FTPPW Set FTP password
AT+FTPGETNAME Set download file name
AT+FTPGETPATH Set download file path
AT+FTPPUTNAME Set upload file name
AT+FTPPUTPATH Set upload file path
AT+FTPGET Download file
AT+FTPPUT Set upload file
AT+FTPDELE Delete specified file in FTP server
AT+FTPSIZE Get the size of specified file in FTP server
AT+FTPSTATE Get the FTP state
AT+FTPEXTPUT Extend upload file
AT+FTPMKD Make directory on the remote machine
AT+FTPRMD Remove directory on the remote machine
AT+FTPLIST List contents of directory on the remote machine
AT+FTPEXTGET Extend download file
AT+FTPETPUT Upload File
AT+FTPETGET Download File
AT+FTPQUIT Quit current FTP session
AT+FTPRENAME Rename the Specified File on the Remote Machine
AT+FTPMDTM Get the Last Modification Timestamp of Specified File on the Remote Machine
Parameters
See Write Command
Response
OK
Write Command If error is related to ME functionality:
AT+FTPMODE=<value +CME ERROR: <err>
> Parameters
<value> 0 Active FTP mode
1 Passive FTP mode
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
Parameters
<value> Bearer profile identifier refer to AT+SAPBR
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
Write Command
If error is related to ME functionality:
AT+FTPUN=<value>
+CME ERROR: <err>
Parameters
<value> Alphanumeric ASCII text string up to 49 characters.
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
Parameters
<value> Alphanumeric ASCII text string up to 99 characters
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
+FTPGET: 1,<error>
If mode is 2:
+FTPGET: 2,<cnflength>
012345678…
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<mode> 1 For opening FTP get session
2 For reading FTP download data.
<reqlength> Requested number of data bytes (1-1460)to be read
<cnflength> Confirmed number of data bytes to be read, which may be less
than <length>. 0 indicates that no data can be read.
<error> 61 Net error
62 DNS error
63 Connect error
64 Timeout
65 Server error
66 Operation not allow
70 Replay error
71 User error
72 Password error
73 Type error
74 Rest error
75 Passive error
76 Active error
77 Operate error
78 Upload error
79 Download error
80 Manual quit
Parameter Saving Mode NO_SAVE
Max Response Time 75 seconds(In case no response is received from server)
Note
Reference When "+FTPGET: 1,1" is shown, then use "AT+FTPGET=2,<reqlength>"
to read data. If the module still has unread data, "+FTPGET: 1,1" will be
shown again in a certain time.
+FTPPUT: 1,1,<maxlength>
+FTPPUT: 1,<error>
Note
Reference
When "+FTPPUT: 1,1,<maxlength>" is shown, then use "AT+FTPPUT=2,
<reqlength>" to write data.
+FTPDELE: 1,0
If failed:
Execution Command
OK
AT+FTPDELE
+FTPDELE: 1,<error>
AT+FTPSIZE If successed:
OK
+FTPSIZE: 1,0,<size>
If failed:
OK
+FTPSIZE: 1,<error>,0
OK
If error is related to ME functionality:
Execution Command
+CME ERROR: <err>
AT+FTPSTATE
Parameters
<state>
0 Idle
1 In the FTP session, including FTPGET, FTPPUT, FTPDELE and
FTPSIZE operation.
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
If mode is 2
+FTPEXTPUT: <address>,<len>
…… //Input data
OK
Write Command
If error is related to ME functionality:
AT+FTPEXTPUT=<mod
+CME ERROR: <err>
e>[,<pos>,<len>,<time
Parameters
out>]
<mode> 0 use default FTPPUT method
1 use extend FTPPUT method
2 send data to RAM through serial port, then FTPPUT method
will get the data from RAM.
<pos> data offset address 0-300k
<len> data length 0-300k
<timeout> timeout value of serial port. 1000ms-1000000ms
<file name> File name length should less or equal 50 characters.
<err> See "AT+FTPGET"
Parameter Saving Mode NO_SAVE
Max Response Time 75 seconds(In case no response is received from server)
Note
When extend FTPPUT mode is activated, input data then execute
Reference
"AT+FTPPUT=1" to transmit, after session is complete, if successful, it
returns "+FTPPUT: 1,0", otherwise it returns "+FTPPUT: 1,<error>",
<error> see "AT+FTPGET".
AT+FTPMKD=? OK
Response
If success:
OK
+FTPMKD: 1,0
If failed:
Execution Command
OK
AT+FTPMKD
+FTPMKD: 1,<error>
+FTPRMD: 1,0
If failed:
Execution Command
OK
AT+FTPRMD
+FTPRMD: 1,<error>
+FTPLIST: 1,1
+FTPLIST: 1,<error>
Write Command
AT+FTPLIST=<mode>[, If mode is 2:
<reqlength>] +FTPLIST: 2,<cnflength>
012345678…
OK
be used to read data. If the module still has unread data, "+FTPLIST:
1,1" will be shown again in a certain time.
If using "AT+FTPGETPATH" to set a directory path, it will returned the
files contents under this directory; if set a file path, it will return the
information of the file specified.
+FTPEXTGET: 1,0
<file name> File name length should less than or equal to 50 characters.
<pos> data offset should less than <length>.
<len> data length 0-300k.
<length> The length of the downloaded data from the remote machine.
<error> See "AT+FTPGET"
Parameter Saving Mode NO_SAVE
Max Response Time 75 seconds(In case no response is received from server)
Reference Note
The data it can get is 300k at most.
Test Command
OK
AT+FTPETPUT=?
Parameters
See Write Command
Response
If mode is 1 and successfully open PUT session:
OK
+FTPETPUT: 1,1
+FTPETPUT: 1,<error>
Write Command
If mode is 2:
AT+FTPETPUT=<mode
+FTPETPUT: 2,1
>
… //Input data
<ETX> //To notify the module that all data has been sent, switch
from data mode to command mode
OK
Test Command
OK
AT+FTPETGET=?
Parameters
See Write Command
Response
If mode is 1 and successfully open GET session:
OK
+FTPETGET: 1,1
+FTPETGET: 1,<error>
Parameters
<mode> 1 Open FTPETGET session and download data.
<error> See "AT+FTPEXTGET"
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Each <ETX> character present in the payload data of the FTP flow will
Reference
be coded by the TCP/IP stack on the serial port as <DLE><ETX>. Each
<DLE> character will be coded as <DLE><DLE>. The attached host
must then decode the FTP flow to remove these escape characters.
+FTPGET: 1,80
Execution Command
AT+FTPQUIT If the current operation is PUT method:
OK
+FTPPUT: 1,80
+FTPRENAME: 1,0
If failed:
OK
+FTPRENAME: 1,<error>
+FTPMDTM: 1,0,<timestamp>
If failed:
Execution Command
OK
AT+FTPMDTM
+FTPMDTM: 1,<error>
11.1 Overview
Command Description
AT+CNTPCID Set GPRS bearer profile’s ID
AT+CNTP Synchronize network time
Reference Note
+CNTP: <code>[,<time>]
Execution command Parameter
AT+CNTP <code> 1 Network time synchronization is successful
61 Network Error
62 DNS resolution error
63 Connection Erro
64 Service response error
12.1 Overview
Command Description
AT+MIPLCREATE Create OneNet configuration
AT+MIPLDELETE Delete OneNet configuration
AT+MIPLOPEN Connect to OneNet
AT+MIPLADDOBJ Add object
AT+MIPLDELOBJ Delete object
AT+MIPLCLOSE Disconnect to OneNet
AT+MIPLNOTIFY Notify data to OneNet
AT+MIPLREADRSP Send response on read command
AT+MIPLWRITERSP Send response on write command
AT+MIPLEXECUTERSP Send response on execute command
AT+MIPLOBSERVERSP Send response on observe command
AT+MIPLDISCOVERRSP Send response on discover command
AT+MIPLPARAMETERRSP Send response on parameter command
AT+MIPLUPDATE Update registration
AT+MIPLVER Version of OneNet SDK
AT+MIPLBOOTSTRAP Bootstrap mode
+MIPLREAD Read request to user
+MIPLWRITE Write request to user
+MIPLEXECUTE Execute request to user
+MIPLOBSERVE Observe request to user
+MIPLDISCOVER Discover request to user
+MIPLPARAMETER Set parameter request to user
+MIPLEVENT Event indication to user
Write Command OK
AT+MIPLCREATE=<siz Parameters
e>,<config>,<index>,<t <size> Current <config> size
otalsize>,<flag> <config> Config in hex format
<index> Current config index
<totalsize> Total config size
<flag> Indicate the input is over or not
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
> Parameters
<ref> Config id
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
AT+MIPLCLOSE=<ref> OK
Parameters
<ref> Config id
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
OK
Parameters
See Write Command
Response
OK
Write Command
Parameters
AT+MIPLWRITERSP=<
<ref> Config id
ref>,<msgid>,<result>
<msgid> Message id
<result> Result
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference
Note
<ref>,<msgid>,<objectid>,<instanceid>,<resourceid>,<len>,<paramete
r>
Parameters
<ref> Integer, OneNET instance returned by AT+MIPLCREATE
<msgid> Integer, message id
<objectid> Integer, object id
<instanceid> Integer, instance id, observe all resources of all instances
of the object if instanceid equals -1
<resourceid> Integer, resource id, observe all resources of the instance if
resourceid equals -1
<len> Integer, parameter length
<parameter> String, parameter string, must start with "and end with"
pmin=xxx; pmax=xxx; gt=xxx; lt=xxx; stp=xxx
13.1 Overview
Command Description
AT+SIMLCREATE Create configuration
AT+SIMLMODE Connection mode
AT+SIMLOPEN Connect to Telecom IOT
AT+SIMLSEND Send data to Telecom IOT
AT+SIMLCLOSE Disconnect to Telecom IOT
14.1 Overview
Command Description
AT+CGNSPWR GNSS Power Control
AT+CGNSINF GNSS Navigation Information Parsed From NMEA Sentences
AT+CGNSURC GNSS Navigation URC Report
AT+CGNSPORT GNSS NMEA Out Port Set
AT+CGNSCOLD GNSS Cold Start
AT+CGNSWARM GNSS Warm Start
AT+CGNSHOT GNSS Hot Start
AT+CGNSMOD GNSS Work Mode Set
AT+CGNSCFG GNSS NMEA Out Configure
AT+CGNSTST GNSS NMEA Data Output to AT Port
AT+CGNSXTRA GNSS XTRA Function Open
AT+CGNSCPY GNSS XTRA File Copy
AT+CGNSRTMS GNSS NMEA out frequency configure
AT+CGNSHOR Configure Positioning Desired Accuracy
AT+CGNSUTIPR Configure Baud Rate When NMEA Output From UART3
AT+CGNSNMEA Configure NMEA output sentences
AT+CGTP IZAT GNSS Configure
AT+CGNSSUPLCFG GNSS SUPL Configure
AT+CGNSSUPL GNSS SUPL Control
OK
Parameters
<GNSS run status>
0 GNSS off
1 GNSS on
<Fix status>
0 Not fixed position
1 Fixed position
See below table 15-1.
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference
Total:(94) chars
Note:
1. The range of <Fix Mode> depends on the GNSS chip used.
2. Reserved.
OK
Parameters
Read Command See Write Command
AT+CGNSURC? Unsolicited Result Code
+UGNSINF: <GNSS run status>,<Fix status>,<UTC date &
Time>,<Latitude>,<Longitude>,<MSL Altitude>,<Speed Over
Ground>,<Course Over Ground>,<Fix
Mode>,<Reserved1>,<HDOP>,<PDOP>,<VDOP>,<Reserved2>,<GNSS
Satellites in View>,<GNSS Satellites Used>,<GLONASS Satellites
Used>,<Reserved3>,<C/N0 max>,<HPA>,<VPA>
Response
OK
or
ERROR
Write Command Parameters
AT+CGNSURC=<Navig <Navigation mode>:
ation mode> 0 Turn off navigation data URC report
1 Turn on navigation data URC report, and report every GNSS FIX
2 Turn on navigation data URC report, and report every 2 GNSS FIX
…
255 Turn on navigation data URC report, and report every 255 GNSS FIX
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference Factory setting is "AT+CGNSURC=0".
URC "+UGNSINF: "parameters are the same as "+CGNSINF:" return.
+CGNSXTRA: <mod>
Parameters
<mod>
0 Aid XTRA file success
1 XTRA file is not exist
2 XTRA file is not effective
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
OK
Parameters
See Write Command
Response
TA returns the current status of configure
+CGNSCFG: <mode>
Read Command
AT+CGNSCFG?
OK
Parameters
See Write Command
Response
OK
or
ERROR
Parameters
Write Command
<mode>
AT+CGNSCFG=<mode
0 Turn off GNSS NMEA data output to USB’s NMEA port when set
>
AT+CGNSPWR=1/0 through UART
1 Turn on GNSS NMEA data output to USB’s NMEA port when set
AT+CGNSPWR=1/0 through UART
2 Turn on GNSS NMEA data output to UART3 port when set
AT+CGNSPWR=1/0
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference
This command only supported in UART port.
OK
Parameters
See Write Command
Response
OK
or
ERROR
Write Command
Parameters
AT+CGNSTST=<TST>[,
<TST>
<cont>]
0 Turn off GNSS NMEA data out put to AT port
1 Turn on GNSS NMEA data out put to AT port
<cont> the number of NMEA data package
1-255
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference
OK
Parameters
<validDurationHours> Validate time of XTRA file,Unit is Hour. Defaut
value is 168.
<Inject gpsOneXTR GPS time> Download time of XTRA file.
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
Execution Command OK
AT+CGNSCPY Parameters
<ret>
1 File not exist
0 Copy success
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference
OK
Parameters
See Read Command
Response
+CGNSRTMS: <frequency >
Read Command
OK
AT+CGNSRTMS?
Parameters
<frequency> GNSS NMEA Out Frequency, range is 50-1000.
Defaultvalue is 1000.
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference
OK
Parameters
See Write Command
Response
+CGNSNMEA: <nmea>
Read Command
AT+CGNSNMEA? OK
Parameters
See Write Command
This command is used to configure NMEA output sentences which are
generated by the GPS One engine when position data is available.
Response
OK
or
ERROR
Parameters
<nmea> Range is 0-262143.
Each bit enables an NMEA sentence output as follows:
Bit 0 GPGGA (global positioning system fix data)
Bit 1 GPRMC (recommended minimum specific GPS/TRANSIT data)
Bit 2 GPGSV (GPS satellites in view)
Bit 3 GPGSA (GPS DOP and active satellites)
Bit 4 GPVTG (track made good and ground speed)
Write Command Bit 5 PQXFI (Global Positioning System Extended Fix Data.)
AT+CGNSNMEA=<nme Bit 6 GLGSV (GLONASS satellites in view GLONASS fixes only)
a> Bit 7 GNGSA (1. GPS/2. Glonass/3. GALILE DOP and Active
Satellites.)
Bit 8 GNGNS (fix data for GNSS receivers;output for
GPS,GLONASS,GALILEO)
Bit 9 Reserved
Bit 10 GAGSV (GALILEO satellites in view)
Bit 11 Reserved
Bit 12 Reserved
Bit 13 Reserved
Bit 14 Reserved
Bit 15 Reserved,
Bit 16 BDGSA/PQGSA (BEIDOU/QZSS DOP and active satellites)
Bit 17 BDGSV/PQGSV (BEIDOUQZSS satellites in view)
Set the desired NMEA sentence bit(s). If multiple NMEA sentence formats
are desired, "OR" the desired bits together.
Parameter Saving Mode AUTO_SAVE_REBOOT
Max Response Time -
Reference Note:
Reserved default 0, set invalid.
OK
//If query result is not this , need set it
AT+CGTP=1
OK
// Start IZAT location
AT+CGTP
OK
+GTPCELL:
32.943878,-117.214508,2019-08-23,17:28:03,1330.200928
15.1 Overview
Command Description
AT+CFSINIT Get Flash Data Buffer
AT+CFSWFILE Write File to the Flash Buffer Allocated by CFSINIT
AT+CFSRFILE Read File from Flash
AT+CFSDFILE Delete the File from the Flash
AT+CFSGFIS Get File Size
AT+CFSREN Rename a file
AT+CFSGFRS Get the size of file system
AT+CFSTERM Free the Flash Buffer Allocated by CFSINIT
AT+CBAINIT Initialize the ap backup file system
AT+CBALIST Set the files which want to backup
AT+CBAPPS Start to backup ap file system allocated by CBAINIT and CBALIST
AT+CBART Restore the file into ap file system
Response
+CFSDFILE: (0-3),"fileName"
Test Command
AT+CFSDFILE=? OK
Parameters
See Write Command
Response
OK
or
ERROR
or
+CME ERROR: <err>
Write Command Parameters
AT+CFSDFILE=<index <index>
>,<file name> Directory of AP filesystem:
0 "/custapp/"
1 "/fota/"
2 "/datatx/"
3 "/customer/"
<file name>
File name length should be less than or equal to 50 characters.
Parameter Saving Mode -
Max Response Time -
Reference Note
OK
Parameters
<file name>
File name length should be less than or equal to 50 characters.
<n> File size
<index>
Directory of AP filesystem:
0 "/custapp/"
1 "/fota/"
2 "/datatx/"
3 "/customer/"
Parameter Saving Mode -
Max Response Time -
Reference Note
OK
Parameters
<n> the size of file system
Parameter Saving Mode -
Max Response Time -
Reference Note
16.1 Overview
Command Description
AT+STIN SAT indication
AT+STGI Get SAT information
AT+STGR SAT respond
AT+STK STK switch
OK
If the current proactive command has been changed:
Read Command + STIN: <cmd_id>
AT+STIN? Parameters
<cmd_id> Indicate the type of proactive command issued.
21 Display text
22 Get inkey
23 Get input
24 Select item
25 Set up menu
Parameter Saving Mode -
Max Response Time -
Reference Notification that application will return to main menu automatically if user
doesn’t do any action in 2 minutes.
OK
If <cmd_id>=22:
+STGI:22,<rsp_format>,<help>,<text_len>,<text>
OK
If <cmd_id>=23:
+STGI:23,<rsp_format>,<max_len>,<min_len>,<help>,<show><text_le
n>,<text>
Write Command
AT+STGI=<cmd_id>
OK
If <cmd_id>=24:
+STGI:24,<help>,<softkey>,<present>,<title_len>,<title><item_num>
+STGI:24,<item_id>,<item_len>,<item_data>
[…]
OK
If <cmd_id>=25:
+STGI:25,<help>,<softkey>,<title_len>,<title><item_num>
+STGI:25,<item_id>,<item_len>,<item_data>
[…]
OK
or
ERROR
Parameters
<cmd_id> See AT+STIN.
<prio> Priority of display text.
0 Normal priority
1 High priority
<clear_mode>
0 Clear after a delay
1 Clear by user
<text_len> Length of text
<rsp_format>
0 SMS default alphabet
1 YES or NO
2 Numerical only
3 UCS2
<help>
0 Help unavailable
1 Help available
<max_len> Maximum length of input
<min_len> Minimum length of input
<show>
0 Hide input text
1 Display input text
<softkey>
0 No softkey preferred
1 Softkey preferred
<present> Menu presentation format available for select item
0 Presentation not specified
1 Data value presentation
2 Navigation presentation
<title_len> Length of title
<item_num> Number of items in the menu
<item_id> Identifier of item
<item_len> Length of item
<title> Title in ucs2 format
<item_data> Content of the item in ucs2 format
<text> Text in ucs2 format
Parameter Saving Mode -
Max Response Time -
Regularly this command is used upon receipt of an URC "+STIN" to request
Reference the parameters of the proactive command. Then the TA is expected to
acknowledge the AT+STGI response with AT+STGR to confirm that the
proactive command has been executed.
Note
Reference
Command Description
AT+CSSLCFG Configure SSL parameters of context identifier
OK
Parameters
See Write Command
Response
Read Command
OK
AT+CSSLCFG?
Parameters
0xC00A QAPI_NET_TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
0xC00E QAPI_NET_TLS_ECDH_RSA_WITH_AES_128_CBC_SHA
0xC00F QAPI_NET_TLS_ECDH_RSA_WITH_AES_256_CBC_SHA
0xC013 QAPI_NET_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
0xC014 QAPI_NET_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
0xC023
QAPI_NET_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
0xC024
QAPI_NET_TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
0xC025 QAPI_NET_TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256
0xC026 QAPI_NET_TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384
0xC027 QAPI_NET_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
0xC028 QAPI_NET_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
0xC029 QAPI_NET_TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256
0xC02A QAPI_NET_TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384
0xC02B
QAPI_NET_TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
0xC02C
QAPI_NET_TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
0xC02D
QAPI_NET_TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256
0xC02E
QAPI_NET_TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384
0xC02F QAPI_NET_TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
0xC030 QAPI_NET_TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
0xC031 QAPI_NET_TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256
0xC032 QAPI_NET_TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384
0xC09C QAPI_NET_TLS_RSA_WITH_AES_128_CCM
0xC09D QAPI_NET_TLS_RSA_WITH_AES_256_CCM
0xC09E QAPI_NET_TLS_DHE_RSA_WITH_AES_128_CCM
0xC09F QAPI_NET_TLS_DHE_RSA_WITH_AES_256_CCM
0xC0A0 QAPI_NET_TLS_RSA_WITH_AES_128_CCM_8
0xC0A1 QAPI_NET_TLS_RSA_WITH_AES_256_CCM_8
0xC0A2 QAPI_NET_TLS_DHE_RSA_WITH_AES_128_CCM_8
0xC0A3 QAPI_NET_TLS_DHE_RSA_WITH_AES_256_CCM_8
0xCC13
QAPI_NET_TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA25
6
0xCC14
QAPI_NET_TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA
256
0xCC15
QAPI_NET_TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256
AT+CSSLCFG="ignore Response
rtctime",<ctxindex>,<i OK
gnorertctime> If failed:
<ctxindex> (0-5)
<servername> String type.Server Name Indication.SNI addresses this
issue by having the client send the name of the virtual domain as part of the
TLS negotiation.
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
18.1 Overview
Command Description
AT+CACID Set TCP/UDP identifier
AT+CASSLCFG Set SSL certificate and timeout parameters
AT+CAOPEN Open a TCP/UDP connection
AT+CASERVER Open a TCP/UDP Server
AT+CASEND Send data via an established connection
AT+CARECV Receive data via an established connection
AT+CAACK Query Send Data Information
AT+CASTATE Query TCP/UDP Connection State
AT+CACLOSE Close a TCP/UDP connection
AT+CACFG Configure transparent transmission parameters
AT+CASWITCH Switch to transparent transport mode
OK
Parameters
See Write Command
Response
OK
Write Command If error is related to ME functionality:
AT+CACID=<cid> +CME ERROR: <err>
Parameters
<cid> TCP/UDP identifier
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
OK
Parameters
See Write Command
Response
If <cid> has been set by AT+CACID:
+CASSLCFG: <cid>
cacert:<caname>
Read Command clientcert:<certname>
AT+CASSLCFG? psktable:<pskname>
timeout:<timeout>
ssl:<ssl>
crindex:<crindex>
localport:<localport>
protocol:<protocol>
OK
If no <cid> has been set by AT+CACID:
OK
Parameter
See Write Command
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Write Command
Parameters
AT+CASSLCFG=<cid>,
<cid> TCP/UDP identifier, see AT+CACID
"cacert",<caname>
<caname> Alphanumeric ASCII text string up to 64 characters. Root
certificate name that has been configured by AT+CSSLCFG.
Note: If the root certificate is empty, module will trust all certificates as
default.
Response
OK
If error is related to ME functionality:
AT+CASSLCFG=<cid>,
+CME ERROR: <err>
"clientcert",<certname
Parameters
>
<cid> see AT+CACID
<certname> Alphanumeric ASCII text string up to 64 characters. Client
certificate name that has been configured by AT+CSSLCFG.
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
AT+CASSLCFG=<cid>,
Parameters
"psktable",<pskname>
<cid> see AT+CACID
<pskname> Alphanumeric ASCII text string up to 64 characters. PSK
table name that has been configured by AT+CSSLCFG.
File content format is <identity>:<hex string>.
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
AT+CASSLCFG=<cid>,
Parameters
"ssl",<sslFlag>
<cid> see AT+CACID
<sslFlag> Interger
0 Not support SSL
1 Support SSL
AT+CASSLCFG=<cid>, Response
"crindex",<crindex> OK
Read Command
OK
AT+CAOPEN?
If no <cid> has been set by AT+CACID:
OK
Parameter
See Write Command
Response
Write Command
If <asyncOpen_enable> not set or set 0.
AT+CAOPEN=<cid>[,<
+CAOPEN: <cid>,<result>
conn_type>],<server>,
<port>
OK
Otherwise
OK
+CAOPEN: <cid>,<result>
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<cid> see AT+CACID
<conn_type> String type. Transfer type. IPV4 or IPV6 address can be
automatically identified on the client.
"TCP"
"UDP"
<server> Alphanumeric ASCII text string up to 64 characters.Server IP
address or host name.
<port> Interger. Server port.
<result>
0 Success
1 Socket error
2 No memory
3 Connection limit
4 Parameter invalid
6 Invalid IP address
7 Not support the function
12 Can’t bind the port
13 Can’t listen the port
20 Can’t resolv the host
21 Network not active
23 Remote refuse
24 Certificate’s time expired
25 Certificate’s common name does not match
26 Certificate’s common name does not match and time expired
27 Connect failed
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference
After open a connection successfully, if module receives data, it will report
"+CADATAIND: <cid>" to remind user to read data.
OK
Read Command Response
AT+CASERVER? [+CASERVER: <cid>,<conn_type>,<port>
]
OK
Write Command Response
AT+CASERVER<cid>,< +CASERVER: <cid>,<result>
conn_type>,<port>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference
Defined Values
<cid> TCP/UDP identifier
<conn_type> Transfer type
"TCP"
"TCP6"
"UDP"
"UDP6"
<port> Integer. Server port.
<result> 0 Success
1 Socket error
2 No memory
3 Connection limit
4 Parameter invalid
6 Invalid IP address
7 Not support the function
12 Can’t bind the port
13 Can’t listen the port
20 Can’t resolv the host
21 Network not active
23 Remote refuse
24 Certificate’s time expired
25 Certificate’s common name does not match
26 Certificate’s common name does not match and time expired
27 Connect failed error
NOTE
OK
If error is related to ME functionality:
+CME ERROR: <err>
Response
+CASEND: <cid>,<datalen>
…….. //Input data
OK
+CASEND: <cid>,<result>,<sendlen>
If error is related to ME functionality:
Write Command
+CME ERROR: <err>
AT+CASEND=<cid>,<d
Parameters
atalen>[,inputtime]
<cid> see AT+CACID
<datalen> Requested number of data bytes to be transmitted
<inputtime> Millisecond, should input data during this period or you can’t
input data when timeout.
<sendlen> Data bytes that has been sent successfully
<result> see AT+CAOPEN
Parameter Saving Mode NO_SAVE
Max Response Time -
Note
Reference Set the input time that input data during this period or you can’t input data
when timeout. The default inputtime is 5000ms.
OK
Write Command Response
AT+CAACK=<cid> +CAACK: <totalsize>,<unacksize>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference -
Defined Values
Defined Values
Parameters
<cid> see AT+CACID
Unsolicited Result Code If <autoClose_s>=1, this report will be reported when the remote connection
is disconnected.
+CACLOSE: (range of supported <cid>s)
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
OK
Response
+CACFG:
+TRANSWAITTM: <wait_timeout>
+TRANSPKTSIZE: <size>
[
+CACFG: "SACK",<sack_enable>
+CACFG: "MSS",<mss_value>
+CACFG: "ACKDELAY",<ackDelay_ms>
+CACFG: "TCPIRT",<tcpIRT_ms>
+CACFG: "MAXRXT",<tcpMaxRXT_cnt>s)
+CACFG: "TCPOT",<tcpOT_ms>
+CACFG:
"KEEPALIVE",<keepalive_enable>[<keepalive_idle>,<keepalive_intval
Read Command
>,<keepalive_cnt>]
AT+CACFG?
+CACFG: "TCP_NODELAY",<tcpNodelay_enable>
+CACFG: "LINGER",<linger_enable>[,<linger_ms>]
+CACFG: "SNDBUF",<sndBuf_size>
+CACFG: "RCVBUF",<rcvBuf_size>
+CACFG: "ATOCLOSE",<autoClose_enable>[,<autoClose_s>]
+CACFG: "ACCEPTNUM",<acceptMax_num>
+CACFG: "ASYNCOPEN",<asyncOpen_enable>
+TIMEOUT: <cidx>,<timeoutx>...
+LOCALPORT: <cidx>,<localportx>...
[+REMOTEADDR,<cidx>,<ipadressx>,<portx>...
]]
OK
Write Command Response
AT+CACFG="TRANSW OK
AITTM",<wait_timeout or
> ERROR
Write Command Response
AT+CACFG="TRANSP OK
KTSIZE",<size> or
ERROR
Write Command Response
AT+CACFG="SACK",< OK
sack_enable> or
ERROR
Write Command Response
AT+CACFG="MSS",<m OK
ss_value> or
ERROR
Write Command Response
AT+CACFG=" OK
ACKDELAY",<ackDela or
y_ms> ERROR
Write Command Response
AT+CACFG="TCPIRT", OK
<tcpIRT_ms> or
ERROR
Write Command Response
AT+CACFG="TCPOT", OK
<tcpOT_ms> or
ERROR
Write Command Response
AT+CACFG="KEEPALI OK
VE",<keepalive_enable or
>[<keepalive_idle>,<ke ERROR
epalive_intval>,<keepa
live_cnt>]
Write Command Response
AT+CACFG="TCP_NO OK
DELAY",<tcpNodelay_ or
enable> ERROR
Write Command Response
AT+CACFG="LINGER" OK
,<linger_enable>[,<ling or
er_ms>] ERROR
Write Command Response
AT+CACFG="SNDBUF OK
",<sndBuf_size> or
ERROR
Write Command Response
AT+CACFG="RCVBUF OK
",<rcvBuf_size> or
ERROR
Write Command Response
AT+CACFG="ATOCLO OK
SE",<autoClose_enabl or
e>[,<autoClose_s>] ERROR
Write Command Response
AT+CACFG="ACCEPT OK
NUM",<acceptMax_nu or
m> ERROR
Write Command Response
AT+CACFG="ASYNCO OK
PEN",(0-1) or
ERROR
Write Command Response
AT+CACFG="TIMEOUT OK
",<cid>,<timeoutx> or
ERROR
Write Command Response
AT+CACFG="LOCALP OK
ORT",<cid>,<localport or
> ERROR
Write Command Response
AT+CACFG="REMOTE OK
ADDR",<cid>,<ipaddre or
ss>,<localport> ERROR
Parameter Saving Mode NO_SAVE
Max Response Time -
Reference Note
CONNECT
Write Command ……
AT+CASWITCH=<cid>,
<transmode> OK
or
ERROR
Parameters
<cid> see AT+CACID
<transmode>
0 Non transparent transmission mode
19.1 Overview
Command Description
AT+SNPING4 Sends an IPv4 ping
AT+SNPING6 Sends an IPv6 ping
OK
or
Write command ERROR
AT+SNPING4=<URL>,< Parameters
count>,<size>,<timeou <URL> String type :Address of the remote host
t> <count> The number of Ping Echo Requset to send, range: 1~500
<size> Number of data bytes to send, range: 1~1400
<timeout> Ping request timeout value (in ms),range:0-60000
<replyId> Echo Reply number
<IP Address> IP Address of the remote host
<replyTime> Time, in ms, required to receive the response
Parameter Saving Mode -
Max Response Time -
Note:
Reference
Before sending PING Request the GPRS context must be activated
OK
or
Write command ERROR
AT+SNPING6=<URL>,< Parameters
count>,<size>,<timeou <URL> String type :Address of the remote host
t> <count> The number of Ping Echo Requset to send, range: 1~500
<size> Number of data bytes to send, range: 1~1400
<timeout> Ping request timeout value (in ms),range:0-60000
<replyId> Echo Reply number
<IP Address> IP Address of the remote host
<replyTime> Time, in ms, required to receive the response
Parameter Saving Mode -
Max Response Time -
Note:
Reference
Before sending PING Request the GPRS context must be activated.
Final result code +CME 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.
<err> values used by common messaging commands:
Final result code +CMS ERROR: <err> indicates an error related to message service 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.
<err> values used by common messaging commands:
193 No SC subscription
194 SC system failure
195 Invalid SME address
196 Destination SME barred
197 SM Rejected-Duplicate SM
198 TP-VPF not supported
199 TP-VP not supported
208 SIM SMS storage full
209 No SMS storage capability in SIM
210 Error in MS
211 Memory Capacity Exceeded
212 SIM Application Toolkit Busy
213 SIM data download error
224 CP retry exceed
225 RP trim timeout
226 SMS connection broken
255 Unspecified error cause
300 ME failure
301 SMS reserved
302 operation not allowed
303 operation not supported
304 invalid PDU mode
305 invalid text mode
310 SIM not inserted
311 SIM pin necessary
312 PH SIM pin necessary
313 SIM failure
314 SIM busy
315 SIM wrong
316 SIM PUK required
317 SIM PIN2 required
318 SIM PUK2 required
320 memory failure
321 invalid memory index
322 memory full
323 invalid input parameter
324 invalid input format
325 invalid input value
330 SMSC address unknown
331 no network
332 network timeout
+CMT:
<oa>,<scts>[,<tooa>,<fo>,<pid Indicates that new message has been AT+CNMI
>,<dcs>,<sca>,<tosca>, received. <mt>=2 (text mode)
<length>]<CR><LF><data>
AT+CNMI
+CBM: Indicates that new cell broadcast message
<bm>=2 (PDU mode
<length><CR><LF><pdu> has been received.
enabled):
+CBM: AT+CNMI
Indicates that new cell broadcast message
<sn>,<mid>,<dcs>,<page>,<pa <bm>=2 (text mode
has been received.
ges><CR><LF><data> enabled):
AT+CNMI
+CDS: Indicates that new SMS status report has
<ds>=1 (PDU mode
<length><CR><LF><pdu> been received.
enabled):
+CDS: AT+CNMI
Indicates that new SMS status report has
<fo>,<mr>[,<ra>][,<tora>],<sct <ds>=1 (text mode
been received.
s>,<dt>,<st> enabled):
*PSNWID: "<mcc>","<mnc>",
"<full network name>",<full
network name CI>,"<short Refresh network name by network.
network name>",<short
network name CI>
*PSUTTZ:
AT+CLTS=1
<year>,<month>,<day>,<hour>
Refresh time and time zone by network.
,<min>,<sec>,"<time
zone>",<dst>
+CTZV: "<time zone>" Refresh network time zone by network.
Refresh Network Daylight Saving Time by
DST: <dst>
network.
Indicates whether some password is
+CPIN: <code>
required or not.
AT+CPIN
+CPIN: NOT READY SIM Card is not ready.
+CPIN: NOT INSERTED SIM Card is not inserted.
+CUSD: Indicates an USSD response from the
AT+CUSD=1
<n>[,<str_urc>[,<dcs>]] network, or network initiated operation.
SIM7000 is powered down by the PWRKEY
NORMAL POWER DOWN
pin or AT command "AT+CPOWD=1".
UNDER-VOLTAGE POWER
Under-voltage automatic power down.
DOWN
UNDER-VOLTAGE WARNNING under-voltage warning
OVER-VOLTAGE POWER
Over-voltage automatic power down.
DOWN
OVER-VOLTAGE WARNNING over-voltage warning
Power on procedure is completed, and the
module is ready to operate at fixed baud AT+IPR=<rate>
RDY
rate. (This URC does not appear when <rate> is not 0
auto-bauding function is active).
+CFUN: <fun> Phone functionality indication (This URC AT+IPR=<rate>