SIM7500 SIM7600 Series at Command Manual V2.00
SIM7500 SIM7600 Series at Command Manual V2.00
SIM7500 SIM7600 Series at Command Manual V2.00
AT Command Manual
LTE Module
GENERAL NOTES
COPYRIGHT
www.simcom.com 2 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Version History
www.simcom.com 3 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Contents
Version History..................................................................................................................................... 3
Contents................................................................................................................................................. 4
1. Introduction.................................................................................................................................. 16
1.1 Scope of the document........................................................................................................................16
1.2 Related documents...............................................................................................................................16
1.3 Conventions and abbreviations.......................................................................................................... 16
1.4 AT Command syntax............................................................................................................................ 16
1.4.1 Basic syntax...................................................................................................................................17
1.4.2 S Parameter syntax......................................................................................................................17
1.4.3 Extended Syntax...........................................................................................................................17
1.4.4 Combining AT commands on the same Command line........................................................ 18
1.4.5 Entering successive AT commands on separate lines........................................................... 18
1.5 Supported character sets.................................................................................................................... 18
1.6 Flow control............................................................................................................................................19
1.6.1 Software flow control (XON/XOFF flow control)......................................................................19
1.6.2 Hardware flow control (RTS/CTS flow control)........................................................................19
1.7 Definitions...............................................................................................................................................20
1.7.1 Parameter Saving Mode..............................................................................................................20
1.7.2 Max Response Time.....................................................................................................................20
www.simcom.com 4 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
www.simcom.com 5 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
www.simcom.com 6 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
www.simcom.com 7 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
www.simcom.com 8 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
www.simcom.com 9 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
www.simcom.com 10 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
www.simcom.com 11 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
19.2.3 AT+CVAUXV Set voltage value of the pin named VREG_AUX1.................................... 363
19.2.4 AT+CADC Read ADC value...................................................................................................364
19.2.5 AT+CADC2 Read ADC2 value.............................................................................................. 365
19.2.6 AT+CMTE Control the module whether power shutdown when the module’s
temperature upon the critical temperature............................................................................................. 366
19.2.7 AT+CPMVT Low and high voltage Power Off.....................................................................367
19.2.8 AT+CDELTA Set the module go to recovery mode............................................................368
19.2.9 AT+CRIIC Read values from register of IIC device........................................................... 368
19.2.10 AT+CWIIC Write values to register of IIC device....................................................... 369
19.2.11 AT+CBC Read the voltage value of the power supply..............................................370
19.2.12 AT+CPMUTEMP Read the temperature of the module............................................370
19.2.13 AT+CFDISK SD Card/EMMC Flash............................................................................. 371
www.simcom.com 12 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
www.simcom.com 13 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
www.simcom.com 14 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
www.simcom.com 15 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
1. Introduction
This document presents the AT Command Set for SIMCom SIM7500 and SIM7600 series.
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
Command line enter <CR>.
www.simcom.com 16 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
NOTE
Only enter AT Command through serial port after SIM7500&SIM7600 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 17 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
AT+<x>=?
This command returns the currently set value of the parameter or
Read Command
parameters.
AT+<x>?
Write Command This command sets the user-definable parameter values.
AT+<x>=<…>
The execution command reads non-variable parameters affected
Execution Command
by internal processes in the GSM engine.
AT+<x>
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 SIM7500&SIM7600 Series AT Command interface defaults to the IRA character set. The
SIM7500&SIM7600 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.
www.simcom.com 18 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
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.
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. SIM7500&SIM7600 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 SIM7500&SIM7600 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.
www.simcom.com 19 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
To achieve hardware flow control, ensure that the RTS/CTS lines are present on your application platform.
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.
Max response time is estimated maximum time to get response, the unit is seconds.
www.simcom.com 20 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
2. AT Commands According to
V.25TER
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 dialling
ATS7 Set number of seconds to wait for connection completion
ATS8 Set number of seconds to wait for comma dial modifier encountered in
dial 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&E Set CONNECT Result Code Format About Speed
AT+GCAP Request complete TA capabilities list
AT+GMI Request manufacturer identification
AT+GMM Request TA model identification
AT+GMR Request TA revision identification of software release
www.simcom.com 21 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Example
A/
+GCAP:+CGSM,+FCLASS,+DS
OK
This command can be used to set up outgoing data calls. It also serves to control supplementary services.
www.simcom.com 22 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Defined Values
<n> String of dialing digits and optionally V.25ter modifiers dialing digits:
0-9,*, #,+,A,B,C
Following V.25ter modifiers are ignored:
,(comma),T,P,!,W,@
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
Example
ATD10086;
OK
VOICE CALL:BEGIN
NOTE
This command may be aborted generally by receiving an ATH Command or a character during
execution. The aborting is not possible during some states of connection establishment such as
www.simcom.com 23 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
handshaking.
This command is used to originate a call using specified memory and index number.
Defined Values
www.simcom.com 24 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Example
This command is used to originate a call to specified number. Telecom does not support this command.
Defined Values
<n> Integer type memory location in the range of locations available in the
www.simcom.com 25 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Example
ATD>2;
OK
VOICE CALL: BEGIN
This command is used to originate a call to specified number. Telecom does not support this command.
Defined Values
www.simcom.com 26 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
least one phone book entry in the searched memories. <str> formatted
as current TE character set specified by AT+CSCS.<str> must be
double quoted.
<;> The termination character ";" is mandatory to set up voice calls. It must
not be used for data and fax calls.
<text> CONNECT result code string; the string formats please refer
ATX/AT\V/AT&E command.
<err> Service failure result code string; the string formats please refer +CME
ERROR result code and AT+CMEE command.
Example
ATD>”kobe”;
OK
VOICE CALL: BEGIN
This command is used to make remote station to go off-hook, e.g. answer an incoming call. If there is no an
incoming call and entering this command to TA, it will be return “NO CARRIER” to TA.
Example
ATA
VOICE CALL: BEGIN
OK
www.simcom.com 27 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
This command is used to disconnect existing call. Before using ATH command to hang up a voice call, it
must set AT+CVHU=0. Otherwise, ATH command will be ignored and “OK” response is given only.
This command is also used to disconnect PS data call, and in this case it doesn’t depend on the value of
AT+CVHU.
Defined Values
Example
AT+CVHU=0
OK
ATH
VOICE CALL:END:000017
OK
The S-parameter command controls the automatic answering feature of the Module. If set to 000, automatic
answering is disabled, otherwise it causes the Module to answer when the incoming call indication (RING)
has occurred the number of times indicated by the specified value; and the setting will not be stored upon
power-off, i.e. the default value will be restored after restart.
www.simcom.com 28 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
b) If failed
ERROR
Write command Response
ATS0=<n> a)If succes:
OK
b)If failed
ERROR
Reference
V.25ter
Defined Values
NOTE
Example
ATS0?
000
OK
ATS0=003
OK
This command is only available during a connecting PS data call. The +++ character sequence causes the
TA to cancel the data flow over the AT interface and switch to Command Mode. This allows to enter AT
commands while maintaining the data connection to the remote device.
www.simcom.com 29 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
NOTE
To prevent the +++ escape sequence from being misinterpreted as data, it must be preceded and
followed by a pause of at least 1000 milliseconds, and the interval between two ‘+’ character can’t
exceed 900 milliseconds.
ATO is the corresponding command to the +++ escape sequence. When there is a PS data call connected
and the TA is in Command Mode, ATO causes the TA to resume the data and takes back to Data Mode.
ERROR
Reference
V.25ter
Example
ATO
CONNECT 115200
This command is used to request the product information, which consists of manufacturer identification,
model identification, revision identification, International Mobile station Equipment Identity (IMEI) and
overall capabilities of the product.
www.simcom.com 30 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Model: <model>
Revision: <revision>
IMEI: [<sn>]
+GCAP: list of <name>s
OK
Reference
V.25ter
Defined Values
Example
ATI
Manufacturer: SIMCOM
INCORPORATED
Model: SIMCOM_SIM7600C
Revision: SIM7600C _V1.0
IMEI: 351602000330570
+GCAP: +CGSM,+FCLASS,+DS
OK
This command sets the baud rate of module’s serial interface temporarily, after reboot the baud rate is set to
value of IPREX.
www.simcom.com 31 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Defined Values
This command sets character framing which contains data bit, stop bit and parity bit.
Defined Values
www.simcom.com 32 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Example
AT+ICF?
+ICF: 3,3
OK
AT+ICF=?
+ICF: (1-6),(0-3)
OK
AT+ICF=3,3
OK
www.simcom.com 33 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
AT+IFC OK
Reference
V.25ter
Defined Values
Example
AT+IFC?
+ICF: 0,0
OK
AT+IFC=?
+ICF: (0,2),(0,2)
OK
AT+ICF=2,2
OK
This command determines how the state of DCD PIN relates to the detection of received line signal from the
distant end.
Defined Values
www.simcom.com 34 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Example
AT&C1
OK
Defined Values
Example
ATE1
OK
www.simcom.com 35 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Defined Values
Example
AT&V
&C: 0; &D: 2; &F: 0; E: 1; L: 0; M: 0; Q:
0; V: 1; X: 0; Z: 0; S0: 0;
S3: 13; S4: 10; S5: 8; S6: 2; S7: 50; S8:
2; S9: 6; S10: 14; S11: 95;
+FCLASS: 0; +ICF: 3,3; +IFC: 2,2;
+IPR: 115200; +DR: 0; +DS: 0,0,2048,6;
+WS46: 12; +CBST: 0,0,1;
……
OK
This command determines how the TA responds when DTR PIN is changed from the ON to the OFF
condition during data mode.
Defined Values
Example
AT&D1
www.simcom.com 36 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
OK
Defined Values
Example
AT&S0
OK
This parameter setting determines the contents of the header and trailer transmitted with result codes and
information responses.
Defined Values
www.simcom.com 37 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Example
ATV1
OK
This command is used to set all current parameters to the manufacturer defined profile.
Defined Values
Example
AT&F
OK
Specify whether the TA transmits any result code to the TE or not. Text information transmitted in response
is not affected by this setting.
www.simcom.com 38 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
OK
If <n>=1:
No Responses
ATQ Set default value: 0
OK
No Responses
Reference
V.25ter
Defined Values
Example
ATQ0
OK
This parameter setting determines whether the TA transmits unsolicited result codes or not. The unsolicited
result codes are
<CONNECT><SPEED><COMMUNICATION PROTOCOL>[<TEXT>]
Defined Values
www.simcom.com 39 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Example
ATX1
OK
This parameter setting determines whether report the communication protocol. If PS call, it also determines
wether report APN, uplink rate, downlink rate.
Defined Values
Example
AT\V0
OK
www.simcom.com 40 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
This parameter setting determines to report Serial connection rate or Wireless connection speed. It is valid
only ATX above 0.
Defined Values
Example
AT&E0
OK
This command will save the user settings to ME which set by ATE, ATQ, ATV, ATX, AT&C AT&D, AT&S, AT\V,
AT+IFC and ATS0.
www.simcom.com 41 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Reference
V.25ter
Defined Values
<value> 0 – Save
Example
AT&W0
OK
This command will restore the user setting from ME which set by ATE, ATQ, ATV, ATX, AT&C AT&D, AT&S,
AT\Q, AT\V, and ATS0.
Defined Values
<value> 0 – Restore
Example
ATZ0
OK
www.simcom.com 42 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
This command is used to request the manufacturer identification text, which is intended to permit the user of
the Module to identify the manufacturer.
Defined Values
Example
AT+CGMI
SIMCOM INCORPORATED
OK
This command is used to requests model identification text, which is intended to permit the user of the
Module to identify the specific model.
Defined Values
www.simcom.com 43 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Example
AT+CGMM
SIMCOM_SIM7600C
OK
This command is used to request product firmware revision identification text, which is intended to permit
the user of the Module to identify the version.
Defined Values
Example
AT+CGMR
+CGMR: LE11B01SIM7600C
OK
This command requests product serial number identification text, which is intended to permit the user of the
Module to identify the individual ME to which it is connected to.
www.simcom.com 44 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Defined Values
Example
AT+CGSN
351602000330570
OK
Write command informs TA which character set <chest> is used by the TE. TA is then able to convert
character strings correctly between TE and MT character sets.
Read command shows current setting and test command displays conversion schemes implemented in the
TA.
ERROR
www.simcom.com 45 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Defined Values
Example
AT+CSCS=”IRA”
OK
Execution command causes the TA to return <IMSI>, which is intended to permit the TE to identify the
individual SIM card which is attached to MT.
NOTE: If USIM card contains two apps, like China Telecom 4G card, one RUIM/CSIM app, and another
USIM app; so there are two IMSI in it; AT+CIMI will return the RUIM/CSIM IMSI; AT+CIMIM will return the
USIM IMSI.
Defined Values
www.simcom.com 46 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
quotes).
Example
AT+CIMI
460010222028133
OK
Execution command causes the TA to return <IMSI>, which is intended to permit the TE to identify the
individual SIM card which is attached to MT.
NOTE: If USIM card contains two apps, like China Telecom 4G card, one RUIM/CSIM app, and another
USIM app; so there are two IMSI in it; AT+CIMIM will return the USIM IMSI; AT+CIMI will return the
RUIM/CSIM IMSI.
Defined Values
Example
AT+CIMIM
460010222028133
OK
www.simcom.com 47 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Defined Values
Example
AT+GCAP
+GCAP:+CGSM,+FCLASS,+DS
OK
www.simcom.com 48 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Command Description
AT+CFUN Set phone functionality
AT+CPIN Enter PIN
AT+CICCID Read ICCID from SIM card
AT+CSIM Generic SIM access
AT+CRSM Restricted SIM access
AT+SPIC Times remain to input SIM PIN/PUK
AT+CSPN Get service provider name from SIM
AT+CSQ Query signal quality
AT+AUTOCSQ Set CSQ report
AT+CSQDELTA Set RSSI delta change threshold
AT+CATR Configure URC destination interface
AT+CPOF Power down the module
AT+CRESET Reset the module
AT+CACM Accumulated call meter
AT+CAMM Accumulated call meter maximum
AT+CPUC Price per unit and currency table
AT+CCLK Real time clock management
AT+CMEE Report mobile equipment error
AT+CPAS Phone activity status
AT+SIMEI Set IMEI for the module
AT+SMEID RequestMobile Equipment Identifier
AT+CSVM Voice Mail Subscriber number
www.simcom.com 49 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Description
This command is used to select the level of functionality <fun> in the ME. Level "full
functionality" is where the highest level of power is drawn. "Minimum functionality" is where
minimum power is drawn. Level of functionality between these may also be specified by
manufacturers. When supported by manufacturers, ME resetting with <rst> parameter may
be utilized.
NOTE: AT+CFUN=6 must be used after setting AT+CFUN=7. If module in offline mode,
must execute AT+CFUN=6 or restart module to online mode.
OK
or
ERROR
or
+CME ERROR: <err>
OK
or
ERROR
or
+CME ERROR: <err>
Write Command Response
AT+CFUN=<fun>[,<rst>] OK
or
ERROR
or
+CME ERROR: <err>
Defined values
www.simcom.com 50 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
6 – Reset
7 – Offline Mode
<rst> 0 – do not reset the ME before setting it to <fun> power level
1 – reset the ME before setting it to <fun> power level. This value
only takes effect when <fun> equals 1.
Examples
AT+CFUN?
+CFUN: 1
OK
AT+CFUN=0
OK
Description
This command is used to send the ME a password which is necessary before it can be
operated (SIM PIN, SIM PUK, PH- SIM PIN, etc.). If the PIN is to be entered twice, the TA
shall automatically repeat the PIN. If no PIN request is pending, no action is taken towards
MT and an error message, +CME ERROR, is returned to TE.
If the PIN required is SIM PUK or SIM PUK2, the second pin is required. This second pin,
<newpin>, is used to replace the old pin in the SIM.
OK
or
ERROR
or
+CME ERROR: <err>
www.simcom.com 51 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Defined values
<pin> String type values.
Examples
AT+CPIN?
+CPIN: SIM PUK2
OK
Description
This command is used to Read the ICCID from SIM card
www.simcom.com 52 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
OK
or
ERROR
or
+CME ERROR: <err>
Defined values
Examples
AT+CICCID
+ICCID: 898600700907A6019125
OK
Description
This command is used to control the SIM card directly.
Compared to restricted SIM access command AT+CRSM, AT+CSIM allows the ME to take
more control over the SIM interface.
For SIM–ME interface please refer 3GPP TS 11.11.
NOTE:The SIM Application Toolkit functionality is not supported by AT+CSIM. Therefore
the following SIM commands can not be used: TERMINAL PROFILE,
ENVELOPE, FETCH and TEMINAL RESPONSE.
www.simcom.com 53 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Defined values
Examples
AT+CSIM=?
OK
Description
By using AT+CRSM instead of Generic SIM Access AT+CSIM, TE application has easier
but more limited access to the SIM database.
Write command transmits to the MT the SIM <command> and its required parameters. MT
handles internally all SIM-MT interface locking and file selection routines. As response to
the command, MT sends the actual SIM information parameters and response data. MT
error result code +CME ERROR may be returned when the command cannot be passed to
the SIM, but failure in the execution of the command in the SIM is reported in <sw1> and
<sw2> parameters.
www.simcom.com 54 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Defined values
www.simcom.com 55 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
www.simcom.com 56 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
www.simcom.com 57 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Examples
AT+CRSM=?
OK
www.simcom.com 58 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Description
This command is used to inquire times remain to input SIM PIN/PUK.
OK
Defined values
Examples
AT+SPIC=?
OK
AT+SPIC
+SPIC: 3,10,0,10
OK
Description
This command is used to get service provider name from SIM card.
www.simcom.com 59 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
OK
or
ERROR
or
+CME ERROR: <err>
Defined values
Examples
AT+CSPN=?
OK
AT+CSPN?
+CSPN: “CMCC”,0
OK
Description
This command is used to return received signal strength indication <rssi> and channel bit
error rate <ber> from the ME. Test command returns values supported by the TA as
compound values.
www.simcom.com 60 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
OK
Execution Command Response
AT+CSQ +CSQ: <rssi>,<ber>
OK
or
ERROR
Defined values
Examples
AT+CSQ
+CSQ: 22,0
OK
www.simcom.com 61 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Description
This command is used to enable or disable automatic report CSQ information, when
automatic report enabled, the module reports CSQ information every five seconds or only
after <rssi>or<ber> is changed, the format of automatic report is “+CSQ: <rssi>,<ber>”.
OK
Read Command Response
AT+AUTOCSQ? +AUTOCSQ: <auto>,<mode>
OK
Write Command Response
AT+AUTOCSQ=<auto>[,<mo OK
de>] or
ERROR
Defined values
Examples
AT+AUTOCSQ=?
+AUTOCSQ: (0-1),(0-1)
OK
AT+AUTOCSQ?
www.simcom.com 62 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
+AUTOCSQ: 1,1
OK
AT+AUTOCSQ=1,1
OK
Description
This command is used to set RSSI delta threshold for signal strength reporting.
OK
Read Command Response
AT+CSQDELTA? +CSQDELTA: <delta>
OK
or
ERROR
Write Command Response
AT+CSQDELTA=<delta> OK
or
ERROR
Execution Command Response
AT+CSQDELTA Set default value(<delta>=5):
OK
Defined values
Examples
www.simcom.com 63 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
AT+CSQDELTA?
+CSQDELTA: 5
OK
Description
This command is used to configure the serial port which will be used to output URCs. We
recommend configure a destination port for receiving URC in the system initialization
phase, in particular, in the case that transmitting large amounts of data, e.g. use TCP/UDP
and MT SMS related AT command.
OK
Read Command Response
AT+CATR? +CATR: <port>
OK
Write Command Response
AT+CATR=<port> OK
or
ERROR
Defined values
0 – all ports
1 – use UART port to output URCs
2 – use MODEM port to output URCs
3 – use ATCOM port to output URCs
<port>
4 – use cmux virtual port1 to output URCs
5 – use cmux virtual port2 to output URCs
6 – use cmux virtual port3 to output URCs
7 – use cmux virtual port4 to output URCs
www.simcom.com 64 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Examples
AT+CATR=1
OK
AT+CATR?
+CATR: 1
OK
Description
This command is used to power off the module. Once the AT+CPOF command is executed,
The module will store user data and deactivate from network, and then shutdown.
Examples
AT+CPOF
OK
Description
This command is used to reset the module.
www.simcom.com 65 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Examples
AT+CRESET=?
OK
AT+CRESET
OK
Description
This command is used to reset the Advice of Charge related accumulated call meter value
in SIM file EFACM.
OK
or
ERROR
or
+CME ERROR: <err>
Write Command Response
AT+CACM=<passwd> OK
or
ERROR
or
+CME ERROR: <err>
www.simcom.com 66 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Defined values
Examples
AT+CACM?
+CACM: "000000"
OK
Description
This command is used to set the Advice of Charge related accumulated call meter
maximum value in SIM file EFACMmax.
www.simcom.com 67 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
OK
or
ERROR
or
+CME ERROR: <err>
Write Command Response
AT+CAMM=<acmmax>[,<pa OK
sswd>] or
ERROR
or
+CME ERROR: <err>
Execution Command Response
AT+CAMM OK
or
ERROR
or
+CME ERROR: <err>
Defined values
<acmmax> String type, accumulated call meter maximum value similarly coded
as <ccm> under AT+CAOC, value zero disables ACMmax feature.
<passwd> String type, SIM PIN2.
Examples
AT+CAMM?
+CAMM: "000000"
OK
Description
www.simcom.com 68 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
This command is used to set the parameters of Advice of Charge related price per unit and currency
table in SIM file EFPUCT..
OK
or
ERROR
or
+CME ERROR: <err>
Write Command Response
AT+CPUC=<currency>,<ppu OK
>[,<passwd>] or
ERROR
or
+CME ERROR: <err>
Defined values
Examples
AT+CPUC?
+CPUC: “GBP” , “2.66”
OK
www.simcom.com 69 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Description
This command is used to manage Real Time Clock of the module.
OK
Write Command Response
AT+CCLK=<time> OK
or
ERROR
Defined values
Examples
AT+CCLK=“08/11/28,12:30:33+32”
OK
AT+CCLK?
+CCLK: “08/11/28,12:30:35+32”
www.simcom.com 70 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
OK
AT+CCLK=“08/11/26,10:15:00”
OK
AT+CCLK?
+CCLK: “08/11/26,10:15:02+32”
OK
Description
This command is used to disable or enable the use of result code “+CME ERROR: <err>”
or “+CMS ERROR: <err>” as an indication of an error relating to the functionality of ME;
when enabled, the format of <err> can be set to numeric or verbose string.
OK
Read Command Response
AT+CMEE? +CMEE: <n>
OK
Write Command Response
AT+CMEE=<n> OK
or
ERROR
Execution Command Response
AT+CMEE Set default value:
OK
Defined values
www.simcom.com 71 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Examples
AT+CMEE?
+CMEE: 2
OK
AT+CPIN="1234","1234"
+CME ERROR: incorrect password
AT+CMEE=0
OK
AT+CPIN="1234","1234"
ERROR
AT+CMEE=1
OK
AT+CPIN="1234","1234"
+CME ERROR: 16
Description
This command is used to return the activity status <pas> of the ME. It can be used to
interrogate the ME before requesting action from the phone.
NOTE: This command is same as AT+CLCC, but AT+CLCC is more commonly used. So
AT+CLCC is recommended to use.
OK
Execution Command Response
AT+CPAS +CPAS: <pas>
OK
Defined values
www.simcom.com 72 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Examples
OK
AT+CPAS=?
+CPAS: (0,3,4)
OK
Description
This command is used to set the module’s IMEI value.
OK
or
ERROR
Write Command Response
AT+SIMEI=<imei> OK
or
ERROR
Defined values
www.simcom.com 73 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Examples
AT+SIMEI=357396012183170
OK
AT+SIMEI?
+SIMEI:357396012183170
OK
AT+SIMEI=?
OK
Description
Only task effect in 7600CE
OK
or
ERROR
Defined values
Examples
AT+SMEID?
+SMEID: A1000021A5906F
www.simcom.com 74 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
OK
Description
Execution command returns the voice mail number related to the subscriber.
OK
or
ERROR
Read Command Response
AT+CSVM? +CSVM: <valid>, “<number>”,<type>
OK
or
ERROR
Write Command Response
AT+CSVM=<valid>, OK
“<number>”,<type> or
ERROR
Defined values
<type> Type of address octet in integer format. see also AT+CPBR <type>
Examples
www.simcom.com 75 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
AT+CSVM?
+CSVM: 1 ,"13697252277",129
OK
This module supports voice mail function; the subscriber number is configured by AT+CSVM command,
the following table shows the URC related Voice Mail.
Description
New Message
This indication means there is a new voice mail message notification
+VOICEMAIL: NEW MSG
received. This is for CPHS.
Voice Mail Status Updated Description
+VOICEMAIL: WAITING, This indication means that there are <count> number of voice mail
<count> messages that needs to be got.
Defined values
Examples
This result code is similar to the regular ERROR result code. The format of <err> can be ethier numeric or
verbose string, by setting AT+CMEE command.
www.simcom.com 76 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
0 Phone failure
1 no connection to phone
2 phone adaptor link reserved
3 operation not allowed
4 operation not supported
5 PH-SIM PIN required
6 PH-FSIM PIN required
7 PH-FSIM PUK required
10 SIM not inserted
11 SIM PIN required
12 SIM PUK required
13 SIM failure
14 SIM busy
15 SIM wrong
16 incorrect password
17 SIM PIN2 required
18 SIM PUK2 required
20 memory full
21 invalid index
22 not found
23 memory failure
24 text string too long
25 invalid characters in text string
26 dial string too long
27 invalid characters in dial string
30 no network service
31 network timeout
32 network not allowed – emergency calls only
40 network personalization PIN required
41 network personalization PUK required
42 network subset personalization PIN required
43 network subset personalization PUK required
44 service provider personalization PIN required
45 service provider personalization PUK required
46 corporate personalization PIN required
47 corporate personalization PUK required
100 Unknown
103 Illegal message
106 Illegal ME
107 GPRS services not allowed
111 PLMN not allowed
www.simcom.com 77 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Example
AT+CPIN=”1234”,”1234”
www.simcom.com 78 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Final result code +CMS ERROR: <err> indicates an error related to mobile equipment or network. The
operation is simialer to ERROR result code. None of the following commands in the same command line is
executed. Neither ERROR nor OK result code shall be returned. ERROR is returned normally when error is
related to syntax or invalid parameters. The format of <err> can be either numeric or verbose. This is set
with command AT+CMEE.
Example
www.simcom.com 79 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
AT+CMGS=02112345678
+CMS ERROR: 304
www.simcom.com 80 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Command Description
AT+CREG Network Registration
AT+COPS Operator selection
AT+CLCK Facility lock
AT+CPWD Change password
AT+CCUG Closed User Group
AT+CUSD Unstructured supplementary service data
AT+CAOC Advice of Charge
AT+CSSN Supplementary service notifications
AT+CPOL Preferred mode selection
AT+COPN Read operator names
AT+CNMP Preferred mode selection
AT+CNBP Preferred band selection
AT+CNAOP Acquisition order preference
AT+CPSI Inquiring UE system information
AT+CNSMOD Show network system mode
AT+CEREG EPS network registration status
AT+CTZU Automatic time and time zone update
AT+CTZR Time and time zone reporting
This command is used to control the presentation of an unsolicited result code +CREG: <stat> when <n>=1
and there is a change in the ME network registration status, or code +CREG: <stat>[,<lac>,<ci>] when
<n>=2 and there is a change of the network cell.
www.simcom.com 81 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Read command returns the status of result code presentation and an integer <stat> which shows whether
the network has currently indicated the registration of the ME. Location information elements <lac> and <ci>
are returned only when <n>=2 and ME is registered in the network.
OK
Read Command Response
AT+CREG? +CREG: <n>,<stat>[,<lac>,<ci>]
OK
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Write Command Response
AT+CREG=<n> OK
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Execution Command Response (Set default value “<n>=0”):
AT+CREG OK
Defined Values
www.simcom.com 82 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Example
AT+CREG?
+CREG: 0,1
OK
NOTE
Location information elements <lac> and <ci> are returned only when <n>=2 and ME is registered
in the network
Write command forces an attempt to select and register the GSM/UMTS network operator. <mode> is used
to select whether the selection is done automatically by the ME or is forced by this command to operator
<oper> (it shall be given in format <format>). 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?) also. <mode>=2 forces an attempt to deregister from the network. The selected mode affects
to all further network registration (e.g. after <mode>=2, ME shall be unregistered until <mode>=0 or 1 is
selected).
Read command returns the current mode and the currently selected operator. If no operator is selected,
<format> and <oper> are omitted.
Test command returns a list of quadruplets, each representing an operator present in the network.
Quadruplet consists of an integer indicating the availability of the operator <stat>, long and short
alphanumeric format of the name of the operator, and numeric format representation of the operator. Any of
the formats may be unavailable and should then be an empty field. The list of operators shall be in order:
home network, networks referenced in SIM, and other networks.
It is recommended (although optional) that after the operator list TA returns lists of supported <mode>s and
<format>s. These lists shall be delimited from the operator list by two commas. When executing
AT+COPS=? , any input from serial port will stop this command.
www.simcom.com 83 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
OK
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Read Command Response
AT+COPS? +COPS: <mode>[,<format>,<oper>[,< AcT>]]
OK
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Write Command Response
AT+COPS=<mode>[,<format OK
>[,<oper>[,< AcT>]]] or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Execution Command Response
AT+COPS OK
Defined Values
<mode> 0 automatic
1 manual
2 force deregister
3 set only <format>
4 manual/automatic
5 manual,but do not modify the network selection mode(e.g
GSM,WCDMA) after module resets.
www.simcom.com 84 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
2 current
3 forbidden
<AcT> Access technology selected
0 GSM
1 GSM Compact
2 UTRAN
7 EUTRAN
8 CDMA/HDR
NOTE: the value 8 do not follow the 3gpp spec, we add this value to
distinguish cdma/hdr.
Example
AT+COPS?
+ COPS: 0,0,"China Mobile Com",0
OK
AT+COPS=?
+ COPS: (2,"China Unicom","Unicom","46001",0),(3,"China Mobile Com","DGTMPT",
"46000",0),,(0,1,2,3,4,5),(0,1,2)
OK
NOTE
When executing AT+COPS=? , any input from serial port will stop this command.
This command is used to lock, unlock or interrogate a ME or a network facility <fac>. Password is normally
needed to do such actions. When querying the status of a network service (<mode>=2) the response line
for 'not active' case (<status>=0) should be returned only if service is not active for any <class>.
OK
www.simcom.com 85 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Write Command Response (When <mode>=2 and command successful:)
AT+CLCK=<fac>,<mode>[,< [+CLCK:<status>[,<class1>[<CR><LF>
passwd>[,<class>]] +CLCK: <status>,<class2>
[...]]
OK
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Defined Values
<fac> "PF" lock Phone to the very First inserted SIM card or USIM card
"SC" lock SIM card or USIM card
"AO" Barr All Outgoing Calls
"OI" Barr Outgoing International Calls
"OX" Barr Outgoing International Calls except to Home Country
"AI" Barr All Incoming Calls
"IR" Barr Incoming Calls when roaming outside the home country
"AB" All Barring services (only for <mode>=0)
"AG" All outGoing barring services (only for <mode>=0)
"AC" All inComing barring services (only for <mode>=0)
"FD" SIM fixed dialing memory feature
"PN" Network Personalization
"PU" network subset Personalization
"PP" service Provider Personalization
"PC" Corporate Personalization
<mode> 0 unlock
1 lock
2 query status
<status> 0 not active
1 active
<passwd> Password.
string type; shall be the same as password specified for the facility
from the ME user interface or with command Change Password
+CPWD
<classX> It is a sum of integers each representing a class of information (default
7):
1 voice (telephony)
2 data (refers to all bearer services)
www.simcom.com 86 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Example
AT+CLCK="SC",2
+CLCK: 0
OK
NOTE
When querying the status of a network service (<mode>=2) the response line for 'not active' case
(<status>=0) should be returned only if service is not active for any <class>.
Write command sets a new password for the facility lock function defined by command Facility Lock
AT+CLCK.
Test command returns a list of pairs which present the available facilities and the maximum length of their
password.
OK
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Write Command Response
AT+CPWD=<fac>,<oldpwd>, OK
www.simcom.com 87 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
<newpwd> or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Defined Values
Example
AT+CPWD=?
+CPWD: ("AB",4),("AC",4),("AG",4),("AI",4),("AO",4),("IR",4),("OI",4),("OX",4),(
"SC",8),("P2",8)
OK
This command allows control of the Closed User Group supplementary service. Set command enables the
served subscriber to select a CUG index, to suppress the Outgoing Access (OA), and to suppress the
preferential CUG.
www.simcom.com 88 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
or
ERROR
Read Command Response
AT+CCUG? +CCUG: <n>,<index>,<info>
OK
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Write Command Response
AT+CCUG=<n>[,<index>[,<i OK
nfo>]] or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Execution Command Response (Set default value):
AT+CCUG OK
Defined Values
Example
AT+CCUG?
+CCUG: 0,0
OK
NOTE
www.simcom.com 89 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
This command allows control of the Unstructured Supplementary Service Data (USSD). Both network and
mobile initiated operations are supported. Parameter <n> is used to disable/enable the presentation of an
unsolicited result code (USSD response from the network, or network initiated operation) +CUSD:
<m>[,<str>,<dcs>] to the TE. In addition, value <n>=2 is used to cancel an ongoing USSD session.
OK
Read Command Response
AT+CUSD? +CUSD: <n>
OK
Write Command Response
AT+CUSD=<n>[,<str>[,<dcs OK
>]] or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Execution Command Response (Set default value):
AT+CUSD OK
Defined Values
Example
AT+CUSD?
+ CUSD: 1
www.simcom.com 90 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
OK
AT+CUSD=0
OK
NOTE
This command refers to Advice of Charge supplementary service that enables subscriber to get information
about the cost of calls. With <mode>=0, the execute command returns the current call meter value from the
ME.
This command also includes the possibility to enable an unsolicited event reporting of the CCM information.
The unsolicited result code +CCCM: <ccm> is sent when the CCM value changes, but not more that every
10 seconds. Deactivation of the unsolicited event reporting is made with the same command.
OK
Read Command Response
AT+CAOC? +CUSD: <mode>
OK
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Write Command Response
AT+CAOC=<mode> + CAOC: <ccm>
OK
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
www.simcom.com 91 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Defined Values
Example
AT+CAOC=0
+CAOC: "000000"
OK
NOTE
This command refers to supplementary service related network initiated notifications. The set command
enables/disables the presentation of notification result codes from TA to TE.
When <n>=1 and a supplementary service notification is received after a mobile originated call setup,
intermediate result code +CSSI: <code1>[,<index>] is sent to TE before any other MO call setup result
codes presented in the present document. When several different <code1>s are received from the network,
each of them shall have its own +CSSI result code.
When <m>=1 and a supplementary service notification is received during a mobile terminated call setup or
during a call, or when a forward check supplementary service notification is received, unsolicited result
code +CSSU: <code2>[,<index>[,<number>,<type>[,<subaddr>,<satype>]]] is sent to TE. In case of MT
call setup, result code is sent after every +CLIP result code (refer command "Calling line identification
presentation +CLIP") and when several different <code2>s are received from the network, each of them
shall have its own +CSSU result code.
www.simcom.com 92 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
OK
Execution Command Response
AT+CSSN=<value> +CSSN: <n>,<m>
OK
or
ERROR
Write Command Response
AT+CSSN=<n>[,<m>] OK
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Defined Values
www.simcom.com 93 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Example
AT+CSSN=1
OK
AT+CSSN?
+CSSN: 1,1
OK
NOTE
OK
Read Command Response
AT+CPOL? [+CPOL:<index1>,<format>,<oper1>[<GSM_AcT1>,<GSM_Compa
ct_AcT1>,<UTRAN_AcT1>,<LTE_AcT1>][<CR><LF>
+CPOL:
<index2>,<format>,<oper2>[,<GSM_AcT1>,<GSM_Compact_AcT
1>,<UTRAN_AcT1>,<LTE_AcT1>]
[...]]]
OK
or
ERROR
Write Command Response
AT+CPOL=<index>[,<format OK
>[,<oper>][,<GSM_AcT1>,< or
GSM_Compact_AcT1>,<UT ERROR
RAN_AcT1>,<LTE_AcT1> ]] If error is related to ME functionality:
NOTE: If using USIM card, the +CME ERROR: <err>
www.simcom.com 94 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Defined Values
<index> Integer type, the order number of operator in the SIM preferred
operator list.
If only input <index>, command will delete the value indicate by
<index>.
<format> 0 long format alphanumeric <oper>
1 short format alphanumeric <oper>
2 numeric <oper>
<operX> String type.
<GSM_AcTn> GSM access technology:
0 access technology not selected
1 access technology selected
<GSM_Compact_AcTn> GSM access technology:
0 access technology not selected
1 access technology selected
<UTRA_AcTn> UTRA access technology:
0 access technology not selected
1 access technology selected
<LTE_AcTn> LTE access technology:
0 access technology not selected
1 access technology selected
Example
AT+CPOL?
+CPOL: 1,2,"46001",0,0,1,0
OK
AT+CPOL=?
+CPOL: (1-8),(0-2)
OK
This command is used to return the list of operator names from the ME. Each operator code <numericX>
that has an alphanumeric equivalent <alphaX> in the ME memory shall be returned.
www.simcom.com 95 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
OK
or
If error is related to ME functionality:
+CME ERROR: <err>
Defined Values
Example
AT+COPN
+COPN: "46000","China Mobile Com"
+COPN: "46001"," China Unicom"
……
OK
This command is used to select or set the state of the mode preference.
OK
Read Command Response
AT+CNMP? +CNMP: <mode>
www.simcom.com 96 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
OK
Write Command Response
AT+CNMP=<mode> OK
or
(If <mode> not supported by module, this command will return
ERROR.)
ERROR
Defined Values
<mode> 2 Automatic
13 GSM Only
14 WCDMA Only
38 LTE Only
59 TDS-CDMA Only
9 CDMA Only
10 EVDO Only
19 GSM+WCDMA Only
22 CDMA+EVDO Only
48 Any but LTE
60 GSM+TDSCDMA Only
63 GSM+WCDMA+TDSCDMA Only
67 CDMA+EVDO+GSM+WCDMA+TDSCDMA Only
39 GSM+WCDMA+LTE Only
51 GSM+LTE Only
54 WCDMA+LTE Only
Example
AT+CNMP=13
OK
AT+CNMP?
+CNMP: 13
OK
NOTE
The set value in Write Command will take efficient immediately; The set value will retain after
module reset
The response will be returned immediately for Test Command and Read Command; The maximum
response time for Write Command is 10 seconds
www.simcom.com 97 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
This command is used to select or set the state of the band preference.
OK
Read Command Response
AT+CNBP=<mode>[,<lte_m OK
ode>][,<tds_mode>] Or
ERROR
Defined Values
<mode> 64 bit number, the value is “1” << “<pos>”, then or by bit.
Some special mode value declared below:
0x40000000 BAND_PREF_NO_CHANGE
<pos> Value:
0xFFFFFFFF7FFFFFFF Any (any value)
7 GSM_DCS_1800
8 GSM_EGSM_900
9 GSM_PGSM_900
16 GSM_450
17 GSM_480
18 GSM_750
19 GSM_850
20 GSM_RGSM_900
21 GSM_PCS_1900
22 WCDMA_IMT_2000
23 WCDMA_PCS_1900
24 WCDMA_III_1700
25 WCDMA_IV_1700
26 WCDMA_850
27 WCDMA_800
48 WCDMA_VII_2600
49 WCDMA_VIII_900
50 WCDMA_IX_1700
<lte_mode> 64/256 bit number, the value is “1” << “<lte_pos>”, then or by bit.
NOTE: FDD(band1 ~ band32, band66 , band252, and band255),
www.simcom.com 98 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
TDD(band33 ~ band42)
<lte_pos> Value:
0x48000000000000000000000000000000000000000000000200000
7FF3FDF3FFF Any (any value)
0 EUTRAN_BAND1(UL:1920-1980;
DL:2110-2170)
1 EUTRAN_BAND2(UL:1850-1910;
DL:1930-1990)
2 EUTRAN_BAND3(UL:1710-1785;
DL:1805-1880)
3 EUTRAN_BAND4(UL:1710-1755;
DL:2110-2155)
4 EUTRAN_BAND5(UL: 824-849; DL:
869-894)
5 EUTRAN_BAND6(UL: 830-840; DL:
875-885)
6 EUTRAN_BAND7(UL:2500-2570;
DL:2620-2690)
7 EUTRAN_BAND8(UL: 880-915; DL:
925-960)
8 EUTRAN_BAND9(UL:1749.9-1784.9;
DL:1844.9-1879.9)
9 EUTRAN_BAND10(UL:1710-1770;
DL:2110-2170)
10 EUTRAN_BAND11(UL:1427.9-1452.9;
DL:1475.9-1500.9)
11 EUTRAN_BAND12(UL:698-716;
DL:728-746)
12 EUTRAN_BAND13(UL: 777-787; DL:
746-756)
13 EUTRAN_BAND14(UL: 788-798; DL:
758-768)
16 EUTRAN_BAND17(UL: 704-716; DL:
734-746)
17 EUTRAN_BAND18(UL: 815-830; DL:
860-875)
18 EUTRAN_BAND19(UL: 830-845; DL:
875-890)
19 EUTRAN_BAND20(UL: 832-862; DL:
791-821)
20 EUTRAN_BAND21(UL: 1447.9-1462.9;
DL: 1495.9-1510.9)
22 EUTRAN_BAND23(UL: 2000-2020; DL:
2180-2200)
23 EUTRAN_BAND24(UL: 1626.5-1660.5;
www.simcom.com 99 / 460
SIM7500_SIM7600 Series_AT Command Manual_V2.00
Example
AT+CNBP=,0x0000000000000095
OK
AT+CNBP?
+CNBP:
0x0002000004FF0387,0x0000000000000000000000000000000000000000000000000000000000
000095,0x000000000000003F
OK
AT+CNBP=,0x4800000000000000000000000000000000000000000000020000000000000095
OK
AT+CNUM: "","13697252277",129
+ CNBP:
0x0002000004FF0387,0x4800000000000000000000000000000000000000000000020000000000
000095,0x000000000000003F
OK
OK
Write Command Response
AT+CNAOP=<mode>[,<sys_ OK
mode1>[,<sys_mode2>[,<sy or
s_mode3>[,<sys_mode4>[,< ERROR
sys_mode5>[,<sys_mode6>]
]]]]]
Defined Values
Example
AT+CNAOP=7,9,5,3,11,2,4
OK
AT+CNAOP?
+ CNAOP: 7,9,5,3,11,2,4
OK
OK
Read Command Response
AT+CPSI? If camping on a cdma/evdo cell:
+CPSI: CDMA,<Operation Mode>[,<MCC>-<MNC>,<CDMA ch
num>,<CDMA pilot PN>,<CDMA RX Chain 0 AGC>,<CDMA RX
OK
If camping on a gsm cell:
+CPSI:<System Mode>,<Operation
Mode>,<MCC>-<MNC>,<LAC>,<Cell ID>,<Absolute RF Ch
Num>,<RxLev>,
<Track LO Adjust>,<C1-C2>
OK
If camping on a wcdma cell:
+CPSI: <System Mode>,<Operation
Mode>,<MCC>-<MNC>,<LAC>,<Cell ID>,<Frequency
Band>,<PSC>,<Freq>,<SSC>,<EC/IO>,<RSCP>,<Qual>,<RxLev>,
<TXPWR>
OK
If camping on a tds-cdma cell:
+CPSI: <System Mode>,<Operation
Mode>,<MCC>-<MNC>,<LAC>,<Cell ID>,<Frequency
Band>,<Uarfcn>,<Cpid>
OK
If camping on a lte cell:
+CPSI: <System Mode>,<Operation
Mode>[,<MCC>-<MNC>,<TAC>,<SCellID>,<PCellID>,<Frequency
Band>,<earfcn>,<dlbw>,<ulbw>,<RSRQ>,<RSRP>,<RSSI>,<RSSN
R>]
OK
If camping on a cdma/evdo cell:
+CPSI: CDMA,<Operation Mode>[,<MCC>-<MNC>,<CDMA ch
num>,<CDMA pilot PN>,<CDMA RX Chain 0 AGC>,<CDMA RX
Chain 1 AGC>,<CDMA Chain 0 LNA>,<CDMA Chain 1
LNA>,<CDMA TX AGC>,<SID>,<NID>,<CDMA EC/IO>,<BID>]
+CPSI: EVDO,<Operation Mode>[,<MCC>-<MNC>,<EVDO ch
num>,<EVDO RX Chain 0 AGC>,<EVDO RX Chain 1 AGC>,<
EVDO TX AGC>,<EVDO Serving PN>,<EVDO Rel0 SCI>,<EVDO
RelA SCI>,<EVDO EC/IO>]
OK
OK
If camping on 1xlte cell:
+CPSI: CDMA,<Operation Mode>[,<MCC>-<MNC>,<CDMA ch
num>,<CDMA pilot PN>,<CDMA RX Chain 0 AGC>,<CDMA RX
Chain 1 AGC>,<CDMA Chain 0 LNA>,<CDMA Chain 1
LNA>,<CDMA TX AGC>,<SID>,<NID>,<CDMA EC/IO>,<BID>]
+CPSI: LTE,<Operation
Mode>[,<MCC>-<MNC>,<TAC>,<SCellID>,<PCellID>,<Frequency
Band>,<earfcn>,<dlbw>,<ulbw>,<RSRQ>,<RSRP>,<RSSI>,<RSSN
R>]
OK
If no service:
+CPSI: NO SERVICE, Online
OK
or
ERROR
Write Command Response
AT+CPSI=<time> OK
or
ERROR
Defined Values
<time> The range is 0-255, unit is second, after set <time> will report the
system information every the seconds.
<System mode> System mode, values: “NO SERVICE”, “GSM”, “WCDMA”, “LTE”,
“TDS”…
If module in LIMITED SERVICE state and +CNLSA command is set to
1, the system mode will display as “GSM-LIMITED”,
“WCDMA-LIMITED”…
<Operation mode> UE operation mode, values: “Unknown”, “Online”, “Offline”, “Factory
Test Mode”, “Reset”, “Low Power Mode”.
<MCC> Mobile Country Code (first part of the PLMN code)
Example
AT+CPSI?
+CPSI: GSM,Online,460-00,0x182d,12401,27 EGSM 900,-64,2110,42-42
OK
AT+CPSI?
+CPSI: WCDMA,Online,460-01,0xA809,11122855,WCDMA IMT 2000,279,10663,0,1.5,62,33,
52,500
OK
AT+CPSI=?
+CPSI: (0-255)
OK
OK
Read Command Response
AT+CNSMOD=? +CNSMOD: <n>,<stat>
OK
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Write Command Response
AT+CNSMOD=<n> OK
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Defined Values
8 LTE
9 TDS-CDMA
10 TDS-HSDPA only
11 TDS- HSUPA only
12 TDS- HSPA (HSDPA and HSUPA)
13 CDMA
14 EVDO
15 HYBRID (CDMA and EVDO)
16 1XLTE(CDMA and LTE)
23 eHRPD
24 HYBRID(CDMA and eHRPD)
<type> Type of address octet in integer format.see also AT+CPBR <type>
Example
AT+CNSMOD?
+CNSMOD: 0,2
OK
The set command controls the presentation of an unsolicited result code +CEREG: <stat> when <n>=1 and
there is a change in the MT's EPS network registration status in E-UTRAN, or unsolicited result code
+CEREG: <stat>[,<tac>,<ci>[,<AcT>]] when <n>=2 and there is a change of the network cell in E-UTRAN;
in this latest case <AcT>, <tac> and <ci> are sent only if available.
NOTE 1: If the EPS MT in GERAN/UTRAN/E-UTRAN also supports circuit mode services and/or GPRS
services, the +CREG command and +CREG: result codes and/or the +CGREG command and +CGREG:
result codes apply to the registration status and location information for those services.
The read command returns the status of result code presentation and an integer <stat> which shows
whether the network has currently indicated the registration of the MT. Location information elements <tac>,
<ci> and <AcT>, if available, are returned only when <n>=2 and MT is registered in the network.
OK
or
ERROR
Read Command Response
AT+CEREG? +CEREG: <n>,<stat>[,<tac>,<ci>[,<AcT>]]
OK
or
ERROR
Write Command Response
AT+CEREG[=<n>] OK
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Execution Command Response (Set default value(<n>=0)
AT+CEREG OK
or
ERROR
Defined Values
7 E-UTRAN
Example
AT+CEREG?
+CEREG: 0,4
OK
NOTE
If the EPS MT in GERAN/UTRAN/E-UTRAN also supports circuit mode services and/or GPRS
services, the +CREG command and +CREG: result codes and/or the +CGREG command and
+CGREG: result codes apply to the registration status and location information for those services.
This command is used to enable and disable automatic time and time zone update via NITZ.
OK
Execution Command Response
AT+CTZU? +CTZU: <on/off >
OK
or
If error is related to ME functionality:
+CME ERROR: <err>
Write Command Response
AT+CTZU=<on/off> OK
or
ERROR
Defined Values
Example
AT+CTZU?
+ CTZU: 0
OK
AT+CTZU=1
OK
This command is used to enable and disable the time zone change event reporting. If the reporting is
enabled the MT returns the unsolicited result code +CTZV: <tz>[,<time>][,<dst>]whenever the time zone is
changed.
OK
Read Command Response
AT+CTZR +CTZR: <on/off>
OK
Write Command Response
AT+CTZR=<on/off> OK
or
ERROR
Execution Command Response (Set default value)
AT+CTZR OK
Defined Values
Example
AT+CTZR?
+CTZR: 0
OK
AT+CTZR=1
OK
NOTE
The time zone reporting is not affected by the Automatic Time and Time Zone command AT+CTZU.
Command Description
AT+CVHU Voice hang up control
AT+CHUP Hang up call
AT+CBST Select bearer service type
AT+CRLP Radio link protocol
AT+CR Service reporting control
AT+CRC Cellular result codes
AT+CLCC List current calls
AT+CEER Extended error report
AT+CCWA Call waiting
AT+CHLD Call related supplementary services
AT+CCFC Call forwarding number and conditions
AT+CLIP Calling line identification presentation
AT+CLIR Calling line identification restriction
AT+COLP Connected line identification presentation
AT+VTS DTMF and tone generation
AT+VTD Tone duration
AT+CSTA Select type of address
AT+CMOD Call mode
Write command selects whether ATH or “drop DTR” shall cause a voice connection to be disconnected or
not. By voice connection is also meant alternating mode calls that are currently in voice mode.
Defined Values
Examples
AT+CVHU=0
OK
AT+CVHU?
+CVHU: 0
OK
This command is used to cancel voice calls. If there is no call, it will do nothing but OK response is given.
After running AT+CHUP, multiple “VOICE CALL END: ” may be reported which relies on how many calls
exist before calling this command.
Response
VOICE CALL: END: <time>
[…
Execution Command VOICE CALL: END: <time>]
AT+CHUP OK
No call:
OK
Defined Values
Examples
AT+CHUP
VOICE CALL:END: 000017
OK
Write command selects the bearer service <name> with data rate <speed>, and the connection element
<ce> to be used when data calls are originated. Values may also be used during mobile terminated data call
setup, especially in case of single numbering scheme calls.
Defined Values
Examples
AT+CBST=0,0,1
OK
AT+CBST?
+CBST: 0,0,1
OK
Radio Link Protocol(RLP) parameters used when non-transparent data calls are originated may be altered
with write command.
Read command returns current settings for each supported RLP version <verX>. Only RLP parameters
applicable to the corresponding <verX> are returned.
Test command returns values supported by the TA as a compound value. If ME/TA supports several RLP
versions <verX>, the RLP parameter value ranges for each <verX> are returned in a separate line.
Defined Values
Examples
AT+CRLP=0
+CRLP:61,61,48,6,0
+CRLP:61,61,48,6,1
+CRLP:240,240,52,6,2
OKs
Write command controls whether or not intermediate result code “+CR: <serv>” is returned from the TA to
the TE. If enabled, the intermediate result code is transmitted at the point during connect negotiation at
which the TA has determined which speed and quality of service will be used, before any error control or
data compression reports are transmitted, and before the intermediate result code CONNECT is
transmitted.
Defined Values
Examples
AT+CR=1
OK
AT+CR?
+CR: 1
OK
Write command controls whether or not the extended format of incoming call indication or GPRS network
request for PDP context activation is used. When enabled, an incoming call is indicated to the TE with
unsolicited result code “+CRING: <type>” instead of the normal RING.
Test command returns values supported by the TA as a compound value.
Defined Values
Examples
AT+CRC=1
OK
AT+CRC?
+CRC: 1
OK
This command issued to return list of current calls of ME. If command succeeds but no calls are available,
no information response is sent to TE.
Defined Values
Examples
ATD10011;
OK
AT+CLCC
+CLCC: 1,0,0,0,0,"10011",129,"sm"
OK
AT+CLCC
+CLCC: 1,1,4,0,0,"02152063113",128,"gongsi"
OK
Execution command causes the TA to return the information text <report>, which should offer the user of the
TA an extended report of the reason for:
1 The failure in the last unsuccessful call setup(originating or answering) or in-call modification.
2 The last call release.
3 The last unsuccessful GPRS attach or unsuccessful PDP context activation.
The last GPRS detach or PDP context deactivation.
Defined Values
Examples
AT+CEER
+CEER: Invalid/incomplete number
OK
This command allows control of the Call Waiting supplementary service. Activation, deactivation and status
query are supported. When querying the status of a network service (<mode>=2) the response line for 'not
active' case (<status>=0) should be returned only if service is not active for any <class>. Parameter <n> is
used to disable/enable the presentation of an unsolicited result code +CCWA: <number>,<type>,<class> to
the TE when call waiting service is enabled. Command should be abortable when network is interrogated.
Defined Values
Examples
AT+CCWA=?
+CCWA:(0-1)
OK
AT+CCWA?
+CCWA: 0
OK
This command allows the control the following call related services:
1. A call can be temporarily disconnected from the ME but the connection is retained by the network.
2. Multiparty conversation (conference calls).
3. The served subscriber who has two calls (one held and the other either active or alerting) can connect
the other parties and release the served subscriber's own connection.
Calls can be put on hold, recovered, released, added to conversation, and transferred. This is based on the
GSM/UMTS supplementary services.
or
+CME ERROR: <err>
Parameter Saving Mode NO_SAVE
Maximum Response Time -
Reference
Defined Values
<n> 0 – Terminate all held calls; or set User Determined User Busy for
a waiting call
1 – Terminate all active calls and accept the other call (waiting call
or held call)
1X – Terminate a specific call X
2 – Place all active calls on hold and accept the other call (waiting
call or held call) as the active call
2X – Place all active calls except call X on hold
3 – Add the held call to the active calls
4 – Connect two calls and cut off the connection between users
and them simultaneously
Example
AT+CHLD=?
+CHLD: (0,1,1x,2,2x,3,4)
OK
This command allows control of the call forwarding supplementary service. Registration, erasure, activation,
deactivation, and status query are supported.
Defined Values
<reason> 0 – unconditional
1 – mobile busy
2 – no reply
3 – not reachable
4 – all call forwarding
5 – all conditional call forwarding
<mode> 0 – disable
1 – enable
2 – query status
3 – registration
4 – erasure
<number> String type phone number of forwarding address in format specified by
<type>.
<type> Type of address octet in integer format:
145 – dialing string <number> includes international access code
character ‘+’
129 – otherwise
<subaddr> String type sub address of format specified by <satype>.
Subaddr length is 0-19.
<satype> Type of sub address octet in integer format, default 128.
<classX> It is a sum of integers each representing a class of information (default
7):
1 – voice (telephony)
2 – data (refers to all bearer services)
4 – fax (facsimile services)
16 – data circuit sync
32 – data circuit async
64 – dedicated packet access
128 – dedicated PAD access
255 – The value 255 covers all classes
<time> 1...30 – when "no reply" is enabled or queried, this gives the time in
seconds to wait before call is forwarded, default value 20.
Example
AT+CCFC=?
+CCFC: (0,1,2,3,4,5)
OK
AT+CCFC=0,2
+CCFC: 0,255
OK
This command refers to the GSM/UMTS supplementary service CLIP (Calling Line Identification
Presentation) that enables a called subscriber to get the calling line identity (CLI) of the calling party when
receiving a mobile terminated call.
Write command enables or disables the presentation of the CLI at the TE. It has no effect on the execution
of the supplementary service CLIP in the network.
When the presentation of the CLI at the TE is enabled (and calling subscriber allows), +CLIP:
<number>,<type>,,[,[<alpha>][,<CLI validity>]] response is returned after every RING (or +CRING: <type>;
refer sub clause "Cellular result codes +CRC") result code sent from TA to TE. It is manufacturer specific if
this response is used when normal voice call is answered.
Defined Values
<n> Parameter sets/shows the result code presentation status in the TA:
0 – disable
1 – enable
<m> 0 – CLIP not provisioned
1 – CLIP provisioned
2 – unknown (e.g. no network, etc.)
<number> String type phone number of calling address in format specified by
<type>
<type> Type of address octet in integer format;
128 – Restricted number type includes unknown type and format
145 – International number type
161 – national number.The network support for this type is optional
177 – network specific number,ISDN format
129 – Otherwise
<alpha> String type alphanumeric representation of <number> corresponding
to the entry found in phone book.
<CLI validity> 0 – CLI valid
1 – CLI has been withheld by the originator
2 – CLI is not available due to interworking problems or limitations
of originating network
Example
AT+CLIP=1
OK
RING (with incoming call)
+CLIP: "02152063113",128,,,"gongsi",0
This command refers to CLIR service that allows a calling subscriber to enable or disable the presentation
of the CLI to the called party when originating a call.
Write command overrides the CLIR subscription (default is restricted or allowed) when temporary mode is
provisioned as a default adjustment for all following outgoing calls. This adjustment can be revoked by
using the opposite command.. If this command is used by a subscriber without provision of CLIR in
permanent mode the network will act.
Read command gives the default adjustment for all outgoing calls (given in <n>), and also triggers an
interrogation of the provision status of the CLIR service (given in <m>).
Test command returns values supported as a compound value.
Defined Values
Example
AT+CLIR=?
+CLIR:(0-2)
OK
This command refers to the GSM/UMTS supplementary service COLP(Connected Line Identification
Presentation) that enables a calling subscriber to get the connected line identity (COL) of the called party
after setting up a mobile originated call. The command enables or disables the presentation of the COL at
the TE. It has no effect on the execution of the supplementary service COLR in the network.
When enabled (and called subscriber allows), +COLP:<number>, <type> [,<subaddr>, <satype> [,<alpha>]]
intermediate result code is returned from TA to TE before any +CR responses. It is manufacturer specific if
this response is used when normal voice call is established.
When the AT+COLP=1 is set, any data input immediately after the launching of “ATDXXX;” will stop the
execution of the ATD command, which may cancel the establishing of the call.
Defined Values
<n> Parameter sets/shows the result code presentation status in the TA:
0 – disable
1 – enable
<m> 0 – COLP not provisioned
1 – COLP provisioned
2 – unknown (e.g. no network, etc.)
Example
AT+COLP?
+COLP: 1,0
OK
ATD10086;
VOICE CALL: BEGIN
+COLP: "10086",129,,,
OK
This command allows the transmission of DTMF tones and arbitrary tones which cause the Mobile
Switching Center (MSC) to transmit tones to a remote subscriber. The command can only be used in voice
mode of operation (active voice call).
NOTE: The END event of voice call will terminate the transmission of tones, and as an operator option, the
tone may be ceased after a pre-determined time whether or not tone duration has been reached.
Defined Values
NOTE
The value of <mode> shall be set to zero after a successfully completed alternating mode call. It
shall be set to zero also after a failed answering. The power-on, factory and user resets shall also
set the value to zero. This reduces the possibility that alternating mode calls are originated or
answered accidentally.
Example
AT+VTS=1
OK
AT+VTS=1,20
OK
AT+VTS=”1,3,5”
OK
AT+VTS=?
+VTS: (0-9,*,#,A,B,C,D)
OK
This refers to an integer <n> that defines the length of tones emitted as a result of the AT+VTS command. A
value different than zero causes a tone of duration <n>/10 seconds.
Reference
Defined Values
<n> Tone duration in integer format, from 0 to 255, and 0 is factory value.
0 Tone duration of every single tone is dependent on the
network.
1…255 one duration of every single tone in 1/10 seconds.
Example
AT+VTD=?
+VTD: (0-255)
OK
AT+VTD?
+VTD: 0
OK
AT+VTD=5
OK
Write command is used to select the type of number for further dialing commands (ATD) according to
GSM/UMTS specifications.
Read command returns the current type of number.
Test command returns values supported by the Module as a compound value.
Reference
Defined Values
NOTE
Because the type of address is automatically detected on the dial string of dialing command,
command AT+CSTA has really no effect.
Example
AT+CSTA?
+CSTA: 129
OK
AT+CSTA=145
OK
Write command is used to select the type of number for further dialing commands (ATD) according to
GSM/UMTS specifications.
Read command returns the current type of number.
Test command returns values supported by the Module as a compound value.
ERROR
Execution Command Response
AT+CMOD Set default value:
OK
Parameter Saving Mode NO_SAVE
Maximum Response Time -
Reference
Defined Values
NOTE
NOTE: The value of <mode> shall be set to zero after a successfully completed alternating mode
call. It shall be set to zero also after a failed answering. The power-on, factory and user resets shall
also set the value to zero. This reduces the possibility that alternating mode calls are originated or
answered accidentally.
Example
AT+CMOD?
+CMOD: 0
OK
AT+CMOD=0
OK
Command Description
AT+CPBS Select Phonebook memory storage
AT+CPBR Read Phonebook entries
AT+CPBF Find Phonebook entries
AT+CPBW Write Phonebook entry
AT+CNUM Subscriber number
OK
Read Command Response
AT+CPBS? +CPBS: <storage>[,<used>,<total>]
OK
Write Command Response
AT+CPBS=<storage> OK
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Execution Command Response (Set default value “SM”)
AT+CPBS OK
Defined Values
Example
AT+CPBS=?
+CPBS:
("SM","DC","FD","LD","MC","ME","RC","EN"
,"ON")
OK
AT+CPBS=”SM”
OK
AT+CPBS?
+CPBS: "SM",1,200
OK
NOTE
Select the active phonebook storage,i.e.the phonebook storage that all subsequent phonebook
commands will be operating on
OK
or
If error is related to ME functionality:
+CME ERROR: <err>
Write Command Response
AT+CPBR=<index1>[,<index [+CPBR: <index1>,<number>,<type>,<text>[<CR><LF>
2>] +CPBR: <index2>,<number>,<type>,<text>[…]]]
OK
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Defined Values
otherwise 129.
<text> String type field of maximum length <tlength>; often this value is set as
name.
<nlength> Integer type value indicating the maximum length of field <number>
<tlength> Integer type value indicating the maximum length of field <text>.
Example
AT+CPBS?
+CPBS: "SM",2,200
OK
AT+CPBS=1,10
+CPBR: 1,"1234567890",129,"James"
+CPBR: 2,"0987654321",129,"Kevin"
OK
NOTE
If the storage is selected as “SM” then the command will return the record in SIM phonebook, the
same to others.
OK
Write Command Response
AT+CPBF=[<findtext>] [+CPBF: <index1>,<number>,<type>,<text>[<CR><LF>
+CPBF: <indexN>,<number>,<type>,<text>[…]]]
OK
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Defined Values
<findtext> String type, this value is used to find the record. Character set should
be the one selected with command AT+CSCS.
<index> Integer type. the current position number of the Phonebook index.
<number> String type, phone number of format <type>, the maximum length is
<nlength>.
<type> Type of phone number octet in integer format, default 145 when
dialing string includes international access code character "+",
otherwise 129.
<text> String type field of maximum length <tlength>; often this value is set as
name.
<nlength> Integer type value indicating the maximum length of field <number>
<tlength> Integer type value indicating the maximum length of field <text>.
Example
AT+CPBF="James"
+CPBF: 1,"1234567890",129,"James"
OK
NOTE
OK
or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Write Command Response
AT+CPBW=[<index>][,<num OK
ber>[,<type>[,<text>]]] or
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Defined Values
Example
AT+CPBW=3,"88888888",129,"John"
OK
AT+CPBW=,"6666666",129,"mary"
OK
AT+CPBW=1
OK
NOTE
NOTE: If the parameters of <type> and <text> are omitted and the first character of <number> is
‘+’,it will specify <type> as 145(129 if the first character isn’t ‘+’) and <text> as NULL.
OK
or
If error is related to ME functionality:
+CME ERROR: <err>
Defined Values
Example
AT+CNUM
+CNUM: "","13697252277",129
OK
NOTE
If subscriber has different MSISDN for different services, each MSISDN is returned in a separate
line
Command Description
AT+STIN SAT Indication
AT+STGI Get SAT information
AT+STGR SAT respond
AT+STK STK switch
AT+STKFMT Set STK pdu format
AT+STENV Original STK PDU Envelope Command
AT+STSM Get STK Setup Menu List with PDU Mode
24 Select item
+STIN: 25 Notification that SIM Application has returned to main menu. If user
doesn’t do any action in 2 minutes, application will return to main
menu automatically.
Defined Values
Example
AT+STIN?
+STIN: 24
OK
NOTE
Every time the SIM Application issues a Proactive Command, via the ME, the TA will receive an
indication. This indicates the type of Proactive Command issued.
+STGI: 21,<prio>,<clear_mode>,<text_len>,<text>
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_len
>,<text>
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
Defined Values
Example
OK
24,0,48,"D02E81030124008202818285098070
ED70B963A883508F0A018053057F574E078C
618F0C02809177917777ED6D88606F"
OK
Defined Values
<data> ignore
Note: It could return main menu during Proactive Command id is not
22 or 23
If <cmd_id>= 84:
<data> ignore
<pdu_len> Integer type, pdu string length
<pdu_value> String type, the pdu string.
Example
AT+STGR=30,"8103012400020282818301009
00101" (PDU format)
OK
NOTE
After selected an item, different SIM/USIM cards will report different +STIN: command.
OK
Read Command Response
AT+STK? +STK: <value>
OK
Write Command Response
AT+STK=<value> OK
or
ERROR
Execution Command Response
AT+STK OK
Defined Values
Example
AT+STK=1
OK
NOTE
OK
Write Command Response
AT+STKFMT=<value> OK
or
ERROR
Defined Values
Example
AT+STKFMT=1
OK
NOTE
Defined Values
Example
AT+STENV=18,"D30782020181900101"
OK
NOTE
7.2.7 AT+STSM Get STK Setup Menu List with PDU Mod
Defined Values
Example
AT+STSM?
+STSM:
25,0,120,"D0768103012500820281828507806
5B052BF529B8F0A018070ED70B963A883508
F06028070AB94C38F0A03806D41884C77ED4
FE18F0A048081EA52A9670D52A18F0A05806
24B673A97F34E508F0606808D854FE18F0A0
7805A314E50753162118F0A0880767E53D875
1F6D3B8F0A09806D596C5F98919053"
OK
NOTE
Setup main menu info got first before envelope command sent.
Command Description
AT+CGREG GPRS network registration status
AT+CGATT Packet domain attach or detach
AT+CGACT PDP context activate or deactivate
AT+CGDCONT Define PDP context
AT+CGDSCONT Define Secondary PDP Context
AT+CGTFT Traffic Flow Template
AT+CGQREQ Quality of service profile (requested)
AT+CGEQREQ 3G quality of service profile (requested)
AT+CGQMIN Quality of service profile (minimum acceptable)
AT+CGEQMIN 3G quality of service profile (minimum acceptable)
AT+CGDATA Enter data state
AT+CGPADDR Show PDP address
AT+CGCLASS GPRS mobile station class
AT+CGEREP GPRS event reporting
AT+CGAUTH Set type of authentication for PDP-IP connections of GPRS
This command controls the presentation of an unsolicited result code “+CGREG: <stat>” when <n>=1 and
there is a change in the MT's GPRS network registration status.
The read command returns the status of result code presentation and an integer <stat> which shows
whether the network has currently indicated the registration of the MT.
OK
Read Command Response
AT+CGREG? +CGREG: <n>,<stat>[,<lac>,<ci>]
OK
Write Command Response
AT+CGREG=<n> OK
Defined Values
NOTE
Example
AT+CGREG=?
+CGREG: (0-1)
OK
AT+CGREG?
+CGREG: 0,0
OK
The write command is used to attach the MT to, or detach the MT from, the Packet Domain service.
The read command returns the current Packet Domain service state.
OK
Read Command Response
AT+CGATT? +CGATT: <state>
OK
Write Command Response
AT+CGATT=<state> OK
or
ERROR
or
+CME ERROR: <err>
Defined Values
Example
AT+CGATT?
+CGATT: 0
OK
AT+CGATT=1
OK
The write command is used to activate or deactivate the specified PDP context (s).
OK
Read Command Response
AT+CGACT? +CGACT: [<cid>, <state> [<CR><LF>
+CGACT: <cid>, <state>
[...]]]
OK
Write Command Response
AT+CGACT=<state>[,<cid>] OK
or
ERROR
or
+CME ERROR: <err>
Defined Values
Example
AT+CGACT=?
+CGACT: (0,1)
OK
AT+CGACT?
+CGACT: 1,1
OK
AT+CGACT=0,1
OK
The set command specifies PDP context parameter values for a PDP context identified by the (local)
context identification parameter <cid>. The number of PDP contexts that may be in a defined state at the
same time is given by the range returned by the test command. A special form of the write command
(AT+CGDCONT=<cid>) causes the values for context <cid> to become undefined.
OK
or
ERROR
Read Command Response
AT+CGDCONT? +CGDCONT: [<cid>, <PDP_type>,<APN>,<PDP_addr>,<d_comp>,
<h_comp><ipv4_ctrl>,<emergency_flag>[<CR><LF>
+CGDCONT: <cid>, <PDP_type>, <APN>,<PDP_addr>, <d_comp>,
<h_comp>< ipv4_ctrl>,<emergency_flag>[...]]]
OK
or
ERROR
Write Command Response
AT+CGDCONT=<cid>[,<PDP OK
_type>[,<APN>[,<PDP_addr or
>[,<d_comp>[,<h_comp>[,<i ERROR
pv4_ctrl>[,<emergency_flag
>]]]]]]
Execution Command Response
Set default value: OK
AT+CGDCONT or
ERROR
Defined Values
Example
AT+CGDCONT =?
+CGDCONT:
(1-24,100-179),"IP",,,(0-2),(0-4),(0-1),(0-1)
+CGDCONT:
(1-24,100-179),"PPP",,,(0-2),(0-4),(0-1),(0-1)
+CGDCONT:
(1-24,100-179),"IPV6",,,(0-2),(0-4),(0-1),(0-1)
+CGDCONT:
(1-24,100-179),"IPV4V6",,,(0-2),(0-4),(0-1),(0-1)
OK
AT+ CGDCONT?
+CGDCONT: 1,"IP","","0.0.0.0",0,0
OK
The set command specifies PDP context parameter values for a Secondary PDP context identified by the
(local) context identification parameter, <cid>. The number of PDP contexts that may be in a defined state
at the same time is given by the range returned by the test command. A special form of the set command,
AT+CGDSCONT=<cid> causes the values for context number <cid> to become undefined.
OK
or
ERROR
Read Command Response
AT+CGDSCONT? +CGDSCONT: [<cid>,<p_cid>,<d_comp>,<h_comp>
[<CR><LF>+CGDSCONT: <cid>,<p_cid>,<d_comp>,<h_comp>
[...]]]
OK
or
ERROR
Write Command Response
AT+CGDSCONT=<cid>[,<p_ OK
cid>[,<d_comp>[,<h_comp> or
]]] ERROR
Defined Values
<cid> a numeric parameter which specifies a particular PDP context definition. The
parameter is local to the TE-MT interface and is used in other PDP
NOTE
The <cid>s for network-initiated PDP contexts will have values outside the ranges indicated for the
<cid> in the test form of the commands +CGDCONT and +CGDSCONT.
Example
AT+CGDSCONT=?
+CGDSCONT: (1-24,100-179),(),"IP",(0-2),(0-4)
+CGDSCONT: (1-24,100-179),(),"PPP",(0-2),(0-4)
+CGDSCONT:
(1-24,100-179),(),"IPV6",(0-2),(0-4)
+CGDSCONT:
(1-24,100-179),(),"IPV4V6",(0-2),(0-4)
OK
AT+CGDSCONT?
+CGDSCONT: 2,1,0,0
OK
AT+CGDSCONT=2,1
OK
This command allows the TE to specify a Packet Filter - PF for a Traffic Flow Template - TFT that is used in
the GGSN in UMTS/GPRS and Packet GW in EPS for routing of packets onto different QoS flows towards
the TE. The concept is further described in the 3GPP TS 23.060 [47]. A TFT consists of from one and up to
16 Packet Filters, each identified by a unique <packet filter identifier>. A Packet Filter also has an
<evaluation precedence index> that is unique within all TFTs associated with all PDP contexts that are
associated with the same PDP address.
OK
or
ERROR
Read Command Response
AT+CGTFT? +CGTFT: [<cid>,<packet filter identifier>,<evaluation precedence
index>,<source address and subnet mask>,<protocol number
(ipv4) / next header (ipv6)>,<destination port range>,<source port
range>,<ipsec security parameter index (spi)>,<type of service
(tos) (ipv4) and mask / traffic class (ipv6) and mask>,<flow label
(ipv6)>,<direction>
[<CR><LF>+CGTFT: <cid>,<packet filter identifier>,<evaluation
precedence index>,<source address and subnet
mask>,<protocol number (ipv4) / next header (ipv6)>,<destination
port range>,<source port range>,<ipsec security parameter index
(spi)>,<type of service (tos) (ipv4) and mask / traffic class (ipv6)
and mask>,<flow label (ipv6)>,<direction>
[...]]]
OK
or
ERROR
Write Command Response
AT+CGTFT=<cid>[,[<packet OK
filter identifier>,<evaluation or
precedence ERROR
index>[,<source address
and subnet
mask>[,<protocol number
(ipv4) / next header
(ipv6)>[,<destination port
range>[,<source port
range>[,<ipsec security
parameter index
(spi)>[,<type of service (tos)
(ipv4) and mask / traffic
class (ipv6) and
mask>[,<flow label
(ipv6)>[,<direction>]]]]]]]]]]
Defined Values
Example
AT+CGTFT=?
+CGTFT:
"IP",(1-16),(0-255),,(0-255),(0-65535.0-65535),(0-65535.0-65535),(0-FFFFFFFF),(0-255.0-255),(0-FF
FFF)
+CGTFT:
"PPP",(1-16),(0-255),,(0-255),(0-65535.0-65535),(0-65535.0-65535),(0-FFFFFFFF),(0-255.0-255),(0-
FFFFF)
+CGTFT:
"IPV6",(1-16),(0-255),,(0-255),(0-65535.0-65535),(0-65535.0-65535),(0-FFFFFFFF),(0-255.0-255),(0-
FFFFF)
+CGTFT:
"IPV4V6",(1-16),(0-255),,(0-255),(0-65535.0-65535),(0-65535.0-65535),(0-FFFFFFFF),(0-255.0-255),(
0-FFFFF)
OK
AT+CGTFT?
+CGTFT: 2,1,0,"74.125.71.99.255.255.255.255",0,0.0,0.0,0,0.0,0
OK
AT+CGTFT=2,1,0,"74.125.71.99.255.255.255.255"
OK
This command allows the TE to specify a Quality of Service Profile that is used when the MT sends an
Activate PDP Context Request message to the network. A special form of the set command
(AT+CGQREQ=<cid>) causes the requested profile for context number <cid> to become undefined.
OK
or
ERROR
Read Command Response
AT+CGQREQ? +CGQREQ: [<cid>, <precedence >, <delay>, <reliability>, <peak>,
<mean>[<CR><LF>
+CGQREQ: <cid>, <precedence >, <delay>, <reliability.>, <peak>,
<mean>[…]]]
OK
or
ERROR
Write Command Response
AT+CGQREQ=<cid>[,<prece OK
dence>[,<delay>[,<reliability or
>[,<peak> [,<mean>]]]]] ERROR
Execution Command Response
AT+CGQREQ OK
or
ERROR
Defined Values
<cid> A numeric parameter which specifies a particular PDP context definition (see
AT+CGDCONT command). The range is from 1 to 42,100 to 179.
<PDP_type> (Packet Data Protocol type) a string parameter which specifies the type of
packet data protocol.
IP Internet Protocol
PPP Point to Point Protocol
IPV6 Internet Protocol Version 6
IPV4V6 Dual PDN Stack
<precedence> A numeric parameter which specifies the precedence class:
0 – network subscribed value
1 – high priority
2 – normal priority
3 – low priority
<delay> A numeric parameter which specifies the delay class:
0 – network subscribed value
1 – delay class 1
2 – delay class 2
3 – delay class 3
4 – delay class 4
<reliability> A numeric parameter which specifies the reliability class:
0 – network subscribed value
1 – Non real-time traffic,error-sensitive application that cannot cope with
data loss
2 – Non real-time traffic,error-sensitive application that can cope with
infrequent data loss
3 – Non real-time traffic,error-sensitive application that can cope with
data loss, GMM/-
SM,and SMS
4 – Real-time traffic,error-sensitive application that can cope with data
loss
5 – Real-time traffic error non-sensitive application that can cope with
data loss
<peak> A numeric parameter which specifies the peak throughput class:
Example
AT+CGQREQ=?
+CGQREQ: "IP",(0-3),(0-4),(0-5),(0-9),(0-18,31)
+CGQREQ: "PPP",(0-3),(0-4),(0-5),(0-9),(0-18,31)
+CGQREQ: "IPV6",(0-3),(0-4),(0-5),(0-9),(0-18,31)
+CGQREQ: "IPV4V6",(0-3),(0-4),(0-5),(0-9),(0-18,31)
OK
AT+CGREG?
+CGQREQ:
OK
The read command returns the current settings for each defined context for which a QOS was explicitly
specified.
The write command allows the TE to specify a Quality of Service Profile for the context identified by the
context identification parameter <cid> which is used when the MT sends an Activate PDP Context Request
message to the network.
A special form of the write command, AT+CGEQREQ=<cid> causes the requested profile for context
number <cid> to become undefined.
OK
or
ERROR
Read Command Response
AT+CGEQREQ? +CGEQREQ: [<cid>,<Traffic class>,<Maximum bitrate UL>,<Ma
ximum bitrate DL>,<Guaranteed bitrate UL>,<Guaranteed bitrate
DL>,<Delivery order>,<Maximum SDU size>,<SDU error ratio>,
<Residual bit error ratio>,<Delivery of erroneous
SDUs>,<Transfer
Delay>,<Traffic handling priority>][<CR><LF>
+CGEQREQ: <cid>,<Traffic class>,<Maximum bitrate UL>,<Ma
ximum bitrate DL>,<Guaranteed bitrate UL>,<Guaranteed bitrate
DL>,<Delivery order>,<Maximum SDU size>,<SDU error ratio>,
<Residual bit error ratio>,<Delivery of erroneous
SDUs>,<Transfer
OK
or
ERROR
Write Command Response
AT+CGEQREQ=<cid>[,<Traf OK
fic class>[,<Maximum or
bitrate UL>[,<Maximum ERROR
bitrate DL>[,<Guaranteed or
bitrateUL>[,<Guaranteed +CME ERROR: <err>
bitrate DL>[,<Delivery
order>[,<Maximum SDU
size>[,<SDU
error ratio>[,<Residual bit
error ratio>[,<Delivery of
erroneous
SDUs>[,<Transfer
delay>[,<Traffic handling
priority>]]]]]]]]]]]]
Execution Command Response
AT+ CGEQREQ OK
or
ERROR
Defined Values
<Guaranteed bitrate This parameter indicates the guaranteed number of kbit/s delivered to
UL> UMTS(up-link traffic)at a SAP(provided that there is data to deliver).As an
example a bitrate of 32kbit/s would be specified as
32(e.g.AT+CGEQREQ=…,32,…).
The range is from 0 to 8460. The default value is 0. If the parameter is set to
'0' the subscribed value will be requested.
<Guaranteed bitrate This parameter indicates the guaranteed number of kbit/s delivered to
DL> UMTS(down-link traffic)at a SAP(provided that there is data to deliver).As an
example a bitrate of 32kbit/s would be specified as
32(e.g.AT+CGEQREQ=…,32,…).
The range is from 0 to 8460. The default value is 0. If the parameter is set to
'0' the subscribed value will be requested.
<Delivery order> This parameter indicates whether the UMTS bearer shall provide
in-sequence SDU delivery or not.
0 – no
1 – yes
2 – subscribed value
<Maximum SDU size> This parameter indicates the maximum allowed SDU size in octets.
The range is from 0 to 1520. The default value is 0. If the parameter is set to
'0' the subscribed value will be requested.
<SDU error ratio> This parameter indicates the target value for the fraction of SDUs lost or
detected as erroneous.SDU error ratio is defined only for conforming
traffic.As an example a target SDU error ratio of 5*10-3 would be specified
as “5E3”(e.g.AT+CGEQREQ=..,”5E3”,…).
“1E2”
“7E3”
“1E3”
“1E4”
“1E5”
“1E6”
“1E1”
<Residual bit error This parameter indicates the target value for the undetected bit error ratio in
ratio> the delivered SDUs. If no error detection is requested,Residual bit error ratio
indicates the bit error ratio in the delivered SDUs.As an example a target
residual bit error ratio of 5*10-3 would be specified as “5E3”(e.g.
AT+CGEQREQ=…,”5E3”,..).
“5E2”
“1E2”
“5E3”
“4E3”
“1E3”
“1E4”
“1E5”
“1E6”
“6E8”
Example
AT+CGEQREQ=?
+CGEQREQ: "IP",(0-4),(0-384),(0-7168),(0-384),(0-7168),(0-2),(0-1520),("0E0","1E
1","1E2","7E3","1E3","1E4","1E5","1E6"),("0E0","5E2","1E2","5E3","4E3","1E3","1E
4","1E5","1E6","6E8"),(0-3),(0-4000),(0-3) ,(0,1),(0,1)
+CGEQREQ: "PPP",(0-4),(0-384),(0-7168),(0-384),(0-7168),(0-2),(0-1520),("0E0","1
E1","1E2","7E3","1E3","1E4","1E5","1E6"),("0E0","5E2","1E2","5E3","4E3","1E3","1
E4","1E5","1E6","6E8"),(0-3),(0-4000),(0-3) ,(0,1),(0,1)
+CGEQREQ: "IPV6",(0-4),(0-384),(0-7168),(0-384),(0-7168),(0-2),(0-1520),("0E0","
1E1","1E2","7E3","1E3","1E4","1E5","1E6"),("0E0","5E2","1E2","5E3","4E3","1E3","
1E4","1E5","1E6","6E8"),(0-3),(0-4000),(0-3) ,(0,1),(0,1)
+CGEQREQ:"IPV4V6",(0-4),(0-5760),(0-14000),(0-5760),(0-14000),(0-2),(0-1520),("0E0","1E1","1E
2","7E3","1E3","1E4","1E5","1E6"),("0E0","5E2","1E2","5E3","4E3","1E3","1E4","1E5","1E6","6
E8"),(0-3),(0-4000),(0-3),(0,1),(0,1)
OK
AT+CGEQREQ?
+CGEQREQ:
OK
This command allows the TE to specify a minimum acceptable profile which is checked by the MT against
the negotiated profile returned in the Activate PDP Context Accept message. A special form of the set
command. AT+CGQMIN=<cid> causes the minimum acceptable profile for context number <cid> to
become undefined.
OK
or
ERROR
Read Command Response
AT+CGQMIN? +CGQMIN: [<cid>,<precedence>,<delay>,<reliability>,<peak>,
<mean>[<CR><LF>
+CGQMIN: <cid>,<precedence>,<delay>,<reliability.>,<peak>,
<mean>
[…]]]
OK
or
ERROR
Write Command Response
AT+CGQMIN=<cid>[,<prece OK
dence>[,<delay>[,<reliability or
>[,<peak> [,<mean>]]]]] ERROR
Execution Command Response
AT+CGQMIN OK
or
ERROR
Defined Values
<cid> A numeric parameter which specifies a particular PDP context definition (see
AT+CGDCONT command). The range is from 1 to 24,100 to 179.
<PDP_type> (Packet Data Protocol type) a string parameter which specifies the type of
packet data protocol.
IP Internet Protocol
PPP Point to Point Protocol
IPV6 Internet Protocol Version 6
IPV4V6 Dual PDN Stack
<precedence> A numeric parameter which specifies the precedence class:
0 – network subscribed value
1 – high priority
2 – normal priority
3 – low priority
<delay> A numeric parameter which specifies the delay class:
0 – network subscribed value
1 – delay class 1
2 – delay class 2
3 – delay class 3
4 – delay class 4
<reliability> A numeric parameter which specifies the reliability class:
0 – network subscribed value
1 – Non real-time traffic,error-sensitive application that cannot cope with
data loss
2 – Non real-time traffic,error-sensitive application that can cope with
infrequent data loss
3 – Non real-time traffic,error-sensitive application that can cope with
data loss, GMM/-
SM,and SMS
4 – Real-time traffic,error-sensitive application that can cope with data
loss
5 – Real-time traffic error non-sensitive application that can cope with
data loss
<peak> A numeric parameter which specifies the peak throughput class:
0 – network subscribed value
1 – Up to 1000 (8 kbit/s)
2 – Up to 2000 (16 kbit/s)
3 – Up to 4000 (32 kbit/s)
4 – Up to 8000 (64 kbit/s)
5 – Up to 16000 (128 kbit/s)
6 – Up to 32000 (256 kbit/s)
7 – Up to 64000 (512 kbit/s)
8 – Up to 128000 (1024 kbit/s)
9 – Up to 256000 (2048 kbit/s)
<mean> A numeric parameter which specifies the mean throughput class:
0 – network subscribed value
1 – 100 (~0.22 bit/s)
2 – 200 (~0.44 bit/s)
3 – 500 (~1.11 bit/s)
4 – 1000 (~2.2 bit/s)
5 – 2000 (~4.4 bit/s)
6 – 5000 (~11.1 bit/s)
7 – 10000 (~22 bit/s)
8 – 20000 (~44 bit/s)
9 – 50000 (~111 bit/s)
10 – 100000 (~0.22 kbit/s)
11 – 200000 (~0.44 kbit/s)
12 – 500000 (~1.11 kbit/s)
13 – 1000000 (~2.2 kbit/s)
14 – 2000000 (~4.4 kbit/s)
15 – 5000000 (~11.1 kbit/s)
16 – 10000000 (~22 kbit/s)
17 – 20000000 (~44 kbit/s)
18 – 50000000 (~111 kbit/s)
31 – optimization
Example
AT+CGQMIN=?
+CGQMIN: "IP",(0-3),(0-4),(0-5),(0-9),(0-18,31)
+CGQMIN: "PPP",(0-3),(0-4),(0-5),(0-9),(0-18,31)
+CGQMIN: "IPV6",(0-3),(0-4),(0-5),(0-9),(0-18,31)
+CGQMIN:
"IPV4V6",(0-3),(0-4),(0-5),(0-9),(0-18,31)
OK
AT+CGQMIN?
+CGQMIN:
OK
The read command returns the current settings for each defined context for which a QOS was explicitly
specified.
OK
or
ERROR
Read Command Response
AT+CGEQMIN? +CGEQMIN: [<cid>,<Traffic class>,<Maximum bitrate UL>,<Ma
ximum bitrate DL>,<Guaranteed bitrate UL>,<Guaranteed bitrate
DL>,<Delivery order>,<Maximum SDU size>,<SDU error ratio>,
<Residual bit error ratio>,<Delivery of erroneous
SDUs>,<Transfer
Delay>,<Traffic handling priority>][<CR><LF>
+CGEQMIN: <cid>,<Traffic class>,<Maximum bitrate UL>,<Ma
ximum bitrate DL>,<Guaranteed bitrate UL>,<Guaranteed bitrate
DL>,<Delivery order>,<Maximum SDU size>,<SDU error ratio>,
<Residual bit error ratio>,<Delivery of erroneous
SDUs>,<Transfer
OK
or
ERROR
Write Command Response
AT+CGEQMIN=<cid>[,<Traff OK
ic class>[,<Maximum bitrate or
UL>[,<Maximum bitrate ERROR
DL>[,<Guaranteed or
bitrateUL>[,<Guaranteed +CME ERROR: <err>
bitrate DL>[,<Delivery
order>[,<Maximum SDU
size>[,<SDU
error ratio>[,<Residual bit
error ratio>[,<Delivery of
erroneous
SDUs>[,<Transfer
delay>[,<Traffic handling
priority>]]]]]]]]]]]]
Execution Command Response
AT+ CGEQMIN OK
or
ERROR
Defined Values
<Guaranteed bitrate This parameter indicates the guaranteed number of kbit/s delivered to
UL> UMTS(up-link traffic)at a SAP(provided that there is data to deliver).As an
example a bitrate of 32kbit/s would be specified as
32(e.g.AT+CGEQMIN=…,32,…).
The range is from 0 to 8460. The default value is 0. If the parameter is set to
'0' the subscribed value will be requested.
<Guaranteed bitrate This parameter indicates the guaranteed number of kbit/s delivered to
DL> UMTS(down-link traffic)at a SAP(provided that there is data to deliver).As an
example a bitrate of 32kbit/s would be specified as
32(e.g.AT+CGEQMIN=…,32,…).
The range is from 0 to 8460. The default value is 0. If the parameter is set to
'0' the subscribed value will be requested.
<Delivery order> This parameter indicates whether the UMTS bearer shall provide
in-sequence SDU delivery or not.
0 – no
1 – yes
2 – subscribed value
<Maximum SDU size> This parameter indicates the maximum allowed SDU size inoctets.
The range is from 0 to 1520. The default value is 0. If the parameter is set to
'0' the subscribed value will be requested.
<SDU error ratio> This parameter indicates the target value for the fraction of SDUs lost or
detected as erroneous.SDU error ratio is defined only for conforming
traffic.As an example a target SDU error ratio of 5*10-3 would be specified
as “5E3”(e.g.AT+CGEQMIN=..,”5E3”,…).
“1E2”
“7E3”
“1E3”
“1E4”
“1E5”
“1E6”
“1E1”
<Residual bit error This parameter indicates the target value for the undetected bit error ratio in
ratio> the delivered SDUs. If no error detection is requested,Residual bit error ratio
indicates the bit error ratio in the delivered SDUs.As an example a target
residual bit error ratio of 5*10-3 would be specified as “5E3”(e.g.
AT+CGEQMIN=…,”5E3”,..).
“1E2”
“5E3”
“4E3”
“1E3”
“1E4”
“1E5”
“1E6”
“6E8”
Example
AT+CGEQMIN=?
+CGEQMIN:
"IP",(0-4),(0-11520),(0-42200),(0-11520),(0-42200),(0-2),(0-1520),("0E0","1E1","1E2","7E3","1E3","
1E4","1E5","1E6"),("0E0","5E2","1E2","5E3","4E3","1E3","1E4","1E5","1E6","6E8"),(0-3),(0,100-
4000),(0-3),(0-1),(0-1)
+CGEQMIN:
"PPP",(0-4),(0-11520),(0-42200),(0-11520),(0-42200),(0-2),(0-1520),("0E0","1E1","1E2","7E3","1E3
","1E4","1E5","1E6"),("0E0","5E2","1E2","5E3","4E3","1E3","1E4","1E5","1E6","6E8"),(0-3),(0,1
00-4000),(0-3),(0-1),(0-1)
+CGEQMIN:
"IPV6",(0-4),(0-11520),(0-42200),(0-11520),(0-42200),(0-2),(0-1520),("0E0","1E1","1E2","7E3","1E3
","1E4","1E5","1E6"),("0E0","5E2","1E2","5E3","4E3","1E3","1E4","1E5","1E6","6E8"),(0-3),(0,1
00-4000),(0-3),(0-1),(0-1)
+CGEQMIN:
"IPV4V6",(0-4),(0-11520),(0-42200),(0-11520),(0-42200),(0-2),(0-1520),("0E0","1E1","1E2","7E3","1
E3","1E4","1E5","1E6"),("0E0","5E2","1E2","5E3","4E3","1E3","1E4","1E5","1E6","6E8"),(0-3),(0
,100-4000),(0-3),(0-1),(0-1)
OK
AT+CGEQMIN?
+CGEQMIN:
OK
The command causes the MT to perform whatever actions are necessary to establish communication
between the TE and the network using one or more Packet Domain PDP types. This may include
performing a PS attach and one or more PDP context activations.
OK
or
ERROR
Write Command Response
AT+CGDATA=[<L2P>,[<cid> NO CARRIER
]] or
OK
or
ERROR
or
+CME ERROR: <err>
Defined Values
<L2P> A string parameter that indicates the layer 2 protocol to be used between the
TE and MT.
PPP Point-to-point protocol for a PDP such as IP
<text> CONNECT result code string; the string formats please refer
ATX/AT\V/AT&E command.
<cid> A numeric parameter which specifies a particular PDP context definition (see
AT+CGDCONT command).
1…16
Example
AT+CGDATA=?
+CGDATA: ("PPP")
OK
AT+CGDATA="PPP",1
CONNECT 115200
The write command returns a list of PDP addresses for the specified context identifiers.
OK
or
ERROR
Write Command Response
AT+CGPADDR=<cid>[,<cid> OK
[,…]] or
ERROR
or
+CME ERROR: <err>
+CGPADDR: <cid>,<PDP_addr>[...]]]
OK
or
ERROR
or
+CME ERROR: <err>
Defined Values
<cid> A numeric parameter which specifies a particular PDP context definition (see
AT+CGDCONT command). If no <cid> is specified, the addresses for all
defined contexts are returned.
1…24,100…179
<PDP_addr> A string that identifies the MT in the address space applicable to the PDP.
The address may be static or dynamic. For a static address, it will be the one
set by the AT+CGDCONT command when the context was defined. For a
dynamic address it will be the one assigned during the last PDP context
activation that used the context definition referred to by <cid>. <PDP_addr>
is omitted if none is available.
Example
AT+CGPADDR=?
+CGPADDR: (1)
OK
AT+CGPADDR=1
+CGPADDR: 1,"0.0.0.0"
OK
This command is used to set the MT to operate according to the specified GPRS mobile class.
OK
or
ERROR
Read Command Response
AT+CGCLASS? +CGCLASS: <class>
OK
or
ERROR
Write Command Response
AT+CGCLASS=<class> OK
or
ERROR
or
+CME ERROR: <err>
Execution Command Response
Set default value: OK
AT+CGCLASS or
ERROR
Defined Values
<class> A string parameter which indicates the GPRS mobile class (in descending
order of functionality)
A – class A (highest)
Example
AT+CGCLASS=?
+CGCLASS: ("A")
OK
AT+CGCLASS?
+CGCLASS: "A"
OK
The write command enables or disables sending of unsolicited result codes, "+CGEV" from MT to TE in the
case of certain events occurring in the Packet Domain MT or the network. <mode> controls the processing
of unsolicited result codes specified within this command. <bfr> controls the effect on buffered codes
when <mode> 1 or 2 is entered. If a setting is not supported by the MT, ERROR or +CME ERROR: is
returned.
Test command returns the modes and buffer settings supported by the MT as compound values.
OK
or
ERROR
Read Command Response
AT+CGEREP? +CGEREP: <mode>,<bfr>
OK
or
ERROR
Write Command Response
AT+CGEREP=<mode>[,<bfr OK
>] or
ERROR
or
+CME ERROR: <err>
Execution Command Response
AT+CGEREP OK
or
ERROR
Defined Values
NOTE
Example
AT+CGREG=?
+CGREG: (0-2)
OK
AT+CGREG?
+CGREG: 0,1
OK
This command is used to set type of authentication for PDP-IP connections of GPRS.
OK
or
ERROR
or
+CME ERROR: <err>
Read Command Response
AT+CGAUTH? +CGAUTH: <cid>,<auth_type>[,<user>]<CR><LF>
+CGAUTH: <cid>,<auth_type>[,<user>]<CR><LF>
OK
OK
or
ERROR
or
+CME ERROR: <err>
Write Command Response
AT+CGAUTH=<cid>[,<auth_ OK
type>[,<passwd>[,<user>]]] or
ERROR
or
+CME ERROR: <err>
Execution Command Response
AT+CGAUTH OK
or
ERROR
or
+CME ERROR: <err>
Defined Values
<cid> Parameter specifies a particular PDP context definition. This is also used in
other PDP context-related commands.
1…42,100…179
<auth_type> Indicate the type of authentication to be used for the specified context. If
CHAP is selected another parameter <passwd> needs to be specified. If
PAP is selected two additional parameters <passwd> and <user> need to
specified.
0 – none
1 – PAP
2 – CHAP
3 – PAP or CHAP
<passwd> Parameter specifies the password used for authentication.
<user> Parameter specifies the user name used for authentication.
Example
AT+CGAUTH=?
+CGAUTH: ,,127,127(for CDMA1x-EvDo only)
+CGAUTH: (1-24,100-179),(0-3),127,127
OK
AT+CGAUTH=1,1,"123","SIMCOM"
OK
Command Description
AT+CSMS Select message service
AT+CPMS Preferred message storage
AT+CMGF Select bearer service type
AT+CSCA SMS service centre address
AT+CSCB Select cell broadcast message indication
AT+CSMP Set text mode parameters
AT+CSDH Show text mode parameters
AT+CNMA New message acknowledgement to ME/TA
AT+CNMI New message indications to TE
AT+CGSMS Select service for MO SMS messages
AT+CMGL List SMS messages from preferred store
AT+CMGR Read message
AT+CMGS Send message
AT+CMSS Send message from storage
AT+CMGW Write message to memory
AT+CMGD Delete message
AT+CMGMT Change message status
AT+CMVP Set message valid period
AT+CMGRD Read and delete message
AT+CMGSEX Send message
AT+CMSSEX Send multi messages from storage
AT+CMGP Set cdma/evdo text mode parameters
Defined Values
<service>
0 – SMS at command is compatible with GSM phase 2.
1 – type supported.
1 – type supported.
Example
AT+CSMS=0
+CSMS:1,1,1
OK
This command is used to select memory storages <mem1>, <mem2> and <mem3> to be used for reading,
writing, etc.
Defined Values
<mem1> String type, memory from which messages are read and deleted
(commands List Messages AT+CMGL, Read Message AT+CMGR
and Delete Message AT+CMGD).
mode)
<mem2> String type, memory to which writing and sending operations are
made (commands Send Message from Storage AT+CMSS and
Write Message to Memory AT+CMGW).
Example
AT+CSMS=0
+CSMS:1,1,1
OK
This command is used to specify the input and output format of the short messages.
AT+CMGF a)
OK
b)If failed:
ERROR
Defined Values
<mode>
0 – PDU mode
1 – Text mode
Example
AT+CMGF=1
OK
This command is used to update the SMSC address, through which mobile originated SMS are transmitted.
Note: This command not support in CDMA/EVDO mode
Defined Values
<mode>
0 – PDU mode
1 – Text mode
Example
AT+CMGF=1
OK
Defined Values
<mode>
0 – message types specified in <mids> and <dcss> are
accepted.
accepted.
<mids> String type; all different possible combinations of CBM message
identifiers.
<dcss> String type; all different possible combinations of CBM data coding
schemes(default is empty string)
Example
AT+CSCB=?
+CSCB: (0-1)
OK
This command is used to select values for additional parameters needed when SM is sent to the network or
placed in storage when text format message mode is selected.
Note: This command not support in CDMA/EVDO mode
Defined Values
Example
AT+CSMP=17,23,64,244
OK
This command is used to select values for additional parameters needed when SM is sent to the network or
placed in storage when text format message mode is selected.
Note: This command not support in CDMA/EVDO mode
Defined Values
Example
AT+CSDH=1
OK
ERROR
c)If failed:
+CMS ERROR: <err>
Defined Values
text mode.
Example
AT+CNMI=1,2,0,0,0
OK
Testing
(receive new short message)
AT+CNMA(send ACK to the network)
OK
AT+CNMA
+CMS ERROR:340
NOTE
NOTE: The execute / write command shall only be used when AT+CSMS parameter <service>
equals 1 (= phase 2+) and appropriate URC has been issued by the module, i.e.:
<+CMT> for <mt>=2 incoming message classes 0, 1, 3 and none;
<+CMT> for <mt>=3 incoming message classes 0 and 3;
<+CDS> for <ds>=1.
This command not support in CDMA/EVDO mode
This command is used to select the procedure how receiving of new messages from the network is
indicated to the TE when TE is active, e.g. DTR signal is ON. If TE is inactive (e.g. DTR signal is OFF). If set
<mt> = 3 or <ds> = 1, make sure <mode> = 1, If set <mt>=2,make sure <mode>=1 or 2, otherwise it will
return error.
Defined Values
<mode>
0 – Buffer unsolicited result codes in the TA. If TA result code
value:
The rules for storing received CBMs depend on its data coding
scheme, the setting of Select CBM Types (AT+CSCB) and this
value:
result code:
+CBM: <length><CR><LF><pdu> (PDU mode enabled); or
+CBM: <sn>,<mid>,<dcs>,<page>,<pages><CR><LF><data>
(text mode enabled)
<ds>
(not used in CDMA/EVDO mode)
enabled)
Example
The write command is used to specify the service or service preference that the MT will use to send MO
SMS messages.
The test command is used for requesting information on which services and service preferences can be set
by using the AT+CGSMS write command
The read command returns the currently selected service or service preference.
Note: This command not support in CDMA/EVDO mode
Defined Values
mapped to 2)
internally mapped to 3)
available)
available)
Example
AT+CGSMS?
+CGSMS: 3
OK
This command is used to return messages with status value <stat> from message storage <mem1> to the
TE.
If the status of the message is 'received unread', the status in the storage changes to 'received read'.
OK
b)If text mode (AT+CMGF=1), command successful and 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>[...]]
OK
c)If text mode (AT+CMGF=1), command successful and SMS-
COMMANDs:
+CMGL: <index>,<stat>,<fo>,<ct>[<CR><LF>
+CMGL: <index>,<stat>,<fo>,<ct>[...]]
OK
d)If text mode (AT+CMGF=1), command successful and CBM
storage:
+CMGL:<index>,<stat>,<sn>,<mid>,<page>,<pages>
<CR><LF><data>[<CR><LF>
+CMGL:<index>,<stat>,<sn>,<mid>,<page>,<pages>
<CR><LF><data>[...]]
OK
e)If PDU mode (AT+CMGF=0) and Command successful:
+CMGL:<index>,<stat>,[<alpha>],<length><CR><LF><pdu>[<
CR><LF>
+CMGL:<index>,<stat>,[<alpha>],<length><CR><LF><pdu>
[…]]
OK
f)If failed:
+CMS ERROR: <err>
Defined Values
4 – all messages
0…255
0…255
Example
AT+CMGL="ALL"
+CMGL: 1,"STO UNSENT","+10011",,,145,4
Hello World
OK
This command is used to return message with location value <index> from message storage <mem1> to
the TE.
th>]<CR><LF><data>
OK
e)If text mode (AT+CMGF=1), command successful and CBM
storage:
+CMGR:<stat>,<sn>,<mid>,<dcs>,<page>,<pages><CR><LF>
<data>
OK
f)If PDU mode (AT+CMGF=0) and Command successful:
+CMGR:<stat>,[<alpha>],<length><CR><LF><pdu>
OK
g)If failed:
+CMS ERROR: <err>
Response
a)
Execution Command Set default value (<show>=0):
AT+CSDH OK
b)If failed:
ERROR
Defined Values
4 – all messages
0…255
0…255
0…255
Example
AT+CMGR=1
+CMGR: "STO UNSENT","+10011",,145,17,0,0,167,"+8613800100500",145,11
Hello World
OK
Defined Values
Example
AT+CMGS="13012832788"<CR>(TEXT MODE)
> ABCD<ctrl-Z/ESC>
+CMGS: 46
OK
NOTE
NOTE: In text mode, the maximum length of an SMS depends on the used coding scheme: It is
160 characters if the 7 bit GSM coding scheme is used.
This command is used to send message with location value <index> from preferred message storage
<mem2> to the network (SMS-SUBMIT or SMS-COMMAND).
Defined Values
Example
AT+CMSS=3
+CMSS: 0
OK
AT+CMSS=3,"13012345678"
+CMSS: 55
OK
NOTE
NOTE: In text mode, the maximum length of an SMS depends on the used coding scheme: It is
160 characters if the 7 bit GSM coding scheme is used.
This command is used to store message (either SMS-DELIVER or SMS-SUBMIT) to memory storage
<mem2>.
Defined Values
Example
NOTE
NOTE: In text mode, the maximum length of an SMS depends on the used coding scheme: It is
160 characters if the 7 bit GSM coding scheme is used.
This command is used to delete message from preferred message storage <mem1> location <index>. If
<delflag> is present and not set to 0 then the ME shall ignore <index> and follow the rules for <delflag>
shown below.
Defined Values
Example
AT+CMGD=1
OK
NOTE
This command is used to change the message status. If the status is unread, it will be changed read. Other
statuses don’t change.
Note: This command not support in CDMA/EVDO mode
Defined Values
Example
AT+CMGMT=1
OK
This command is used to set valid period for sending short message.
Note: This command not support in CDMA/EVDO mode
Defined Values
Example
AT+CMVP=167
OK
This command is used to read message, and delete the message at the same time. It integrate AT+CMGR
and AT+CMGD, but it doesn’t change the message status.
Note: This command not support in CDMA/EVDO mode
Defined Values
Example
AT+CMGRD=6
+CMGRD:"REC READ","+8613917787249",,"06/07/10,12:09:38+32",145,4,0,0, "+86138002105
00",145,4
How do you do
OK
Defined Values
Example
NOTE
NOTE: In text mode, the maximum length of an SMS depends on the used coding scheme: For
single SMS, it is 160 characters if the 7 bit GSM coding scheme is used; For multiple long sms, it is
153 characters if the 7 bit GSM coding scheme is used.
This command is used to send messages with location value <index1>,<index2>,<index3>… from
preferred message storage <mem2> to the network (SMS-SUBMIT or SMS-COMMAND).The max count of
index is 13 one time.
Note: This command not support in CDMA/EVDO mode
[+CMSSEX: <mr>[,<mr>[,…]]]
Defined Values
Example
AT+CMSSEX=0,1
+CMSSEX: 239,240
OK
NOTE
NOTE: In text mode, the maximum length of an SMS depends on the used coding scheme: It is
160 characters if the 7 bit GSM coding scheme is used.
The command is used to select values for additional parameters needed when SM is sent to the network or
placed in storage when text format message mode is selected.
NOTE: take effect in CDMA/EVDO mode
Defined Values
“YY/MM/DD,HH/MM/SS” if vpf=0,
“YY/MM/DD,HH/MM/SS” if ddtf=0,
Example
AT+CMGP=4098,0,”11/04/22,16:21:00”,1,12
OK
Command Description
AT+CCHSTART Start SSL service
AT+CCHSTOP Stop SSL service
AT+CCHOPEN Connect to SSL server
AT+CCHCLOSE Disconnect from SSL server
AT+CCHSEND Send data to SSL server
AT+CCHRECV Read the cached data that received from the SSL server
AT+CCHCFG Configure the client context
AT+CCHSSLCFG Set the SSL context
AT+CCHSET Configure the report mode of sending and receiving data
AT+CCHMODE Configure the mode of sending and receiving data
AT+CCHADDR Get the IPV4 address
AT+CSSLCFG Configure the SSL context
AT+CCERTDOWN Download certificate into the module
AT+CCERTLIST List certificates
AT+CCERTDELE Delete certificates
+CCHSTART: 0
OK
c)If failed:
ERROR
d)If failed:
OK
+CCHSTART: <err>
Parameter Saving Mode -
Maximum Response Time 120000ms
Reference -
Defined Values
Example
AT+CCHSTART
OK
+CCHSTART: 0
NOTE
You must execute AT+CCHSTART before any other SSL related operations
OK
b)If stop SSL service successfully:
OK
+CCHSTOP: 0
c)If failed:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
Example
AT+CCHSTOP
OK
+CCHSTOP: 0
OK
Read Command Response
AT+CCHOPEN? If connect to a server, it will show the connected information. Otherwise,
the connected information is empty.
+CCHOPEN: 0,”<host>”,<port>,<client_type>[,<bind_port>]
+CCHOPEN: 1,”<host>”,<port>,<client_type>[,<bind_port>]
OK
Write Command Response
AT+CCHOPEN=<session a)If connect successfully:
_id>,”host”,<port>[,<clie +CCHOPEN: <session_id>,0
nt_type>[,<bind_port>]]
OK
b)If connect successfully:
OK
+CCHOPEN: <session_id>,0
c)If connect successfully in transparent mode:
CONNECT [<text>]
d)If failed:
OK
+CCHOPEN: <session_id>,<err>
[+CCHCLOSE: <session_id>,<err>]
e)If failed:
ERROR
f)If failed in transparent mode:
CONNECT FAIL
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
Example
AT+CCHOPEN=0,”www.baidu.com”,443,2
OK
+CCHOPEN: 0,0
NOTE
If you don’t set the SSL context by AT+CCHSSLCFG before connecting a SSL/TLS server by
AT+CCHOPEN, it will use the <session_id> (the 1’st parameter of AT+CCHOPEN) SSL context
when connecting to the server.
OK
b)If successfully:
OK
+CCHCLOSE: <session_id>,0
c)If successfully in transparent mode:
OK
CLOSED
d)If failed:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
Example
AT+CCHCLOSE=0
OK
+CCHCLOSE: 0,0
OK
Read Command Response
AT+CCHSEND? +CCHSEND: 0,<unsent_len_0>,1,<unsent_len_1>
OK
Write Command Response
AT+CCHSEND=<session_id a)if parameter is right:
>,<len> >
<input data here>
When the total size of the inputted data reaches <len>, TA will report
the following code. Otherwise, the serial port will be blocked.
OK
b)If parameter is wrong or other errors occur:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
Example
AT+CCHSEND=0,125
> GET / HTTP/1.1
Host: www.google.com.hk
User-Agent: MAUI htp User Agent
Proxy-Connection: keep-alive
Content-Length: 0
OK
10.2.6 AT+CCHRECV Read the cached data that received from the server
AT+CCHRECV Read the cached data that received from the server
Read Command Response
AT+CCHRECV? +CCHRECV: LEN,<cache_len_0>,<cache_len_1>
OK
[+CCHRECV: DATA,<session_id>,<len>
…
+CCHRECV: DATA,<session_id>,<len>
…]
+CCHRECV: <session_id>,<err>
b) if parameter is not right or any other error occurs:
+CCHRECV: <session_id>,<err>
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
Example
AT+CCHRECV=1
OK
+CCHRECV: DATA,1,249
HTTP/1.1 200 OK
Content-Type: text/html
Content-Language: zh-CN
Content-Length: 57
<html>
<header>test</header>
<body>
Test body
</body>
+CCHRECV: 1,0
OK
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
<ip_address> A string parameter that identifies the IPv4 address after PDP
activated.
Example
AT+CCHADDR
+CCHADDR: 10.71.155.118
OK
OK
Read Command Response
AT+CCHCFG? +CCHCFG: 0,<sendtimeout_val>,<sslctx_index>
+CCHCFG: 1,<sendtimeout_val>,<sslctx_index>
OK
Write Command Response
If successfully:
/*Configure the timeout value of the
OK
specified client when sending data*/
If failed:
ERROR
AT+CCHCFG=”sendtimeout”,
<session_id>,<sendtimeout_
val>
Write Command Response
If successfully:
/*Configure the SSL context index,
OK
it’s as same as AT+CSSLCFG*/
If failed:
ERROR
AT+CCHCFG=”sslctx”,<sessi
on_id>,<sslctx_index>
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
Example
AT+CCHCFG=”sendtimeout”,0,60
OK
NOTE
This command must be called before AT+CCHOPEN and after AT+CCHSTART. The setting will be
cleared after AT+CCHOPEN failed or AT+CCHCLOSE.
OK
Read Command Response
AT+CCHSSLCFG? +CCHSSLCFG: <session_id>,[ssl_ctx_index]
+CCHSSLCFG: <session_id>,[ssl_ctx_index]
OK
Write Command Response
AT+CCHSSLCFG=<session_i a) If successfully:
d>,<ssl_ctx_index> OK
b) If failed:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
Example
AT+CCHSSLCFG=?
+CCHSSLCFG: (0-1),(0-9)
OK
AT+CCHSSLCFG=1,1
OK
NOTE
This command must be called before AT+CCHOPEN and after AT+CCHSTART. The setting will be
cleared after AT+CCHOPEN failed or AT+CCHCLOSE.
If you don’t set the SSL context by this command before connecting to SSL/TLS server by
AT+CCHOPEN, the CCHOPEN operation will use the SSL context as same as index <session_id>
(the 1st parameter of AT+CCHOPEN) when connecting to the server.
OK
Read Command Response
AT+CCHMODE? +CCHMODE: <mode>
OK
Write Command Response
AT+CCHMODE=<mode> a) If successfully:
OK
b) If failed:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
Example
AT+CCHMODE=?
+CCHMODE: (0-1)
OK
AT+CCHMODE=1
OK
NOTE
This command must be called before AT+CCHSTART.
There is only one session in the transparent mode, it’s the first session.
10.2.11 AT+CCHSET Configure the report mode of sending and receiving data
OK
Read Command Response
AT+CCHSET? +CCHSET: <report_send_result>,<recv_mode>
OK
Write Command Response
AT+CCHSET=<report_send_r a) If successfully:
esult>[,<recv_mode>] OK
b) If failed:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
Example
AT+CCHSET=?
+CCHSET: (0-1),(0,1)
OK
AT+CCHSET=1,1
OK
NOTE
This command must be called before AT+CCHSTART.
OK
Read Command Response
AT+CSSLCFG=? +CSSLCFG:
0,<sslversion>,<authmode>,<ignoreltime>,<negotiatetime>,<ca
_file>,<clientcert_file>,<clientkey_file>,<enalbeSNI_flag>,<keyp
wd>,<ciphersuites>
+CSSLCFG:
1,<sslversion>,<authmode>,<ignoreltime>,<negotiatetime>,<ca
_file>,<clientcert_file>,<clientkey_file>,<enalbeSNI_flag>,<keyp
wd>,<ciphersuites>
+CSSLCFG:
2,<sslversion>,<authmode>,<ignoreltime>,<negotiatetime>,<ca
_file>,<clientcert_file>,<clientkey_file>,<enalbeSNI_flag>,<keyp
wd>,<ciphersuites>
+CSSLCFG:
3,<sslversion>,<authmode>,<ignoreltime>,<negotiatetime>,<ca
_file>,<clientcert_file>,<clientkey_file>,<enalbeSNI_flag>,<keyp
wd>,<ciphersuites>
+CSSLCFG:
4,<sslversion>,<authmode>,<ignoreltime>,<negotiatetime>,<ca
_file>,<clientcert_file>,<clientkey_file>,<enalbeSNI_flag>,<keyp
wd>,<ciphersuites>
+CSSLCFG:
5,<sslversion>,<authmode>,<ignoreltime>,<negotiatetime>,<ca
_file>,<clientcert_file>,<clientkey_file>,<enalbeSNI_flag>,<keyp
wd>,<ciphersuites>
+CSSLCFG:
6,<sslversion>,<authmode>,<ignoreltime>,<negotiatetime>,<ca
_file>,<clientcert_file>,<clientkey_file>,<enalbeSNI_flag>,<keyp
wd>,<ciphersuites>
+CSSLCFG:
7,<sslversion>,<authmode>,<ignoreltime>,<negotiatetime>,<ca
_file>,<clientcert_file>,<clientkey_file>,<enalbeSNI_flag>,<keyp
wd>,<ciphersuites>
+CSSLCFG:
8,<sslversion>,<authmode>,<ignoreltime>,<negotiatetime>,<ca
_file>,<clientcert_file>,<clientkey_file>,<enalbeSNI_flag>,<keyp
wd>,<ciphersuites>
+CSSLCFG:
9,<sslversion>,<authmode>,<ignoreltime>,<negotiatetime>,<ca
_file>,<clientcert_file>,<clientkey_file>,<enalbeSNI_flag>,<keyp
wd>,<ciphersuites>
OK
Write Command Response
/*Query the configuration of the +CSSLCFG:
specified SSL context*/ <ssl_ctxindex>,<sslversion>,<authmode>,<ignoreltime>,<negot
AT+CSSLCFG=<ssl_ctx_inde iatetime>,<ca_file>,<clientcert_file>,<clientkey_file>,<enalbeSNI
x> _flag>,<keypwd>,<ciphersuites>
OK
Write Command Response
/*Configure the version of the a)If successfully:
specified SSL context*/ OK
b)If failed:
AT+CSSLCFG=”sslversion”,< ERROR
ssl_ctx_index>,<sslversion>
Write Command Response
/*Configure the authentication of a)If successfully:
the specified SSL context*/ OK
b)If failed:
AT+CSSLCFG=”authmode”,< ERROR
ssl_ctx_index>,<authmode>
Write Command Response
/*Configure the ignore local time a)If successfully:
flag of the specified SSL context*/ OK
b)If failed:
AT+CSSLCFG=”ignorelocalti ERROR
me”,<ssl_ctx_index>,<ignore
ltime>
Write Command Response
/*Configure the negotiate timeout a)If successfully:
value of the specified SSL context*/ OK
b)If failed:
AT+CSSLCFG=”negotiatetim ERROR
e”,<ssl_ctx_index>,<negotiat
etime>
Write Command Response
/*Configure the server root CA of a)If successfully:
the specified SSL context*/ OK
b)If failed:
AT+CSSLCFG=”cacert”,<ssl_ ERROR
ctx_index>,<ca_file>
Write Command Response
/*Configure the client certificate of a)If successfully:
the specified SSL context*/ OK
b)If failed:
AT+CSSLCFG=”clientcert”,<s ERROR
sl_ctx_index>,<clientcert_file
>
Write Command Response
/*Configure the client key of the a)If successfully:
specified SSL context*/ OK
b)If failed:
AT+CSSLCFG=”clientkey”,<s ERROR
sl_ctx_index>,<clientkey_file
>
Write Command Response
/*Configure the enableSNI flag of a)If successfully:
the specified SSL context*/ OK
b)If failed:
AT+CSSLCFG=”enableSNI”,< ERROR
ssl_ctx_index>,<enableSNI_F
lag>
Write Command Response
/*Configure the password of the a)If successfully:
specified SSL context*/ OK
b)If failed:
AT+CSSLCFG=”keypwd”,<ss ERROR
l_ctx_index>,<keypwd>
Write Command Response
/*Configure the ciphersuite of the a)If successfully:
specified SSL context*/ OK
b)If failed:
AT+CSSLCFG=”ciphersuites ERROR
”,<ssl_ctx_index>,<ciphersui
tes>
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
When set the value to 0, it need to set the right current date and time
by AT+CCLK when need SSL certification.
<negotiatetime> The timeout value which is used in SSL negotiating stage. The range
is 10-300 seconds. The default value is 300.
<ca_file> The root CA file name of SSL context. The file name must have type
like “.pem” or “.der”. The length of filename is from 5 to 128 bytes.
If the filename contains non-ASCII characters, the file path parameter
should contain a prefix of {non-ascii} and the quotation mark (The
string in the quotation mark should be hexadecimal of the filename’s
UTF8 code).
1. By AT+CCERTDOWN.
2. By FTPS or HTTPS commands. Please refer to chapter 12 and 13.
<clientcert_file> The client cert file name of SSL context. The file name must have type
like “.pem” or “.der”. The length of filename is from 5 to 128 bytes.
If the filename contains non-ASCII characters, the file path parameter
should contain a prefix of {non-ascii} and the quotation mark (The
string in the quotation mark should be hexadecimal of the filename’s
UTF8 code).
0x002F TLS_RSA_WITH_AES_128_CBC_SHA
Example
AT+CSSLCFG=”sslversion”,1,1
OK
OK
Write Command Response
AT+CCERTDOWN=<filename a)If it can be download:
>,<len> >
<input data here>
OK
b)If failed:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
<filename> The name of the certificate/key file. The file name must have type like
“.pem” or “.der”. The length of filename is from 5 to 128 bytes.
If the filename contains non-ASCII characters, the file path parameter
should contain a prefix of {non-ascii} and the quotation mark (The
string in the quotation mark should be hexadecimal of the filename’s
UTF8 code).
For example: If you want to download a file with name “中华.pem”, you
should convert the “ 中 华 .pem” to UTF8 coding
(中华.pem), then input the hexadecimal
(262378344532443B262378353334453B2E70656D) of UTF8 coding.
len> The length of the file data to send. The range is from 1 to 10240 bytes.
Example
AT+CCERTDOWN=”client_key.der”,611
> file content……
OK
[+CCERTLIST: <file_name>]
…
<CR><LF>]
OK
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
<file_name> The certificate/key files which has been downloaded to the module.
If the filename contains non-ASCII characters, it will show the
non-ASCII characters as UTF8 code.
Example
AT+CCERTLIST
+CCERTLIST: “ca_cert.der”
+CCERTLIST: “client_key.pem””
OK
Defined Values
<filename> The name of the certificate/key file. The file name must have type like
“.pem” or “.der”. The length of filename is from 5 to 128 bytes.
If the filename contains non-ASCII characters, the file path parameter
should contain a prefix of {non-ascii} and the quotation mark (The
string in the quotation mark should be hexadecimal of the filename’s
UTF8 code).
For example: If you want to download a file with name “中华.pem”, you
should convert the “ 中 华 .pem” to UTF8 coding
(中华.pem), then input the hexadecimal
(262378344532443B262378353334453B2E70656D) of UTF8 coding.
Example
AT+CCERTDELE=”server_ca.der”
OK
Result Code
0 Operation succeeded
1 Alerting state(reserved)
2 Unknown error
3 Busy
4 Peer closed
5 Operation timeout
6 Transfer failed
7 Memory error
8 Invalid parameter
9 Network error
10 Open session error
11 State error
12 Create socket error
13 Get DNS error
14 Connect socket error
15 Handshake error
16 Close socket error
17 Nonet
18 Send data timeout
19 Not set certificates
Information Description
+CCHEVENT: <session_id>,RECV EVENT In manual receiving mode, when new data of
a connection arriving to the module, this
unsolicited result code will be reported to
MCU.
+CCH_RECV_CLOSED: <session_id>,<err> When receive data occurred any error, this
unsolicited result code will be reported to
MCU.
+CCH_PEER_CLOSED: <session_id> The connection is closed by the server.
Command Description
AT+NETOPEN Start TCPIP service
AT+NETCLOSE Stop TCPIP service
AT+CIPOPEN Setup TCP/UDP client socket connection
AT+CIPCLOSE Destroy TCP/UDP client socket connection
AT+CIPSEND Send TCP/UDP data
AT+CIPRXGET Retrieve TCP/UDP buffered data
AT+IPADDR Get IP address of PDP context
AT+CIPHEAD Add an IP header when receiving data
AT+CIPSRIP Show remote IP address and port
AT+CIPMODE Select TCP/IP application mode
AT+CIPSENDMOE Set sending mode
AT+CIPTIMEOUT Set TCP/IP timeout value
AT+CIPCCFG Configure parameters of socket
AT+SERVERSTART Startup TCP server
AT+SERVERSTOP Stop TCP server
AT+CIPACK Query TCP connection data transmitting status
AT+CDNSGIP Query the IP address of given domain name
AT+CDNSGHNAME Query the domain name of given IP address
AT+CIPDNSSET Set DNS query parameters
AT+CPING Ping destination address
AT+CPINGSTOP Stop an ongoing ping session
OK
Execution Command Response
AT+NETOPEN If the PDP context has not been activated or the network closed
abnormally, response:
OK
+NETOPEN: <err>
when the PDP context has been activated successfully, if you execute
AT+NETOPEN again, response:
+IP ERROR: Network is already opened
ERROR
other:
ERROR
Parameter Saving Mode -
Maximum Response Time 120000ms
Reference -
Defined Values
<net_state> Integer type, which indicates the state of PDP context activation.
0 network close (deactivated)
1 network open(activated)
<err> Integer type, the result of operation. 0 is success, other value is failure.
Example
AT+NETOPEN
OK
+NETOPEN: 0
AT+NETOPEN?
+NETOPEN: 1
OK
NOTE
You must execute AT+NETOPEN before any other TCP/UDP related operations
+NETCLOSE: <err>
If the PDP context has not been activated, response:
+NETCLOSE: <err>
ERROR
other:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
<err> Integer type, the result of operation.0 is success, other value is failure.
Example
AT+NETCLOSE
OK
+NETCLOSE: 0
NOTE
“AT+NETCLOSE” can close all the opened socket connections when you didn’t close these
connections by “AT+CIPCLOSE”.
OK
Read Command Response
AT+CIPOPEN? +CIPOPEN: <link_num> [,<type>,<serverIP>,<serverPort>,<index>]
+CIPOPEN: <link_num> [,<type>,<serverIP>,<serverPort>,<index>]
[…]
OK
If a connection identified by <link_num>has not been established
successfully, +CIPOPEN: <link_num> will be returned.
Write Command Response
TCP connection if PDP context has been activated successfully, response:
AT+CIPOPEN=<link_num OK
>,”TCP”,<serverIP>,<ser
verPort>,[,<localPort>] +CIPOPEN: <link_num>,<err>
when the <link_num> is greater than 10, response:
+IP ERROR: Invalid parameter
ERROR
If PDP context has not been activated, or the connection has been
established, or parameter is incorrect, or other errors, response:
+CIPOPEN: <link_num>,<err>
ERROR
if failure
CONNECT FAIL
other:
ERROR
Write Command if PDP context has been activated successfully, response:
UDP connection +CIPOPEN: <link_num>,0
AT+CIPOPEN=<link_num
>,”UDP”,,,<localPort> OK
when the <link_num> is greater than 10, response:
ERROR
If PDP context has not been activated, or the connection has been
established, or parameter is incorrect, or other errors, response:
+CIPOPEN: <link_num>,<err>
ERROR
if success
CONNECT [<text>]
if failure
CONNECT FAIL
Other:
ERROR
Parameter Saving Mode -
Maximum Response Time 120000ms
Reference -
Defined Values
operation.
<localPort> Integer type, identifies the port of local socket, range is 0-65535.
<index> Integer type, which indicates whether the module is used as a client or
server.
When used as server, the range is 0-3. <index> is the server index to
which the client is linked.
(-1) -- TCP/UDP client
(0-3) -- TCP server index
<text> String type, which indicates CONNECT result code. Please refer to
ATX/AT\V/AT&E command for the string formats.
<err> Integer type, the result of operation.0 is success, other value is failure.
Example
AT+CIPOPEN=0,”TCP”,”116.228.221.51”,100
OK
+CIPOPEN: 0,0
AT+CIPOPEN=1,”UDP”,,,8080
+CIPOPEN: 1,0
OK
AT+CIPOPEN=?
+CIPOPEN: (0-9),(“TCP”,”UDP”)
OK
AT+CIPOPEN?
+CIPOPEN: 0,”TCP”,”116.228.221.51”,100,-1
+CIPOPEN: 1
+CIPOPEN: 2
+CIPOPEN: 3
+CIPOPEN: 4
+CIPOPEN: 5
+CIPOPEN: 6
+CIPOPEN: 7
+CIPOPEN: 8
+CIPOPEN: 9
OK
OK
Read Command Response
AT+CIPCLOSE? +CIPCLOSE:
<link0_state>,<link1_state>,<link2_state>,<link3_state>,<link4
_state>,<link5_state>,<link6_state>,<link7_state>,<link8_state
>,<link9_state>
OK
Write Command Response
AT+CIPCLOSE=<link_num> If service type is TCP and the connection identified by <link_num>
has been established, response:
OK
+CIPCLOSE: <link_num>,<err>
If service type is TCP and the access mode is transparent mode,
response:
OK
CLOSED
+CIPCLOSE: <link_num>,<err>
If service type is UDP and the connection identified by <link_num>
has been established, response:
+CIPCLOSE: <link_num>,0
OK
If service type is UDP and access mode is transparent mode,
response:
CLOSED
+CIPCLOSE: <link_num>,<err>
OK
If the connection has not been established, abnormally closed, or
parameter is incorrect, response:
+CIPCLOSE: <link_num>,<err>
ERROR
Other:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
Example
AT+CIPCLOSE?
+CIPCLOSE: 1,0,0,0,0,0,0,0,0,0
OK
AT+CIPCLOSE=?
+CIPCLOSE: (0-9)
OK
AT+CIPCLOSE=0
OK
+CIPCLOSE: 0,0
OK
Write Command Response
If service type is “TCP”, send If the connection identified by <link_num> has been established
data with changeable length successfully, response:
>
AT+CIPSEND=<link_num>, <input data>
CTRL+Z
Response “>”, then type data OK
to send, tap CTRL+Z to send
data, tap ESC to cancel the +CIPSEND: <link_num>,<reqSendLength>, <cnfSendLength>
operation If <reqSendLength> is equal <cnfSendLength>, it means that the data
has been sent to TCP/IP protocol stack successfully.
ERROR
Other:
ERROR
Write Command Response:
If service type is “TCP”, send If the connection identified by <link_num> has been established
data with fixed length successfully, response:
>
AT+CIPSEND=<link_num>,< <input data with specified length>
length> OK
ERROR
Other:
ERROR
Write Command Response:
If service type is “UDP”, send If the connection identified by <link_num> has been established
data with changeable length successfully, response:
>
AT+CIPSEND=<link_num>,, <input data>
<serverIP>,<serverPort> CTRL+Z
OK
Response “>”, then type data
to send, tap CTRL+Z to send +CIPSEND: <link_num>,<reqSendLength>, <cnfSendLength>
data, tap ESC to cancel the If the connection has not been established, abnormally closed, or
operation parameter is incorrect, response:
+CIPERROR: <err>
ERROR
Other:
ERROR
Write Command Response:
If service type is “UDP”, send If the connection identified by <link_num> has been established
data with fixed length successfully, response:
>
AT+CIPSEND=<link_num>,< <input data with specified length>
length>,<serverIP>,<server OK
Port>
+CIPSEND: <link_num>,<reqSendLength>, <cnfSendLength>
Response “>”, type data until If the connection has not been established, abnormally closed, or
the data length is equal to parameter is incorrect, response:
<length> +CIPERROR: <err>
ERROR
Other:
ERROR
Parameter Saving Mode -
Maximum Response Time 120000ms
Reference -
Defined Values
Example
AT+CIPSEND=0,1
>S
OK
+CIPSEND: 0,1,1
AT+CIPSEND=1,1,”116.236.221.75”,6775
>S
OK
+CIPSEND: 1,1,1
AT+CIPSEND=2,
>Hello<Ctrl+Z>
OK
+CIPSEND: 2,5,5
AT+CIPSEND=3,,”116.236.221.75”,6775
>Hello World<Ctrl+Z>
OK
+CIPSEND: 3,11,11
AT+CIPSEND=2,
>Hello<ESC>
ERROR
AT+CIPSEND?
+CIPSEND: (0-9),(1-1500)
OK
NOTE
Each <Ctrl+Z> character present in the data should be coded as <ETX><Ctrl+Z>. Each <ESC>
character present in the data should be coded as <ETX><ESC>. Each <ETX> character will be
coded as <ETX><ETX>. Single <Ctrl+Z> means end of the input data. Single <ESC> is used to
cancel the sending.
<ETX> is 0x03, and <Ctrl+Z> is 0x1A and <ESC> is 0x1B.
OK
Read Command Response
AT+CIPRXGET? +CIPRXGET: <mode>
OK
Write Command Response
AT+CIPRXGET=<mode> If the parameter is correct, response:
In this case, <mode> can only OK
be 0 or 1 Else, response:
ERROR
Write Command Response:
AT+CIPRXGET=2,<link_num> If <length> field is empty, the default value to read is 1500.
[,<len>] If the buffer is not empty, response:
Retrieve data in ACSII form +CIPRXGET: <mode>,<link_num>,<read_len>,<rest_len>
<data>ACSII form
OK
If the buffer is empty, response:
+IP ERROR: No data
ERROR
If the parameter is incorrect or other error, response:
+IP ERROR: <err_info>
ERROR
Other:
ERROR
Write Command Response:
AT+CIPRXGET=3,<link_num> If <length> field is empty, the default value to read is 750.
[,<len>] If the buffer is not empty, response:
Retrieve data in hex form +CIPRXGET: <mode>,<link_num>,<read_len>,<rest_len>
<data>hex form
OK
If the buffer is empty, response:
+IP ERROR: No data
ERROR
ERROR
Other:
ERROR
Write Command Response:
AT+CIPRXGET=4,<link_num> If the parameter is correct, response:
+CIPRXGET: 4,<link_num>,<rest_len>
OK
If the parameter is incorrect or other error, response:
+IP ERROR: <err_info>
ERROR
Other:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
<mode> Integer type, sets the mode to retrieve data. Default value is 0.
0 – set the way to get the network data automatically
1 – set the way to get the network data manually
2 – read data, the max read length is 1500
3 – read data in HEX form, the max read length is 750
4 – get the rest data length
<link_num> Integer type, identifies a connection. Range is 0-9.
<len> Integer type, the data length to be read.
Not required, the default value is 1500 when <mode>=2, and 750
when <mode>=3.
<read_len> Integer type, the length of data that has been read.
<rest_len> Integer type, the length of data which has not been read in the buffer.
<err_info> String type, displays the cause of occurring error, please refer to
Chapter 3 for details.
Example
AT+CIPRXGET=?
+CIPRXGET: (0-4),(1-1500)
OK
AT+CIPRXGET?
+CIPRXGET: 1
OK
AT+CIPRXGET=1
OK
AT+CIPRXGET=2,0,100
+CIPRXGET: 2,0,100,1300
01234567890123456789012345678901234567
89012345678901234567890123456789012345
678901234567890123456789
OK
AT+CIPRXGET=3,0,100
+CIPRXGET: 3,0,100,1200
30313233343536373839303132333435363738
39303132333435363738393031323334353637
38393031323334353637383930313233343536
37383930313233343536373839303132333435
36373839303132333435363738393031323334
3536373839
OK
AT+CIPRXGET=4,0
+CIPRXGET: 4,0,1200
OK
NOTE
If set <mode> to 1, after receiving data, the module will buffer it and report a URC as “+CIPRXGET:
1,<link_num>” to notify the host. Then host can retrieve data by AT+CIPRXGET.
If set <mode> to 0, the received data will be outputted to COM port directly by URC as “RECV
FROM:<IP ADDRESS>:<PORT><CR><LF>+IPD(data length)<CR><LF><data>”.
If the buffer is not empty, and the module receives data again, then it will not report a new URC
until all the received data has been retrieved by AT+CIPRXGET from buffer.
The default value of <mode> is 0. When <mode> is set to 1 and the 2-4 mode will take effect.
If initially set <mode> to 1, after doing some data transmitting , set <mode> to 0, then the buffered
data of the previously established connection will be output to the serial port directly, and the
maximum length of output data at a time is 1500.
OK
Else, response:
+IP ERROR: Network not opened
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
<ip_address> String type, identifies the IP address of current active socket PDP.
Example
AT+IPADDR
+IPADDR: 10.71.155.118
OK
OK
Read Command Response
AT+CIPHEAD? +CIPHEAD: <mode>
OK
Write Command Response
AT+CIPHEAD=<mode> If the parameter is correct, response:
OK
Else, response:
ERROR
Execution Command Response:
AT+CIPHEAD Set default value:(<mode>=1)
OK
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
Example
AT+CIPHEAD=?
+CIPHEAD: (0-1)
OK
AT+CIPHEAD=0
OK
OK
Read Command Response
AT+CIPSRIP? +CIPSRIP: <mode>
OK
Write Command Response
AT+CIPSRIP=<mode> If the parameter is correct, response:
OK
Else, response:
ERROR
Defined Values
<mode> Integer type, indicates whether to show IP address and port of server
or not when receiving data. Default value is 1.
0 – not show
1 – show, the format is as follows:
“RECV FROM:<IP ADDRESS>:<PORT>”
Example
AT+CIPSRIP=?
+CIPSRIP: (0-1)
OK
AT+CIPSRIP=1
OK
OK
Read Command Response
AT+CIPMODE? +CIPMODE: <mode>
OK
Write Command Response
AT+CIPMODE=<mode> If the parameter is correct, response:
OK
Else, response:
ERROR
Execution Command Response:
AT+CIPMODE Set default value:(<mode>=0)
OK
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
Example
AT+CIPMODE=?
+CIPMODE: (0-1)
OK
AT+CIPMODE=1
OK
OK
Read Command Response
AT+CIPSENDMODE? +CIPSENDMODE: <mode>
OK
Write Command Response
AT+CIPSENDMODE=<mode> If the parameter is correct, response:
OK
Else, response:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
Example
AT+CIPSENDMODE=?
+CIPSENDMODE: (0-1)
OK
AT+CIPSENDMODE=1
OK
OK
Write Command Response
AT+CIPTIMEOUT=[<netopen_ If the parameter is correct, response:
timeout>][,[<cipopen_timeout OK
>][,[<cipsend_timeout>]]] Else, response:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
Example
AT+CIPTIMEOUT?
+CIPTIMEOUT: 30000,20000,40000
OK
AT+CIPTIMEOUT=30000,20000,40000
OK
OK
Read Command Response
AT+CIPCCFG? +CIPCCFG:
<NmRetry>,<DelayTm>,<Ack>,<errMode>,<HeaderType>,<Asyn
cMode>,<TimeoutVal>
OK
Write Command Response
AT+CIPCCFG=[<NmRetry>][,[ If the parameter is correct, response:
<DelayTm>][,[<Ack>][,[<errM OK
ode>][,]<HeaderType>][,[[<As Else, response:
yncMode>][,[<TimeoutVal>]]]] ERROR
]]]]
Execution Command Response
AT+CIPCCFG Set default value:
OK
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
Example
AT+CIPCCFG=?
+CIPCCFG:
(0-10),(0-1000),(0),(0-1),(0-1),(0),(500-120000)
OK
AT+CIPCCFG=3,500,0,1,1,1,500
OK
OK
Read Command Response
AT+SERVERSTART? If the PDP context has not been activated successfully, response:
+CIPERROR: <err>
ERROR
If there exists opened server, response:
[+SERVERSTART: <server_index>,< port>
…]
OK
Other:
ERROR
Write Command Response
AT+SERVERSTART=<port>,< If there is no error, response:
server_index>[,<backlog>] OK
If the PDP context has not been activated, or the server identified by
<server_index> has been opened, or the parameter is not correct, or
other errors, response:
+CIPERROR: <err>
ERROR
Other:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
<port> Integer type, identifies the listening port of module when used as a
TCP server. Range is 0-65535.
<server_index> Integer type, the TCP server index, range is 0-3.
<Ack> Integer type, it can only be set to 0.
It’s used to be compatible with old TCP/IP command set.
<backlog> Integer type, the maximum connections can be queued in listening
queue. Range is 1-3. Default is 3.
Example
AT+SERVERSTART=?
+SERVERSTART: 0,1000
OK
AT+SERVERSTART=8080,1
OK
NOTE
After the “AT+SERVERSTART” executes successfully, an unsolicited result code is returned when
a client tries to connect with module and module accepts request. The unsolicited result code
is+CLIENT: < link_num>,<server_index>,<client_IP>:<port>.
ERROR
If the server socket is closed immediately, response:
+SERVERSTOP: <server_index>,0
OK
(In general, the result is shown as below.)
If the server socket starts to close, response:
OK
+SERVERSTOP: <server_index>,<err>
Other:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
Example
AT+SERVERSTOP=0
+SERVERSTOP: 0,0
OK
NOTE
Before stopping a TCP server, all sockets <server_index> of which equals to the closing TCP
server index must be closed first.
OK
Write Command Response
AT+CIPACK=<link_num> If the PDP context has not been activated, or the connection
identified by <link_num> has not been established, abnormally
closed, or the parameter is incorrect, or other errors, response:
+IP ERROR: <err_info>
ERROR
If the connection has been established, and the service type is
“TCP”, response:
+CIPACK: <sent_data_size>,<ack_data_size>,<recv_data_size>
OK
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
Example
AT+CIPACK=?
+CIPACK: (0-9)
OK
AT+CIPACK=0
+CIPACK: 16,16,5
OK
11.3 DNS&PING
OK
If the given name has no related IP, response:
+CDNSGIP: 0,<dns error code>
ERROR
Other:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
<domain name> String type (string should be included in quotation marks), indicates
the domain name. The maximum length of domain name is 254.
Valid characters allowed in the domain name area-z, A-Z, 0-9,
“-“(hyphen) and “.”. A domain name is made up of one label name or
more label names separated by “.” (e.g. AT+CDNSGIP=”aa.bb.cc”).
For label names separated by “.”, length of each label must be no
more than 63 characters. The beginning character of the domain
name and of labels should be an alphanumeric character.
<IP address> String type, indicates the IP address corresponding to the domain
name.
<dns error code> Integer type, indicates the error code.
10 DNS GENERAL ERROR
Example
AT+CDNSGIP=”www.baidu.com”
+CDNSGIP:
1,”www.baidu.com”,”61.135.169.21”
OK
OK
If the given IP address has no related domain name, response:
+CDNSGHNAME: 0,<dns error code>
ERROR
Other:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
<domain name> String type (string should be included in quotation marks), indicates
the domain name. The maximum length of domain name is 254.
Valid characters allowed in the domain name area-z, A-Z, 0-9,
“-“(hyphen) and “.”. A domain name is made up of one label name or
more label names separated by “.” (e.g. AT+CDNSGIP=”aa.bb.cc”).
For label names separated by “.”, length of each label must be no
more than 63 characters. The beginning character of the domain
name and of labels should be an alphanumeric character.
<IP address> String type (string should be included in quotation marks), indicates
the IP address corresponding to the domain name.
<dns error code> Integer type, which indicates the error code.
10 DNS GENERAL ERROR
<index> Integer type, which indicates DNS result index.
This value is always 1 if performing successfully. Currently only the
Example
AT+CDNSGHNAME=”58.32.231.148”
+CDNSGHNAME: 1,”mail.sim.com”,”58.32.231.148”
OK
OK
Write Command Response
AT+CIPCCFG=[<max_net_ret If the parameter is correct, response:
ries>][,[<net_timeout>][,[<ma OK
x_query_retries>]]] Else, response:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
<max_net_retries> Integer type, maximum retry times for opening PS network to perform
DNS query. Range is 0-3. Default is 3.
<netopen_timeout> Integer type, timeout value for each opening PS network operation
when performing DNS query. Range is 3000ms-120000ms. Default
value is 30000ms.
<max_query_retries> Integer type, maximum retry times for performing DNS query using
UDP packet. Range is 0-7. Default value is 7.
Example
AT+CIPDNSSET?
+CIPDNSSET: 1,30000,3
OK
AT+CIPDNSSET=1,30000,1
OK
If ping’s result_type = 2
+CPING: <result_type>
If ping’s result_type = 3
+CPING:
<result_type>,<num_pkts_sent>,<num_pkts_recvd>,<num_pkts
_lost>,<min_rtt>,<max_rtt>,<avg_rtt>
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined values
Examples
AT+CPING="www.baidu.com",1,4,64,1000,10
000,255
OK
+CPING: 1,119.75.217.56,64,410,255
+CPING: 1,119.75.217.56,64,347,255
+CPING: 1,119.75.217.56,64,346,255
+CPING: 1,119.75.217.56,64,444,255
+CPING: 3,4,4,0,346,444,386
Defined values
Examples
AT+CPINGSTOP
OK
Information Description
+CIPEVENT: NETWORK CLOSED UNEXPECTEDLY Network is closed for network error
(Out of service, etc). When this event
happens, user’s application needs to
check and close all opened sockets,
and then uses AT+NETCLOSE to
release the network library if
“AT+NETOPEN?” shows the network
The fourth parameter <errMode> of AT+CIPCCFG is used to determine how <err_info> is displayed.
If <errMode> is set to 0, the <err_info> is displayed with numeric value.
If <errMode>is set to 1, the <err_info> is displayed with string value.
The default is displayed with string value.
Command Description
AT+CFTPSSTART Start FTP(S) service
AT+CFTPSSTOP Stop FTP(S) Service
AT+CFTPSLOGIN Login to a FTP(S)server
AT+CFTPSLOGOUT Logout FTP(S) server
AT+CFTPSMKD Create a new directory on FTP(S) server
AT+CFTPSRMD Delete a directory on FTP(S) server
AT+CFTPSDELE Delete a file on FTP(S) server
AT+CFTPSCWD Delete a file on FTP(S) server
AT+CFTPSPWD Get the current directory on FTP(S) server
AT+CFTPSTYPE set the transfer type on FTP(S) serve
AT+CFTPSLIST List the items in the directory on FTP(S) server
AT+CFTPSGETFILE Get a file from FTP(S) server to module
AT+CFTPSPUTFILE Put a file from module to FTP(S) server
AT+CFTPSGET Get a file from FTP(S) server to serial port
AT+CFTPSPUT Put a file to FTP(S) server through serial port
AT+CFTPSSINGLEIP Set FTP(S) data socket address type
AT+CFTPSCACHERD Set FTP(S) data socket address type
AT+CFTPSABORT Abort FTP(S) operations
AT+CFTPSSIZE Get the File Size on FTP(S) server
+CFTPSSTART: <errcode>
or
+CFTPSSTART: <errcode>
OK
or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
<errcode> The result of start FTP(S) service,0 is success, others are failure.
Please refer to chapter 12.3.1.
Example
AT+CFTPSSTART
OK
+CFTPSSTART: 0
+CFTPSSTOP: <errcode>
or
+CFTPSSTOP: <errcode>
OK
or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
<errcode> The result of stop FTP(S) service,0 is success, others are failure.
Please refer to chapter 12.3.1.
Example
AT+CFTPSSTOP
OK
+CFTPSSTOP: 0
OK
Write Command Response
AT+CFTPSLOGIN=”<host>” OK
,<port>,”<username>”,”<pa
ssword>”[<server_type>] +CFTPSLOGIN: <errcode>
or
+CFTPSLOGIN: <errcode>
OK
or
+CFTPSLOGIN: <errcode>
ERROR
or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CFTPSLOGIN="112.74.93.163",21,"tmf","t
mf123",0
OK
+CFTPSLOGIN: 0
+CFTPSLOGOUT: <errcode>
or
+CFTPSLOGOUT: <errcode>
OK
or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
<errcode> The result code of the FTP/FTPS logout. 0 is success. Others are
failure, please refer to chapter 12.3.1.
Example
AT+CFTPSLOGOUT
OK
+CFTPSLOGOUT: 0
OK
Write Command Response
AT+CFTPSMKD="<dir>" OK
+CFTPSMKD: 0
or
OK
+CFTPSMKD: <errcode>
or
ERROR
or
+CFTPSMKD: <errcode>
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CFTPSMKD="TEST"
OK
+CFTPSMKD: 0
OK
Write Command Response
AT+CFTPSRMD="<dir>" 1)if delete the directory successfully:
OK
+CFTPSRMD: 0
2)if delete the directory failed:
OK
+CFTPSRMD: <errcode>
3) if parameter format or any errors:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CFTPSRMD="test"
OK
+CFTPSRMD: 0
OK
Write Command Response
AT+CFTPSDELE="<filenam 1)if delete file successfully:
e>" OK
+CFTPSDELE: 0
2)if failed:
OK
+CFTPSDELE: <errcode>
3)if parameter format or any other errors:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
<filename> The name of the file to be deleted. If the file name contains non-ASCII
characters, the <filename> parameter should contain a prefix of
{non-ascii}.String type,the maximum length is 256.
<errcode> The result of delete a file, 0 is success, others are failure,please refer
to chapter 12.3.1.
Example
AT+CFTPSDELE="TEST.txt"
OK
+CFTPSDELE: 0
OK
Write Command Response
AT+CFTPSCWD="<dir>" 1)if delete file successfully::
OK
+CFTPSCWD: 0
2)if failed:
OK
+CFTPSCWD: <errcode>
2)if failed:
+CFTPSCWD: <errcode>
ERROR
3)if parameter format or any other errors:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CFTPSCWD="/lu.liu/TEST7600"
OK
+CFTPSCWD: 0
+CFTPSPWD: ”<dir>”
or
+CFTPSPWD: ”<dir>”
OK
or
+CFTPSPWD: <errcode>
ERROR
or
OK
+CFTPSPWD: <errcode>
or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
The name of the file to be deleted. If the file name contains non-ASCII
<dir> characters, the <filename> parameter should contain a prefix of
{non-ascii}.String type,the maximum length is 256.
The result of change current directory, 0 is success, others are failure,
<errcode>
please refer to chapter 12.3.1.
Example
AT+CFTPSPWD
OK
+CFTPSPWD: "/test12"
OK
OK
Write Command Response
AT+CFTPSTYPE=<type> a)if set type successfully:
OK
+CFTPSTYPE: 0
b)if set type failed:
OK
+CFTPSTYPE: <errcode>
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CFTPTYPE=A
OK
+CFTPSTYPE: 0
+CFTPSLIST: DATA,<len>
…
+CFTPSLIST: 0
+CFTPSLIST: <errcode>
c)if parameter format or any other errors:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CFTPSLIST="/"
OK
+CFTPSLIST: DATA,1480
-rw-r--r-- 1 ftp ftp 10 Mar 19
13:51 111.TXT
-rw-r--r-- 1 ftp ftp 7 Mar 18
10:39 1111.txt
-rw-r--r-- 1 ftp ftp 10240 Mar 23
10:20 112.txt
-rw-r--r-- 1 ftp ftp 10 Mar 16
15:26 11K4.txt
-rw-r--r-- 1 ftp ftp 1434 Mar 18
10:47 1434B.txt
-rw-r--r-- 1 ftp ftp 307200 Mar 18
10:40 300K.txt
-rw-r--r-- 1 ftp ftp 9 Mar 18
10:53 333.txt
-rw-r--r-- 1 ftp ftp 16 Mar 17
14:11 36.txt
+CFTPSLIST: 0
OK
Write Command Response
AT+CFTPSGETFILE="<filepat a) if download file successfully :
h>"[,<dir>[,<offset>]] OK
+CFTPSGETFILE: 0
b) if failed:
OK
+CFTPSGETFILE: <errcode>
c) if parameter format or any other errors:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
The remote file path. When the file path doesn’t contain”/”, this
command transfers file from the current remote FTPS directory. If the
<filepath> file path contains non-ASCII characters, the file path parameter
should contain a prefix of {non-ascii}.String type, maximum length is
256.
The directory to save the downloaded file.Numeric type, range is
1-4, default is 1(/cache)
1 – F:/ (/cache)
<dir>
2 – D:/(sd card)
3 – E:/ (/data/media/)
4 – /mssl_cert/(this is for CA file downloading)
Integer type, the download start position used for
<offset>
resume-from-break-point.
The result code of download file from FTP(s) server.0 is success,
<errcode>
others are failure,please refer to chapter 12.3.1.
Example
AT+CFTPSGETFILE="settings.dat",3
OK
+CFTPSGETFILE: 0
OK
Write Command Response
AT+CFTPSPUTFILE="<filepat a)if upload file successfully :
h>"[,<dir>[,<rest_size>]] OK
+CFTPSPUTFILE: 0
b)if failed:
OK
+CFTPSPUTFILE: <errcode>
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
<filepath> The remote file path. When the file path doesn’t contain “/”, this
command transfers file to the current remote FTPS directory. If the file
path contains non-ASCII characters, the file path parameter should
contain a prefix of {non-ascii}.String type, maximum length is 256.
<dir> The directory that contains the uploaded file. Numeric type, range is
1-3, default is 1(/cache)
1 – F:/ (/cache)
2 – D:/(sd card)
3 – E:/ (/data/media/)
<rest_size> The value for FTP “REST” command which is used for broken transfer
when transferring failed last time. Numeric type, the range is from 0
to 2147483647.
<errcode> The result code of upload file to FTP(S)server.0 is success, others are
failure,please refer to chapter12.3.1.
Example
AT+CFTPSPUTFILE="/LK/LM/sim_ZXX.TXT"
OK
+CFTPSPUTFILE: 0
OK
Write Command Response
AT+CFTPSGET="<filepath>"[ a)if<using_cache> is 0(default),and get file successfully :
,<rest_size>[,<using_cache>]
] OK
+CFTPSGET: DATA,<len>
…
+CFTPSGET: DATA, <len>
…
…
+CFTPSGET: 0
b) if <using_cache> is 1 and get file successfully:
OK
AT+CFTPSCACHERD?
//you can use this command to check the size of the received data
+CFTPSCACHERD: 102400
OK
c)if failed:
OK
+CFTPSGET: <errcode>
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
<filepath> The remote file path. When the file path doesn’t contain ”/” , this
command transfer file from the current remote FTPS directory. If the
file path contains non-ASCII characters, the file path parameter should
contain a prefix of {non-ascii}.String type, maximum length is 256.
<rest_size> The value for FTP “REST” command which is used for broken transfer
when transferring failed last time. Numeric type, the range is from 0
to 2147483647
<using_cache> Numeric, rang is 0-1
0–Do not use cache, module will output the items data to serial port
when list successfully.
1 – Use cache, module will report “+CFTPS: RECV EVENT” when list
successfully (Data will be output using AT+CFTPSCACHERD
command)
<errcode> The result code of download file from FTP(s) server.0 is success,
others are failure, please refer to chapter 12.3.1.
Example
AT+CFTPSGET="/BBB.TXT"
OK
+CFTPSGET: DATA,110
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFHHHHHHHHHHHHHHHH
HHHHHHHHHHHHHHHHHHHHHHHHHHHHH
HHHHHHHHHHHHHHH
+CFTPSGET: 0
OK
Write Command Response
AT+CFTPSPUT="<filepath>"[ a)if upload file through serial port successfully:
,<data_len>[,<rest_size>]] OK
+CFTPSPUT: 0
ERROR
+CFTPSPUT: <errcode>
d)if parameter format i or any other errors:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
<filepath> The remote file path. When the file path doesn’t contain “/”, this
command transfers file to the current remote FTPS directory. If the file
path contains non-ASCII characters, the file path parameter should
contain a prefix of {non-ascii}.String type, maximum length is 256.
<data_len> Numeric type,The length of the data to send, the maximum length is
2048.if parameter<data_len> is omitted, Each <Ctrl+Z>character
present in the data flow of serial port when downloading FTP data will
be coded as <ETX><Ctrl+Z>. Each <ETX> character will be coded as
<ETX><ETX>. Single <Ctrl+Z> means end of the FTP data.<ETX> is
0x03, and <Ctrl+Z> is 0x1A.
<rest_size> The value for FTP “REST” command which is used for broken transfer
when transferring failed last time. Numeric type, the range is from 0
to 2147483647.
<errcode> The result code of upload data to FTP(s) server.0 is success, others
are failure, please refer to chapter 12.3.1.
Example
AT+CFTPSPUT="/LK/LM/LO.TXT"
>123457860
OK
+CFTPSPUT: 0
OK
Read Command Response
AT+CFTPSSINGLEIP? +CFTPSSINGLEIP: <singleip>
OK
Write Command Response
AT+CFTPSSINGLEIP=<single If parameter format is right and set successfully:
ip> OK
Defined Values
Example
AT+CFTPSSINGLEIP=1
OK
OK
Execution Command Response
AT+CFTPSCACHERD If cache data is AT+CFTPSGET, and everything goes well:
+CFTPSGET: DATA,<out_len><CR><LF>
…
OK
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CFTPSCACHERD?
+CFTPSCACHERD: 21078
OK
+CFTPSABORT: 0
+CFTPSABORT: 0
OK
if failed:
OK
+CFTPSABORT: <errcode>
Defined Values
<errcode> The result of abort FTP(S) service,0 is success, others are failure.
Please refer to chapter 12.3.1.
Example
AT+CFTPSABORT
OK
+CFTPSABORT: 0
OK
Write Command Response
AT+CFTPSSIZE="<filepath>" OK
+CFTPSSIZE: <filesize>
or
OK
+CFTPSSIZE: <errcode>
or
ERROR
or
+CFTPSSIZE: <errcode>
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CFTPSSIZE="TEST.txt"
OK
+CFTPSSIZE: 1024
10 Network error
11 State error
12 Failed to parse server name
13 Create socket error
14 Connect socket failed
15 Close socket failed
16 SSL session closed
17 File error,file not exist or other error.
421 Server response connection time out, while received error code
421,you need do AT+CFTPSLOGOUT to logout server then
AT+CFTPSLOGIN again for further operations.
Command Description
AT+HTTPINIT Sart HTTP(S) service
AT+HTTPTERM Stop HTTP(S) service.
AT+HTTPPARA Set HTTP(S) Parameter
AT+HTTPACTION HTTP(S) Method Action
AT+HTTPHEAD Read the HTTP(S) Header Information of Server Response
AT+HTTPREAD Read the response Information of HTTP(S) Server
AT+HTTPDATA Input HTTP(S) Data
AT+HTTPPOSTFILE Send HTTP(S) Request to HTTP server by File
AT+HTTPREADFILE Receive HTTP(S) Response Content to a file
Example
AT+HTTPINIT
OK
Example
AT+HTTPTERM
OK
"<content_type>" OK
b) If parameter format is not rightor other errors occur:
ERROR
Write Command Response
AT+HTTPPARA="ACCEPT"," a)If parameter format is right:
<accept-type>" OK
b) If parameter format is not right or other errors occur:
ERROR
Write Command Response
AT+HTTPPARA="UA","<user a)If parameter format is right:
_agent>" OK
b) If parameter format is not right or other errors occur:
ERROR
Write Command Response
AT+HTTPPARA="SSLCFG"," a)If parameter format is right:
<sslcfg_id>" OK
b) If parameter format is not right or other errors occur:
ERROR
Write Command Response
AT+HTTPPARA="USERDATA a)If parameter format is right:
","<user_data>" OK
b) If parameter format is not right or other errors occur:
ERROR
Write Command Response
AT+HTTPPARA="BREAK",<b a)If parameter format is right:
reak> OK
b) If parameter format is not right or other errors occur:
ERROR
Write Command Response
AT+HTTPPARA="BREAKEND a)If parameter format is right:
",<breakend> OK
b) If parameter format is not right or other errors occur:
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
omitted)
<conn_timeout> Timeout for accessing server, Numeric type, range is 20-120s, default
is 120s.
<recv_timeout> Timeout for receiving data from server, Numeric type range is 2-120s,
default is 10s.
<content_type> This is for HTTP “Content-Type” tag, String type, max length is 256,
default is “text/plain”.
<accept-type> This is for HTTP “Accept-type” tag, String type, max length is
256,default is “*/*”.
<user_agent> Parameter for HTTP header User-Agent information.String type,max l
ength is 256.
<sslcfg_id> This is setting SSL context id, Numeric type, range is 0-9. Default is 0.
<user_data> The customized HTTP header information. String type,max length is
512.
<break> Parameter for HTTP method “GET”, used for resuming broken
transfer. The start of the broken transfer. Default is 0.
<breakend> Parameter for HTTP method “GET”, used for resuming broken
transfer. The end of the broken transfer. Default is 0.
If both “break” and “breakend” are 0, the resume broken transfer
function is disabled.
If “breakend” is bigger than “break”, the transfer scope is from “break”
to “breakend”.
If “breakend” is smaller than “break”, the transfer scope is from “break”
to the end of the file.
Example
OK
WriteCommand Response
AT+HTTPACTION=<method> a)If parameter format is right :
OK
+HTTPACTION: <method>,<statuscode>,<datalen>
Defined Values
Example
AT+HTTPACTION=1
OK
+HTTPACTION: 1,200,2800
Defined Values
Example
AT+CHTTPHEAD
+HTTPHEAD: 750
HTTP/1.1 200 OK
Date: Thu, 29 Mar 2018 09:21:12 GMT
Content-Type: text/html
Content-Length: 14615
Last-Modified: Thu, 15 Mar 2018 08:23:00 GMT
Connection: Keep-Alive
Vary: Accept-Encoding
Set-Cookie: BAIDUID=EF38663A5539EBEAE702321037D5491B:FG=1; expires=Thu, 31-Dec-37
23:55:55 GMT; max-age=2147483647; path=/; domain=.baidu.com
Set-Cookie: BIDUPSID=EF38663A5539EBEAE702321037D5491B; expires=Thu, 31-Dec-37
23:55:55 GMT; max-age=2147483647; path=/; domain=.baidu.com
Set-Cookie: PSTM=1522315272; expires=Thu, 31-Dec-37 23:55:55 GMT; max-age=2147483647;
path=/; domain=.baidu.com
P3P: CP=" OTI DSP COR IVA OUR IND COM "
Server: BWS/1.1
X-UA-Compatible: IE=Edge,chrome=1
Pragma: no-cache
Cache-control: no-cache
Accept-Ranges: bytes
OK
OK
b)If failed(no more data other error):
ERROR
Write Command Response
AT+HTTPREAD=<byte_size> a)If read the response info successfully:
OK
+HTTPREAD: DATA,<data_len>
<data>
[+HTTPREAD: DATA,<data_len>
<data>
…]
+HTTPREAD: 0
If <byte_size> is bigger than the data size received, module will only
return actual data size.
b) If read failed:
ERROR
Parameter Saving Mode -
Maximum Response Time 120000ms
Reference
Defined Values
Example
AT+HTTPREAD=0,10
OK
+HTTPREAD: 10
<!doctyped
+HTTPREAD: 0
When the total size of the inputted data reaches <size>, TA will
report the following code. Otherwise, the serial port will be blocked.
OK
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+HTTPDATA=14,10000
DOWNLOAD
1234567890qwer
OK
OK
Write Command Response
AT+HTTPPOSTFILE=<filenam a)if parameter format is right and server connected successfully:
e>[,<path>][,<method>][,<sen a.1 server response and content is not null
d_header>] OK
+HTTPPOSTFILE: <method>,<httpstatuscode>,<content_len>
a.2 server response but has no content
OK
+HTTPPOSTFILE: <method>,<httpstatuscode>,0
+HTTPPOSTFILE: <method>,<errcode>,0
Defined Values
Example
AT+HTTPPOSTFILE="baidu.txt",3
OK
+HTTPPOSTFILE: 1,714,0
OK
Write Command Response
AT+HTTPREADFILE=<filena a)if parameter format is right :
me>[,<path>] OK
+HTTPREADFILE: <result>
OK
c)if failed:
+HTTPREADFILE: <result>
ERROR
Defined Values
Example
AT+HTTPREADFILE="baidu.txt",3
OK
+HTTPREADFILE: 0
200 OK
201 Created
201 Accepted
203 Non-Authoritative Information
204 No Content
205 Reset Content
206 Partial Content
300 Multiple Choices
301 Moved Permanently
302 Found
303 See Other
304 Not Modified
305 Use Proxy
307 Temporary Redirect
400 Bad Request
401 Unauthorized
402 Payment Required
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable
407 Proxy Authentication Required
408 Request Timeout
409 Conflict
410 Gone
411 Length Required
412 Precondition Failed
413 Request Entity Too Large
414 Request-URI Too Large
415 Unsupported Media Type
416 Requested range not satisfiable
417 Expectation Failed
500 Internal Server Error
501 Not Implemented
502 Bad Gateway
503 Service Unavailable
504 Gateway timeout
505 HTTP Version not supported
600 Not HTTP PDU
601 Network Error
602 No memory
Command Description
AT+CHTPSERV Set HTP server info
AT+CHTPUPDATE Updating date time using HTP protocol
OK
Response
+CHTPSERV: <index>"<host>",<port>,<http_version>
[,"<proxy>",<proxy_port>]
Read Command …
AT+CHTPSERV? +CHTPSERV: <index>"<host>",<port>[,"<proxy>",<proxy_port>]
OK
or
OK (if HTP server not setted)
Write Command Response
AT+CHTPSERV="<cmd>","< OK
host_or_idx>"[,<port>,<http or
_version>[,"<proxy>",<prox ERROR
y_port>]]
Defined Values
Example
AT+CHTPSERV=”ADD”,”www.google.com”,80,1
OK
+CHTPUPDATE: <err>
or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CHTPUPDATE
OK
+CHTPUPDATE: 0
Code of <err>
0 Operation succeeded
1 Unknown error
2 Wrong parameter
3 Wrong date and time calculated
4 Network error
Command Description
AT+CNTP Update system time
OK
Read Command Response
AT+CNTP? +CNTP: <host>,<timezone>
OK
Write Command Response
AT+CNTP=”<host>”[,<timez OK
one>] or
ERROR
Execution Command Response
AT+CNTP +CNTP: <host>,<timezone>
OK
or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
Example
AT+CNTP="202.120.2.101",32
OK
AT+CNTP
OK
+CNTP: 0
Code of <err>
0 Operation succeeded
1 Unknown error
2 Wrong parameter
3 Wrong date and time calculated
4 Network error
5 Time zone error
6 Time out error
Command Description
AT+CMQTTSTART Start MQTT service
AT+CMQTTSTOP STOP MQTT service
AT+CMQTTACCQ Acquire a client
AT+CMQTTREL Release a client
AT+CMQTTSSLCFG Set the SSL context
AT+CMQTTWILLTOPIC Input the will topic
AT+CMQTTWILLMSG Input the will message
AT+CMQTTCONNECT Connect to MQTT server
AT+CMQTTDISC Disconnect from server
AT+CMQTTTOPIC Input the publish message topic
AT+CMQTTPAYLOAD Input the publish message body
AT+CMQTTPUB Publish a message to server
AT+CMQTTSUBTOPIC Input a subscribe message topic
AT+CMQTTSUB Subscribe a message to server
AT+CMQTTUNSUBTOPIC Input a unsubscribe message topic
AT+CMQTTUNSUB Unsubscribe a message to server
AT+CMQTTCFG Configure the MQTT Context
+CMQTTSTART: <err>
or
+CMQTTSTART: <err>
OK
or
ERROR
+CMQTTSTART: <err>
or
+CMQTTSTART: <err>
ERROR
or
ERROR
Defined Values
Example
AT+CMQTTSTART
OK
+CMQTTSTART: 0
NOTE
+CMQTTSTOP: <err>
or
+CMQTTSTOP: <err>
OK
or
ERROR
+CMQTTSTOP: <err>
or
+CMQTTSTOP: <err>
ERROR
or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CMQTTSTOP
OK
+CMQTTSTOP: 0
OK
Read Command Response
AT+CMQTTACCQ? +CMQTTACCQ: <client_index>,<clientID>,<server_type>
+CMQTTACCQ: <client_index>,<clientID>,<server_type>
OK
Write Command Response
AT+CMQTTACCQ=<client_i OK
ndex>,<clientID>[,<server_t or
ype>[,<mqtt_version>]] +CMQTTACCQ: <client_index>,<err>
ERROR
or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CMQTTACCQ=0,"client test0",0,4
OK
NOTE
It must be called before all commands about MQTT connect and after AT+CMQTTSTART
OK
ERROR
or
ERROR
Parameter Saving Mode -
Maximum Response Time 120000ms
Reference
Defined Values
Example
AT+CMQTTREL=0
OK
NOTE
OK
Read Command Response
AT+CMQTTSSLCFG? +CMQTTSSLCFG: <session_id>,[<ssl_ctx_index >]
+CMQTTSSLCFG: <session_id>,[<ssl_ctx_index >]
OK
Write Command Response
AT+CMQTTSSLCFG=<sessi OK
on_id>,<ssl_ctx_index> or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CMQTTSSLCFG=0,1
OK
NOTE
If you don’t set the SSL context by this command before connecting to server by
AT+CMQTTCONNECT, the CMQTTCONNECT operation will use the SSL context as same as
index <session_id> (the 1st parameter of AT+ CMQTTCONNECT) when connecting to the server
OK
Write Command Response
AT+CMQTTWILLTOPIC=<cli >
ent_index>,<req_length> <input data here>
OK
or
+CMQTTWILLTOPIC: <client_index>,<err>
ERROR
or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CMQTTWILLTOPIC=0,15
>simcomwilltopic
OK
OK
Write Command Response
AT+CMQTTWILLMSG=<clie >
nt_index>,<req_length>,<qo <input data here>
s> OK
or
+CMQTTWILLMSG: <client_index>,<err>
ERROR
or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CMQTTWILLMSG=0,17,0
>simcomwillmessage
OK
OK
Read Command Response
AT+CMQTTDISC? +CMQTTDISC: 0,<disc_state>
+CMQTTDISC: 1,<disc_state>
OK
Write Command Response
AT+CMQTTDISC=<client_in OK
dex>,<timeout>
+CMQTTDISC: <client_index>,<err>
or
+CMQTTDISC: <client_index>,<err>
OK
or
+CMQTTDISC: <client_index>,<err>
ERROR
or
ERROR
Parameter Saving Mode -
Maximum Response Time 120000ms
Reference
Defined Values
Example
AT+CMQTTDISC=0,120
OK
+CMQTTDISC: 0,0
OK
Read Command Response
AT+CMQTTCONNECT? +CMQTTCONNECT:
0[,<server_addr>,<keepalive_time>,<clean_session>[,<user_nam
e>[,<pass_word>]]]
+CMQTTCONNECT:
1[,<server_addr>,<keepalive_time>,<clean_session>[,<user_nam
e>[,<pass_word>]]]
OK
Write Command Response
AT+CMQTTCONNECT=<clie OK
nt_index>,<server_addr>,<k
eepalive_time>,<clean_sess +CMQTTCONNECT: <client_index>,<err>
ion>[,<user_name>[,<pass_ or
word>]] +CMQTTCONNECT: <client_index>,<err>
ERROR
or
ERROR
Parameter Saving Mode -
Maximum Response Time 120000ms
Reference
Defined Values
Example
AT+CMQTTCONNECT=0,"tcp://hooleeping.com:8883",60,1
OK
+CMQTTCONNECT: 0,0
NOTE
If you don’t set the SSL context by AT+CMQTTSSLCFG before connecting a SSL/TLS MQTT
server by AT+CMQTTCONNECT, it will use the <client_index> (the 1st parameter of
AT+CMQTTCONNECT) SSL context when connecting to the server.
OK
Write Command Response
AT+CMQTTTOPIC=<client_i >
ndex>,<req_length> <input data here>
OK
or
+CMQTTTOPIC: <client_index>,<err>
ERROR
or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CMQTTTOPIC=0,11
>simcomtopic
OK
NOTE
OK
Write Command Response
AT+CMQTTPAYLOAD=<clie >
nt_index>,<req_length> <input data here>
OK
+CMQTTPAYLOAD: <client_index>,<err>
ERROR
or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CMQTTPAYLOAD=0,13
>simcompayload
OK
NOTE
OK
Write Command Response
AT+CMQTTPUB=<client_ind OK
ex>,<qos>,<pub_timeout>[,
<ratained> [,<dup>]] +CMQTTPUB: <client_index>,<err>
or
+CMQTTPUB: <client_index>,<err>
ERROR
or
ERROR
Parameter Saving Mode -
Maximum Response Time 120000ms
Reference
Defined Values
1, the server should hold on to the message after it has been delivered
to the current subscribers
<dup> The dup flag to the message. The value is 0 or 1. The default value is
0. The flag is set when the client or server attempts to re-deliver a
message
<err> The result code, please refer to chapter 16.3.1
Example
AT+CMQTTPUB=0,0,120
OK
+CMQTTPUB: 0,0
OK
Write Command Response
AT+CMQTTSUBTOPIC=<clie >
nt_index>,<req_length>,<qo <input data here>
s> OK
or
+CMQTTSUBTOPIC: <client_index>,<err>
ERROR
or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CMQTTSUBTOPIC=0,11,0
>simcomtopic
OK
NOTE
The topic will be clean after execute AT+CMQTTSUB.
OK
Write Command Response
/*subscribe one or more OK
topicswhichinputby
AT+CMQTTSUBTOPIC*/ +CMQTTSUB: <client_index>,<err>
AT+CMQTTSUB=<client_ind or
ex>[,<dup>] +CMQTTSUB: <client_index>,<err>
ERROR
or
ERROR
Write Command Response
/* subcribe one topic*/ >
AT+CMQTTSUB=<client_ind <input data here>
ex>,<reqLength>,<qos>[,<d OK
up>]
+CMQTTSUB: <client_index>,<err>
or
+CMQTTSUB: <client_index>,<err>
ERROR
or
ERROR
Parameter Saving Mode -
Maximum Response Time 120000ms
Reference
Defined Values
Example
AT+CMQTTSUB=0
OK
+CMQTTSUB: 0,0
OK
Write Command Response
AT+CMQTTUNSUBTOPIC=< >
client_index>,<req_length> <input data here>
OK
or
+CMQTTUNSUBTOPIC: <client_index>,<err>
ERROR
or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CMQTTUNSUBTOPIC=0,11
>simcomtopic
OK
NOTE
OK
Write Command Response
/* unsubscribe one or more OK
topics which input by
AT+CMQTTUNSUBTOPIC*/ +CMQTTUNSUB: <client_index>,<err>
AT+CMQTTUNSUB=<client_ or
index>,<dup> +CMQTTUNSUB: <client_index>,<err>
ERROR
or
ERROR
Write Command Response
/* unsubscribe one topic*/ >
AT+CMQTTUNSUB=<client_ <input data here>
index>,<reqLength>,<dup> OK
+CMQTTUNSUB: <client_index>,<err>
or
+CMQTTUNSUB: <client_index>,<err>
ERROR
or
ERROR
Parameter Saving Mode -
Maximum Response Time 120000ms
Reference
Defined Values
Example
AT+CMQTTUNSUB =0,0
OK
+CMQTTUNSUB: 0,0
OK
Read Command Response
AT+CMQTTCFG? +CMQTTCFG: 0,<checkUTF8_flag>,<optimeout_val>
+CMQTTCFG: 1,<checkUTF8_flag>,<optimeout_val>
OK
Write Command Response
/*Configure the check UTF8 OK
flag of the specified MQTT or
client context*/ +CMQTTCFG: <client_index>,<err>
AT+CMQTTCFG="checkUTF
8",<client_index>,<checkUT OK
F8_flag> or
ERROR
Write Command Response
/*Configure the max timeout OK
interval of the send or or
receive data operation*/ +CMQTTCFG: <client_index>,<err>
AT+CMQTTCFG="optimeout
",<client_index>,<optimeout OK
_val> or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CMQTTCFG="checkUTF8",0,0
OK
AT+CMQTTCFG="optimeout",0,120
OK
NOTE
It must be called before AT+CMQTTCONNECT and after AT+CMQTTACCQ. The setting will be
cleared after AT+CMQTTREL
Defined Values
Command Description
AT+CGPS Start/Stop GPS session
AT+CGPSINFO Get GPS fixed position information
AT+CGPSCOLD Cold start GPS
AT+CGPSHOT Hot start GPS
AT+CGPSURL Set AGPS drfault server URL
AT+CGPSSSL Set AGPS transport security
AT+CGPSAUTO Start GPS automatic
AT+CGPSNMEA Configure NMEA sentence type
AT+CGPSNMEARATE Set NMEA output rate
AT+CGPSMD Configure AGPS MO method
AT+CGPSFTM Start GPS test mode
AT+CGPSDEL Delete the GPS information
AT+CGPSXE Enable/Disable GPS XTRA function
AT+CGPSXD Download XTRA assistant file
AT+CGPSXDAUTO Download XTRA assistant file automatically
AT+CGPSINFOCFG Report GPS NMEA-0183 sentence
AT+CGPSPMD Configure positioning mode
AT+CGPSMSB Configure based mode switch to standalone
AT+CGPSHOR Configure positioning desired accuracy
AT+CGPSNOTIFY LCS respond position request
AT+CGNSSINFO Get GNSS fixed position information
AT+CGNSSMODE Configure GNSS support mode
AT+CGPSIPV6 Set AGPS IPV6 Addr&Port
AT+CGPSXTRADATA Query the validity of the current gpsOne XTRA data
OK
Read Command Response
AT+CGPS? +CGPS: <on/off>,<mode>
OK
Write Command Response
AT+CGPS=<on/off>[,<mode OK
>] If UE-assisted mode, when fixed will report indication:
+CGPS:<lat>,<lon>,<alt>,<date>,<time>
If <off>, it will report indication:
+CGPS:0
or
ERROR
Defined Values
Example
AT+CGPS?
+CGPS:1
OK
AT+CGPS=1
OK
NOTE
Output of NMEA sentences is automatic; no control via AT commands is provided. If executing
AT+CGPS=1, the GPS session will choose cold or hot start automatically.
UE-based and UE-assisted mode depend on URL (AT+CGPSURL). When UE-based mode fails, it
will switch standalone mode.
UE-assisted mode is singly fixed. Standalone and UE-based mode is consecutively fixed.
After the GPS closed, it should to wait about 2s~30s for start again. Reason : If the signal
conditions are right (strong enough signals to allow ephemeris demodulation) or ephemeris
demodulation is on going, sometimes MGP will stay on longer in order to demodulate more
ephemeris. This will help the engine provide faster TTFF and possibly better yield later (up to 2
hours), because it has the benefit of more ephemeris available.
For SIM7600E-H-M2/SIM7600SA-H-M2/SIM7600A-H-M2 module, GPS started should be decided
by the physical switch of GPS flight mode in the module firstly. Close the switch, GPS will be
started automatically, then you can open or close gps by AT command, otherwize, GPS could not
be started in any way.
OK
Read Command Response
AT+CGPSINFO? +CGPSINFO: <time>
OK
Write Command Response
AT+CGPSINFO=<time> OK
+CGPSINFO:[<lat>],[<N/S>],[<log>],[<E/W>],[<date>],[<UTC
time>],[<alt>],[<speed>],[<course>]
If <off>, it will report indication:
OK (if <time>=0)
Execution Command Response
AT+CGPSINFO +CGPSINFO:[<lat>],[<N/S>],[<log>],[<E/W>],[<date>],[<UTC
time>],[<alt>],[<speed>],[<course>]
OK
Defined Values
Example
AT+CGPSINFO=?
+CGPSINFO: (0-255)
OK
AT+CGPSINFO?
+CGPSINFO: 0
OK
AT+CGPSINFO
+CGPSINFO:3113.343286,N,12121.234064,E,250311,072809.3,44.1,0.0,0
OK
Example
AT+CGPSCOLD=?
OK
AT+CGPSCOLD
OK
NOTE
Before using this command,it must use AT+CGPS=0 to stop GPS session.
Example
AT+CGPSHOT=?
OK
AT+CGPSHOT
OK
NOTE
Before using this command,it must use AT+CGPS=0 to stop GPS session.
OK
Defined Values
Example
AT+CGPSURL=”123.123.123.123:8888”
OK
AT+CGPSURL?
+CGPSURL: ”123.123.123.123:8888”
OK
NOTE
It will take effect only after restarting.
OK
Read Command Response
AT+CGPSSSL? +CGPSSSL: <SSL>
OK
Write Command Response
AT+CGPSSSL=<SSL> OK
or
ERROR
Defined Values
1 – use certificate
Example
AT+CGPSSSL=0
OK
OK
Read Command Response
AT+CGPSAUTO? +CGPSAUTO: <auto>
OK
Write Command Response
AT+CGPSAUTO=<auto> OK
or
ERROR
Defined Values
<auto> 0 – Non-automatic
1 – automatic
Example
AT+CGPSAUTO=1
OK
NOTE
If GPS start automatically, its operation mode is standalone mode..
OK
Read Command Response
AT+CGPSNMEA? +CGPSNMEA: <nmea>
OK
Write Command Response
AT+CGPSNMEA=<nmea> OK
or
If GPS engine is running:
ERROR
Defined Values
Example
AT+CGPSNMEA=200191
OK
NOTE
If nmea bit 2 GPGSV doesn’t configure, GPGSV sentence also doesn’t output on AT/modem port
even set AT+CGPSFTM=1.
Module should reboot to take effect.
OK
Read Command Response
AT+CGPSNMEARATE? +CGPSNMEARATE: <rate>
OK
Write Command Response
AT+CGPSNMEA=<rate> OK
or
ERROR
Defined Values
Example
AT+CGPSNMEARATE=1
OK
OK
Read Command Response
AT+CGPSMD? +CGPSMD: <method>
OK
Write Command Response
AT+CGPSMD=<method> OK
or
If GPS engine is running:
ERROR
Defined Values
Example
AT+CGPSMD=1
OK
OK
Write Command Response
AT+CGPSFTM=<on/off> OK
or
ERROR
Defined Values
Example
AT+CGPSFTM=1
OK
$GLGSV,78,20.6,66,25.6,77,21.6,79,21.9,67,26.2,68,23.6
$GPGSV,10,36.3,12,33.5,14,26.5,15,27.0,18,30.6,20,29.4,21,14.9,
24,32.8,25,30.6,31,29.1,32,27.0
$BDGSV,201,28.7,204,29.0,206,27.3,207,25.9,209,25.0,210,18.5
NOTE
If test mode starts, the URC will report on AT port, Modem port and UART port.
If testing on actual signal, <SV> should be ignored, and GPS must be started by AT+CGPS,
AT+CGPSCOLD or AT+CGPSHOT.
If testing on GPS signal simulate equipment, <SV> must be choiced, and GPS will start
automatically.
URC sentence will report every 1 second.
Example
AT+CGPSDEL=?
OK
AT+CGPSDEL
OK
NOTE
This command must be executed after GPS stopped
OK
Read Command Response
AT+CGPSXE? +CGPSXE: <on/off>
OK
Write Command Response
AT+CGPSXE=<on/off> OK
or
ERROR
Defined Values
Example
AT+CGPSXE=?
+CGPSXE: (0-1)
OK
AT+CGPSXE=0
OK
NOTE
XTRA function must download the assistant file from network by HTTP, so the APN must be set by
AT+CGDCONT command.
OK
Read Command Response
AT+CGPSXD? +CGPSXD: <server>
OK
Write Command Response
AT+CGPSXD=<server> OK
+CGPSXD : <resp>
or
+CGPSXD : <resp>
ERROR
Defined Values
Example
AT+CGPSXD=?
+CGPSXD: (0-2)
OK
AT+CGPSXD=0
OK
+CGPSXD: 0
OK
Read Command Response
AT+CGPSXDAUTO? +CGPSXDAUTO: <on/off>
OK
Write Command Response
AT+CGPSXDAUTO=<on/off> OK
Or
ERROR
Defined Values
Example
AT+CGPSXDAUTO=?
+CGPSXD: (0,1)
OK
AT+CGPSXDAUTO=0
OK
NOTE
Some URCs will report when downloading, it’s same as AT+CGPSXD command.
OK
Read Command Response
AT+CGPSINFOCFG? +CGPSINFOCFG: <time>,<config>
OK
Write Command Response
AT+CGPSINFOCFG=<time>[ OK
,<config>] (NMEA-0183 Sentence)
......
OK(if<time>=0>)
Defined Values
<time> The range is 0-255, unit is second, after set <time> will report the GPS
NMEA sentence every the seconds.
If <time>=0, module stop reporting the NMEA sentence.
<config> Range – 0 to 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)
Bit 5 – PQXFI (Global Positioning System Extended Fix Data.)
Bit 6 – GLGSV (GLONASS satellites in view GLONASS fixes only)
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.
Reserved default 0, set invalid.
Example
AT+CGPSINFOCFG=?
+CGPSINFO: (0-255),(0-262143)
OK
AT+CGPSINFOCFG=10,31
OK
$GPGSV,4,1,16,04,53,057,44,02,55,334,44,10,61,023,44,05,45,253
,43*7D
$GPGSV,4,2,16,25,10,300,40,17,25,147,40,12,22,271,38,13,28,053
,38*77
$GPGSV,4,3,16,26,09,187,35,23,06,036,34,24,,,,27,,,*7A
$GPGSV,4,4,16,09,,,,31,,,,30,,,,29,,,*7D
$GPGGA,051147.0,3113.320991,N,12121.248076,E,1,10,0.8,47.5,
M,0,M,,*45
$GPVTG,NaN,T,,M,0.0,N,0.0,K,A*42
$GPRMC,051147.0,A,3113.320991,N,12121.248076,E,0.0,0.0,2112
11,,,A*66
$GPGSA,A,3,02,04,05,10,12,13,17,23,25,26,,,1.4,0.8,1.2*3B
OK
Read Command Response
AT+CGPSPMD? +CGPSPMD: <mode>
OK
Write Command Response
AT+CGPSPMD =<mode> OK
or
ERROR
Defined Values
Bit 2 – UP MS-assisted
Bit 3 – CP MS-based (2G)
Bit 4 – CP MS-assisted (2G)
Bit 5 – CP UE-based (3G)
Bit 6 – CP UE-assisted (3G)
Bit 7 – NOT USED
Bit 8 – UP MS-based (4G)
Bit 9 – UP MS-assisted(4G)
Bit 10 – CP MS-based (4G)
Bit 11 – CP MS-assisted (4G)
Set the desired mode sentence bit(s). If multiple modes are desired,
“OR” the desired bits together.
Example, support standalone, UP MS-based and UP MS-assisted, set
Binary value 0000 0111, is 7.
Example
AT+CGPSPMD=127
OK
NOTE
Need to restart the module after setting the mode.
OK
Read Command Response
AT+CGPSMSB? +CGPSMSB: <mode>
OK
Write Command Response
AT+CGPSMSB =<mode> OK
or
ERROR
Defined Values
Example
AT+CGPSMSB=0
OK
NOTE
This command must be executed after GPS stopped.
OK
Read Command +CGPSHOR: <acc>,<acc_f>
AT+CGPSHOR?
OK
Write Command OK
AT+CGPSHOR=<acc>,[,<ac or
c_f>] ERROR
Defined Values
Example
AT+CGPSHOR=50
OK
NOTE
This command must be executed after GPS stopped.
OK
Write Command Response
AT+CGPSNOTIFY=<resp> OK
or
ERROR
Defined Values
Example
AT+CGPSNOTIFY=?
+CGPSNOTIFY: (0-2)
OK
AT+CGPSNOTIFY=0
OK
OK
Read Command Response
AT+CGNSSINFO? +CGNSSINFO: <time>
OK
Write Command Response
AT+CGNSSINFO=<time> OK
+CGNSSINFO:
[<mode>],[<GPS-SVs>],[<GLONASS-SVs>],[<BEIDOU-SVs>],
[<lat>],[<N/S>],[<log>],[<E/W>],[<date>],[<UTC-time>],[<alt>],
[<speed>],[<course>],[<PDOP>],[HDOP],[VDOP]
OK (if <time>>=0)
Execution Command Response
AT+CGNSSINFO
+CGNSSINFO:
[<mode>],[<GPS-SVs>],[<GLONASS-SVs>],[<BEIDOU-SVs>],
[<lat>],[<N/S>],[<log>],[<E/W>],[<date>],[<UTC-time>],[<alt>],
[<speed>],[<course>],[<PDOP>],[<HDOP>],[<VDOP>]
OK
Defined Values
Example
AT+CGNSSINFO=?
+CGNSSINFO: (0-255)
OK
AT+CGNSSINFO?
+CGNSSINFO: 0
OK
AT+CGNSSINFO
+CGNSSINFO:
2,09,05,00,3113.330650,N,12121.262554,E,131117,091918.0,32.9,
0.0,255.0,1.1,0.8,0.7
OK
AT+CGNSSINFO (if not fix,will report null)
+CGNSSINFO: ,,,,,,,,,,,,,,,
OK
OK
Read Command Response
AT+CGNSSMODE? +CGNSSMODE: <gnss_mode>,<dpo_mode>
OK
Write Command Response
AT+CGNSSMODE=<gnss_m OK
ode>[,<dpo_mode>] or
ERROR
Defined Values
<gnss_mode> Range – 0 to 15
Bit0: GLONASS
Bit1: BEIDOU
Bit2: GALILEO
Bit3: QZSS
1: enable 0:disable
GPS always support
<dpo_mode> 1: enable DPO
0: disable DPO
Example
AT+CGNSSMODE=15,1
OK
NOTE
Module should reboot to take effective.
Defined Values
Example
AT+CGPSIPV6=”2001:0268:1AFF:0000:0000:0000:B6F8:A5D2”,7
275
OK
AT+CGPSIPV6?
+CGPSIPV6: ”2001:0268:1AFF:0000:0000:0000:B6F8:A5D2”,727
5
OK
NOTE
It will take effect only after restarting.
17.2.24 AT+CGPSXTRADATA Query the validity of the current gpsOne XTRA Data
OK
Defined Values
Example
AT+CGPSXTRADATA=?
OK
AT+CGPSXTRADATA?
+CGPSXTRADATA: 168,"2019/09/25,05:00:00"
OK
NOTE
It needs to execute AT+CGPSXE to enable before execute the AT+CGPSXTRADATA read.
Command Description
AT+CLBS Base station Location
AT+CLBSCFG Base station Location configure
Command Description
AT+CNETSTART Open network
AT+CNETSTOP Close network
AT+CNETIPADDR Inquire PDP address
OK
or
ERROR
Execution Command Response
AT+CNETSTART OK
+CNETSTART: <err>
or
+CNETSTART: <err>
OK
or
+CNETSTART: <err>
ERROR
or
ERROR
Defined Values
<net_state> a numeric parameter that indicates the state of PDP context activation:
0 network close (deactivated)
1 network is opening
2 network open(activated)
3 network is closing
<err> The result of operation, 0 is success, other value is failure.
Example
AT+CNETSTART?
+CNETSTART: 0
OK
AT+CNETSTART
OK
+CNETSTART: 0
+CNETSTOP: <err>
or
+CNETSTOP: <err>
OK
or
+CNETSTOP: <err>
ERROR
or
ERROR
Defined Values
Example
AT+CNETSTOP
+CNETSTOP: 0
OK
OK
or
+CNETIPADDR: <err_info>
ERROR
or
ERROR
Defined Values
Example
AT+CNETIPADDR?
+CNETIPADDR: 10.71.155.118
OK
OK
Write Command Response
AT+CLBS=<type>,<cid>,[[<l 1)<type>=1,get longitude and latitude
ongitude>,<latitude>],[<lon_ +CLBS: <locationcode>[,<longitude>,<latitude>,<acc>]
type>]]
OK
2)<type>=4,get longitude latitude and date time
+CLBS:
<locationcode>[,<longitude>,<latitude>,<acc>,<date>,<time>]
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CLBS=?
+CLBS:
(1,3,4,9),(0-3),(-180.000000-180.000000),(-90.0
00000-90.000000),(0,1)
OK
NOTE
If customers feel that the positioning error is too large, <type>=9 can be used to report this
information. The error can be improved by this information.
OK
Write Command Response
AT+CLBSCFG=<operate>,< +CLBSCFG: 0,<para>,<value>
para>[,<value>]
OK
or
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
<para> 1 Customer ID
2 Times have used positioning command
3 Server’s address
lbs-simcom.com:3001
lbs-simcom.com:3000
lbs-simcom.com:3002 (Default)
<value> String type. The value of parameter
If <operate> is 1 and <para> is 3, <value> can be set.
<len_value> Max length of <value>
Example
AT+CLBSCFG?
+CLBSCFG: (0-1),3,"Param Value"
OK
NOTE
Server’s address of"lbs-simcom.com:3002" is free. The other two servers are charged.
If you want to use the charged address, the IMEI, customer information and software version must
be provided to SIMCom.
Command Description
AT+CVALARM Low and high voltage Alarm
AT+CVAUXS Set state of the pin named VREG_AUX1
AT+CVAUXV Set voltage value of the pin named VREG_AUX1
AT+CADC Read ADC value
AT+CADC2 Read ADC2 value
AT+CMTE Control the module whether power shutdown when the module’s
temperature upon the critical temperature
AT+CPMVT Low and high voltage Power Off
AT+CDELTA Set the module go to recovery mode
AT+CRIIC Read values from register of IIC device
AT+CWIIC Write values to register of IIC device
AT+CBC Read the voltage value of the power supply
AT+CPMUTEMP Read the temperature of the module
AT+CFDISK SD Card/EMMC Flash
Command Description
AT+CVALARM Low and high voltage Alarm
AT+CVAUXS Set state of the pin named VREG_AUX1
AT+CVAUXV Set voltage value of the pin named VREG_AUX1
AT+CADC Read ADC value
AT+CADC2 Read ADC2 value
AT+CMTE Control the module whether power shutdown when the module’s
temperature upon the critical temperature
AT+CPMVT Low and high voltage Power Off
AT+CDELTA Set the module go to recovery mode
AT+CRIIC Read values from register of IIC device
OK
Read Command Response
AT+CVALARM? +CVALARM: <enable>,<low voltage>,<high voltage>
OK
Write Command Response
AT+CVALARM=<enable>[,<l OK
ow voltage>],[<high or
voltage>] ERROR
Defined Values
<enable> 0: Close
1: Open. If voltage < <low voltage>, it will report “UNDER-VOLTAGE
WARNNING” every 10s. If voltage > <high voltage>, it will report
“OVER-VOLTAGE WARNNING” every 10s.
<low voltage> Between 3300mV and 4000mV. Default value is 3300.
<high voltage> Between 4000mV and 4300mV. Default value is 4300.
Example
AT+CVALARM?
+CVALARM: 1,3400,4300
OK
AT+CVALARM=?
+CVALARM: (0,1),(3300-4000),(4000-4300)
OK
AT+CVALARM=1,3400,4300
OK
OK
Read Command Response
AT+CVAUXS? +CVAUXS: <state>
OK
Write Command Response
AT+CVAUXS=<state> OK
Or
ERROR
Defined Values
Example
AT+CVAUXS?
+CVAUXS: 1
OK
AT+CVAUXS =1
OK
NOTE
● For SIM7600E-H-M2/SIM7600SA-H-M2/SIM7600A-H-M2, the default value is 0.
OK
Read Command Response
AT+CVAUXV? +CVAUXV: <voltage>
OK
Write Command Response
AT+CVAUXV=<voltage> OK
or
ERROR
Defined Values
<voltage> Voltage value of the pin which is named VREG_AUX1. The unit is in
mV. And the value must the multiple of 50mv.
Example
AT+CVAUXV =?
+CVAUXV: (1700-3050)
OK
AT+CVAUXV =2800
OK
AT+CVAUXV?
+CVAUXV: 2800
OK
OK
Write Command Response
AT+CADC=<adc> +CADC: <value>
OK
or
ERROR
Defined Values
Example
AT+CADC=?
+CADC: (0,2)
OK
AT+CADC =0
+CADC: 187
OK
OK
Write Command Response
AT+CADC2=<adc> +CADC2: <value>
OK
or
ERROR
Defined Values
Example
AT+CADC2=?
+CADC2: (0,2)
OK
AT+CADC2=0
+CADC2: 187
OK
19.2.6 AT+CMTE Control the module whether power shutdown when the module’s
AT+CMTE Control the module whether power shutdown when the module’s temperature upon
the critical temperature
Test Command Response
AT+CMTE=? +CMTE: (list of supported<on/off>s)
OK
Read Command Response
AT+CMTE? +CMTE: <on/off >
OK
Write Command Response
AT+CMTE=<on/off > OK
or
ERROR
Defined Values
Example
AT+CMTE?
+CMTE: 1
OK
AT+CMTE =1
OK
AT+CMTE=?
+CMTE: (0/1)
OK
NOTE
When temperature is extreme high or low, product will power off.
URCs indicating the alert level “+CMTE:-1” or “+CMTE:1” are intended to enable the user to take
appropriate precaution, such as protect the module from exposure to extreme conditions, or save
or back up data etc
Level “+CMTE:-2”or “+CMTE:2” URCs are followed by immediate shutdown.
OK
Read Command Response
AT+CPMVT? +CPMVT: <enable>,<low voltage>, <high voltage>
OK
Write Command Response
AT+CPMVT=<enable>[,<low OK
voltage>],[<high voltage>] Or
ERROR
Defined Values
<enable> 0: Close
1: Open. If voltage < <low voltage>, it will report “UNDER-VOLTAGE
WARNNING POWER DOWN” and power off the module. If voltage >
<high voltage>, it will report “OVER-VOLTAGE WARNNING POWER
DOWN” and power off the module
<low voltage> Between 3200mV and 4000mV. Default value is 3200.
<high voltage> Between 4000mV and 4300mV. Default value is 4300.
Example
AT+CPMVT=1,3400,4300
OK
AT+CPMVT?
+CVALARM: 1,3400,4300
OK
AT+CPMVT=?
+CVALARM: (0,1),(3300-4000),(4000-4300)
OK
Example
AT+CDELTA
OK
NOTE
the command will write flag to the module and reboot the module, then the module will reboot and
read the flag and enter recovery mode to update the firmware.
or
ERROR
Defined Values
Example
AT+CRIIC=0x34, 0x02, 2
+CRIIC: 0x01,0x5d
OK
Defined Values
Example
Defined Values
Example
AT+CBC
+CBC: 3.591V
OK
Defined Values
Example
AT+CPMUTEMP
+CPMUTEMP: 29
OK
Defined Values
Example
AT+CFDISK=?
+CFDISK: (1-4)[...]
OK
AT+CFDISK=4,50000,50000,50000
OK
AT+CFDISK
OK
AT+CFDISK?
+CFDISK: 1,50040
+CFDISK: 2,50048
+CFDISK: 3,50048
+CFDISK: 4,3708288
OK
NOTE
The last partition size does not need to be set. The size of the last partition is the size of the disk
remaining.
The file system is used to store files in a hierarchical (tree) structure, and there are some definitions
and conventions to use the Module.
Local storage space is mapped to “C:”, “D:” for TF card, “E:” for multimedia, “F:” for cache.
NOTE
Command Description
AT+FSCD Select directory as current directory
AT+FSMKDIR Make new directory in current directory
AT+FSRMDIR Delete directory in current directory
AT+FSLS List directories/files in current directory
AT+FSDEL Delete file in current directory
AT+FSRENAME Rename file in current directory
AT+FSATTRI Request file attributes
AT+FSMEM Check the size of available memory
AT+FSLOCA Select storage place
AT+FSCOPY Copy an appointed file
AT+CFTRANRX Transfer a file to EFS
AT+CFTRANTX Transfer a file from EFS to host
This command is used to select a directory. The Module supports absolute path and relative path.
Read Command will return current directory without double quotation marks. Support "C:", "D:", "E:", "F:".
AT+FSCD Select directory as current directory
Test Command Response
AT+FSCD=? OK
Read Command Response
AT+FSCD? +FSCD: <curr_path>
OK
Write Command Response
AT+FSCD=<path> +FSCD: <curr_path>
OK
or
ERROR
Defined Values
NOTE
Example
AT+FSCD=C:
+FSCD: C:/
OK
AT+FSCD=C:/
+FSCD: C:/
OK
AT+FSCD?
+FSCD: C:/
OK
AT+FSCD=..
+FSCD: C:/
OK
AT+FSCD=D:
+FSCD: D:/
OK
AT+FSCD?
+FSCD: D:/
OK
This command is used to create a new directory in current directory. Support "C:", "D:", "E:", "F:".
Defined Values
<dir> String without double quotes, directory name which does not already
exist in current directory.
Example
AT+FSMKDIR=SIMTech
OK
AT+FSCD?
+FSCD: E:/
OK
AT+FSLS
+FSLS: SUBDIRECTORIES
Audio
SIMTech
OK
This command is used to delete existing directory in current directory. Support "C:", "D:", "E:", "F:".
Defined Values
Example
AT+FSRMDIR=SIMTech
OK
AT+FSCD?
+FSCD: E:/
OK
AT+FSLS
+FSLS: SUBDIRECTORIES
Audio
OK
This command is used to list information of directories and/or files in current directory. Support "C:", "D:",
"E:", "F:".
OK
Read Command Response
AT+FSLS? +FSLS: SUBDIRECTORIES<dir_num>,FILES:<file_num>
OK
Write Command Response
AT+ FSLS=<type> [+FSLS: SUBDIRECTORIES:
<list of subdirectories>
<CR><LF>]
[+FSLS: FILES:
<list of files>
<CR><LF>]
OK
Execution Command Response
AT+ FSLS [+FSLS: SUBDIRECTORIES:
<list of subdirectories>
<CR><LF>]
[+FSLS: FILES:
<list of files>
<CR><LF>]
OK
Defined Values
Example
AT+FSLS?
+FSLS: SUBDIRECTORIES:2,FILES:2
OK
AT+FSLS
+FSLS: SUBDIRECTORIES:
FirstDir
SecondDir
+FSLS: FILES:
image_0.jpg
image_1.jpg
OK
AT+FSLS=2
+FSLS: FILES:
image_0.jpg
image_1.jpg
OK
This command is used to delete a file in current directory. Before do that, it needs to use AT+FSCD select
the father directory as current directory. Support "C:", "D:", "E:", "F:".
Defined Values
<filename> String with or without double quotes, file name which is relative and
already existing.
If <filename> is *.*, it means delete all files in current directory.
If the file path contains non-ASCII characters, the filename parameter
should contain a prefix of {non-ascii} and the quotation mark.
Example
AT+FSDEL=image_0.jpg
OK
This command is used to rename a file in current directory. Support "C:", "D:", "E:", "F:".
Defined Values
<old_name> String with or without double quotes, file name which is existed in
current directory. If the file path contains non-ASCII characters, the file
path parameter should contain a prefix of {non-ascii} and the quotation
mark.
<new_name> New name of specified file, string with or without double quotes. If the
file path contains non-ASCII characters, the file path parameter should
contain a prefix of {non-ascii} and the quotation mark.
Example
AT+FSRENAME=image_0.jpg, image_1.jpg
OK
AT+FSRENAME="my test.jpg",
{non-ascii}"E6B58BE8AF95E99984E4BBB62E6A7067"
OK
This command is used to request the attributes of file which exists in current directory. Support "C:", "D:",
"E:", "F:".
OK
or
ERROR
Defined Values
<filename> String with or without double quotes, file name which is in current
directory. If the file path contains non-ASCII characters, the file path
parameter should contain a prefix of {non-ascii} and the quotation
mark.
<file_size> The size of specified file, and the unit is in Byte.
<create_date> Create date and time of specified file, the format is YYYY/MM/DD
HH:MM:SS Week.
Week – Mon, Tue, Wed, Thu, Fri, Sat, Sun
Example
AT+FSATTRI=image_0.jpg
+FSATTRI: 8604, 2008/04/28 10:24:46 Tue
OK
AT+FSATTRI={non-ascii}"E6B58BE8AF95E99984E4BBB62E6A7067"
+FSATTRI: 6296, 2012/01/06 00:00:00 Sun
OK
This command is used to check the size of available memory. The response will list total size and used size
of local storage space if present and mounted. Support "C:", "D:", "E:", "F:".
OK
Defined Values
Example
AT+FSMEM
+FSMEM: C:(11348480, 2201600)
OK
This command is used to set the storage place for media files. Support "C:".
OK
Read Command +FSLOCA: <loca>
AT+FSLOCA?
OK
Write Command Response
AT+FSLOCA=<loca> OK
or
ERROR
Defined Values
Example
AT+FSLOCA=0
OK
AT+FSLOCA?
+FSLOCA: 0
OK
This command is used to copy an appointed file on C:/ to an appointed directory on C:/, the new file name
should give in parameter. Support "C:","D:", "E:", "F:", but copying from "C:" to "D:", "E:", "F:" or from "D:",
"E:", "F:" to "C:" is not supported.
Async mode
OK
+FSCOPY: <percent><CR><LF>
[+FSCOPY: <percent><CR><LF>]
+FSCOPY: END<CR><LF>
Or
When error, shows one of the following errors and ERROR
SD CARD NOT PLUGGED IN
FILE IS EXISTING
FILE NOT EXISTING
DIRECTORY IS EXISTED
DIRECTORY NOT EXISTED
FORBID CREATE DIRECTORY UNDER \"C:/\"
FORBID DELETE DIRECTORY
INVALID PATH NAME
INVALID FILE NAME
SD CARD HAVE NO ENOUGH MEMORY
EFS HAVE NO ENOUGH MEMORY
FILE CREATE ERROR
READ FILE ERROR
WRITE FILE ERROR
ERROR
Defined Values
<file1> The sources file name or the whole path name with sources file name.
If the file path contains non-ASCII characters, the file path parameter
should contain a prefix of {non-ascii} and the quotation mark.
<file2> The destination file name or the whole path name with destination file
name. If the file path contains non-ASCII characters, the file path
parameter should contain a prefix of {non-ascii} and the quotation
mark.
<percent> The percent of copy done. The range is 0.0 to 100.0
<sync_mode> The execution mode of the command:
0 – synchronous mode
1 – asynchronous mode
NOTE
1. The <file1> and <file2> should give the whole path and name, if only given file name, it will refer to
current path (AT+FSCD) and check the file’s validity.
2. If <file2> is a whole path and name, make sure the directory exists, make sure that the file name
does not exist or the file name is not the same name as the sub folder name, otherwise return error.
3. <percent> report refer to the copy file size. The big file maybe report many times, and little file report
less.
4. If <sync_mode> is 1, the command will return OK immediately, and report final result with
+FSCOPY: END.
Example
AT+FSCD?
+FSCD: C:/
OK
AT+FSCOPY= C:/TESTFILE,COPYFILE (Copy file TESTFILE on C:/ to C:/COPYFILE)
+FSCOPY: 1.0
+FSCOPY: 100.0
OK
AT+FSCOPY= "my test.jpg", {non-ascii}"E6B58BE8AF95E99984E4BBB62E6A7067"
+FSCOPY:1.0
+FSCOPY:100.0
OK
OK
Write Command Response
AT+CFTRANRX=”<filepath> >
”,<len> OK
or
>
ERROR
or
ERROR
Defined Values
NOTE
Example
AT+CFTRANRX=”c:/MyDir/t1.txt”,10
><input data here>
OK
AT+CFTRANRX=”d:/MyDir/t1.txt”,10
><input data here>
OK
This command is used to transfer a file from EFS to host. Before using this command, the AT+CATR must
be used to set the correct port used. Support SDcard.
OK
Write Command Response
AT+CFTRANTX [+CFTRANTX: DATA,<len>
=”<filepath>”[,<location>,<s …
ize>] +CFTRANTX: DATA,<len>]
+CFTRANTX: 0
OK
or
ERROR
Defined Values
NOTE
Example
AT+CFTRANTX=”c:/MyDir/t1.txt”
OK
+CFTRANTX: DATA, 11
Testcontent
+CFTRANTX: 0
OK
AT+CFTRANTX=”d:/MyDir/t1.txt”,1,4
+CFTRANTX: DATA, 4
estc
+CFTRANTX: 0
OK
Command Description
AT+CREC Record wav audio file
AT+CRECAMR Record amr audio file
AT+CCMXPLAYWAV Play wav audio file
AT+CCMXSTOPWAV Stop playing wav audio file
AT+CCMXPLAY Play audio file
AT+CCMXSTOP Stop playing audio file
OK
Write Command Response
AT+CREC=<record_path>,<f +CREC:1
ilename> OK
or
ERROR
Write Command Response
AT+CREC=<mode> +CREC:0
OK
+RECSTATE: crec stop
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
NOTE
<filename>,The file should be put into the “E:/”. Maximum filename length is 240 bytes. (including
"")
<record_path>,Only during the call, <record_path> can be set to 2 or 3
Example
AT+CREC=1,”e:/rec.wav”
+CREC:1
OK
AT+CREC=0
+CREC:0
OK
OK
Write Command Response
AT+CRECAMR=<record_pat +CRECAMR:<status>
h>,<filename> OK
or
ERROR
Write Command Response
AT+CRECAMR=<mode> +CRECAMR:<status>
OK
+RECSTATE: crecamr stop
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
<status> Indicate whether the recording is going on.
0 – free, not recording
1 – busy, recording
<record_path> Source of recorded sound
1 – local path
2 – remote path
<filename> The location and name of amr file.
<mode> Stop recording wav audio file
0 –stop
NOTE
<filename>,The file should be put into the “E:/”. Maximum filename length is 240 bytes. (including
"")
<record_path>,Only during the call, <record_path> can be set to 2
Example
AT+CRECAMR=1,”e:/rec.amr”
+CRECAMR:1
OK
AT+CRECAMR=0
+CRECAMR:0
OK
OK
Write Command Response
AT+CCMXPLAYWAV=<filena +WAVSTATE: wav play
me>,<play_path>[,<repeat>]
OK
Defined Values
NOTE
<filename>,The wav audio file should be located at “E:/”. Maximum filename length is 240 bytes.
(including "")
<play_path>,Only during the call, <play_path> can be set to 1 successfully.Only 8k 16bit wav
audio can be played to remote successful at present.
<repeat>,This parameter is reserved, not used at present, you can input this parameter or not.
(0--255)
Example
AT+CCMXPLAYWAV=?
+CCMXPLAYWAV: (1-2),(0-255)
OK
AT+CCMXPLAYWAV=”E:/rec.wav”,2
+WAVSTATE: wav play
OK
Defined Values
- -
Example
AT+CCMXSTOPWAV
+CCMXSTOPWAV:
OK
OK
Write Command Response
AT+CCMXPLAY=<filename> +CCMXPLAY:
[,<play_path>][,<repeat>] OK
+AUDIOSTATE: audio play
+AUDIOSTATE: audio play stop
or
ERROR
or
+CCMXPLAY:
OK
+AUDIOSTATE: audio play
+AUDIOSTATE: audio play error
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
NOTE
<filename>,The wav audio file should be located at “E:/”. Maximum filename length is 240 bytes.
(including ""). Support audio file format mp3, aac, amr, wav.
<play_path>,Only during the call, <play_path> can be set to 1 successfully.Only 8k 16bit wav
audio and amr audio can be played to remote at present.
<repeat>,This parameter is reserved, not used at present, you can input this parameter or not.
(0--255)
Example
AT+CCMXPLAY=?
+CCMXPLAY: (0-1),(0-255)
OK
AT+CCMXPLAY=”E:/rec.mp3”,0,0
+CCMXPLAY:
OK
Defined Values
- -
Example
AT+CCMXSTOP
+CCMXSTOP:
OK
Command Description
AT+CDTAM TTS play path, local or remote
AT+CTTS TTS operation, play or stop
AT+CTTSPARAM TTS parameters, set or get
OK
Read Command Response
AT+CDTAM? + CDTAM: <status>
OK
Write Command Response
AT+CDTAM=<mode> +CDTAM:
OK
or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
Example
AT+CDTAM=1
+CDTAM:
OK
OK
Write Command Response
AT+CTTS=<mode>[,<text>] If <mode>is 0 , then <text> is not required. When TTS is playing,
return:
+CTTS:0
OK
+CTTS:0
or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
NOTE
<text>, which is synthetized to speed to be played, maximum data length is 512 bytes. (including
"")
<filename>,The file should be put into the “E:/filename.wav”. Maximum filename length is 240
bytes. (including "")
Example
AT+CTTS=1,"6B228FCE4F7F75288BED97F3540862107CFB7EDF"
OK
+CTTS:0
AT+CTTS=3,"欢迎使用语音合成系统","E:/tts.wav"
OK
+CTTS:0
AT+CTTS=0
OK
+CTTS:0
OK
Read Command Response
AT+CTTSPARAM? +CTTS: <volume>,<sysvolume>,<digitmode>,<pitch>,<speed>
OK
Write Command Response
AT+CTTSPARAM=<volume>
[,<sysvolume>[,<digitmode OK
>[,<pitch>[,<speed>]]] or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference -
Defined Values
NOTE
<sysvolume>, It takes no effect to set <sysvolume>,reserved at present
Example
AT+CTTSPARAM=1,3,0,1,1
OK
Command Description
AT+CAPFOTA Start/Close FOTA Service
AT+CSCFOTA Configure parameters and download upgrade package
OK
Read Command Response
AT+CAPFOTA? +CAPFOTA: 1
OK
Write Command Response
AT+CAPFOTA=<on/off> OK
or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CAPFOTA?
+CAPFOTA: 1
OK
Defined Values
<OEM> The name of project design company. This name must be the same as
the OEM created on the cloud platform. Otherwise, it will cause
upgrade failed.
<models> The name of the device model. This name must be the same as the
device model created on the cloud platform. Otherwise, it will cause
upgrade failed.
<productID> The product ID that must be the same as the product ID generated on
the cloud platform.
<productSecret> The product secret is used to confirm the identity and usage rights of
the user. It must be the same as the product secret generated on the
cloud platform.
<target version> The version that needs to be upgraded to. This version is published by
the cloud platform.
<ERR>
1 unknown error
2 Check version is finished
3 Download is finished
4 Download partial finished
5 No matched version
301 No enough memory
302 Invalid parameter
303 Invalid operation
304 IO failed
305 IO timeout
306 Download file verification failed
307 got canceled
308 Interface nesting error
401 Invalid device information
402 Invalid platform information
403 Missing device information
404 Version number is not configured
405 Internal error (contact supplier)
501 Invalid URL
502 Unable to resolve domain name
503 cannot connect to the server
504 Invalid request, server returned error
505 Not in range
506 HTTP POST request error
507 Re-download start error
508 Operation is aborted
509 Operation not completed
510 Too many retargeting times
511 Unable to get data from SOCKET
512 Error sending data via SOCKET
513 Error receiving data via SOCKET
514 Invalid SOCKET connection
Example
AT+CSCFOTA="SIMCOM","7600M21","15409
07004","f9bbb0d76f894da090b6b6925361656
1","SIM7600M21_LE11_181025_V2.00"
OK
+CSCFOTA: 2
+CSCFOTA: 3
Command Description
AT+UIMHOTSWAPON Set UIM hotswap function on
AT+UIMHOTSWAPLEVEL Set UIM card detection level
OK
Write Command Response
AT+UIMHOTSWAPON=<ono OK
ff> or
ERROR
Defined Values
Example
AT+UIMHOTSWAPON?
+UIMHOTSWAPON: 0
OK
AT+UIMHOTSWAPON=1
OK
NOTE
OK
Response
Write Command
OK
AT+UIMHOTSWAPLEVEL=<l
or
evel>
ERROR
Defined Values
Example
AT+UIMHOTSWAPLEVEL?
+UIMHOTSWAPLEVEL: 0
OK
AT+UIMHOTSWAPLEVEL=1
OK
NOTE
Command Description
AT+CENABLELAN Enable LAN function
AT+CLANMODE Set LAN mode
AT+CLANCTRL Set LAN configure
AT+CHSICSLEEP Allow Hsic Device Go to AutoSleep
Defined Values
Example
AT+CENABLELAN=1
OK
NOTE
LAN9730 is not opened in default, if want to open the LAN9730, you can run AT+CENABLELAN=1.
After run this command, the module will restart automatically, then the LAN9730 will be opened.
If want to close the LAN9730, you can run AT+CENABLELAN=0. After run this command, the
module will restart automatically, then the LAN9730 will be closed.
WIFI firmware doesn’t care this AT command.
Defined Values
Example
AT+CLANMODE?
+CLANMODE: (0,1)
OK
AT+CLANMODE=1
OK
NOTE
Module works in lan mode in default. If want to use another mode, need to run
at+clanmode=<mode>, after run this command, module will restart automatically, then the module
will work in target mode.
OK
Write Command Response
AT+CLANCTRL=<option>,[[t
ype/ip],[netmask]] OK
or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CLANCTRL=3,”192.168.1.1”
Set ip. The netmask is use default value
255.255.255.0
OK
AT+CLCANCTRL=3,”192.168.1.1”,”255.255.2
55.0” Set ip and netmask. The netmask is
255.255.255.0
OK
NOTE
Uninstall driver (option=0). Not support for HSIC LAN, Only Support SGMII LAN. Please don’t run
this command on HSIC LAN module
Install driver (option=1). Not support for HSIC LAN, Only Support SGMII LAN.
Set mac address (option=2). Support for HSIC LAN, But the module will auto set the Mac address.
So there is no need to run the command.
Set ip address (option=3). When module work in static ip mode. Use this command set ip and
netmask.
Bring up eth0 bring up eth0 (option=4). equal to “ifconfig eth0 up”
Bring down eth0 (option=5). equal to “ifconfig eth0 down”
OK
Read Command Response
AT+CHSICSLEEP? +CHSICSLEEP: <state>
OK
Write Command Response
AT+CHSICSLEEP=<state> OK
or
ERROR
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CHSICSLEEP =1
OK
AT+CHSICSLEEP?
+CHSICSLEEP: 1
OK
NOTE
Command Description
AT+CECALLS Make e-call
AT+CECALLE Hang up e-call
AT+CECALLCFG Configure e-call MSD information
AT+CECALLPOS Set position information
AT+CECALLTIME Set timestamp
AT+CMSDVERSION Set MSD serialize version
AT+CECALLTOUT Set T5,T6,T7 timeout value
AT+CMSDMESSAGEID Set the initiatory message identifier of msd data Description
AT+CMSDOIDDATA Set the optional additional data
AT+CMSD Input hex Minimum set of data(MSD)
AT+CMSDCONTROL Set the control data in Minimum set of data
OK
Write Command Response
AT+CECALLS=<num>,<can OK
nedMSD>
ERROR
Defined Values
Example
AT+CECALLS=15865451120,1
OK
OK
Read Command Response
AT+CECALLE? +CECALLE: <n>
OK
Response
OK
Write Command VOICE CALL: END: <time>
AT+CECALLE=<n>
No call:
OK
Defined Values
Example
AT+CECALLE=0
OK
Defined Values
Example
AT+CECALLCFG=5,18,8,"WMJVDSVDSYA123456",14,10,-10,20,-20
OK
Defined Values
Example
AT+CECALLPOS="121.354138","31.221938"
OK
Defined Values
0- use system time, not need to set <year>, <month>, <day>, <hour>,
<flag> <minute>,<second>
1 - must set <year>,<month>,<day>,<hour>,<minute>,<second>
Year :integer
<year>
Range is 1970~2100
Month : integer
<month>
Range is 1~12
Day : integer
Input range :
<day> Jan \ Mar \ May \ Jul \ Aug \ Oct \ Dec: 1~31
Feb: 1~28 (1~29 if leap year)
Apr \ Jun \ Sep \ Nov: 1~30
Hour : integer
<hour>
Range is 0~23
Minute : integer
<minute>
Range is 0~59
Second : integer
<second>
Rang is 0~59
Example
AT+CECALLTIME=1,2011,10,20,15,30,30
OK
OK
Read Command Response
AT+CECALLVERSION? +CMSDVERSION: <ver>
OK
Response
Write Command OK
AT+CMSDVERSION=<ver>
ERROR
Defined Values
Example
AT+CMSDVERSION=1
OK
OK
Response
Write Command
OK
AT+CECALLTOUT=<TX>,<ti
meoutvalue>
ERROR
Defined Values
Example
AT+CECALLTOUT="T5",4000
OK
Description
The command is used to set the initiatory message identifier of msd data.
OK
Read Command Response
AT+CMSDMESSAGEID? +CMSDMESSAGEID: <messageid>
OK
Response
Write Command
OK
AT+CMSDMESSAGEID=<me
ssageid>
ERROR
Defined Values
starting with 1 for each new eCall session and to be incremented with
<messageid> every application layer MSD retransmission following a new ‘Send MSD’
request after the incident event .(1-255)
Example
AT+CMSDMESSAGEID=1
OK
Defined Values
Object identifier which uniquely identifies the format and meaning of the
<oid>
data which follows. (oid is decimal string x.x.xxx), the length must be 7.
Transparent optional additional data. (odata is hex string) which
<odata>
maximum size is 100 bytes.
Example
AT+CMSDOIDDATA="1.2.125","30304646"
OK
Defined Values
<msd> the hex msd data generated by user which maximum size is 140 bytes.
0 - Manual activation
<activation>
1 - Automatic activation
0 - Emergency call
<eCallType>
1 - Test call
Example
AT+CMSD="015C0681508204420014264000420D101404E80DA4C89A3B2F09905B6440E829F682
9EC020301027D04303046460",0,1
OK
The command is used to set the control data in Minimun set of data(MSD).
Defined Values
Example
AT+CMSDCONTROL=0,0,1
OK
Command Description
AT+CWMAP Open/Close WIFI
AT+CWSSID SSID setting
AT+CWBCAST Broadcast setting
AT+CWAUTH Authentication type, encrypt mode and password setting
AT+CWMOCH 80211 mode and channel setting
AT+CWISO Client isolation setting
AT+CWDHCP Get the current DHCP configuration
AT+CWNAT NAT type setting
AT+CWCLICNT Get client number connected to the WIFI
AT+CWRSTD Restore to default setting
AT+CWMAPCFG WIFI configuration setting
AT+CWLANSRV LAN SERVER setting
AT+CWLANMSG Send message
AT+CWMACADDR Get MAC address
AT+CWNETCNCT Query the connection to the network
AT+CWSTAIP Get STA mode IP address
AT+CWSTASCAN Scan WIFI network
AT+CWSTACFG STA mode configuration setting
AT+CWUSRINFO Auth info of wifi data call setting
Command Description
AT+CWMAP Open/Close WIFI
AT+CWSSID SSID setting
AT+CWBCAST Broadcast setting
AT+CWAUTH Authentication type, encrypt mode and password setting
OK
Read Command Response
AT+CWMAP? +CWMAP: <flag>
OK
Write Command Response
AT+CWMAP=<flag> OK
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
<flag> 0 Close
1 Open
Example
AT+CWMAP?
+CWMAP: 1
OK
AT+CWMAP=0
OK
OK
Write Command Response
AT+CWSSID=<ssid> OK
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CWSSID?
+CWSSID: “SIM7600MIFI”
OK
OK
Read Command Response
AT+CWBCAST? +CWBCAST: <broadcast>
OK
Write Command Response
AT+CWBCAST=<broadcast OK
>
Defined Values
<broadcast> 0 disabled
1 enabled
Example
AT+CWBCAST?
+CWBCAST: 1
OK
AT+CWBCAST=0
OK
OK
Write Command Response
AT+CWAUTH=<auth>,<encr OK
ypt> [,<password>]
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
<auth> 0 open/share
1 open
2 share
3 wpa
4 wpa2
5 wpa/wpa2
<encrypt> 0 null
1 WEP
2 TKIP
3 AES
4 TKIP-AES
<password> password string, the length is 5 or betwwen 8 to 64. The char in the
password is only allow the ASCII ‘s decimal code betwwen 32 to 126.
NOTE
Example
AT+CWAUTH?
+CWAUTH: 0,1, "11111"
OK
AT+CWAUTH?
+CWAUTH: 5,4, "12345678"
OK
AT+CWAUTH=0,0
//Auth:open/share encrypt:null
OK
AT+CWAUTH=0,1,”11111”
//Auth:open/share encrypt:WEP
OK
AT+CWAUTH=2,1,”12345” //Auth:share encrypt:WEP
OK (ASCII character password:12345)
//Auth:share encrypt :WEP
AT+CWAUTH=2,1,”3132333435”
(sixteen hexadecimal number:password 12345)
OK
AT+CWAUTH=5,4,”abcd1234”
//Auth:WPA/WPA2 encrypt:TIKP-AES
OK
OK
Write Command Response
AT+CWMOCH=<mode>,<ch OK
annel>
Defined Values
Example
AT+CWMOCH?
+ CWMOCH: 4,0
OK
AT+CWMOCH=3,1
OK
OK
Read Command Response
AT+CWISO? +CWISO: <isolation>
OK
Write Command Response
AT+CWISO=<isolation> OK
Defined Values
<isolation> 0 close
1 open
Example
AT+CWISO?
+CWISO: 1
OK
AT+CWISO=0
OK
OK
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
<host_ip> the AP IP
<range_start_ip> the start IP of the IP range that assigned to the client
<range_end_ip> the end IP of the IP range that assigned to the client
<leasetime> the lease time
Example
AT+CWDHCP?
+CWDHCP: "192.168.1.250","192.168.1.128","192.168.1.249",240h
OK
OK
Read Command Response
AT+CWNAT? +CWNAT: <type>
OK
Defined Values
<type> 0 Symmetric
1 Cone
Example
AT+CWNAT?
+CWNAT: 1
OK
AT+CWNAT=0
OK
OK
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CWCLICNT?
+CWCLICNT: 1
OK
Example
AT+CWRSTD
OK
OK
Read Command Response
AT+CWMAPCFG? +CWMAPCFG: <enablessid2_value>,<configselect_value>
OK
Write Command Response
AT+CWMAPCFG=<option>, OK
<value>
Defined Values
<enablessid2_value> 0 AP mode
1 AP-AP mode
2 STA-AP mode
<configselect_value> Current AP ID (0 or 1 or 2)
NOTE
If (option=”enablessid2”)
0 AP mode
1 AP-AP mode
2 STA-AP mode
If (option=”configselect”)
Current AP ID (0 or 1 or 2) to be set.
When current AP ID is 0, the
AT+CWSSID/AT+CWBCAST/AT+CWAUTH/AT+CWMOCH/AT+CWISO/AT+CWDHCP/AT+CWCLICN
T/AT+CWMACADDR will modify the first AP’s settings;
When current AP ID is 1, the
AT+CWSSID/AT+CWBCAST/AT+CWAUTH/AT+CWMOCH/AT+CWISO/
AT+CWDHCP/AT+CWCLICNT/AT+CWMACADDR will modify the second AP’s settings;
When current AP ID is 2, the
AT+CWSSID/AT+CWBCAST/AT+CWAUTH/AT+CWMOCH/AT+CWISO/
AT+CWDHCP/AT+CWCLICNT/AT+CWMACADDR will modify the third AP’s settings, the
AT+CWSTAIP/AT+CWSTASCAN/AT+CWSTACFG will modify the STA’s settings.
NOTE
1. It can’t set the configselect value to 1 when enablessid2 is 0.
2. The configselect value will be changed due to enablessid2.
enablessid2 configselect
0 0
1 0 or 1
2 2
Example
AT+CWMAPCFG=?
+CWMAPCFG: ("enablessid2","configselect"),(0-2)
OK
AT+CWMAPCFG?
+CWMAPCFG: 0,0
OK
AT+CWMAPCFG=”enablessid2”,1 // Set enablessid2
OK
AT+CWMAPCFG=”configselect”,0 // Set configselect
OK
OK
Write Command Response
AT+CWLANSRV=<value> OK
Write Command Response
AT+CWLANSRV=0,<server_ OK
port>[,<recv_mode>]
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CWLANSRV?
+CWLANSRV: 192.168.225.1,5555,0
OK
AT+CWLANSRV=1
OK
+CWLANMSG: 123456789
AT+CWLANSRV=0,44444,1
OK
AT+CWLANSRV?
+CWLANSRV: 192.168.225.1,44444,1
OK
AT+CWLANSRV=1
OK
+CWLANMSG: 10
+CWLANMSG: 20
+CWLANMSG: 30
+CWLANMSG: 40
+CWLANMSG: 50
AT+CWLANMGET=30
+CWLANMGET: 030,123456789012345678901234567890
OK
AT+CWLANMGET=30
+CWLANMGET: 020,12345678901234567890
OK
Defined Values
Example
AT+CWLANSRV=1
OK
AT+CWLANMSG=”31323434”
OK
+CWLANMSG: 1234\r\n\r\r\n
OK
Write Command Response
AT+CWLANMGET=<len> +CWLANMGET: <len>
<msg>
OK
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CWLANSRV=1
OK
+CWLANMSG: 110
AT+CWLANMGET=100
+CWLANMGET: 100
123456789012345678901234567890123456789012345678901234567890123456789012345678901
2345678901234567890
OK
AT+CWLANMGET?
+CWLANMGET: 10
OK
OK
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
Example
AT+CWMACADDR?
0,00:0A:F5:88:88:8F
1,74:23:44:8f:64:fd
OK
OK
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
<flag> 0 disconnect
1 connect
Example
AT+CWNETCNCT?
+CWNETCNCT: 1
OK
OK
Parameter Saving Mode -
Defined Values
Example
AT+CWSTAIP?
+CWSTAIP: 192.168.11.27
OK
OK
Write Command Response
AT+CWSTASCAN=<flag_sh OK
ow_signal >
Read Command Response
AT+CWSTASCAN [+CWSTASCAN:
<bssid>,<ssid>[,signal]
[… …]]
OK
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
<flag_show_signal> 0 – Don’t show the signal level. It’s the default value.
1 – Show the signal level.
<bssid> The MAC address of external wireless network.
<ssid> The SSID name of external wireless network.
<signal> The signal level of external wireless network.
Example
AT+CWSTASCAN
+CWSTASCAN:
4c:e6:76:49:2a:48, simtest
OK
AT+CWSTASCAN=1
OK
AT+CWSTASCAN?
+CWSTASCAN: 1
OK
AT+CWSTASCAN
+CWSTASCAN:
f4:83:cd:d8:24:c8,TP-LINK_24C8,-52
80:89:17:10:e6:23,TP-LINK_SW2,-58
14:2d:27:24:98:61,Public,-58
bc:46:99:38:e2:ca,TP-LINK_E2CA,-64
0c:72:d9:49:25:8b,nubia-WD670-258B,-92
50:2b:73:c0:aa:d9,Tenda_C0AAD9,-68
OK
OK
Write Command Response
AT+CWSTACFG=<ssid>[,<s OK
ecurity>,<proto>,<psk>]
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
NOTE
1. The configselect value must set to 2;
2. The <security> and <proto> are reserved value which is in ort to compatible with previous versions.
These 2 parameters can be entered NULL or any combination.
Example
AT+CWSTACFG= "simtest",2,1,"1234567890"
OK
AT+CWSTACFG?
+CWSTACFG: "simtest",,,"1234567890"
OK
AT+CWSTACFG= "simtest",,,"1234567890"
OK
AT+CWSTACFG?
+CWSTACFG: "simtest",,,"1234567890"
OK
AT+CWSTACFG= "simtest",,,""
OK
AT+CWSTACFG?
+CWSTACFG: "simtest"
OK
AT+CWSTACFG= "simtest"
OK
AT+CWSTACFG?
+CWSTACFG: "simtest"
OK
OK
Read Command Response
AT+CWSTAINIT? +CWSTAINIT: <type>
OK
Write Command Response
AT+CWSTAINIT=<type> OK
Defined Values
Example
AT+CWSTAINIT=?
+CWSTAINIT: (0-1)
OK
AT+CWSTAINIT=0
OK
AT+CWSTAINIT?
+CWSTAINIT: 0
OK
The username and password are only for CDMA/EVDO network mode.
OK
Read Command Response
AT+CWUSRINFO? +CWUSRINFO: <usrname>,<password>
OK
Write Command Response
AT+CWUSRINFO=<usrname OK
>,<password>
Parameter Saving Mode -
Maximum Response Time -
Reference
Defined Values
NOTE
1. It need to reset when set the username and password.
2. If not set the username and password, the default value is "ctnet@mycdma.cn" and "vnet.mobi".
Example
AT+CWUSRINFO=?
+CWUSRINFO: (1-127),(1-127)
OK
AT+CWUSRINFO?
+CWUSRINFO: "ctnet@mycdma.cn","vnet.mobi"
OK
AT+CWUSRINFO=”username”,"pwd"
OK
Command Description
AT+BTPOWER Open/Close BT
AT+BTHOST Get/Set host name
AT+BTSCAN Scan BT devices
AT+BTIOCAP IOCAP Mode Setting
AT+BTPAIR Pair with the paired BT devices
AT+BTUNPAIR Unpair with the paired BT devices
AT+BTPAIRED Get Paired BT devices
AT+BTSPPSRV Active/Deactive spp server
AT+BTSPPPROF Get remote device spp status
AT+BTSPPCONN SPP connect/disconnect
AT+BTSPPSEND SPP send data
AT+BTGATTREG GATT Register
AT+BTGATTACT GATT Active
AT+BTGATTCREDB GATT Create DB
AT+BTGATTCRESRV GATT Create Service
AT+BTGATTCRECHAR Create Service characteristic
AT+BTGATTCRECHARDES Create Service characteristic description
AT+BTGATTSRVADD DB Add To GATT Server
AT+BTGATTREADCFM Response to BTGATTREADIND
AT+BTGATTWRCFM Response to BVTGATTWRIND
AT+BTGATTNOTIFY Send Notification to client
AT+BTGATTSENDIND Send Indication to client
+BTSPPRECV SPP receive data
+BTGATTCONN Client connect status
+BTGATTREADIND Receive client read request
+BTGATTWRIND Receive client write request
Command Description
AT+BTPOWER Open/Close BT
AT+BTHOST Get/Set host name
AT+BTSCAN Scan BT devices
AT+BTIOCAP IOCAP Mode Setting
AT+BTPAIR Pair with the paired BT devices
AT+BTUNPAIR Unpair with the paired BT devices
AT+BTPAIRED Get Paired BT devices
AT+BTSPPSRV Active/Deactive spp server
AT+BTSPPPROF Get remote device spp status
AT+BTSPPCONN SPP connect/disconnect
AT+BTSPPSEND SPP send data
AT+BTGATTREG GATT Register
AT+BTGATTACT GATT Active
AT+BTGATTCREDB GATT Create DB
AT+BTGATTCRESRV GATT Create Service
AT+BTGATTCRECHAR Create Service characteristic
AT+BTGATTCRECHARDES Create Service characteristic description
AT+BTGATTSRVADD DB Add To GATT Server
AT+BTGATTREADCFM Response to BTGATTREADIND
AT+BTGATTWRCFM Response to BVTGATTWRIND
AT+BTGATTNOTIFY Send Notification to client
AT+BTGATTSENDIND Send Indication to client
+BTSPPRECV SPP receive data
+BTGATTCONN Client connect status
+BTGATTREADIND Receive client read request
+BTGATTWRIND Receive client write request
AT+BTPOWER Open/Close BT
Test Command Response
AT+BTPOWER=? +BTPOWER: (0-1)
OK
Read Command +BTPOWER: <flag>
AT+BTPOWER?
OK
Write Command Response
AT+BTPOWER=<flag>[,<de OK
bug_switch>] or
ERROR
Defined Values
Example
AT+BTPOWER?
+BTPOWER: 1
OK
AT+BTPOWER=0
OK
AT+BTPOWER=1,1
OK
NOTE
When <flag> set to 0, <debug_switch> can not be set.
OK
Write Command Response
AT+BTHOST=<”btname”> OK
or
ERROR
Defined Values
Example
AT+BTHOST?
+BTHOST: SIM7600_BT_AC8DD9, 00:02:5B:AC:8D:D9
OK
AT+BTHOST =”abc”
OK
OK
Write Command Response
AT+BTSCAN=<”doscan”>[,<mo OK
de>[,<timeout>]] +BTSCAN: <scan status>, <index1>, <BT name>, <Mac
Addr>, <RSSI level>
+BTSCAN: <scan status>, <index2>, <BT name>, <Mac
Addr>, <RSSI level>
[...]]
+BTSCAN: 1 //scan end flag
or
ERROR
Defined Values
Example
AT+BTSCAN=1,0,10
OK
+BTSCAN: 0, 1, MKRJ2B-GONGYONG, B8:86:87:43:4B:6A, 186
+BTSCAN: 0, 2, MK-JUMPING, 00:19:86:00:08:60, 184
+BTSCAN: 0, 3, OPPO A57, 4C:18:9A:89:88:7E, 174
+BTSCAN: 0, 4, ww炸, C4:0B:CB:3E:68:62, 173
+BTSCAN: 0, 5, ofo, F7:51:3B:1F:AF:B5, 165
+BTSCAN: 1
AT+BTSCAN=0,0,10
OK
OK
Write Command Response
AT+BTIOCAP=<mode> +BTIOCAP: 1
OK
or
ERROR
Defined Values
Example
AT+BTIOCAP=3
+BTIOCAP: 1
OK
OK
Pair Command Response
AT+BTPAIR=0,<scan index> OK
+BTPAIRING: <mode>, <device name>,<device
mac>,[<passkey>]
or
ERROR
Accept Command Response
AT+BTPAIR=<mode>,<acce OK
pt>[,<pakey>] +BTPAIR: <pair result>[,<device name>,<device mac>]
or
ERROR
Defined Values
1:success
<accept> 0:reject
1:accept
Example
AT+BTSCAN=1,0,10
+BTSCAN: 0, 1, OPPO R7Plusm, 2C:5B:B8:1A:33:3C, 189
+BTSCAN: 0, 2, MK-JUMPING, 00:19:86:00:08:60, 183
+BTSCAN: 0, 3, MI Band 2, C8:EB:37:B3:56:57, 179
+BTSCAN: 0, 4, BU3-ZHANGWEI, 00:1A:7D:DA:71:11, 178
+BTSCAN: 0, 5, ww, C4:0B:CB:3E:68:62, 174
+BTSCAN:1
OK
AT+BTPAIR=0,5
OK
+BTPAIRING: 1, ww, C4:0B:CB:3E:68:62, 623850
AT+BTPAIR=1,1
OK
+BTPAIR: 1, ww, C4:0B:CB:3E:68:62
NOTE
The time out of pairing is about 30 seconds
Whether the pairing is initiative or passive, "AT+BTPAIR" Accept command must be execute after
"+BTPAIRING: <mode>, <device name>, <device mac>, [<passkey>]" urc was reported.
OK
Write Command Response
AT+BTUNPAIR=<paired OK
index> +BTUNPAIR: <status>
or
ERROR
Defined Values
Example
AT+BTUNPAIR=1
+BTUNPAIR: 1
OK
Defined Values
Example
AT+BTPAIRED?
OK
+BTPAIRED: 2, 1, Honor V8, 60:83:34:82:CC:A3
+BTPAIRED: 2, 2, ww C4:0B:CB:3E:68:62
OK
Read Command Response
AT+BTSPPSRV? +BTSPPSRV: <status>
OK
Write Command Response
AT+BTSPPSRV=<flag> OK
+BTSPPSRV: <status>
or
ERROR
Defined Values
<flag> 0:deactive
1:active
<status> 0:deactived
1:actived
Example
AT+BTSPPSRV?
+BTSERVER: 0
OK
AT+BTSPPSRV=1
OK
+BTSPPSRV: 1
OK
or
ERROR
Defined Values
Example
AT+BTPAIRED?
OK
+BTPAIRED: 2, 1, Honor V8, 60:83:34:82:CC:A3
+BTPAIRED: 2, 2, ww C4:0B:CB:3E:68:62
AT+BTSPPPROF=2
OK
+BTSPPPROF:1
OK
Read Command Response
AT+BTSPPCONN? +BTSPPCONN: <status>
OK
Write Command Response
AT+BTSPPCONN=<action>[ OK
,<paired index>] +BTSPPCONN: <status>[,<max frame size>][,<device mac>]
or
ERROR
Defined Values
<action> 0:disconect
1:connect
<paired index> The response of AT+BTPAIRED. The max value is 64.
<status> 0:disconnected
1:connected
Example
AT+BTSPPCONN?
+BTSPPCONN: 0
OK
AT+BTSPPCONN=1,1
OK
+BTSPPCONN: 1, 990, C4:07:2F:C5:D1:8A
NOTE
The device may receive +BTSPPCONN:<status>[,<max frame size>] [,<device mac>] when
other device connected successfully.
or
ERROR
Defined Values
Example
AT+BTSPPSEND=003100320033006100620063
OK
AT+BTSPPSEND: 1
OK
or
ERROR
Defined Values
<status> 1: register
0: unregister
Example
AT+BTGATTREG=1
+BTGATTREG: 1
OK
OK
or
ERROR
Write Command Response
AT+BTGATTACT=<auto_bro OK
adcast>[,<perferedMTU>] or
ERROR
Defined Values
<status> 1:active
0:not avtive
<auto_brodcast> 0 - disable auto activate GATT after a connection was closed
1 - enable auto activate GATT after a connection was closed
<perferedMTU> A integer value from 24 to 512, means to the maximum size of any
packet sent between a client and a server. If not set, default packet
size is 23bytes. The details refer to Note.
Example
AT+BTGATTACT
+BTGATTACT: 1
OK
OK
or
ERROR
Defined Values
<status> 1:sucess
0:fail
Example
AT+BTGATTCREDB
+BTGATTCREDB: 1
OK
Defined Values
Example
AT+BTGATTCRESRV=34A3
+BTGATTCRESRV: 1
OK
Defined Values
<uuid> UUID of this characteristic. A string with hex value. The length of it
only can be set 4 or 32.
<property> Properties of this characteristic.
<permission> Permission of this characteristic.
<status> 1:sucess
0:fail
<handle> Int, Characteristic handle
Example
AT+BTGATTCRECHAR=34567,2,16
+BTGATTCRECHAR: 1,0X4567,13
OK
OK
or
ERROR
Defined Values
<status> 1:sucess
0:fail
Example
AT+BTGATTCRECHARDES
+BTGATTCRECHARDES: 1
OK
OK
or
ERROR
Defined Values
<status> 1:sucess
0:fail
Example
AT+BTGATTSRVADD
+BTGATTSRVADD: 1
OK
Defined Values
Example
+BTGATTREADIND: 13,22
AT+BTGATTREADCFM=0,123456
+BTGATTREADCFM:1
OK
Defined Values
<result> 0: sucess
<status> 1: sucess
Example
+BTGATTWRIND: 15,DB12C8
AT+BTGATTWRCFM=0
+BTGATTWRCFM: 1
OK
Defined Values
Example
AT+BTGATTNOTIFY=17,34567
+BTGATTNOTIFY:1
OK
Defined Values
Example
AT+BTGATTSENDIND=19,34567
+BTGATTSENDIND: 1
OK
Defined Values
Example
+BTSPPRECV=12, 003100320033006100620063
+BTGATTSENDIND: 1
Defined Values
<status> 1:connected
0:disconnected
Example
+BTGATTCONN: 1, 68:68:79:6D:75:26
Defined Values
Example
+BTGATTREADIND: 13,22
Defined Values
Example
+BTGATTWRIND: 15,DB12C8