GOSUNCN ME3630 Series User manual

AT Command Reference Guide
Version: V2.7
Date: 2022-12-13
LTE Module Series
ME3630
Website: www.gosuncnwelink.com
E-mail: welink@gosuncn.com

All Rights reserved, No Spreading without GOSUNCN Permission I
AT Command Reference Guide
ME3630
About This Document
A. Application Range
R&D personnel using LTE modules to make the second development
B. Reading Note
The symbols below are the reading notes you should pay attention on:
: Warning or Attention
: Note or Remark
Application Product
PRODUCT
ME3630-U
ME3630-E
ME3630-J
ME3630-A
GM500
NOTE:
1. The command set will be updated from time to time. If the module in your hand does not support some commands, you can
try to upgrade the module to the latest national network version.
2. You can confirm the latest instruction set version by looking for the "GOSUNCN_xxxx_xxxx_Fimrware_Release_Notes" released
together with the module software version.
3. Not all modules support the * standard instructions. For the actual supported version number, please refer to
"GOSUNCN_xxxx_xxxx_Fimrware_Release_Notes"

All Rights reserved, No Spreading without GOSUNCN Permission II
AT Command Reference Guide
ME3630
Revision History
Version Date Type of Revision
V1.0 2016-12-26 First version
V1.1 2013-04-24 Add command of GPS in chapter 11
Add commands AT+ZSPWAKEUP,AT+ZWAKEUPNUM,AT+ZWAKEUPSMS , AT+ZBAND ,AT+ZGNMEA
in chapter 14.
Update command of +ZCELLINFO,+ZADSET,+ZPAS, ZGRST,+ZCDS
1.2 2017-06-15 Update command of +ZCELLINOF, +ZIPCLOSE, +CEREG,+ZADSET
1.3 2017-06-29 Add command of +ZIPCREATE
1.4 2017-08-19 Update the doc
1.5 2017-11-16 Update command for GPIO function +ZCDS,+ZBAND,+ZIPOPEN,+ZIPLISTEN,+CFUN,+CNMA,
+CNMI,+CCLK,&F
Add commands of +ZARFCN, +ZSRSP,+ZRSP,+ZSNTE,+CMUX, +ZIPCONTEXT, $QCPDPP,+CGEQOSRDP,
+CGEQOS, Add commands of FTP&HTTP
1.6 2017-11-07 Update +ZGPIO ,+CLCK , +CFUN,+CPWD,+CNUM,+COPS,+ZBAND,+CMGC,+BAND command
Delete command of +CNMA
1.7 2018-03-15
Update command +ZSWICH,+ZDNSGETIP,+ZIPCONTEXT,+CSMP,+CEREG,+ZSRSP,+CMGC, +CPMS,
+ZGPIO, GPS relative commands
Add command of +ZMONI, +ZCLRACQ, Add chapter of 2.2 Setting Commands Saving
Delete phonebook commands
1.8 2018-04-29 Update the format of document
1.9 2018-05-15 Update +ZIPCREATE, +ZDST, +ZGPSR ,+ZNVWRITE, +ZNVREAD, +ZBAND commands
Add +ZECMCALL ,ZADB command
Update the notes of +ZGRST and +ZGPSR commands
V2.0 2018-07-12 Update ATI ,+ZGFIXRATE commands
Add +ZGPORT, +ZLOCKCELL command
Delete +CGEQOSRDP command
V2.1 2018-08-13 Update +ZCELLLOCK, +ZFTPPUT command
Add +ZHTTPSGET, +ZHTTPSPOST commands
V2.2 2018-08-22 Upgrade +CFUN parameter explain, Update response format of +ZECMCALL
Delete default value of +CREG and +CEREG
V2.3 2019-06-26 Add FTPs, MQTT, FILE,SSL related commands, +ZGXTRA,+HTTPSAVE,+ZIPUNACK,+ZIPALIVE,
+ZPOWESAVE,+ZMQCFG,+ZCPWR,+ZHTTPCFG,+BANDEX,+ZGNMEAREQ,+ZSRVRSP
Update commands +CSQ,+CMUX,MQTT, +ZMQCFG,+ZMQCON,+ZIPOPEN,+ZCDS
Delete +ZGPSEVENT,+ZCOMDEL

All Rights reserved, No Spreading without GOSUNCN Permission III
AT Command Reference Guide
ME3630
V2.4 2020-05-15 Add command of ZAUTOSLEEP,+CCED,+ZRSPEXT, $ZFTPTO
Add command of +ZMODESET, +ZRTRFST, +ZGSWCHECK,+ZDATAROAM
Update file relative commands
Update +ZGPSAPN,+ZRTRFST, +ZMQNEW
V2.5 2020-07-03 Add command of ZIPSERPORT
Update +zgpsr, +CNMI
2020-08-19 Add MQTT related error code, +ZSETDIV
Update +ZHTTPPOST
2021-01-21 Update +ZWAKEUPSMS
2021-09-26 Update +ZRSPEXT
V2.6 2022-02-08 Add commands of FTP FOTA
Delete &C,&D,&S
V2.7 2022-08-18 Update FOTA

All Rights reserved, No Spreading without GOSUNCN Permission IV
AT Command Reference Guide
ME3630
Safety Information
The following safety precautions must be observed during all phases of the operation, such as usage, service or repair of any cellular
terminal or mobile incorporating ME3630 module. Manufacturers of the cellular terminal should send the following safety information
to users and operating personnel and to incorporate these guidelines into all manuals supplied with the product. If not so, GOSUNCN
does not take on any liability for customer failure to comply with these precautions.
Full attention must be given to driving at all times in order to reduce the risk of an accident. Using a
mobile while driving (even with a hands free kit) cause distraction and can lead to an accident. You
must comply with laws and regulations restricting the use of wireless devices while driving.
Switch off the cellular terminal or mobile before boarding an aircraft. Make sure it switched off. The
operation of wireless appliances in an aircraft is forbidden to prevent interference with
communication systems. Consult the airline staff about the use of wireless devices on boarding the
aircraft, if your device offers a Airplane Mode which must be enabled prior to boarding an aircraft.
Switch off your wireless device when in hospitals or clinics or other health care facilities. These
requests are designed to prevent possible interference with sensitive medical equipment.
GSM cellular terminals or mobiles operate over radio frequency signal and cellular network and
cannot be guaranteed to connect in all conditions, for example no mobile fee or an
invalid SIM card.
While you are in this condition and need emergent help, please remember using emergency call. In
order to make or receive call, the cellular terminal or mobile must be switched on and in a service area
with adequate cellular signal strength.
Your cellular terminal or mobile contains a transmitter and receiver. When it is on, it receives and
transmits radio frequency energy. RF interference can occur if it is used close to TV set, radio,
computer or other electric equipment.
In locations with potentially explosive atmospheres, obey all posted signs to turn off wireless devices
such as your phone or other cellular terminals. Areas with potentially explosive atmospheres including
fuelling areas, below decks on boats, fuel or chemical transfer or storage facilities, areas where the air
contains chemicals or particles such as grain, dust or metal powders.

All Rights reserved, No Spreading without GOSUNCN Permission V
AT Command Reference Guide
ME3630
Contents
About This Document .........................................................................................................I
Application Product ............................................................................................................I
Revision History ............................................................................................................... II
Safety Information ...........................................................................................................IV
Contents ................................................................................................................... V
1. Introduction ................................................................................................................ 12
1.1. Scope ............................................................................................................................... 12
1.2. Audience .............................................................................................................................. 12
1.3. Document Organization .......................................................................................................... 12
2. Introduction to AT Commands ..................................................................................... 13
2.1. AT Command Syntax ............................................................................................................. 13
2.1.1. String Type Parameters........................................................................................... 13
2.1.2. Command Lines ..................................................................................................... 13
2.1.3. Information Responses and Result Codes .................................................................. 14
2.1.4. Command Response Time-Out................................................................................. 14
2.1.5. Command Issuing Timing ........................................................................................ 15
2.2. Setting Commands Saving ...................................................................................................... 15
2.3. AT Commands References ...................................................................................................... 16
3. Identification Commands............................................................................................. 18
3.1. I Request identification information.......................................................................................... 18
3.2. +GMI Request manufacturer identification ................................................................................ 18
3.3. +CGMI Request manufacturer identification .............................................................................. 18
3.4. +GMM Request model identification ......................................................................................... 19
3.5. +CGMM Request model identification ....................................................................................... 19
3.6. +GMR Request revision identification ....................................................................................... 19
3.7. +CGMR Request revision identification ..................................................................................... 20
3.8. +GSN Request IMEI ............................................................................................................... 20
3.9. +CGSN Request IMEI ............................................................................................................. 21
3.10. +CIMI Request international mobile subscriber identity ............................................................ 21
3.11. +ZGETICCID Get the ICCID of (U)SIM.................................................................................... 21
3.12. +ZPCB Check PCB Version .................................................................................................... 22

All Rights reserved, No Spreading without GOSUNCN Permission VI
AT Command Reference Guide
ME3630
4. General Commands ..................................................................................................... 23
4.1. S5 Command Line Editing Character ........................................................................................ 23
4.2. &F Set to Factory-defined Configuration ................................................................................... 23
4.3. &V Display Current Configuration............................................................................................. 24
4.4. &W Store AT command Setting to User Defined Profile............................................................... 24
4.5. Z Reset to default configuration............................................................................................... 24
4.6. O Return to Online Data State ................................................................................................. 25
4.7. Q Result Code Suppression ..................................................................................................... 25
4.8. E Command Echo .................................................................................................................. 26
4.9. ATV DCE Response Format ..................................................................................................... 26
4.10. +CFUN Set Phone Functionality ............................................................................................. 26
4.11. +CSCS Select TE Character Set ............................................................................................. 27
4.12. +CMEE Report Mobile Termination Error ................................................................................. 28
4.13. +CME ERROR ME Error Result Code ....................................................................................... 29
5. Serial Interface Control Commands ............................................................................. 32
5.1. +IFC DTE-DCE Local Flow Control(not support yet) ................................................................... 32
5.2. +IPR Fixed DTE Rate ............................................................................................................. 32
5.3. +ZUFLOW 4-wires UART flow control command ........................................................................ 33
5.4. +CMUX Enable CMUX(Multiplexing mode)................................................................................. 33
5.5. +ZCOMWRT write upgrade file command ................................................................................. 35
5.6. +ZCOMUPDATE Serial port start command ............................................................................... 35
6. SIM Related Commands............................................................................................... 37
6.1. +CLCK Facility Lock ............................................................................................................... 37
6.2. +CPWD Change Password ...................................................................................................... 38
6.3. +CPIN Enter PIN ................................................................................................................... 39
6.4. +CRSM Restricted SIM Access ................................................................................................. 40
6.5. +CNUM Subscriber Number .................................................................................................... 40
6.6. +ZPINPUK Check PIN and PUK retry times ............................................................................... 41
7. SMS Commands........................................................................................................... 42
7.1. +CSMS Select Message Service ............................................................................................... 42
7.2. +CMGF Message Format......................................................................................................... 43
7.3. +CSCA Service Centre Address................................................................................................ 44
7.4. +CSMP Set Text Mode Parameters........................................................................................... 44
7.5. +CSCB Select Cell Broadcast Message Types (Not support yet) ................................................... 45
7.6. +CSAS Save Settings ............................................................................................................. 46
7.7. +CRES Restore Settings ......................................................................................................... 46
7.8. +CNMI New Message Indications to TE .................................................................................... 47
7.9. +CMGL List Messages............................................................................................................. 48
7.10. +CMGR Read Message.......................................................................................................... 50
7.11. +CMGS Send Message.......................................................................................................... 51

All Rights reserved, No Spreading without GOSUNCN Permission VII
AT Command Reference Guide
ME3630
7.12. +CMSS Send Message from Storage....................................................................................... 52
7.13. +CMGW Write Message to Memory ........................................................................................ 53
7.14. +CMGD Delete Message........................................................................................................ 54
7.15. +CMGC Send Command ....................................................................................................... 54
7.16. +CMMS More Messages to Send ............................................................................................ 55
7.17. +CPMS Preferred Message Storage ........................................................................................ 56
7.18. +CMTI New Message Indications ........................................................................................... 57
7.19. +ZSPWAKEUP Enable/disable specified SMS remote wakeup function ........................................ 57
7.20. +ZWAKEUPSMS Set the specified SMS content used for remote wakeup..................................... 58
7.21. +CMS ERROR Message Service Failure Result Code.................................................................. 59
8. Network Service Commands ........................................................................................ 60
8.1. +CREG Network registration ................................................................................................... 60
8.2. +CEREG Network registration ................................................................................................. 61
8.3. +COPS Operator selection ...................................................................................................... 62
8.4. +CSQ Signal quality ............................................................................................................... 63
8.5. +CPOL Preferred operator list ................................................................................................. 65
8.6. +COPN Read operator names.................................................................................................. 67
8.7. +CTZU Automatic Time Zone Update....................................................................................... 68
8.8. +CTZR Time Zone Reporting................................................................................................... 68
8.9. +ZCELLINFO Request the information about serving cell ............................................................ 69
8.10. +ZLOCKCELL lock cell command............................................................................................ 70
8.11. +ZSNT Configuration of Network Selection Mode ..................................................................... 72
8.12. +ZSNTE Network Selection according to 2G/3G/4G.................................................................. 73
8.13. +ZPAS Check Module Status ................................................................................................. 74
8.14. ^SYSINFO Request System INFO........................................................................................... 74
8.15. +ZBAND Band lock .............................................................................................................. 76
8.16. +ZBANDEX Band lock........................................................................................................... 78
8.17. +ZARFCN Return current ARFCN ........................................................................................... 81
8.18. +ZCDS Query Serving Cell Information................................................................................... 81
8.19. +ZSRSP Query RSRP,RSRQ,SINR of the main cell .................................................................... 83
8.20. +ZRSP Query RSRP,RSRQ,SINR of LTE neighbor cell ................................................................ 83
8.21. +ZSRVRSP LTE Server cell query ........................................................................................... 84
8.22. +CGEQOS Define EPS quality of service .................................................................................. 84
8.23. +ZMONI Get the information of main& neighbor cells* ............................................................. 86
9. Packet Domain Commands .......................................................................................... 90
9.1. +CGDCONT Define PDP Context .............................................................................................. 90
9.2. +CGATT PS attach or detach................................................................................................... 91
9.3. +CGACT PDP context activate or deactivate .............................................................................. 91
9.4. +CGPADDR Show PDP address................................................................................................ 92
9.5. +CGEREP Packet Domain event reporting ................................................................................. 93
9.6. +CGSMS Select service for MO SMS messages .......................................................................... 94
9.7. +ZSDHCPLEASE Set DHCP LEASE TIME*.................................................................................. 95

All Rights reserved, No Spreading without GOSUNCN Permission VIII
AT Command Reference Guide
ME3630
10. Data Connection Relative Commands ......................................................................... 96
10.1. Recommended Data Connection Commands ........................................................................... 96
10.1.1. +ZDATACFG Define PDP call parameters ................................................................. 96
10.1.2. +ZDATAACT Start Data Connection ........................................................................ 96
10.1.3. +ZDATADEACT Start Data Disconnection ................................................................ 97
10.2. ECM Call Commands ............................................................................................................ 98
10.2.1. +ZECMCALL Make ECM data call............................................................................. 98
10.2.2. +ZECMCALL active report the state of auto-dial ....................................................... 99
10.2.3. +ZNVWRITE Enable auto-dial function .................................................................... 99
10.2.4. +ZNVREAD Query the state of auto-dial function.................................................... 100
10.3. Reserved Data Connection Commands ..................................................................................101
10.3.1. +ZIPCFG Set and Query the params of PS Call ....................................................... 101
10.3.2. $QCPDPP Set PDP Authentication parameters ........................................................ 101
10.3.3. +ZIPCALL Start or End PS Call ............................................................................. 102
10.3.4. $ZPDPACT Activate/Deactivate PDP connection ...................................................... 103
11. GPS Relative Commands* ........................................................................................ 105
11.1. +ZGINIT Initialization Location command ..............................................................................105
11.2. +ZGMODE Set location mode ...............................................................................................105
11.3. +ZGFIXRATE Set location mode choice when reset GPS ..........................................................105
11.4. +ZGQOS Set QOS for location ..............................................................................................106
11.5. +ZGURL Set URL of SUPL server...........................................................................................107
11.6. +ZGRUN Location mode choice ............................................................................................107
11.7. +ZGPSERROR Report error code...........................................................................................108
11.8. +ZGRST Reset GPS .............................................................................................................109
11.9. +ZGPSAPN Set AGPS APN....................................................................................................109
11.10. +ZGPORT Set GPS information report port. ..........................................................................110
11.11. +ZGMEASURE Report satellites measurements .....................................................................111
11.12. +ZGPSR Report Location Data ............................................................................................112
11.13. +ZGPSR Enable/Disable +ZGPSR report...............................................................................113
11.14. +ZGXTRA Set XTRA positioning mode .................................................................................113
11.15. +ZGNMEA Set the reported NMEA format of GPS data...........................................................115
11.15.1. Syntax of NMEA................................................................................................ 118
11.15.2. Standard NMEA output sentence......................................................................... 119
11.15.3. GGA sentence................................................................................................... 119
11.15.4. GSA sentence ................................................................................................... 120
11.15.5. GSV sentence ................................................................................................... 121
11.15.6. RMC sentence .................................................................................................. 122
11.15.7. VTG sentence ................................................................................................... 122
11.16. +ZGNMEAREQ Query Specified NMEA message ....................................................................123
11.17. GPS Example ....................................................................................................................124

All Rights reserved, No Spreading without GOSUNCN Permission IX
AT Command Reference Guide
ME3630
12. Hardware Relative Commands ................................................................................. 126
12.1. +CCLK Clock Management ...................................................................................................126
12.2. +ZTURNOFF Turn Off the Modem .........................................................................................126
12.3. +ZRST RESET the Module ....................................................................................................126
12.4. +ZGPIO GPIO Pins Set command..........................................................................................127
12.5. +ZADCx Read pin ADCx value ..............................................................................................129
12.6. +ZSWITCH Switch the port of module in different operation systems........................................129
12.7. +ZADB Open/close ADB port................................................................................................130
12.8. +ZADSET Port Switch between RNDIS/NDIS in Windows System .............................................131
12.9. +ZSDT Enable SIM card hot-plug function .............................................................................132
12.10. +ZCHIPTEMP Get the temperature of pmic, xo, pa................................................................133
12.11. +ZAUTOSLEEP Enable/Disable auto sleep function ................................................................134
12.12. +ZPOWERSAVE Module enter sleep mode* ..........................................................................135
12.13. +ZSETDIV Set WCDMA<E MAIN&DIVERSITY antenna state*..............................................135
13. TCP/IP Relative Commands ..................................................................................... 137
13.1. +ZIPCONTEXT Switch PDP context .......................................................................................137
13.2. +ZIPOPEN Establish TCP/UDP Connection..............................................................................137
13.3. +ZIPCLOSE Close TCP/UDP Connection .................................................................................139
13.4. +ZIPSEND TCP/UDP Send Data in ASCII format .....................................................................140
13.5. +ZIPRECV TCP/UDP Data Receive.........................................................................................140
13.6. +ZIPSTAT Query Socket State..............................................................................................141
13.7. +ZIPSLCFG Set Parameters of TCP/UDP Server ......................................................................141
13.8. +ZIPLISTEN Open/Close TCP/UDP Server ..............................................................................142
13.9. +ZIPFRWL Set TCP/UDP Internal Firewall ..............................................................................143
13.10. +ZIPSETRPT set the format of received data ........................................................................144
13.11. +ZIPSENDRAW send raw data............................................................................................145
13.12. +ZIPCREATE Data transparent transfer ...............................................................................145
13.13. +ZDNSGETIP domain name resolution.................................................................................146
13.14. +ZIPALIVE KeepAlive function setting instruction..................................................................147
13.15. +ZIPUNACK Get length of data not been confirmed by the peer .............................................148
13.1. +ZIPSERPORT Set TCP server’s port .....................................................................................148
13.2. TCP Example ......................................................................................................................149
14. FTP Relative Commands .......................................................................................... 151
14.1. $ZFTPCFG FTP Parameters Configuration...............................................................................151
14.2. $ZFTPTO FTP Timeout configure...........................................................................................151
14.3. $ZFTPSIZE Get the Size of FTP File .......................................................................................152
14.4. $ZFTPGET File Download .....................................................................................................153
14.5. $ZFTPPUT File Upload .........................................................................................................153
14.6. $ZFTPSSIZE Get the Size of FTPs File ....................................................................................154
14.7. $ZFTPSGET Send GET request to FTPs server and Download File..............................................155
14.8. $ZFTPSPUT Send PUT request to FTPs server and Upload File ..................................................155

All Rights reserved, No Spreading without GOSUNCN Permission X
AT Command Reference Guide
ME3630
14.9. $ZFTPCLOSE Close FTP Service ............................................................................................156
14.10. FTP Example ....................................................................................................................156
14.11. FTPs Example ...................................................................................................................157
15. HTTP/HTTPs Relative Commands............................................................................. 159
15.1. +ZHTTPCFG Configuring HTTP properties ..............................................................................159
15.2. +ZHTTPURL Set URL of HTTP server.....................................................................................160
15.3. +ZHTTPGET Send GET Request to HTTP Server .....................................................................160
15.4. +ZHTTPPOST Send POST Request to HTTP Server..................................................................161
15.5. +ZHTTPSGET Send GET request to HTTPS server ...................................................................163
15.6. +ZHTTPSPOST send POST request to HTTPS server................................................................164
15.7. +ZHTTPSAVE save file get from HTTP/HTTPS ........................................................................165
15.8. HTTP/HTTPS Example .........................................................................................................166
16. SSL related AT command ......................................................................................... 168
16.1. +ZSSLCFG Configuring SSL context parameters .....................................................................168
16.2. +ZSSLOPEN Open a SSL Socket to Connect Remote Server .....................................................170
16.3. +ZSSLCLOSE Close SSL Connection ......................................................................................171
16.4. +ZSSLSEND Send data(ASCII)via SSL Connection ..................................................................172
16.5. +ZSSLRECV Receive Data via SSL Connection ........................................................................172
16.6. +ZSSLSTAT Query the State of SSL Connection......................................................................173
16.7. +ZSSLSETRPT Set the display format of the received data.......................................................173
16.8. +ZSSLSENDRAW Send raw data via SSL Connection...............................................................174
16.9. SSL Example ......................................................................................................................174
17. MQTT Related AT Command..................................................................................... 176
17.1. +ZMQNEW Create a new MQTT connection............................................................................176
17.2. +ZMQCON Configure CONNECT parameter & send link message to MQTT server........................176
17.3. +ZMQCFG Configure Parameters of MQTT .............................................................................177
17.4. +ZMQDISCON Disconnect from the MQTT server....................................................................178
17.5. +ZMQDISCON Active report MQTT disconnected indication ......................................................179
17.6. +ZMQSUB Send MQTT subscription message .........................................................................179
17.7. +ZMQUNSUB Send MQTT unsubscribe message .....................................................................180
17.8. +ZMQPUB Send MQTT publish messages...............................................................................180
17.9. +ZMQPUBRAW Send MQTT publish messages(RAW)...............................................................181
17.10. +ZMQRCV Actively report received MQTT publish message ....................................................182
17.11. +ZMQSTAT Get the SOCKET status .....................................................................................182
17.12. +ZMQSETRPT Set the display form of the received data ........................................................183
17.13. Related MQTT ERROR code ................................................................................................183
17.14. Examples: Creating an MQTT Connection.............................................................................184
18. File Operation Related AT Command ........................................................................ 186
18.1. +ZFILEPUT Upload File ........................................................................................................186
18.2. +ZFILEDEL Delete Files .......................................................................................................186

All Rights reserved, No Spreading without GOSUNCN Permission XI
AT Command Reference Guide
ME3630
18.3. +ZFILELIST Query file information ........................................................................................187
18.4. +ZFILEDWL Download file ...................................................................................................187
19. FOTA Related Commands*....................................................................................... 189
19.1. +ZFOTADL Differential package download& Update ................................................................189
20. Extended commands* ............................................................................................. 190
20.1. +ZCLRACQ Clear the historical earfcn/uarfcn .........................................................................190
20.2. +ZCPWR PIN76 configure the output voltage level of PIN76 ....................................................191
20.3. +CCED Get neighbour cell Information ..................................................................................192
20.4. +ZRSPEXT query arfcn,RSRP of cell ......................................................................................194
20.5. +ZMODESET Connection Mode Setting ..................................................................................195
20.6. +ZRTRFST Flow Statistics ....................................................................................................195
20.7. +ZGSWCHECK Query status of Network card .........................................................................196
20.8. +ZDATAROAM Set the Roam status of module .......................................................................197

All Rights reserved, No Spreading without GOSUNCN
Permission 12
AT Command Reference Guide
ME3630
1. Introduction
1.1. Scope
This document is aimed at providing a detailed specification and a comprehensive listing as a reference for the whole set of AT
command.
Note: All the AT commands follow the Related Documents(3GPP (R99) TS27.005 and TS27.007) is as below:
• 3GPP TS 27.007 specification and rules
http://www.3gpp.org/ftp/Specs/archive/27_series/27.007/
• 3GPP TS 27.005 specification and rules
http://www.3gpp.org/ftp/Specs/archive/27_series/27.005/
1.2. Audience
Readers of this document should be familiar with GOSUNCN modules and their ease of controlling by means of AT Commands.
1.3. Document Organization
This document contains the following chapters:
Chapter 1: “Introduction” provides a scope for this document, target audience, contact and support information, and text conventions.
Chapter 2: Introduction to AT Commands
Chapter 3~last: “AT Commands” The core of this reference guides.

All Rights reserved, No Spreading without GOSUNCN
Permission 13
AT Command Reference Guide
ME3630
2. Introduction to AT Commands
The following syntactical definitions apply:
<CR>Carriage return character is the command line and result code terminator character, which value, in decimal ASCII between 0
and 255, is specified within parameter S3. The default value is 13.
<LF> Linefeed character is the character recognized as line feed character. Its value, in decimal ASCII between 0 and 255, is specified
within parameter S4. The default value is 10. The line feed character is output after carriage return character if verbose result codes
are used (V1 option used) otherwise, if numeric format result codes are used (V0 option used) it will not appear in the result codes.
<...>Name enclosed in angle brackets is a syntactical element. They do not appear in the command line.
[...] Optional subparameter of a command or an optional part of TA information response is enclosed in square brackets. Brackets
themselves do not appear in the command line. When subparameter is not given in AT commands which have a Read command, new
value equals to its previous value. In AT commands which do not store the values of any of their subparameters, and so have not a
Read command, which are called action type commands, action should be done on the basis of the recommended default setting of
the subparameter.
2.1. AT Command Syntax
The syntax rules followed by GOSUNCN implementation of GSM/WCDMA/LTE commands are very similar to those of standard basic
and extended AT commands.
There are two types of extended command:
- Parameter type commands. This type of commands may be “set” (to store a value or values for later use), “read” (to determine the
current value or values stored), or “test” (to determine ranges of values supported). Each of them has a “test” command (trailing =?)
to give information about the type of its subparameters; they also have a “read” command (trailing?) to check the current values of
subparameters.
- Action type commands. This type of command may be “executed” or “tested”.
NOTE: The response to the Test Command (trailing =?) may be changed in the future by GOSUNCN to allow the description of new
values/functionalities.
If all the sub-parameters of a parameter type command +CMD are optional, issuing AT+CMD=<CR> causes the OK result code to be
returned and the previous values of the omitted sub-parameters to be retained.
2.1.1. String Type Parameters
A string either enclosed between quotes or not, is considered to be a valid string type parameter input. According to V25.ter, space
characters are ignored on the command line and may be used freely for formatting purposes, unless they are embedded in numeric
or quoted string constants; therefore a string containing a space character has to be enclosed between quotes to be considered a valid
string type parameter (e.g. typing AT+COPS=1,0,”A1” is the same as typing AT+COPS=1,0,A1; typing AT+COPS=1,0,”A BB” is different
from typing AT+COPS=1,0,A BB).
A small set of commands requires always writing the input string parameters within quotes: this is explicitly reported in the specific
descriptions.
2.1.2. Command Lines
A command line is made up of three elements: the prefix, the body and the termination character. The command line prefix consists
of the characters “AT” or “at”, or, to repeat the execution of the previous command line, the characters “A/” or “a/”. The termination
character may be selected by a user option (parameter S3), the default being <CR>.

All Rights reserved, No Spreading without GOSUNCN
Permission 14
AT Command Reference Guide
ME3630
The basic structures of the command line are:
ATCMD1<CR> where AT is the command line prefix, CMD1 is the body of a basic command (nb: the name of the command never
begins with the character “+”) and <CR> is the command line terminator character
ATCMD2=10<CR> where 10 is a subparameter
AT+CMD1; +CMD2=, ,10<CR> These are two examples of extended commands (nb: the name of the command always begins with
the character “+”). They are delimited with semicolon. In the second command the subparameter is omitted.
+CMD1?<CR> This is a Read command for checking current subparameter values
+CMD1=?<CR> This is a test command for checking possible subparameter values
These commands might be performed in a single command line as shown below:
ATCMD1 CMD2=10+CMD1; +CMD2=, ,10;+CMD1?;+CMD1=?<CR>anyway it is always preferable to separate into different command
lines the basic commands and the extended commands. Furthermore it is suggested to avoid placing several action commands in the
same command line, because if one of them fails, then an error message is received but it is not possible to argue which one of them
has failed the execution.
If command V1 is enabled (verbose responses codes) and all commands in a command line has been performed successfully, result
code <CR><LF>OK<CR><LF> is sent from the TA to the TE, if subparameter values of a command are not accepted by the TA or
command itself is invalid, or command cannot be performed for some reason, result code <CR><LF>ERROR<CR><LF> is sent and no
subsequent commands in the command line are processed. If command V0 is enabled (numeric responses codes), and all commands
in a command line has been performed successfully, result code 0<CR> is sent from the TA to the TE, if subparameter values of a
command are not accepted by the TA or command itself is invalid, or command cannot be performed for some reason, result code
4<CR> and no subsequent commands in the command line are processed.
In case of errors depending on ME operation, ERROR (or 4) response may be replaced by +CME ERROR: <err> or +CMS ERROR: <err>.
NOTE: The command line buffer accepts a maximum of 80 characters. If this number is exceeded none of the commands will be executed and
TA returns ERROR.
2.1.3. Information Responses and Result Codes
The TA response, in case of verbose response format enabled, for the previous examples command line could be as shown below:
Information response to +CMD1? <CR><LF>+CMD1:2,1,10<CR><LF>
Information response to +CMD1=? <CR><LF>+CMD1: (0-2),(0,1),(0-15)<CR><LF>
Final result code <CR><LF>OK<CR><LF>
Moreover there are other two types of result codes:
result codes that inform about progress of TA operation (e.g. connection establishment CONNECT)
result codes that indicate occurrence of an event not directly associated with issuance of a command from TE
2.1.4. Command Response Time-Out
Every command issued to the GOSUNCN modules returns a result response if response codes are enabled (default). The time needed
to process the given command and return the response varies, depending on the command type. Commands that do not interact with
the SIM or the network, and involve only internal set up settings or readings, have an immediate response, depending on SIM
configuration(e.g., number of contacts stored in the phonebook, number of stored SMS), or on the network the command may interact
with.
In the table below are listed only the commands whose interaction with the SIM or the network could lead to long response timings.
When not otherwise specified, timing is referred to set command.
For SMS writing and reading related commands, timing is referred to commands issued after phonebook sorting is completed.

All Rights reserved, No Spreading without GOSUNCN
Permission 15
AT Command Reference Guide
ME3630
For DTMF sending and dialing commands timing is referred to module registered on network (“AT+CREG?” answer is “+CREG: 0, 1” or
“+CREG: 0, 5”).
Command Estimated maximum time to get response(Seconds)
+COPS 180 (For test command)
+CLCK 180
+CPWD 180
+CPIN 5
+CPBW 5
+CSCA 5
+CSAS 5
+CRES 5
+CMGS 180 after CTRL-Z; 1 to get ‘>’ prompt
+CMSS 180 after CTRL-Z; 1 to get ‘>’ prompt
+CMGW 5 after CTRL-Z; 1 to get ‘>’ prompt
+CMGD 5 for single SMS deletion, and 25 for 50 SMS deletion
+CMGR 5
+CMGL 7
+CGACT 180
+CGATT 180
+COPN 45
+CRSM 5
2.1.5. Command Issuing Timing
The chain Command -> Response shall always be respected and a new command must not be issued before the module has terminated
all the sending of its response result code (whatever it may be).
This applies especially to applications that “sense” the OK text and therefore may send the next command before the complete code
<CR><LF>OK<CR><LF> is sent by the module. It is advisable anyway to wait for at least 20ms between the end of the reception of the
response and the issue of the next AT command. If the response codes are disabled and therefore the module does not report any
response to the command, then at least the 20ms pause time shall be respected.
During command mode, due to hardware limitations, under severe CPU load the serial port can lose some characters if placed in auto-
bauding at high speeds. Therefore, if you encounter this problem fix the baud rate with +IPR command.
2.2. Setting Commands Saving
The table below list all the set command, which take effect after restart or once setting, and which is still take effect after restart.
Set commands take effect once setting?(Y/N)
N:take effect after restarting
Y:take effect once setting
Save after restart(Y/N/NA)
NA:Not applicable
Y:Save after restart
N:Parameter settings in the command are not
saved after the module is powered off.

All Rights reserved, No Spreading without GOSUNCN
Permission 16
AT Command Reference Guide
ME3630
ATS5 Y N
ATE Y N
AT+CFUN Y N
AT+CMEE Y N
AT+ZUFLOW Y N
AT+IPR Y Y
AT+IFC Y N
AT+CLCK Y Y
AT+CPWD Y NA
AT+CPIN Y NA
AT+CMGF Y Y
AT+CSMP Y N
AT+CNMI Y N
AT+CPMS Y N
AT+ZSPWAKEUP Y Y
AT+ZWAKEUPSMS Y Y
AT+CREG Y N
AT+CEREG Y N
AT+COPS Y N
AT+CTZU Y Y
AT+CTZR Y N
AT+ZSNT Y N
AT+ZSNTE Y Y
AT+ZBAND N Y
AT+CGDCONT Y Y
AT$QCPDPP Y Y
AT+ZGMODE Y Y
AT+ZGFIXRATE Y Y
AT+ZGQOS Y Y
AT+ZGURL Y Y
AT+ZGPSAPN Y Y
AT+ZGPSR Y N
AT+ZSWITCH N Y
AT+ZGPIO Y N
AT+ZADSET Y N
AT+ZSDT N Y
AT+ZIPCFG? Y Y
2.3. AT Commands References
“3GPP TS 27.005 specification”
“3GPP TS 27.007 specification”
“ITU-T V.25ter specification”

All Rights reserved, No Spreading without GOSUNCN
Permission 17
AT Command Reference Guide
ME3630

All Rights reserved, No Spreading without GOSUNCN
Permission 18
AT Command Reference Guide
ME3630
3. Identification Commands
3.1. I Request identification information
This command causes the DCE to transmit one or more lines of information text, such as manufacturer, product name, software
revision, IMEI etc., determined by the manufacturer, followed by a final result code.
Command Response
I<val> <CR><LF>Manufacturer:<manufacturer><CR><LF>
<CR><LF>Model:<model><CR><LF>
<CR><LF>Revision:<revision><CR><LF>
<CR><LF>ESN:<IMEI><CR><LF>
<CR><LF>OK<CR><LF>
or
<CR><LF>+CME ERROR: <err><CR><LF>
Parameter
<manufacturer>:manufacturer
<model>:Module name
<revision>: Firmware information
<SVN>: software version number(ME3630-E series module has no SVN response)
<IMEI>:IMEI
3.2. +GMI Request manufacturer identification
This command causes the DCE to transmit one or more lines of information text, determined by the manufacturer, which is intended
to permit the user of the DCE to identify the manufacturer.
Command Response
+GMI <CR><LF><manufacturer><CR><LF>
<CR><LF>OK<CR><LF>
or
<CR><LF>+CME ERROR: <err><CR><LF>
+GMI=? <CR><LF>OK<CR><LF>
Parameter
<manufacturer>: the total number of characters, including line terminators, in the information text shall not exceed 2048 characters.
3.3. +CGMI Request manufacturer identification
Execution command returns the device manufacturer identification code without command echo.
Command Response
+CGMI <CR><LF><manufacturer><CR><LF>
<CR><LF>OK<CR><LF>
or
<CR><LF>+CME ERROR: <err><CR><LF>

All Rights reserved, No Spreading without GOSUNCN
Permission 19
AT Command Reference Guide
ME3630
+CGMI=? <CR><LF>OK<CR><LF>
Parameter
<manufacturer>: the total number of characters, including line terminators, in the information text shall not exceed 2048 characters.
3.4. +GMM Request model identification
This command causes the DCE to transmit one or more lines of information text, determined by the manufacturer, which is intended
to permit the user of the DCE to identify the specific model of device.
Command Response
+GMM <CR><LF><model><CR><LF>
<CR><LF>OK<CR><LF>
or
<CR><LF>+CME ERROR: <err><CR><LF>
+GMM=? <CR><LF>OK<CR><LF>
Parameter
<model>: the total number of characters, including line terminators, in the information text shall not exceed 2048 characters.
Example
AT+GMM
ME3630
OK
3.5. +CGMM Request model identification
Execution command returns the device model identification code without command echo.
Command Response
+CGMM <CR><LF><model><CR><LF>
<CR><LF>OK<CR><LF>
<CR><LF>+CME ERROR: <err><CR><LF>
+CGMM=? <CR><LF>OK<CR><LF>
Parameter
<model>: the total number of characters, including line terminators, in the information text shall not exceed 2048 characters.
Example
AT+CGMM
ME3630
OK
3.6. +GMR Request revision identification
This command causes the DCE to transmit one or more lines of information text, determined by the manufacturer, which is intended
to permit the user of the DCE to identify the version, revision level or date, or other pertinent information of the device.
Other manuals for ME3630 Series
1
Table of contents
Other GOSUNCN GSM/GPRS Module manuals