ME3630

AT Command Reference Guide

Version: V2.0
Date: 2018-07-12
LTE Module Series

Website: www.gosuncnwelink.com
E-mail: welink@gosuncn.com

ME3630
AT Command Reference Guide of Module Product

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 PRODUCTPRODUCT
ME3630-U
ME3630-E
ME3630-J
ME3630-A

All Rights reserved, No Spreading without GOSUNCN Permission

IME3630
AT Command Reference Guide of Module Product

REVISION HISTORY
VersionRelease Date

Type of RevisionV1.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

commandsof+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

Updatecommand+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 command
Update the notes of +ZGRST and +ZGPSR commands
Add +ZADB

V2.0

2018-07-12

Update ATI ,+ZGFIXRATE commands
Add +ZGPORT, +ZLOCKCELL command
Delete +CGEQOSRDP command

All Rights reserved, No Spreading without GOSUNCN Permission

IIME3630
AT Command Reference Guide of Module Product

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 amobile while driving (even with a hands free kit) cause distraction and can lead to an accident. You mustcomply 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 andcannot 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 makeor 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 andtransmits radio frequency energy. RF interference can occur if it is used close to TV set, radio, computer orother 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

IIIME3630
AT Command Reference Guide of Module Product

CONTENTSABOUT THIS DOCUMENT ................................................................................................................. IAPPLICATION PRODUCT................................................................................................................... I
REVISION HISTORY................................................................................................................... II

SAFETY INFORMATION ................................................................................................................. III
CONTENTS.................................................................................................................. IV

1. Introduction ................................................................................................................... 9
1.1. Scope.................................................................................................................................. 9

1.2. Audience ................................................................................................................................. 9
1.3. Document Organization ............................................................................................................. 9

2. Introduction to AT Commands ...................................................................................... 10
2.1. AT Command Syntax .............................................................................................................. 10
2.1.1. String Type Parameters ................................................................................................... 10
2.1.2. Command Lines ............................................................................................................. 10
2.1.3. Information Responses and Result Codes .......................................................................... 11
2.1.4. Command Response Time-Out ......................................................................................... 11
2.1.5. Command Issuing Timing ................................................................................................ 122.2. Setting Commands Saving ....................................................................................................... 122.3. AT Commands References ....................................................................................................... 13
2.4. ATI Request identification information ....................................................................................... 15
2.5. AT+GMI Request manufacturer identification ............................................................................. 15
2.6. AT+CGMI Request manufacturer identification ........................................................................... 15
2.7. AT+GMM Request model identification ...................................................................................... 16
2.8. AT+CGMM Request model identification .................................................................................... 16
2.9. AT+GMR Request revision identification .................................................................................... 16
2.10. AT+CGMR Request revision identification ................................................................................. 17
2.11. AT+GSN Request IMEI .......................................................................................................... 17
2.12. AT+CGSN Request IMEI ........................................................................................................ 18
2.13. AT+CIMI Request international mobile subscriber identity ......................................................... 18
2.14. AT+ZGETICCID Get the ICCID of (U)SIM ................................................................................. 18
2.15. AT+ZPCB Check PCB No. ....................................................................................................... 19

3. General Commands ...................................................................................................... 20
3.1. ATS5 Command Line Editing Character ..................................................................................... 20

All Rights reserved, No Spreading without GOSUNCN Permission

IVME3630
AT Command Reference Guide of Module Product3.2. AT&F Set to Factory-defined Configuration ................................................................................ 20
3.3. AT&V Display Current Configuration .......................................................................................... 21
3.4. AT&W Store AT command Setting to User Defined Profile ............................................................ 21
3.5. ATZ Reset to default configuration ............................................................................................ 21
3.6. ATO Return to Online Data State .............................................................................................. 22
3.7. ATQ Result Code Suppression .................................................................................................. 22
3.8. ATE Command Echo ............................................................................................................... 23
3.9. ATV DCE Response Format ...................................................................................................... 23
3.10. AT+CFUN Set Phone Functionality .......................................................................................... 24
3.11. AT+CSCS Select TE Character Set .......................................................................................... 25
3.12. AT+CMEE Report Mobile Termination Error .............................................................................. 25
3.13. +CME ERROR ME Error Result Code ........................................................................................ 26

4. Serial Interface Control Commands .............................................................................. 29
4.1. AT&C Circuit 109 (Received line signal detector) behaviour.......................................................... 29
4.2. AT&D Circuit 108 (Data terminal ready) behaviour ..................................................................... 29
4.3. AT&S Set Data Set Ready (DSR) Line Mode ............................................................................... 30
4.4. AT+IFC DTE-DCE Local Flow Control(not support yet) ................................................................ 30
4.5. AT+IPR Fixed DTE Rate ........................................................................................................... 31
4.6. AT+ZUFLOW 4-wires UART flow control command ..................................................................... 32
4.7. AT+CMUX Enable CMUX .......................................................................................................... 32

5. SIM Related Commands ................................................................................................ 33
5.1. AT+CLCK Facility Lock ............................................................................................................ 33
5.2. AT+CPWD Change Password ................................................................................................... 34
5.3. AT+CPIN Enter PIN ................................................................................................................. 35
5.4. AT+CRSM Restricted SIM Access .............................................................................................. 36
5.5. AT+CNUM Subscriber Number ................................................................................................. 37
5.6. AT+ZPINPUK Check PIN and PUK retry times ............................................................................. 38

6. SMS Commands ............................................................................................................ 39
6.1. AT+CSMS Select Message Service ............................................................................................ 39
6.2. AT+CMGF Message Format ...................................................................................................... 40
6.3. AT+CSCA Service Centre Address ............................................................................................. 41
6.4. AT+CSMP Set Text Mode Parameters ........................................................................................ 41
6.5. AT+CSCB Select Cell Broadcast Message Types (Not support yet) ................................................ 43
6.6. AT+CSAS Save Settings .......................................................................................................... 43
6.7. AT+CRES Restore Settings ...................................................................................................... 44
6.8. AT+CNMI New Message Indications to TE .................................................................................. 44
6.9. AT+CMGL List Messages .......................................................................................................... 46
6.10. AT+CMGR Read Message ....................................................................................................... 47
6.11. AT+CMGS Send Message ....................................................................................................... 49
6.12. AT+CMSS Send Message from Storage .................................................................................... 50
6.13. AT+CMGW Write Message to Memory ..................................................................................... 50

All Rights reserved, No Spreading without GOSUNCN Permission

VME3630
AT Command Reference Guide of Module Product6.14. AT+CMGD Delete Message ..................................................................................................... 51
6.15. AT+CMGC Send Command..................................................................................................... 52
6.16. AT+CMMS More Messages to Send.......................................................................................... 52
6.17. AT+CPMS Preferred Message Storage ..................................................................................... 53
6.18. +CMTI New Message Indications ............................................................................................ 54
6.19. AT+ZSPWAKEUP Enable/disable specified SMS remote wakeup function ...................................... 55
6.20. AT+ZWAKEUPSMS Set the specified SMS content used for remote wakeup .................................. 55
6.21. +CMS ERROR Message Service Failure Result Code ................................................................... 56

7. Network Service Commands ......................................................................................... 58
7.1. AT+CREG Network registration ................................................................................................ 58
7.2. AT+CEREG Network registration .............................................................................................. 59
7.3. AT+COPS Operator selection ................................................................................................... 60
7.4. AT+CSQ Signal quality ............................................................................................................ 61
7.5. AT+CPOL Preferred operator list ............................................................................................... 62
7.6. AT+COPN Read operator names ............................................................................................... 64
7.7. AT+CTZU Automatic Time Zone Update .................................................................................... 65
7.8. AT+CTZR Time Zone Reporting ................................................................................................ 65
7.9. AT+ZCELLINFO Request the information about serving cell ......................................................... 66
7.10. AT+ZLOCKCELL lock cell command ......................................................................................... 67
7.11. AT+ZSNT Configuration of Network Selection Mode .................................................................. 69
7.12. AT+ZSNTE Network Selection according to 2G/3G/4G ............................................................... 70
7.13. AT+ZPAS Check Module Status ............................................................................................... 71
7.14. AT^SYSINFO Request System INFO ........................................................................................ 71
7.15. AT+ZBAND Band lock ............................................................................................................ 73
7.16. AT+ZARFCN Return current ARFCN ........................................................................................ 75
7.17. AT+ZCDS -Query Serving Cell Information............................................................................... 76
7.18. AT+ZSRSP Query RSRP,RSRQ,SINR of the main cell ................................................................. 77
7.19. AT+ZRSP Query RSRP,RSRQ,SINR of LTE neighbour cell ........................................................... 78
7.20. AT+CGEQOS Define EPS quality of service ............................................................................... 79
7.21. AT+ZMONI Get the information of main& neighbor cells ............................................................ 80

8. Packet Domain Commands ........................................................................................... 84
8.1. AT+CGDCONT Define PDP Context ........................................................................................... 84
8.2. AT+CGATT PS attach or detach ................................................................................................ 85
8.3. AT+CGACT PDP context activate or deactivate ........................................................................... 86
8.4. AT+CGPADDR Show PDP address ............................................................................................. 86
8.5. AT+CGEREP Packet Domain event reporting .............................................................................. 87
8.6. AT+CGSMS Select service for MO SMS messages ....................................................................... 88
8.7. AT$QCPDPP Set PDP Authentication parameters ......................................................................... 89
8.8. AT+ZECMCALL Make ECM data call ........................................................................................... 90
8.9. +ZECMCALL active report the state of auto-dial ......................................................................... 91
8.10. AT+ZNVWRITE Enable auto-dial function................................................................................. 92
8.11. AT+ZNVREAD Query the state of auto-dial function .................................................................. 93

All Rights reserved, No Spreading without GOSUNCN Permission

VIME3630
AT Command Reference Guide of Module Product8.12. AT+ZSDHCPLEASE Amend DHCP LEASE TIME .......................................................................... 94

9. GPS Relative Commands ............................................................................................... 95
9.1. AT+ZGINIT Initialization Location command .............................................................................. 95
9.2. AT+ZGMODE Set location mode ............................................................................................... 95
9.3. AT+ZGFIXRATE Set location mode choice when reset GPS .......................................................... 95
9.4. AT+ZGQOS Set QOS for location .............................................................................................. 96
9.5. AT+ZGURL Set URL of SUPL server .......................................................................................... 97
9.6. AT+ZGRUN Location mode choice ............................................................................................ 97
9.7. +ZGPSERROR Report error code............................................................................................... 98
9.8. AT+ZGRST Reset GPS ............................................................................................................. 98
9.9. AT+ZGPSAPN Set AGPS APN .................................................................................................... 99
9.10. AT+ZGPORT Set GPS information report port. ........................................................................ 100
9.11. +ZGMEASURE Report satellites measurements ....................................................................... 101
9.12. +ZGPSR Report Location Data .............................................................................................. 102
9.13. AT+ZGPSR Enable/Disable +ZGPSR report............................................................................. 103
9.14. +ZGPSEVENT Report location status event ............................................................................ 104
9.15. AT+ZGNMEA Set the reported NMEA format of GPS data ......................................................... 105
9.15.1. Syntax of NMEA .......................................................................................................... 108
9.15.2. Standard NMEA output sentence .................................................................................. 109
9.15.3. GGA sentence ............................................................................................................ 109
9.15.4. GSA sentence ............................................................................................................. 110
9.15.5. GSV sentence ............................................................................................................. 111
9.15.6. RMC sentence ............................................................................................................ 112
9.15.7. VTG sentence ............................................................................................................. 112

10. Hardware Relative Commands .................................................................................. 114
10.1. AT+CCLK Clock Management ............................................................................................... 114
10.2. AT+ZTURNOFF Turn Off the Modem ..................................................................................... 114
10.3. AT+ZRST RESET the Module ................................................................................................ 114
10.4. AT+ZGPIO GPIO Pins Set command ...................................................................................... 115
10.5. AT+ZADCx Read pin ADCx value .......................................................................................... 117
10.6. AT+ZSWITCH Switch the port of module in different operation systems .................................... 117
10.7. AT+ZADB Open/close ADB port ............................................................................................ 118
10.8. AT+ZADSET Port Switch between RNDIS/NDIS in Windows System ......................................... 119
10.9. AT+ZSDT Enable SIM card hot-plug function .......................................................................... 121
10.10. AT+ZCHIPTEMP Get the temperature of pmic, xo, pa ............................................................ 122

11. TCP/IP Relative Commands ...................................................................................... 123
11.1. AT+ZIPCFG Set and Query the params of PS Call ................................................................... 123
11.2. AT+ZIPCALL Start or End PS Call .......................................................................................... 123
11.3. AT+ZIPOPEN Establish TCP/UDP Connection .......................................................................... 124
11.4. AT+ZIPCLOSE Close TCP/UDP Connection ............................................................................. 125
11.5. AT+ZIPSEND TCP/UDP Send Data in ASCII format ................................................................. 126

All Rights reserved, No Spreading without GOSUNCN Permission

VIIME3630
AT Command Reference Guide of Module Product11.6. +ZIPRECV TCP/UDP Data Receive......................................................................................... 126
11.7. AT+ZIPSTAT Query Socket State .......................................................................................... 127
11.8. AT+ZIPSLCFG Set Parameters of TCP/UDP Server .................................................................. 127
11.9. AT+ZIPLISTEN Open/Close TCP/UDP Server .......................................................................... 128
11.10. AT+ZIPFRWL Set TCP/UDP Internal Firewall ........................................................................ 129
11.11. AT+ZIPSETRPT set the format of received data .................................................................... 130
11.12. AT+ZIPSENDRAW send raw data ........................................................................................ 131
11.13. AT+ZIPCREATE Data transparent transfer ............................................................................ 132
11.14. AT+ZDNSGETIP domain name resolution ............................................................................. 132
11.15. AT+ZIPCONTEXT Switch PDP context .................................................................................. 133

12. FTP Relative Commands ........................................................................................... 135
12.1. AT$ZPDPACT Activate/Deactivate PDP connection .................................................................. 135
12.2. AT$ZFTPCFG FTP Parameters Configuration ......................................................................... 135
12.3. AT$ZFTPSIZE Get the Size of FTP File ................................................................................... 136
12.4. AT$ZFTPGET File Download ................................................................................................. 136
12.5. AT$ZFTPPUT File Upload ...................................................................................................... 137
12.6. AT$ZFTPCLOSE Close FTP Service ......................................................................................... 138
12.7. FTP Example ...................................................................................................................... 138

13. HTTP Relative Commands ......................................................................................... 140
13.1. AT+ZHTTPURL Set URL of HTTP server ................................................................................. 140
13.2. AT+ZHTTPGET Send GET Request to HTTP Server .................................................................. 140
13.3. AT+ZHTTPPOST Send POST Request to HTTP Server .............................................................. 140

14. Extended commands ................................................................................................ 142
14.1. AT+ZCLRACQ Clear the historical earfcn/uarfcn ...................................................................... 142

All Rights reserved, No Spreading without GOSUNCN Permission

VIII

ME3630
AT Command Reference Guide of Module Product1. I NTRODUCTION
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

9ME3630
AT Command Reference Guide of Module Product2. I NTRODUCTION TO AT C OMMANDS
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, andso 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” (todetermine 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 checkthe 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 newvalues/functionalities.

If all the subparameters 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 subparameters to be retained.

2.1.1. S TRING T YPE P ARAMETERS
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 innumeric or quoted string constants; therefore a string containing a space character has to be enclosed between quotes to beconsidered 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 thespecific descriptions.

2.1.2. C OMMAND L INES
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>.
The basic structures of the command line are:

All Rights reserved, No Spreading without GOSUNCN Permission

10ME3630
AT Command Reference Guide of Module Product

ATCMD1<CR> where AT is the command line prefix, CMD1 is the body of a basic command (nb: the name of the commandnever 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 actioncommands 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 orcommand 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 acommand 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 andTA returns ERROR.

2.1.3. I NFORMATION R ESPONSES AND R ESULT C ODESThe 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. C OMMAND R ESPONSE T IME -O UTEvery command issued to the GOSUNCN modules returns a result response if response codes are enabled (default). The timeneeded to process the given command and return the response varies, depending on the command type. Commands that do notinteract 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

11

ME3630
AT Command Reference Guide of Module Product

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. C OMMAND I SSUING T IMINGThe 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 receptionof the response and the issue of the next AT command. If the response codes are disabled and therefore the module does not reportany 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 placedin 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)

Save after restart(Y/N/NA)

N:take effect after restarting

NA:Not applicable

Y:take effect once setting

Y:Save after restart
N: Parameter settings in the command are
not saved after the module is powered off.

ATS5

Y

All Rights reserved, No Spreading without GOSUNCN Permission

N

12

ME3630
AT Command Reference Guide of Module Product

ATE

Y

N

AT+CFUNY

N

AT+CMEEY

N

AT+ZUFLOWY

N

AT+IPRY

Y

AT+IFCY

N

AT+CLCKYY

AT+CPWDY

NA

AT+CPINY

NA

AT+CMGFYY

AT+CSMPY

N

AT+CNMIY

N

AT+CPMSYN

AT+ZSPWAKEUPYYAT+ZWAKEUPSMSYYAT+CREGYN

AT+CEREGY

N

AT+COPSY

N

AT+CTZUY

Y

AT+CTZRYNAT+ZSNTYN

AT+ZSNTEYY

AT+ZBANDN

Y

AT+CGDCONTYY

AT$QCPDPPYYAT+ZGMODEYY

AT+ZGFIXRATEYYAT+ZGQOSYY

AT+ZGURLYY

AT+ZGPSAPNYYAT+ZGPSRYNAT+ZSWITCHNYAT+ZGPIOYN

AT+ZADSETYNAT+ZSDTNY

AT+ZIPCFG?

Y

Y

2.3. AT Commands References“3GPP TS 27.005 specification”“3GPP TS 27.007 specification”

All Rights reserved, No Spreading without GOSUNCN Permission

13

ME3630
AT Command Reference Guide of Module Product“ITU-T V.25ter specification”

All Rights reserved, No Spreading without GOSUNCN Permission

14

ME3630
AT Command Reference Guide of Module Product

Identification Commands

2.4. ATI 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><CR><LF><model><CR><LF><revision><CR><LF><SVN><CR><LF><IMEI><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<IMEI>:IMEI

2.5. AT+GMI Request manufacturer identification
This command causes the DCE to transmit one or more lines of information text, determined by the manufacturer, which isintended 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.

2.6. AT+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

15

ME3630
AT Command Reference Guide of Module Product+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.

2.7. AT+GMM Request model identification
This command causes the DCE to transmit one or more lines of information text, determined by the manufacturer, which isintended 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.
ExampleAT+GMM
ME3630OK

2.8. AT+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.
ExampleAT+CGMM
ME3630OK

2.9. AT+GMR Request revision identification
This command causes the DCE to transmit one or more lines of information text, determined by the manufacturer, which isintended to permit the user of the DCE to identify the version, revision level or date, or other pertinent information of the device.

All Rights reserved, No Spreading without GOSUNCN Permission

16ME3630
AT Command Reference Guide of Module ProductCommand

Response+GMR<CR><LF><revision><CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

Parameter<revision>: the total number of characters, including line terminators, in the information text shall not exceed 2048 characters.
ExampleAT+GMR
ME3630U1AV1.0B04

OK

2.10. AT+CGMR Request revision identification
Execution command returns device software revision number without command echo.
Command

Response+CGMR<CR><LF><revision><CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CGMR=?

<CR><LF>OK<CR><LF>

Parameter<revision>: the total number of characters, including line terminators, in the information text shall not exceed 2048 characters.
ExampleAT+CGMR
ME3630U1AV1.0B04

OK

2.11. AT+GSN Request IMEIThis command is used to request IMEI
Command

Response+GSN<CR><LF><sn><CR><LF><CR><LF>OK<CR><LF><CR><LF>+CME ERROR: <err><CR><LF>+GSN=?

<CR><LF>OK<CR><LF>

Parameter<sn>: IMEI (International Mobile Equipment Identity)
ExampleAT+GSN
356118040008583

All Rights reserved, No Spreading without GOSUNCN Permission

17

ME3630
AT Command Reference Guide of Module ProductOK

2.12. AT+CGSN Request IMEIThis command is used to request IMEI.
Command

Response+CGSN<CR><LF><sn><CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CGSN=?

<CR><LF>OK<CR><LF>

Parameter<sn>:

IMEI (International Mobile Equipment Identity)

ExampleAT+CGSN
356118040008583// (or 0xA000001FA43F9C0)

OK

2.13. AT+CIMI Request international mobile subscriber identity
This command is used to request IMSI.
Command

Response+CIMI<CR><LF><IMSI><CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CIMI=?

<CR><LF>OK<CR><LF>

Parameter<IMSI>: International Mobile Subscriber Identity (string without double quotes)
ExampleAT+CIMI
460199100106272

OK

2.14. AT+ZGETICCID Get the ICCID of (U)SIM
This command is used to request the ICCID of (U)SIM.
Command

Response+ZGETICCID<CR><LF>+ZGETICCID: <iccid><CR><LF><CR><LF>OK<CR><LF>

All Rights reserved, No Spreading without GOSUNCN Permission

18

ME3630
AT Command Reference Guide of Module ProductParameter<iccid>:ICCID of (U)SIM

ExampleAT+ZGETICCID+ZGETICCID: 86860460020123456381

OK

2.15. AT+ZPCB Check PCB No.
This command is used to check PCB No.
Command

Response+ZPCB?

<CR><LF>+ZPCB: <PCB version><CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

Parameter<PCB version>:

PCB No., the string shall not exceed 64 characters

ExampleAT+ZPCB?
+ZPCB: ME3630MB_B

OK

All Rights reserved, No Spreading without GOSUNCN Permission

19ME3630
AT Command Reference Guide of Module Product3. GENERAL C OMMANDS
3.1. ATS5 Command Line Editing Character
Set command sets the value of the character recognized by the device as a request to delete from the command line theimmediately preceding character.
Command

Response

S5=<val><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

S5?

<CR><LF><val><CR><LF><CR><LF>OK<CR><LF>

Parameter<val>:
0 to 127

Set command line editing character to this value, factory default value is 8 (ASCII BS). The value can be available

from the command AT&V.
ExampleATS5=8
OK
3.2.

AT&F Set to Factory-defined Configuration
This command instructs the DCE to set all parameters to default values specified by the manufacturer, which may take into

consideration hardware configuration switches and other manufacturer-defined criteria.
Command

Response&F[<n>]<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

For LTE, the execution of AT&F commands will restored all AT commands, includes 3GPP AT commands and GOSUNCN defined
AT commands, to the default value predefined in AT command table.
AT Command Settings storable with AT&F:
AT Command

Factory Defaults

ATE<val> = 1, AT command default value

ATQ<val> = 0, AT command default value

ATV<val> = 1, AT command default value

AT&C<n> = 1, AT command default value

AT&D<n> = 2, AT command default value

AT&S<n> = 0, AT command default value+IFC<2> [,<2>] , AT command default value+CREG<n> = 0 , AT command default value+CGREG<n> = 0 , AT command default value+CMEE<n> = 0 , AT command default value

All Rights reserved, No Spreading without GOSUNCN Permission

20

ME3630
AT Command Reference Guide of Module ProductParameter<n>:0

Set parameters to factory defaults. if parameter <n> is omitted, the command has the same behavior as AT&F0

Example
AT&F
OK
3.3.

AT&V Display Current Configuration
This command instructs the DCE to get all parameters values specified by the manufacturer, and it will returns the setting ofseveral AT command parameters applicable to the current operating mode, including the single-letter AT command parameterswhich are not readable otherwise.
Command

Response&V<CR><LF>OK<CR><LF>

Example
AT&V
OK
3.4.

AT&W Store AT command Setting to User Defined Profile
This command instructs the modem to store the current AT command settings to a user defined profile in non-volatile memory.

The AT command settings will automatically be restored from the user defined profile during power-up or if ATZ is used. AT&F
restorethe user profile can be found.
Command

Response&W<CR><LF>OK<CR><LF>

For LTE module, the execution of AT&W command will store the current value of the following AT commands to the NV only.
AT Command

Stored parameters

ATE

<val>

ATQ

<val>

ATV

<val>

AT&C

<n>

AT&D

<n>

AT&S

<n>

+IFC

<DCE_by_DTE> [,<DTE_by_DCE>]

ExampleAT&W
OK

3.5. ATZ Reset to default configuration
This command instructs the DCE to set all parameters to their factory defaults as specified by the manufacturer. This may
include taking into consideration the settings of hardware configuration switches or non-volatile parameter storage (if implemented).
If the DCE is connected to the line, it is disconnected from the line, terminating any call in progress.

All Rights reserved, No Spreading without GOSUNCN Permission

21

ME3630
AT Command Reference Guide of Module ProductCommand

Response

Z<val><CR><LF>OK<CR><LF>

Parameter
For LTE Module, the execution of ATZ command will restore all AT commands to the default value predefined in AT command
table except the following AT commands. The following AT commands will be got from the NV storage value set by AT&W.
AT Command Settings storable with ATZ:
AT Command

Restored From

ATE

NV

ATQ

NV

ATV

NV

AT&C

NV

AT&D

NV

AT&S

NV

+IFC

NV

NOTE: if parameter <val> is omitted, the command has the same behavior as ATZ0. The define value is 0, and the value can be available fromthe command AT&V or AT\S.

ExampleATZ
OK

3.6. ATO Return to Online Data State
Causes the DCE to return to online data state and issue a CONNECT or CONNECT<text> result code.
Command

Response

O<val><CR><LF>CONNECT<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

Parameter<val>: 0 Return to online data state from online command state. Also used to retrain after a modem-on-hold transaction or toreconnect to a modem that has been placed in an on-hold state per V.92.
ExampleATO
CONNECT

3.7. ATQ Result Code Suppression
Set command enables or disables the result codes. Information text transmitted in response to commands is not affected by
the setting of this parameter.

All Rights reserved, No Spreading without GOSUNCN Permission

22

ME3630
AT Command Reference Guide of Module ProductCommand

Response

Q<val><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

Parameter<val>:
0

DCE transmits result codes.

1

result codes are suppressed and not transmitted.

NOTE: the define value is 0, ATQ means ATQ0, and the value can be available from the command AT&V.

ExampleATQ1
OK

3.8. ATE Command Echo
The setting of this parameter enables/disables the command echo.
Command

Response

E<val><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

Parameter<val>:
0

DCE disables command echo. (factory default)

1

DCE enables command echo , hence command sent to the device are echoed back to the DTE.

NOTE: if parameter <val> is omitted, the command has the same behavior as ATE1.

ExampleATE0
OK//Input AT, but the device disable command echoOK

3.9. ATV DCE Response Format
The setting of this parameter determines the contents of the header and trailer transmitted with result codes and information
responses. It also determines whether result codes are transmitted in a numeric form or an alphabetic (or "verbose") form. The text
portion of information responses is not affected by this setting.
Command

Response

V<val><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

Parameter

All Rights reserved, No Spreading without GOSUNCN Permission

23

ME3630
AT Command Reference Guide of Module Product<val>:
0

DCE transmits limited headers and trailers and numeric text.

1

DCE transmits full headers and trailers and verbose response text.

NOTE: if parameter <val> is omitted, the command has the same behavior as ATV0. The define value is 1, and the value can be available fromthe command AT&V or AT\S.

3.10. AT+CFUN Set Phone Functionality
Set command selects the level of functionality <fun> in the MT. Level "full functionality" is where the highest level of power isdrawn. "Minimum functionality" is where minimum power is drawn. Level of functionality between these may also be specified bymanufacturers. When supported by manufacturers, MT resetting with <rst> parameter may be utilized.
NOTE: issuing AT+CFUN=4[,0] actually causes the module to perform either a network deregistration and a SIM deactivation.

Test command returns values supported as a compound value.
Command

Response+CFUN=[<fun>[,<rst>]]<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CFUN?

<CR><LF>+CFUN: <fun><CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CFUN=?

<CR><LF>+CFUN: (list of supported <fun>s), (list of supported <rst>s) <CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

Parameter<fun>:
0minimum functionality (MT before setting must not 7)

1full functionality (MT before setting must not 7)

4

disable phone both transmit and receive RF circuits (MT before setting must not 7)

5

Factory test mode

6

Reset module

7

Offline Mode,in this status, the NV is lost, and the module can’t register to network,we recommend to restore the NV.

8module enter sleep mode, no USB interface enumerated(only supported by ME3630-J2A)(factory default)<rst>:
0no need to reset the module to make <fun> effect.

1

need to reset the module to make <fun> effect.
NOTE: This shall be always default 0 when <rst> is not given

ExampleAT+CFUN?

All Rights reserved, No Spreading without GOSUNCN Permission

24ME3630
AT Command Reference Guide of Module Product+CFUN: 1

OK

3.11. AT+CSCS Select TE Character Set
Set command informs TA which character set <chset> is used by the TE. TA is then able to convert character strings correctly
between TE and MT character sets.
When TA-TE interface is set to 8-bit operation and used TE alphabet is 7-bit, the highest bit shall be set to zero.
NOTE 1 : It is manufacturer specific how the internal alphabet of MT is converted to/from the TE alphabet.

Read command shows current setting and test command displays conversion schemes implemented in the TA.
Command

Response+CSCS=[<chset>]<CR><LF>OK<CR><LF>+CSCS?

<CR><LF>+CSCS: <chset><CR><LF><CR><LF>OK<CR><LF>+CSCS=?

<CR><LF>+CSCS: (list of supported <chset>s)<CR><LF><CR><LF>OK<CR><LF>

Parameter<chset>: (conversion schemes not listed here can be defined by manufacturers):"GSM"

GSM 7 bit default alphabet (3GPP TS 23.038); this setting causes easily software flow control (XON/XOFF) problems

NOTE 2: If MT is using GSM 7 bit default alphabet, its characters shall be padded with 8th bit (zero) before converting them to hexadecimal
numbers (i.e. no SMS-style packing of 7-bit alphabet).

"IRA" international reference alphabet (ITU-T T.50 )"UCS2"

16-bit universal multiple-octet coded character set (ISO/IEC10646); UCS2 character strings are converted tohexadecimal numbers from 0000 to FFFF; e.g. "004100620063" equals three 16-bit characters with decimal values 65, 98 and 99

ExampleAT+CSCS?
+CSCS: "IRA"

OK
AT+CSCS=?
+CSCS: ("IRA",”GSM”,"UCS2")

OK

3.12. AT+CMEE Report Mobile Termination Error
Set command disables or enables the use of result code +CME ERROR: <err> as an indication of an error relating to thefunctionality of the MT. When enabled, MT related errors cause +CME ERROR: <err> final result code instead of the regular ERROR
final result code. ERROR is returned normally when error is related to syntax, invalid parameters, or TA functionality.

All Rights reserved, No Spreading without GOSUNCN Permission

25

ME3630
AT Command Reference Guide of Module Product

Read command returns the current value of subparameter <n>.
Test command returns values supported as a compound value.
Command

Response+CMEE=[<n>]<CR><LF>OK<CR><LF>+CMEE?

<CR><LF>+CMEE: <n><CR><LF><CR><LF>OK<CR><LF>+CMEE=?

<CR><LF>+CMEE: (list of supported <n>s)<CR><LF><CR><LF>OK<CR><LF>

Parameter<n>:0disable +CME ERROR: <err> result code and use ERROR instead (default value)

1enable +CME ERROR: <err> result code and use numeric <err> values (refer subclause 3.1.2)

2

enable +CME ERROR: <err> result code and use verbose <err> values (refer subclause 3.1.2)

ExampleAT+CMEE=0(+CME ERROR shall not be used)

OK
AT+CGMIERROR
AT+CMEE=1(use numeric <err>)

OK
AT+CGMI+CME ERROR: 1
AT+CMEE=2(use verbose <err>)

OK
AT+CGMI+CME ERROR: no connection to phone

3.13. +CME ERROR ME Error Result CodeThis is NOT a command, it is the error response to +Cxxx 3gpp TS 27.007 commands.
Command

Response<CR><LF>+CME ERROR: <err><CR><LF>

Parameter<err> - error code can be either numeric or verbose (see +CMEE).
The possible values of <err> are reported in the table:
Numeric Format

Verbose Format

General error:0

Phone failure1

No connection to phone2

phone-adaptor link reserved

3

Operation not allowed

4

Operation not allowed

All Rights reserved, No Spreading without GOSUNCN Permission

26

ME3630
AT Command Reference Guide of Module Product
5PH-SIM PIN required

6

PH-FSIM PIN required7

PH-FSIM PUK required

10

SIM not inserted

11

SIM PIN required

12

SIM PUK required13

SIM failure

14

SIM busy

15

SIM wrong

16

Incorrect password

17

SIM PIN2 required

18

SIM PUK2 require

20

Memory full21

Invalid index

22

Not found

23

Memory failure

24

Text string too long25

Invalid characters in text string

26

Dial string too long27

Invalid characters in dial string30

No network service

31

Network timer-out

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 required48

Hidden key required (NOTE: This key is required when accessing hidden phonebook entries.)49

EAP method not supported

50

Incorrect parameters

100

unknown

GPRS-related errors
Errors related to a failure to perform an Attach

All Rights reserved, No Spreading without GOSUNCN Permission

27

ME3630
AT Command Reference Guide of Module Product103

Illegal MS (#3)

106

Illegal ME (#6)

107

GPRS services not allowed (#7)

111

PLMN not allowed (#11)

112

Location area not allowed (#12)

113

Roaming not allowed in this location area (#13)
Errors related to a failure to Activate a Context

132

service option not supported (#32)

133

requested service option not subscribed (#33)

134

service option temporarily out of order (#34)

149

PDP authentication failure
Other GPRS errors

150

invalid mobile class148

unspecified GPRS error
VBS / VGCS and eMLPP -related errors

151

VBS/VGCS not supported by the network152

No service subscription on SIM

153

No subscription for group ID

154

Group Id not activated on SIM

155

No matching notification

156

VBS/VGCS call already present

157

Congestion

158

Network failure

159

Uplink busy

160

No access rights for SIM file161

No subscription for priority

162

operation not applicable or not possible

All Rights reserved, No Spreading without GOSUNCN Permission

28

ME3630
AT Command Reference Guide of Module Product4. S ERIAL I NTERFACE CONTROL COMMANDS
4.1. AT&C Circuit 109 (Received line signal detector) behaviour
Set command controls the RS232 DCD output behavior. This parameter determines how the state of circuit 109 relates to thedetection of received line signal from the distant end. Changing the parameter will take effect immediately in both the commandand online command states.
In &C1 mode of operation, DCD (circuit 109) is not off until all data previously received from the remote DCE is delivered to the
local DTE. However, such buffered data shall be discarded and DCD (circuit 109) turned off if the DTE turns off circuit 108 (if &D1 or&D2 is set).
Command

Response&C[<n>]<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

Parameter<n>:0

The DCE always presents the ON condition on DCD (circuit 109).

1

DCD (Circuit 109) changes in accordance with the carrier detect status. DCD signal is high on the data mode;2

DCD signal is low for the first 1 seconds only with the data disconnected.

NOTE: the define value is AT&C0; Different with the document. And the value can be available from the command AT&V.

ExampleAT&C0
OK

4.2. AT&D Circuit 108 (Data terminal ready) behaviour
This parameter determines how the DCE responds to the RS232 DTR transition during online data state.
Command

Response&D[<n>]<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

Parameter<n>:0

DCE ignores DTR transitions.

1

Upon an on-to-off transition of circuit 108/2, the DCE enters online command state and issues an OK result code; the callremains connected.
2Upon an on-to-off transition of circuit 108/2, the DCE instructs the underlying DCE to perform an orderly clear down of

the call. The DCE disconnects from the line. Automatic answer is disabled while DTR (circuit 108/2) remains off.
NOTE: if parameter is omitted, the command has the same behavior as AT&D2. And the value can be available from the command AT&V.

ExampleAll Rights reserved, No Spreading without GOSUNCN Permission

29

ME3630
AT Command Reference Guide of Module Product
AT&D0
OK

4.3. AT&S Set Data Set Ready (DSR) Line ModeSet command controls the RS232 DSR pin behavior.
Command

Response&S[<n>]<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

Parameter<n>:
0 - always High1 - High when connected
NOTE: if parameter is omitted, the command has the same behavior as AT&S0. And the value can be available from the command AT&V.

ExampleAT&S0
OK

4.4. AT+IFC DTE-DCE Local Flow Control(not support yet)This set command is used to control the operation of local flow control between the DTE and DCE during the data state. It
accepts two numeric subparameters:<DCE_by_DTE>, which specifies the method to be used by the DTE to control the flow of received data from the DCE;
<DTE_by_DCE>, which specifies the method to be used by the DCE to control the flow of transmitted data from the DTE.
Command

Response+IFC=[<DCE_by_DTE> [,<DTE_by_DCE>]]<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+IFC?

<CR><LF>+IFC: <DCE_by_DTE>,<DTE_by_DCE><CR><LF><CR><LF>OK<CR><LF><CR><LF>+IFC: (list of supported <DCE_by_DTE> values),(list of supported+IFC=?

<DTE_by_DCE> values) <CR><LF><CR><LF>OK<CR><LF>

Parameter
Description
0

None flow control

1

DC1/DC3 on circuit 103; do not pass DC1/DC3 characters to the remote DCE

2Circuit 133 (Ready for Receiving)3

DC1/DC3 on circuit 103 with DC1/DC3 characters being passed through to the remote DCE in
addition to being acted upon for local flow control

4 to 127

Reserved for future standardization

All Rights reserved, No Spreading without GOSUNCN Permission

30

ME3630
AT Command Reference Guide of Module Product
Other

Reserved for manufacturer-specific use
Description

0

None flow control

1

DC1/DC3 on circuit 104

2

Circuit 106 (Clear to Send/Ready for Sending)

3 to 127

Reserved for future standardization

Other

Reserved for manufacturer-specific use

NOTE: DC1 is IA5 1/1; DC3 is IA5 1/3.

NOTE: the value can be available from the command AT&V. AT command default value is <2> [,<2>]

ExampleAT+IFC=?
+IFC: (0-3),(0-2)

OK

4.5. AT+IPR Fixed DTE Rate
Set command specifies the data rate at which the DCE will accept commands, in addition to 1200 bit/s or 9600 bit/s. It may be
used to select operation at rates at which the DCE is not capable of automatically detecting the data rate being used by the DTE.
Specifying a value of 0 disables the function and allows operation only at rates automatically detectable by the DCE. The specified
rate takes effect following the issuance of any result code(s) associated with the current command line.
The rate specified does not apply in online data state if direct mode of operation is selected.
Command

Response+IPR=<rate><CR><LF>OK<CR><LF>+IPR?

<CR><LF>+IPR: <rate><CR><LF><CR><LF>OK<CR><LF><CR><LF>+IPR:(list of supported auto detectable rate values)[,(list of fixed-only rate

+IPR=?

<CR><LF><CR><LF>OK<CR><LF>

Parameter
The<rate>value specified should be the rate in bits per second at which the DTE-DCE interface should operate, e.g., "19200" or"115200".
Note: The +IPR parameter should permit the setting of any rate supported by the DCE during online operation. Rates which include a
non-integral number of bits per second should be truncated to the next lower integer (e.g., 134.5 bit/s should be specified as 134; 45.45 bit/s
should be specified as 45).

ExampleAT+IPR?
+IPR: 115200

OK
AT+IPR=?

All Rights reserved, No Spreading without GOSUNCN Permission

31

ME3630
AT Command Reference Guide of Module Product+IPR:(1200,2400,4800,9600,19200,38400,57600,115200,230400,460800,921600,1000000,1500000,2000000,2500000,3000000,3500000)OK

4.6. AT+ZUFLOW 4-wires UART flow control command
4-wires UART flow control command.
Command

Response+ZUFLOW=<flag><CR><LF>OK<CR><LF>
or<CR><LF>+ERROR<CR><LF>

Parameter< flag>:1 Enable 4-wires UART flow control command0(default) Disable 4-wires UART flow control command

4.7. AT+CMUX Enable CMUXThis command is used to enable CMUX function, there is no need to disable CMUX. When you close CMUX in MCU, the module
will exit CMUX automatically.
Command

Response+CMUX=<mode><CR><LF>OK<CR><LF>
or<CR><LF> ERROR <CR><LF>+CMUX?

<CR><LF>OK<CR><LF>+CMUX=?

<CR><LF>+CMUX: (list of supported <mode>s) <CR><LF><CR><LF>OK<CR><LF>

Parameter<mode> (multiplexer Transparency Mechanism)
0

Enable CMUXExampleAT+CMUX=0
OK

All Rights reserved, No Spreading without GOSUNCN Permission

32

ME3630
AT Command Reference Guide of Module Product5. SIM R ELATED C OMMANDS
5.1. AT+CLCK Facility Lock
Execute command is used to lock, unlock or interrogate a MT or a network facility <fac>. Password is normally needed to dosuch actions. When querying the status of a network service (<mode>=2) the response line for 'not active' case (<status>=0) should
be returned only if service is not active for any <class>. This command should be abortable when network facilities are set orinterrogated.
Call barring facilities are based on GSM/UMTS supplementary services (refer 3GPP TS 22.088).
Test command returns facility values supported as a compound value.
Command

Response+CLCK=<fac>,<mode>[,<passwd>[,<class>]]<CR><LF>+CME ERROR: <err><CR><LF>
orwhen <mode>=2 and command successful:<CR><LF>+CLCK: <status>[,<class1><CR><LF><CR><LF> [+CLCK: <status>,<class2><CR><LF>[...]]<CR><LF>OK<CR><LF>
Or<CR><LF>OK<CR><LF>+CLCK=?

<CR><LF>+CLCK: (list of supported <fac>s) <CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

Parameter<fac> values reserved by the present document:"AB"

All Barring services"AC"

All inComing barring services"AG"

All outGoing barring services"AI"

BAIC (Barr All Incoming Calls)"AO"

BAOC (Barr All Outgoing Calls)"IR"

BIC Roam (Barr Incoming Calls when Roaming outside the home country)"OI"

BOIC (Barr Outgoing International Calls)"OX"

BOIC exHC (Barr Outgoing International Calls except to Home Country)"SC" SIM (lock SIM/UICC card) (SIM/UICC asks password in MT power-up and when this lock command issued)“FD” SIM card or active application in the UICC (GSM or USIM) fixed dialing memory feature (if PIN2 authentication has notbeen done during the current session, PIN2 is required as <passwd>).
"PN"

Network Personalization"PU"

network sUbset Personalization"PP"

service Provider Personalization"PC"

Corporate Personalization"PF"lock Phone to the very First inserted SIM/UICC card

NOTE: The parameters of "PN", "PU", "PP", "PC", "PS" and so on need the support of network service provide, so the setting

All Rights reserved, No Spreading without GOSUNCN Permission

33

ME3630
AT Command Reference Guide of Module Productcommand may return ERROR.
<mode>: defines the operation to be done on the facility0

unlock1

lock

2

query status<status>: the current status of the facility0

not active

1

active<passwd>: string type; shall be the same as password specified for the facility from the MT user interface or with command
Change Password +CPWD<class> is a sum of integers each representing a class of information:2

data (refers to all bearer services; with <mode>=2 this may refer only to some bearer service if TA does not support

values 16, 32, 64 and 128)8

short message service

16

data circuit sync

32

data circuit async

64

dedicated packet access

128 dedicated PAD access
ExampleAT+CLCK=?
+CLCK: ("AB","AC","AG","AI","AO","IR","OI","OX","SC","FD","PN","PU","PP","PC","PF")OK
AT+CLCK="SC",1,"1234" //lock the SIM card
OK
AT+CLCK="SC",0,"1234"
OK

5.2. AT+CPWD Change Password
Execution command sets a new password for the facility lock function defined by command Facility Lock +CLCK.
Test command returns a list of pairs which present the available facilities and the maximum length of their password.
Command

Response+CPWD=<fac>,<oldpwd>,<newpwd><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CPWD=?

<CR><LF>+CPWD: list of supported (<fac>,<pwdlength>)s<CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

Parameter<fac>:"P2"

SIM PIN2

Refer to command Facility Lock +CLCK for other values

All Rights reserved, No Spreading without GOSUNCN Permission

34

ME3630
AT Command Reference Guide of Module Product<oldpwd>, <newpwd>: string type; <oldpwd> shall be the same as password specified for the facility from the MT userinterface or with command Change Password +CPWD and <newpwd> is the new password; maximum length of password can be
determined with <pwdlength><pwdlength>: integer type maximum length of the password for the facility
ExampleAT+CPWD=?
+CPWD:("AB",4),("AC",4),("AG",4),("AI",4),("AO",4),("IR",4),("OI",4),("OX",4),("SC",8),("P2",8)OK
AT+CPWD="SC","1234","4321"
OK
AT+CPWD="SC","4321","12341234"
OK
AT+CPWD="SC","4321","1234"+CME ERROR: incorrect password
AT+CPWD="SC","12341234","1234"
OK

5.3. AT+CPIN Enter PIN
Set command sends to the MT a password which is necessary before it can be operated (SIM PIN, SIM PUK, PH-SIM PIN, etc.). If
the PIN is to be entered twice, the TA shall automatically repeat the PIN. If no PIN request is pending, no action is taken towards MT
and an error message, +CME ERROR, is returned to TE.
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 pinin the active application in the UICC (GSM or USIM) or SIM card.
Read command returns an alphanumeric string indicating whether some password is required or not.
Command

Response+CPIN=<pin>[,<newpin>]<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CPIN?

<CR><LF>+CPIN: <code><CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CPIN=?

<CR><LF>OK<CR><LF>

Parameter<pin>, <newpin>: string type values<code> values reserved by the present document:
READY

MT is not pending for any password

SIM PIN

MT is waiting UICC/SIM PIN to be given

SIM PUK

MT is waiting UICC/SIM PUK to be given

PH-SIM PIN

MT is waiting phone-to-SIM/UICC card password to be given

PH-FSIM PIN

MT is waiting phone-to-very first SIM/UICC card password to be given

PH-FSIM PUK

MT is waiting phone-to-very first SIM/UICC card unblocking password to be given

All Rights reserved, No Spreading without GOSUNCN Permission

35

ME3630
AT Command Reference Guide of Module Product

SIM PIN2

MT is waiting active application in the UICC (GSM or USIM) or SIM card PIN2 to be given (this <code> isrecommended to be returned only when the last executed command resulted in PIN2 authentication failure (i.e. +CME ERROR: 17); if
PIN2 is not entered right after the failure, it is recommended that MT does not block its operation)
SIM PUK2

MT is waiting active application in the UICC (GSM or USIM) or SIM card PUK2 to be given (this <code> isrecommended to be returned only when the last executed command resulted in PUK2 authentication failure (i.e. +CME ERROR: 18);
if PUK2 and new PIN2 are not entered right after the failure, it is recommended that MT does not block its operation)
PH-NET PIN

MT is waiting network personalization password to be given

PH-NET PUK

MT is waiting network personalization unblocking password to be given

PH-NETSUB PIN

MT is waiting network subset personalization password to be given

PH-NETSUB PUK MT is waiting network subset personalization unblocking password to be given
PH-SP PIN

MT is waiting service provider personalization password to be given

PH-SP PUK

MT is waiting service provider personalization unblocking password to be given

PH-CORP PIN

MT is waiting corporate personalization password to be given

PH-CORP PUK

MT is waiting corporate personalization unblocking password to be given

ExampleAT+CPIN?
+CPIN: READY

OK

5.4. AT+CRSM Restricted SIM Access
By using this command instead of Generic SIM Access +CSIM TE application has easier but more limited access to the SIM
database. Set command transmits to the MT the SIM <command> and its required parameters. MT handles internally all SIM- MTinterface locking and file selection routines. As response to the command, MT sends the actual SIM information parameters andresponse data. MT error result code +CME ERROR may be returned when the command cannot be passed to the SIM, but failure in
the execution of the command in the SIM is reported in <sw1> and <sw2> parameters. Refer to subclause 3.1.2 for <err> values.
Coordination of command requests to SIM and the ones issued by GSM/UMTS/LTE application inside the MT is implementation
dependent. However, the TE should be aware of the precedence of the GSM/UMTS/LTE application commands to the TE commands.
Test command returns the OK result code.
Command

Response+CRSM=<command>[,<fileid><CR><LF>+CRSM: <sw1>,<sw2>[,<response>]<CR><LF>[,<P1>,<P2>,<P3>[,<data>]]]<CR><LF>OK<CR><LF><CR><LF>+CME ERROR: <err><CR><LF>+CRSM=?

<CR><LF>OK<CR><LF>

Parameter<command> (command passed on by the MT to the SIM; refer GSM 11.11):
176 READ BINARY
178 READ RECORD
192 GET RESPONSE
214 UPDATE BINARY
220 UPDATE RECORD
242 STATUS

All Rights reserved, No Spreading without GOSUNCN Permission

36

ME3630
AT Command Reference Guide of Module Product<fileid>: integer type; this is the identifier of a elementary data file on SIM. Mandatory for every command except STATUS<P1>, <P2>, <P3>: integer type; parameters passed on by the MT to the SIM. These parameters are mandatory for every
command, except GET RESPONSE and STATUS. The values are described in GSM 11.11<data>: information which shall be written to the SIM (hexadecimal character format; refer +CSCS)<sw1>, <sw2>: integer type; information from the SIM about the execution of the actual command. These parameters aredelivered to the TE in both cases, on successful or failed execution of the command<response>: response of a successful completion of the command previously issued (hexadecimal character format; refer+CSCS). STATUS and GET RESPONSE return data, which gives information about the current elementary data field. This information
includes the type of file and its size. After READ BINARY or READ RECORD command the requested data will be returned. <response>is not returned after a successful UPDATE BINARY or UPDATE RECORD command.
ExampleAT+CRSM = 176,12258,0,0,10+CRSM: 144,0,"98680090911109001080"

OK

5.5. AT+CNUM Subscriber Number
Action command returns the MSISDNs related to the subscriber ((if the phone number of the device has been stored in the SIMcard). If subscriber has different MSISDN for different services, each MSISDN is returned in a separate line.
Command

Response+CNUM<CR><LF>+CNUM: [<alpha1>],<number1>,<type1>[,<speed>,<service>[,<itc>]]<CR><LF><CR><LF> [+CNUM: [<alpha2>],<number2>,<type2>[,<speed>,<service> [,<itc>]]<CR><LF>[...]]<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CNUM=?

OK

Parameter<alphax>: alphanumeric string associated with <numberx>; used character set should be the one selected with command
Select TE Character Set +CSCS<numberx>: string type phone number of format specified by <typex><typex>: type of address octet in integer format (refer GSM 04.08 subclause 10.5.4.7)<speed>: Please refer to the value defined in the command of +CBST<service> (service related to the phone number):0

asynchronous modem

1

synchronous modem

2

PAD Access (asynchronous)

3

Packet Access (synchronous)

4-5

Other service,(reserved)<itc> (information transfer capability):
03,1 kHz

1

UDI

ExampleAll Rights reserved, No Spreading without GOSUNCN Permission

37

ME3630
AT Command Reference Guide of Module Product
AT+CNUM+CNUM: ,"18503039198",129OK

5.6. AT+ZPINPUK Check PIN and PUK retry times
This command is used to check PIN and PUK left retry times.
Command+ZPINPUK=?

Response+ZPINPUK: <pinnumber>,<puknumber>

Parameter<pinnumber>:

PIN left retry times<puknumber>:

PUK left retry times

ExampleAT+ZPINPUK=?
+ZPINPUK: 3,10

OK

All Rights reserved, No Spreading without GOSUNCN Permission

38ME3630
AT Command Reference Guide of Module Product6. SMS C OMMANDS
6.1. AT+CSMS Select Message Service
Execution command selects messaging service <service>. It returns the types of messages supported by the ME. If chosenservice is not supported by the ME (but is supported by the TA), final result code +CMS ERROR: <err> shall be returned. See chapter
Message Service Failure Result Code for a list of <err> values.
Read command returns supported message types along the current service setting.
Test command returns a list of all services supported by the TA.
NOTE: The +CMGS, +CMGC

can be influenced by the parameter <service>.

Command

Response+CSMS=<service><CR><LF>+CSMS: <mt>,<mo>,<bm><CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CMS ERROR: <err><CR><LF>+CSMS?

<CR><LF>+CSMS: <service>,<mt>,<mo>,<bm><CR><LF><CR><LF>OK<CR><LF>+CSMS=?

<CR><LF>+CSMS: (list of supported <service>s) <CR><LF><CR><LF>OK<CR><LF>

Parameter<service>:
0

3GPP TS 23.040

and 3GPP TS 23.041 , all type of messages supported. (Default Value)

1

3GPP TS 23.040 and 3GPP TS 23.041, the requirement of <service> setting 1 is mentioned under corresponding commanddescriptions) , all type of messages supported.
<mt> for mobile terminated messages,
0

type not supported

1

type supported<mo> for mobile originated messages
0

type not supported

1

type supported<bm> for broadcast type messages
0

type not supported

1

type supported

Example//CSMS:1
AT+CSMS=1+CSMS: 1,1,1

OK
AT+CMGF=1
OK
AT+CMGS="18891006239"> thisAll Rights reserved, No Spreading without GOSUNCN Permission

39ME3630
AT Command Reference Guide of Module Product+CMGS: 248,"12/11/05,14:45:39+32"

OK//CSMS:0
AT+CSMS=0+CSMS: 1,1,1

OK
AT+CMGS="18891006239"> this+CMGS: 249

OK

6.2. AT+CMGF Message Format
Set command selects input and output format of messages to use. <mode> indicates the format of messages used with send,
list, read and write commands and unsolicited result codes resulting from received messages. Mode can be either PDU mode (entire
TP data units used) or text mode (headers and body of the messages given as separate parameters). Text mode uses the value ofparameter <chset> specified by command Select TE Character Set +CSCS to inform the character set to be used in the message bodyin the TA-TE interface.
Read command reports the current value of the parameter <mode>.
Test command returns supported modes as a compound value.
Command

Response+CMGF=[<mode>]<CR><LF>OK<CR><LF>+CMGF?

<CR><LF>+CMGF: <mode><CR><LF><CR><LF>OK<CR><LF>+CMGF=?

<CR><LF>+CMGF: (list of supported <mode>s) <CR><LF><CR><LF>OK<CR><LF>

Parameter<mode>:
0

PDU mode (default when implemented)

1

Text mode

ExampleAT+CMGF=?
+CMGF: (0-1)

OK
AT+CMGF?
+CMGF: 0

All Rights reserved, No Spreading without GOSUNCN Permission40

ME3630
AT Command Reference Guide of Module ProductOK

6.3. AT+CSCA Service Centre Address
Set command sets the Service Center Address to be used for module originated SMS transmissions. In text mode, setting isused by send and write commands. In PDU mode, setting is used by the same commands, but only when the length of the SMSC
address coded into <pdu> parameter equals zero.
Read command reports the current value of the SCA.
Test command returns the OK result code.
Command

Response+CSCA=<sca>[,<tosca>]<CR><LF>OK<CR><LF>+CSCA?

<CR><LF>+CSCA: <sca>,<tosca><CR><LF><CR><LF>OK<CR><LF>+CSCA=?

<CR><LF>OK<CR><LF>

Parameter<sca>:
String value. It indicates the SMSC number. The number is composed ‘*’, ‘#’ ,’+’ and ‘0”~’9’ The ‘+’ must be the very beginningof the number. The number contains 20 characters at most.
<tosca>:Integer value. It indicates the number type, where “145” means an international call. For the specific values, see also thedefinition of the “type_addr” parameter in the SC number, as described in the section “Short message sending +CMGS”.
ExampleAT+CSCA?
+CSCA: "+8613010851500",145OK

6.4. AT+CSMP Set Text Mode Parameters
Set 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 (AT+CMGF=1).
It is possible to set the validity period starting from when the SM is received by the SMSC (<vp> is in range 0...255) or define
the absolute time of the validity period termination (<vp> is a string). If TA supports the EVPF, see 3GPP TS 23.040, it shall be given asa hexadecimal coded string (refer e.g. <pdu>) with double quotes.
Read command reports the current setting in the format
Test command returns the OK result code.
Command

Response+CSMP=[<fo>[,<vp>[,<pid>[,<dcs>]]]]<CR><LF>OK<CR><LF>+CSMP?

<CR><LF>+CSMP: <fo>,<vp>,<pid>,<dcs><CR><LF><CR><LF>OK<CR><LF>+CSMP=?

<CR><LF>OK<CR><LF>

Parameter<fo>: depending on the command or result code: first octet of 3GPP TS 23.040 [3] SMS-DELIVER, SMS-SUBMIT (default 17),

All Rights reserved, No Spreading without GOSUNCN Permission

41

ME3630
AT Command Reference Guide of Module Product

SMS-STATUS-REPORT, or SMS-COMMAND (default 2) in integer format . you can refer to 3GPP TS 24.040 9.2.3.12 for detail.
Bit7: RP: Reply Path,
0—no set;
1—set
Bit6: UDHI, User Data Header Information,
0—no User Data Header Information
1—include User Data Header Information(used by long SMS)
Bit5: SRR, Status Report Request
1— need Status Report
0— no need Status Report
Bit4-bit3: VPF: Validity Period Format
00—Not present;
01—reserved
10—integer (standard)
11—Semi-Octet Represented
Bit2: RD : Reject Duplicates
0—receipt duplicates
1—Reject Duplicates
Bit1-bit0: MTI: Message Type Indicator
00—Deliver
01—Submit
02-SMS COMMAND and SMS STATUS REPORT.
<vp>: depending on SMS-SUBMIT <fo> setting: 3GPP TS 23.040 [3] TP-Validity-Period either in integer format (default 167) orin time-string format (refer <dt>).
Validity period value: 0 to 143(VP+1) x 5 minutes (up to 12 hours)
144 to 167
12 hours + (VP-143) x 30 minutes
168 to 196 (VP-166) x 1 day
197 to 255 (VP-192) x 1 week<pid>: the default value is 0.

3GPP TS 03.40/23.040 TP-Protocol-Identifier in integer format.

<dcs>:depending on the command or result code: 3GPP TS 23.038 [2] SMS Data Coding Scheme (default 0), or Cell Broadcast
Data Coding Scheme in integer format, 8 is UCS2 coding scheme.
ExampleAT+CSMP=17,169,0,0OK
AT+CSMP=25,169,0,0
ERROR

All Rights reserved, No Spreading without GOSUNCN Permission

42

ME3630
AT Command Reference Guide of Module Product6.5. AT+CSCB Select Cell Broadcast Message Types (Not support yet)
Set command selects which types of CBMs are to be received by the ME.
Read command reports the current value of parameters <mode>, <mids> and <dcss>.
Test command returns supported modes as a compound value.
Command

Response+CSCB=[<mode>[,<mids>[,<dcss>]]]<CR><LF>OK<CR><LF>+CSCB?

<CR><LF>+CSCB: <mode>,<mids>,<dcss><CR><LF><CR><LF>OK<CR><LF>+CSCB=?

<CR><LF>+CSCB: (list of supported <mode>s) <CR><LF><CR><LF>OK<CR><LF>

Parameter<mode>:
0message types specified in <mids> and <dcss> are accepted (Default Value)1

message types specified in <mids> and <dcss> are rejected<mids>: string type; all different possible combinations of CBM message identifiers (refer <mid>) (default is empty string); e.g.
"0,1,5,320-478,922"<dcss>: string type; all different possible combinations of CBM data coding schemes (refer <dcs>) (default is empty string); e.g.
"0-3,5"
ExampleAT+CSCB?
+CSCB: 0, "50,4370,0-65535",""

OK
AT+CSCB=?
+CSCB: (0-1)

OK

6.6. AT+CSAS Save Settings
Execution command saves active message service settings to a non-volatile memory. Settings specified in commands Service
Centre Address +CSCA, Set Message Parameters +CSMP and Select Cell Broadcast Message Types +CSCB (if implemented) are saved.
Certain settings may not be supported by the storage (e.g. (U)SIM SMS parameters) and therefore cannot be saved. See chapter
Message Service Failure Result Code for <err> values.
Test command shall display the supported profile numbers for reading and writing of settings.
Command

Response+CSAS[=<profile>]<CR><LF>OK<CR><LF>
or<CR><LF>+CMS ERROR: <err><CR><LF>+CSAS=?

<CR><LF>+CSAS: (list of supported <profile>s) <CR><LF><CR><LF>OK<CR><LF>

Parameter

All Rights reserved, No Spreading without GOSUNCN Permission

43ME3630
AT Command Reference Guide of Module Product<profile>:
0

Settings specified in commands +CSCA +CSMP +CSCB are saved to NV.

ExampleAT+CSAS=?
+CSAS: 0OK

6.7. AT+CRES Restore Settings
Execution command restores message service settings from non-volatile memory to active memory. Settings specified incommands Service Centre Address +CSCA, Set Message Parameters +CSMP and Select Cell Broadcast Message Types +CSCB (ifimplemented) are restored. Certain settings may not be supported by the storage (e.g. (U)SIM SMS parameters) and therefore
cannot be restored. See chapter Message Service Failure Result Code for <err> values.
Command

Response+CRES[=<profile>]<CR><LF>OK<CR><LF>
or<CR><LF>+CMS ERROR: <err><CR><LF>+CRES=?

<CR><LF>+CRES: (list of supported <profile>s) <CR><LF><CR><LF>OK<CR><LF>

Parameter<profile>:
0

Settings specified in commands +CSCA +CSMP +CSCB are restored to NV.

ExampleAT+CRES=?
+CRES: 0OK

6.8. AT+CNMI New Message Indications to TE
Set command selects the procedure, how receiving of new messages from the network is indicated to the DTE.
If ME does not support requested item (although TA does), final result code +CMS ERROR: <err> is returned. See chapter
Message Service Failure Result Code for a list of <err> values.
Test command gives the settings supported by the TA as compound values.
NOTE: Command Select Message Service +CSMS should be used to detect ME support of mobile terminated SMs and CBMs, and to define
whether a message routed directly to TE should be acknowledged or not
Command

Response+CNMI=[<mode>[,<mt>[,<bm>[,<ds>[,<bfr>]]]]]<CR><LF>OK<CR><LF><CR><LF>+CMS ERROR: <err><CR><LF>+CNMI?

<CR><LF>+CNMI: <mode>,<mt>,<bm>,<ds>,<bfr><CR><LF><CR><LF>OK<CR><LF>+CNMI=?

<CR><LF>+CNMI: (list of supported <mode>s),(list of supported <mt>s),(list

All Rights reserved, No Spreading without GOSUNCN Permission

44ME3630
AT Command Reference Guide of Module Productof supported <bm>s),(list of supported <ds>s),(list of supported <bfr>s)<CR><LF><CR><LF>OK<CR><LF>

Parameter<mode>- controls the processing of unsolicited result codes specified within this command0

Buffer unsolicited result codes in the TA. If TA result code buffer is full, indications can be buffered in some other place or

the oldest indications may be discarded and replaced with the new received indications.
1

Discard indication and reject new received message unsolicited result codes when TA-TE link is reserved (e.g. in on-line

data mode). Otherwise forward them directly to the TE.
2

Buffer unsolicited result codes in the TA when TA-TE link is reserved (e.g. in on-line data mode) and flush them to the TE

after reservation. Otherwise forward them directly to the TE.
3

Forward unsolicited result codes directly to the TE. TA-TE link specific in band technique used to embed result codes anddata when TA is in on-line data mode. (when TA is in on-line data mode, it seems need a MT call to enable TA report to TE)<mt> -sets the result code indication routing for SMS-DELIVERs (the rules for storing received SMs depend on its data coding
scheme, preferred memory storage (+CPMS) setting and this value; refer table 1;0

No SMS-DELIVER indications are routed to the TE.

1

If SMS-DELIVER is stored into ME/TA, indication of the memory location is routed to the TE using unsolicited result code:+CMTI: <mem>,<index>
2

SMS-DELIVERs (except class 2 messages and messages in the message waiting indication group (store message)) are

routed directly to the TE using unsolicited result code:+CMT: [<alpha>],<length><pdu>(PDU mode enabled); or+CMT: <oa>,[<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>,<sca>,<tosca>,<length>]<data> (text mode enabled)
If ME has its own display device then class 0 messages and messages in the message waiting indication group (discard message)
may be copied to both ME display and to TE. In this case, ME shall send the acknowledgement to the network.
Class 2 messages and messages in the message waiting indication group (store message) result in indication as defined in<mt>=1.
3

Class 3 SMS-DELIVERs are routed directly to TE using unsolicited result codes defined in <mt>=2. Messages of other datacoding schemes result in indication as defined in <mt>=1.
<bm> -for CBMs (the rules for storing received CBMs depend on its data coding scheme, the setting of Select CBM Types(+CSCB) and this value):0

No CBM indications are routed to the TE.

2

New CBMs are routed directly to the TE using unsolicited result code:+CBM: <length><pdu> (PDU mode enabled); or+CBM: <sn>,<mid>,<dcs>,<page>,<pages><data> (text mode enabled)
If ME supports data coding groups which define special routing also for messages other than class 3 (e.g. (U)SIM specificmessages), ME may choose not to route messages of such data coding schemes into TE (indication of a stored CBM may be given as
defined in <bm>=1).
<ds>-for SMS-STATUS-REPORTs:
0

No SMS-STATUS-REPORTs are routed to the TE.

1

SMS-STATUS-REPORTs are routed to the TE using unsolicited result code:+CDS: <length><pdu> (PDU mode enabled); or

All Rights reserved, No Spreading without GOSUNCN Permission

45

ME3630
AT Command Reference Guide of Module Product+CDS: <fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st> (text mode enabled)
2 Reserved<bfr>- defines the handling method for buffered result codes when <mode> 1, 2 or 3 is enabled:0

TA buffer of unsolicited result codes defined within this command is flushed to the TE when <mode> 1...3 is entered (OKresponse shall be given before flushing the codes).
1

TA buffer of unsolicited result codes defined within this command is cleared when <mode> 1...3 is entered.

ExampleAT+CNMI=2,1
OK

6.9. AT+CMGL List Messages
Execution command returns messages with status value <stat> from message storage <mem1> to the TE.Entire data units <pdu>
are returned for pdu mode.If status of the message is 'received unread', status in the storage changes to 'received read'. If listing fails,
final result code +CMS ERROR: <err> is returned. See chapter Message Service Failure Result Code for <err> values.
NOTE: If the selected <mem1> can contain different types of SMs (e.g. SMS-DELIVERs, SMS-SUBMITs, SMS-STATUS-REPORTs and
SMS-COMMANDs), the response may be a mix of the responses of different SM types. TE application can recognize the response format byexamining the third response parameter.

Test command shall give a list of all status values supported by the TA.
Command

Response+CMGL[=<stif text mode (+CMGF=1), command successful and SMS-SUBMITs and/or SMS-DELIVERs:

at>]<CR><LF>+CMGL: <index>,<stat>,<oa/da>,[<alpha>],[<scts>][, <tooa/toda>,<length>]<data><CR><LF> [<CR><LF>+CMGL: <index>,<stat>,<da/oa>,[<alpha>],[<scts>][, <tooa/toda> ,<length>]<data><CR><LF> [...]]<CR><LF>OK<CR><LF>

if text mode (+CMGF=1), command successful and SMS-STATUS-REPORTs:<CR><LF>+CMGL: <index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>, <st><CR><LF>[+CMGL: <index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>, <st><CR><LF>[...]]<CR><LF>OK<CR><LF>

if text mode (+CMGF=1), command successful and SMS-COMMANDs:<CR><LF>+CMGL: <index>,<stat>,<fo>,<ct>[<CR><LF><CR><LF>+CMGL: <index>,<stat>,<fo>,<ct><CR><LF> [...]]<CR><LF>OK<CR><LF>

if text mode (+CMGF=1), command successful and CBM storage:<CR><LF>+CMGL: <index>,<stat>,<sn>,<mid>,<page>,<pages><data><CR><LF> [<CR><LF>+CMGL: <index>,<stat>,<sn>,<mid>,<page>,<pages><data><CR><LF> [...]]<CR><LF>OK<CR><LF>

All Rights reserved, No Spreading without GOSUNCN Permission

46

ME3630
AT Command Reference Guide of Module Productif PDU mode (+CMGF=0) and command successful:<CR><LF>+CMGL: <index>,<stat>,[<alpha>],<length><pdu><CR><LF>[<CR><LF>+CMGL:<index>,<stat>,[<alpha>],<length><pdu><CR><LF>[...]]<CR><LF>OK<CR><LF>

otherwise:<CR><LF>+CMS ERROR: <err><CR><LF>+CMGL=?

<CR><LF>+CMGL: (list of supported <stat>s) <CR><LF><CR><LF>OK<CR><LF>

Parameter<stat>:(text mode)"REC UNREAD":"REC READ""STO UNSENT""STO SENT""ALL"(pdu mode)0

REC UNREAD

1REC READ

2

STO UNSENT

3

STO SENT

4ALL<ct>:integer type of 3GPP TS 03.40 TP-Command-TypeFor details about these parameters, please refer to 8.1 SMS parameter.
ExampleAT+CMGF=1
OK
AT+CMGL="all"+CMGL: 1,"REC READ","130********","",
abcdefg+CMGL: 2,"REC READ","131********","",
abcdef+CMGL: 3,"STO SENT","1331********",""
opqrxtOK

6.10. AT+CMGR Read Message
Execution command returns message with location value <index> from message storage <mem1> to the TE.

All Rights reserved, No Spreading without GOSUNCN Permission

47

ME3630
AT Command Reference Guide of Module Product

If status of the message is 'received unread', status in the storage changes to 'received read'. If reading fails, final result code
+CMS ERROR: <err> is returned. See chapter Message Service Failure Result Code for <err> values.
Test command returns the OK result code.
Command

Response+CMGR=<index>

if text mode (+CMGF=1), command successful and SMS-DELIVER:<CR><LF>+CMGR: <stat>,<oa>,[<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>,<sca>,<tosca>,<length>]<data><CR><LF><CR><LF>OK<CR><LF>

if text mode (+CMGF=1), command successful and SMS-SUBMIT:<CR><LF>+CMGR: <stat>,<da>,[<alpha>][,<toda>,<fo>,<pid>,<dcs>,[<vp>],<sca>,<tosca>,<length>]<data><CR><LF><CR><LF>OK<CR><LF>

if text mode (+CMGF=1), command successful and SMS-STATUS-REPORT:<CR><LF>+CMGR: <stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>, <st><CR><LF><CR><LF>OK<CR><LF>

if text mode (+CMGF=1), command successful and SMS-COMMAND:<CR><LF>+CMGR: <stat>,<fo>,<ct>[,<pid>,[<mn>],[<da>],[<toda>], <length><cdata>]<CR><LF><CR><LF>OK<CR><LF>

if text mode (+CMGF=1), command successful and CBM storage:<CR><LF>+CMGR: <stat>,<sn>,<mid>,<dcs>,<page>,<pages> <data><CR><LF><CR><LF>OK<CR><LF>

if PDU mode (+CMGF=0) and command successful:<CR><LF>+CMGR: <stat>,[<alpha>],<length><pdu><CR><LF><CR><LF>OK<CR><LF>
otherwise:<CR><LF>+CMS ERROR: <err><CR><LF>+CMGR=?

OK

Parameter<index>:stored SMS number<stat>:SMS state
0:“REC UNREAD”: received unread message
1:“REC READ”:received read message
2:“STO UNSENT”: stored unsend message
3:“STO SENT”: stored sent message.
<alpha>: Correspoding name to <da> or <oa> on ternimal device<stat>:message state in memory unit<oa>: Source number string of SMS

All Rights reserved, No Spreading without GOSUNCN Permission

48

ME3630
AT Command Reference Guide of Module Product<da>: Target address string of SMS<scts>: Time string of SMS service center<length>:<data> length or TPDU bytes<mn>:[0]~255 , integer type, 3GPP TS 24.040 TP-Message-Number<ct>:integer type, 3GPP TS 03.40 TP-Command-Type
ExampleAT+CMGF=1
OK
AT+CMGR=1+CMGR: "REC UNREAD","133********",,"04/02/25,12 :58 :04＋04"
ABCD
OK

6.11. AT+CMGS Send Message
Execution command sends message from a TE to the network (SMS-SUBMIT). Message reference value <mr> is returned to the
TE on successful message delivery. Value can be used to identify message upon unsolicited delivery status report result code. If
sending fails in a network or an ME error, final result code +CMS ERROR: <err> is returned. See chapter Message Service Failure
Result Code for a list of <err> values. This command should be abortable.
For details about these parameters, please refer to 8.1 SMS parameter.
Command

Response

if text mode (+CMGF=1):

if text mode (+CMGF=1) and sending successful:+CMGS=<da>[,<toda>]<CR><CR><LF>+CMGS: <mr>[,<scts>]<CR><LF>

text is entered<ctrl-Z/ESC><CR><LF>OK<CR><LF>

if PDU mode (+CMGF=0):

if PDU mode (+CMGF=0) and sending successful:+CMGS=<length><CR><CR><LF>+CMGS: <mr>[,<ackpdu>]<CR><LF>

PDU is given<ctrl-Z/ESC><CR><LF>OK<CR><LF>

if sending fails:<CR><LF>+CMS ERROR: <err><CR><LF>+CMGS=?

OK

Note:Sending can be cancelled by giving <ESC> character (IRA 27).

<ctrl-Z> (IRA 26) must be used to indicate the ending of PDU.
Parameter<da>: Destination-Address<toda>,<tooa>,<tosca>: 8 bytes Type of address for TP-Destination-Address, TP-Originating-Address, TP-ServiceCentre-Address ( when the initial character of <da> is +(IRA43), default value is 145, otherwise, its value is 129)
<data>: SMS information (less than 160 characters)<mr>: message parameter<scts>: Service Centre Time Stamp in time-string format. Can set (+CSMS<service>as 1, network supported) return <scts><length> must indicate the number of octets coded in the TP layer data unit to be given (i.e. SMSC address octets are

All Rights reserved, No Spreading without GOSUNCN Permission

49

ME3630
AT Command Reference Guide of Module Productexcluded).
ExampleAT+CMGS="10086"> 1234+CMGS: 242
OK

6.12. AT+CMSS Send Message from Storage
Execution command sends message with location value <index> from preferred message storage <mem2> to the network(SMS-SUBMIT or SMS-COMMAND). If new recipient address <da> is given for SMS-SUBMIT, it shall be used instead of the one storedwith the message. Reference value <mr> is returned to the TE on successful message delivery. Optionally (when +CSMS <service>
value is 1 and network supports) <scts> is returned. Values can be used to identify message upon unsolicited delivery status reportresult code. If sending fails in a network or an ME error, final result code +CMS ERROR: <err> is returned. See chapter Message
Service Failure Result Code for a list of <err> values. This command should be abortable.
Command

Response+CMSS=<index>[,<da>[,<toda>]]if text mode (+CMGF=1) and sending successful:<CR><LF>+CMSS: <mr>[,<scts>]<CR><LF><CR><LF>OK<CR><LF>

if PDU mode (+CMGF=0) and sending successful:<CR><LF>+CMSS: <mr>[,<ackpdu>]<CR><LF><CR><LF>OK<CR><LF>

if sending fails:<CR><LF>+CMS ERROR: <err><CR><LF>+CMSS=?

<CR><LF>OK<CR><LF>

Parameter
For details about these parameters, please refer to 8.1 SMS parameter.
Exampleat+cmgw="18682013070"> sss+CMGW: 6OK
at+cmss=6+CMSS: 245

OK

6.13. AT+CMGW Write Message to Memory
Execution command stores message (either SMS-DELIVER or SMS-SUBMIT) to memory storage <mem2>. Memory location<index> of the stored message is returned. By default message status will be set to 'stored unsent', but parameter <stat> allows also
other status values to be given. The entering of text/PDU is done similarly as specified in command Send Message +CMGS. If writing
fails, final result code +CMS ERROR: <err> is returned. See chapter Message Service Failure Result Code for <err> values.

All Rights reserved, No Spreading without GOSUNCN Permission

50

ME3630
AT Command Reference Guide of Module Product
NOTE: SMS-COMMANDs and SMS-STATUS-REPORTs cannot be stored in text mode.
Command

Response

if text mode (+CMGF=1):<CR><LF>+CMGW: <index>+CMGW[=<oa/da>[,<tooa/toda>[,<stat>]]]<CR><CR><LF>

text is entered<ctrl-Z/ESC><CR><LF>OK<CR><LF>
or

if PDU mode (+CMGF=0):<CR><LF>+CMS ERROR: <err><CR><LF>+CMGW=<length>[,<stat>]<CR>PDU is given<ctrl-Z/ESC>+CMGW=?

<CR><LF>OK<CR><LF>

Parameter
For details about these parameters, please refer to 8.1 SMS parameter.
Exampleat+cmgf=1
OK
at+cmgw="10086"> sdsd+CMGW: 280
OK

6.14. AT+CMGD Delete Message
Execution command deletes message from preferred message storage <mem1> location <index>. If <delflag> is present andnot set to 0 then the ME shall ignore <index> and follow the rules for<delflag> shown below. If deleting fails, final result code

+CMS ERROR: <err> is returned. See chapter Message Service Failure Result Code for <err> values.
Test command shows the valid memory locations and optionally the supported values of <delflag>.
Command

Response+CMGD=<index>[,<delflag>]<CR><LF>OK<CR><LF>
or<CR><LF>+CMS ERROR: <err><CR><LF><CR><LF>+CMGD: (list of supported <index>s)[,(list of+CMGD=?

supported <delflag>s)]<CR><LF>

Parameter<delflag>: an integer indicating multiple message deletion request as follows:
0 (or omitted)
1

Delete the message specified in <index>

Delete all read messages from preferred message storage, leaving unread messages and stored mobile originatedmessages (whether sent or not) untouched
2

Delete all read messages from preferred message storage and sent mobile originated messages, leaving unread messages

and unsent mobile originated messages untouched
3

Delete all read messages from preferred message storage, sent and unsent mobile originated messages leaving unread

messages untouched.
4

Delete all messages from preferred message storage including unread messages.

ExampleAll Rights reserved, No Spreading without GOSUNCN Permission

51

ME3630
AT Command Reference Guide of Module Productat+cmgd=1,4

OK

6.15. AT+CMGC Send Command
Execution command sends a command message from a TE to the network (SMS-COMMAND). The entering of text/PDU (3GPP
TS 23.040 TP-Command-Data) is done similarly as specified in command Send Message +CMGS, but for text mode the format is fixed
to be a sequence of two IRA character long hexadecimal numbers which ME/TA converts into 8-bit octets (refer +CMGS). Message
reference value <mr> is returned to the TE on successful message delivery. Optionally (when +CSMS <service> value is 1 and network
supports) <scts>/<ackpdu> is returned. Values can be used to identify message upon unsolicited delivery status report result code. If
sending fails in a network or an ME error, final result code +CMS ERROR: <err> is returned. See chapter Message Service Failure
Result Code for a list of <err> values. This command should be abortable.
For details about these parameters, please refer to 8.1 SMS parameter.
Note: this command can only support PDU format only, not support TEXT mode yet.
Command

Response

if text mode (+CMGF=1),can’t support +CMGC

if PDU mode (+CMGF=0) and sending successful:command, if you want to send SMS in this mode, please<CR><LF>+CMGC: <mr>[,<ackpdu>]<CR><LF>

use +CMGS command:<CR><LF>OK<CR><LF>

if PDU mode (+CMGF=0):

if sending fails:+CMGC=<length><CR><CR><LF>+CMS ERROR: <err><CR><LF>

PDU is given<ctrl-Z/ESC>+CMGC=?

<CR><LF>OK<CR><LF><da>: Destination-Address<toda>,<tooa>,<tosca>: 8 bytes Type of address for TP-Destination-Address, TP-Originating-Address, TP-ServiceCentre-Address ( when the initial character of <da> is +(IRA43), default vaule is 145, otherwise, its value is 129)
<data>: SMS information (less than 160 characters)<mr>: message parameter<scts>: Service Centre Time Stamp in time-string format. Can set (+CSMS<service>as 1, network supported) return <scts><length>: Message Length, Integer type value indicating in PDU mode (AT+CMGF=0), the length of the actual TP data unit in<mn>: [0]~255

Message number. 3GPP TS 24.040 TP-Message-Number integer format.

<ackpdu>: Can set (+CSMS<service>as 1, network supported) return <acjpdu>
ExampleAT+CMGC=14> 0891685109200905F011000B818198016032F90011FF00+CMGC: 251

OK
6.16.

AT+CMMS More Messages to Send
Set command controls the continuity of SMS relay protocol link. When feature is enabled (and supported by network) multiple

messages can be sent much faster as link is kept open.

All Rights reserved, No Spreading without GOSUNCN Permission

52

ME3630
AT Command Reference Guide of Module Product

Read command reports the current value of the parameter <n> .
Test command returns supported values as a compound value.
Command

Response+CMMS=[<n>]<CR><LF>OK<CR><LF>
or<CR><LF>+CMS ERROR: <err><CR><LF>+CMMS?

<CR><LF>+CMMS: <n><CR><LF><CR><LF>OK<CR><LF>+CMMS=?

<CR><LF>+CMMS: (list of supported <n>s) <CR><LF><CR><LF>OK<CR><LF>

Parameter<n>:0disable (Default Value)

1

keep enabled until the time between the response of the latest message send command (+CMGS, +CMSS, etc.) and thenext send command exceeds 1-5 seconds (the exact value is up to ME implementation), then ME shall close the link and TA switches<n> automatically back to 0
2

enable (if the time between the response of the latest message send command and the next send command exceeds 1-5

seconds (the exact value is up to ME implementation), ME shall close the link but TA shall not switch automatically back to <n>=0)
ExampleAT+CMMS?
+CMMS: 0

OK
AT+CMMS=?
+CMMS: (0,1,2)

OK
6.17.

AT+CPMS Preferred Message Storage
Set command selects memory storages <mem1>, <mem2> and <mem3> to be used for reading, writing, etc. If chosen storage

is not appropriate for the ME (but is supported by the TA), final result code +CMS ERROR: <err> shall be returned. See chapter
Message Service Failure Result Code for a list of possible <err> values.
Read command reports the message storage status.
Test command returns lists of memory storages supported by the TA
Command

Response+CPMS=<mem1>[,<CR><LF>+CPMS: <used1>,<total1>,<used2>,<total2>,<used3>, <total3><CR><LF><mem2>[,<mem3>]]<CR><LF>OK<CR><LF>
or<CR><LF>+CMS ERROR: <err><CR><LF>+CPMS?

<CR><LF>+CPMS: <mem1>,<used1>,<total1>,<mem2>,<used2>,<total2>,<mem3>,<used3>,<total3><CR><LF><CR><LF>OK<CR><LF>

All Rights reserved, No Spreading without GOSUNCN Permission

53

ME3630
AT Command Reference Guide of Module Productor<CR><LF>+CMS ERROR: <err><CR><LF><CR><LF>+CPMS: (list of supported <mem1>s),(list of supported <mem2>s),(list of supported <mem3>s)+CPMS=?

<CR><LF>

Parameter<mem1>: string type; memory from which messages are read and deleted (commands List Messages +CMGL, Read Message+CMGR and Delete Message +CMGD); defined values (others are manufacturer specific):"ME" ME message storage"SM" (U)SIM message storage"MT"：Same as “ME” storage (not supported yet)"SR"：Status report storage (not supported yet)<mem2>: string type; memory to which writing and sending operations are made (commands Send Message from Storage+CMSS and Write Message to Memory +CMGW) ); refer <mem1> for defined values<mem3>: string type; memory to which received SMs are preferred to be stored (unless forwarded directly to TE; refercommand New Message Indications +CNMI); refer <mem1> for defined values; received CBMs are always stored in "BM" (or somemanufacturer specific storage) unless directly forwarded to TE; received status reports are always stored in "SR" (or somemanufacturer specific storage) unless directly forwarded to TE<total1>: integer type; total number of message locations in <mem1><total2>: integer type; total number of message locations in <mem2><total3>: integer type; total number of message locations in <mem3><used1>: integer type; number of messages currently in <mem1><used2>: integer type; number of messages currently in <mem2><used3>: integer type; number of messages currently in <mem3>
ExampleAT+CPMS?
+CPMS: "SM",10,40,"SM",10,40,"ME",1,100

OK
6.18.

+CMTI New Message Indications
When new message is received and stored into ME/TA, indication of the memory location is routed to the TE using unsolicitedresult code.
Command

Response<CR><LF>+CMTI: <mem>,<index><CR><LF>

Parameter<mem1>: string type"ME" ME message storage"SM" (U)SIM message storage"SR" status report storage<index>: integer type; value in the range of location numbers supported by the associated memory
Example+CMTI: “SM”,10

All Rights reserved, No Spreading without GOSUNCN Permission

54

ME3630
AT Command Reference Guide of Module Product6.19. AT+ZSPWAKEUP Enable/disable specified SMS remote wakeup function
This command is used to Enable/disable specified SMl remote wakeup function.
Command

Possible response+ZSPWAKEUP=<switch><CR><LF>OK<CR><LF>+ZSPWAKEUP?

<CR><LF>+ZSPWAKEUP: <switch><CR><LF>OK<CR><LF>+ZSPWAKEUP=?

<CR><LF>+ZSPWAKEUP: (e/E,d/D)<CR><LF>OK<CR><LF>

Parameter<switch>:E/e--Enable specified SMS remote wakeup function
D/d-- Disable specified SMS remote wakeup function
NOTE:
1.

the set value is stored in NVM, and it still takes effect after restart.

2.

The read&test command will return ERROR before set command is not sent.

ExampleAT+ZSPWAKEUP=?
+ZSPWAKEUP: (e/E,d/D)
OK
AT+ZSPWAKEUP=dOK
AT+ZSPWAKEUP?
+ZSPWAKEUP: dOK

6.20. AT+ZWAKEUPSMS Set the specified SMS content used for remote
wakeupThis command is used to set the specified SMS content used for remote wakeup, and then this command can wakeup the hostmachine(AP Side). This command will take effect once send, and it still takes effect after restart.
Command

Response+ZWAKEUPSMS=<para><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+ZWAKEUPSMS?

<CR><LF>+ZWAKEUPSMS: <para><CR><LF>OK<CR><LF>

Parameter<para>: The contents of SMS, the available characters are ’A’~’Z’, ’a’~’z’, ’0’~’9’. We recommend that the length of SMS content
is not exceed 20 characters. the set value is stored in NVM, and it still takes effect after restart.

All Rights reserved, No Spreading without GOSUNCN Permission

55

ME3630
AT Command Reference Guide of Module Product

Note:
1.

The read&test command will return ERROR before set command is not sent.

ExampleAT+ZWAKEUPSMS?

//When not set the specified SMS content, the return value is Unconfigured+ZWAKEUPSMS: Unconfigured
OK
AT+ZWAKEUPSMS=123// The specified SMS content used for remote wakeup is 123

OK
AT+ZWAKEUPSMS?
+ZWAKEUPSMS: 123
OK

6.21. +CMS ERROR Message Service Failure Result CodeThis is NOT a command; it is the error response to +Cxxx 3gpp TS 27.005 commands
Final result code +CMS ERROR: <err> indicates an error related to mobile equipment or network. The operation is similar to
ERROR result code. None of the following commands in the same command line is executed. Neither ERROR nor OK result code shallbe returned. ERROR is returned normally when error is related to syntax or invalid parameters.
Command

Response<CR><LF>+CMS ERROR: <err><CR><LF>

Parameter<err> values used by common messaging commands.
The <err> values are reported in the table:

All Rights reserved, No Spreading without GOSUNCN Permission

56

ME3630
AT Command Reference Guide of Module ProductNumeric Format

Meaning

General error:
0…127

3GPP TS 24.011 Annex E-2 values

128…255

3GPP TS 24.040 sub clause 9.2.3.22 values

300

ME failure301

SMS service of ME reserved

302

operation not allowed303

operation not supported

304

invalid PDU mode parameter

305

invalid text mode parameter310

SIM not inserted

311

SIM PIN required

312

PH-SIM PIN required313

SIM failure314

SIM busy

315

SIM wrong

316

SIM PUK required317

SIM PIN2 required318

SIM PUK2 required

320

memory failure

321

invalid memory index

322

memory full330

SMSC address unknown

331

no network service

332

network time-out

340

no +CNMA acknowledgement500

unknown error

All Rights reserved, No Spreading without GOSUNCN Permission

57

ME3630
AT Command Reference Guide of Module Product7. NETWORK S ERVICE COMMANDS
7.1. AT+CREG Network registration
Set command controls the presentation of an unsolicited result code +CREG: <stat> when <n>=1 and there is a change in the
MT network registration status, or code +CREG: <stat>[,[<lac>],[<ci>],[<AcT>]] when <n>=2 and there is a change of the network cell.
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 <lac> and <ci> are returned only when <n>=2 and MT
is registered in the network.
Test command returns the range of supported <n>.
Command

Response+CREG=[<n>]<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CREG?

+CREG: <n>,<stat>[,[<lac>],[<ci>],[<AcT>]]<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CREG=?

<CR><LF>+CREG: (list of supported <n>s)<CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

Parameter<n>:0disable network registration unsolicited result code1

enable network registration unsolicited result code +CREG: <stat>2

enable network registration and location information unsolicited result code(default value)+CREG: <stat>[,[<lac>],[<ci>],[<AcT>]]<stat>:
0

not registered, MT is not currently searching a new operator to register to1registered, home network2

not registered, but MT is currently searching a new operator to register to3registration denied

4

unknown

5

registered, roaming<lac>: string type; two bytes location area code in hexadecimal format<ci>: string type; two byte cell ID in hexadecimal format<AcT>: integer type; access technology of the serving cell

All Rights reserved, No Spreading without GOSUNCN Permission

58

ME3630
AT Command Reference Guide of Module Product

0

GSM

1

GSM Compact

2

UTRAN

3

GSM w/EGPRS

4UTRAN w/HSDPA

5UTRAN w/HSUPA6UTRAN w/HSDPA and HSUPA

7

E-UTRAN

ExampleAT+CREG?
+CREG: 0,1

OK
AT+CREG=?
+CREG: (0-2)

OK

7.2. AT+CEREG Network registration
Set command controls the presentation of an unsolicited result code +CEREG: <stat> when <n>=1 and there is a change in the
MT network registration status, or code +CEREG: <stat>[,[<lac>],[<ci>],[<AcT>]] when <n>=2 and there is a change of the network
cell.
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 <lac> and <ci> are returned only when <n>=2 and MT
is registered in the network.
Test command returns the range of supported <n>.
Command

Response+CEREG=[<n>]<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CEREG?

+CEREG: <n>,<stat>[,[<lac>],[<ci>],[<AcT>]]<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CEREG=?

<CR><LF>+CEREG: (list of supported <n>s)<CR><LF><CR><LF>OK<CR><LF>

Parameter<n>:0disable network registration unsolicited result code1

enable network registration unsolicited result code +CEREG: <stat>2

enable network registration and location information unsolicited result code(default value)+CEREG: <stat>[,[<lac>],[<ci>],[<AcT>]]<stat>:All Rights reserved, No Spreading without GOSUNCN Permission

59ME3630
AT Command Reference Guide of Module Product0

not registered, MT is not currently searching a new operator to register to1registered, home network2

not registered, but MT is currently searching a new operator to register to3registration denied

4

unknown

5

registered, roaming<lac>: string type; two bytes location area code in hexadecimal format<ci>: string type; four byte cell ID in hexadecimal format<AcT>: integer type; access technology of the serving cell
0

GSM

1

GSM Compact

2

UTRAN

3

GSM w/EGPRS

4UTRAN w/HSDPA

5UTRAN w/HSUPA6UTRAN w/HSDPA and HSUPA

7

E-UTRAN

ExampleAT+CEREG?
+CEREG: 0,1

OK
AT+CEREG=?
+CEREG: (0-2)

OK

7.3. AT+COPS Operator selection
Set command forces an attempt to select and register the LTE network operator. <mode> is used to select whether theselection is done automatically by the MT or is forced by this command to operator <oper>.
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.
Command

Response+COPS=[<mode>[,<format><CR><LF>OK<CR><LF>[,<oper>[,<AcT>]]]]

or<CR><LF>+CME ERROR: <err><CR><LF>+COPS?

<CR><LF>+COPS: <mode>[,<format>,<oper>[,<AcT>]]<CR><LF><CR><LF>OK<CR><LF>
or

All Rights reserved, No Spreading without GOSUNCN Permission

60

ME3630
AT Command Reference Guide of Module Product<CR><LF>+CME ERROR: <err><CR><LF><CR><LF>+COPS: [list of supported (<stat>,long alphanumeric <oper>,short alphanumeric+COPS=?

<oper>,numeric <oper>[,<AcT>])s][,,(list of supported <mode>s),(list of supported<format>s)]<CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

Parameter<mode>:
0

automatic (<oper> field is ignored)

1

manual (<oper> field shall be present)2deregister from network3

set only <format> (for read command +COPS?), do not attempt registration/deregistration (<oper> field is ignored); thisvalue is not applicable in read command response4

manual/automatic (<oper> field shall be present); if manual selection fails, automatic mode (<mode>=0) is entered<format>:0long format alphanumeric <oper>

1

short format alphanumeric <oper>

2

numeric <oper><oper>: string type;<AcT>: access technology selected:
0

GSM

1

GSM Compact

2

UTRAN

3

GSM w/EGPRS

4UTRAN w/HSDPA

5UTRAN w/HSUPA6UTRAN w/HSDPA and HSUPA

7

E-UTRAN<stat>:
0

unknown1

available

2

current3

forbidden

ExampleAT+COPS=?
+COPS: (1,"CHN-UNICOM","UNICOM","46001",7),(3,"CHN-CT","CT","46011",7),,(0-4),(0-2)

OK

7.4. AT+CSQ Signal quality
Execution command returns received signal strength indication <rssi> and channel bit error rate <ber> from the MT.
Test command returns values supported as compound values.

All Rights reserved, No Spreading without GOSUNCN Permission

61

ME3630
AT Command Reference Guide of Module ProductCommand

Response+CSQ<CR><LF>+CSQ: <rssi>,<ber><CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CSQ=?

<CR><LF>+CSQ: (list of supported <rssi>s),(list of supported <ber>s) <CR><LF><CR><LF>OK<CR><LF>

Parameter<rssi>:
0-113 dBm or less

1

-111 dBm

2...30 -109... -53 dBm
31-51 dBm or greater99

not known or not detectable<ber> (in percent):
0...7

as RXQUAL values in the table in GSM 05.08 subclause 8.2.4

0–<0.01%

1–

0.01% --- 0.1%2–

0.1% --- 0.5%3–

0.5% --- 1.0%

4–

1.0% --- 2.0%5–2.0% --- 4.0%

6–4.0% --- 8.0%

7–more than 8.0%

99

not known or not detectable

ExampleAT+CSQ+CSQ: 17,99

OK

7.5. AT+CPOL Preferred operator list
This command is used to edit the PLMN selector with Access Technology lists in the SIM card or active application in the
UICC(GSM or USIM).
Execute command writes an entry in the SIM/USIM list of preferred PLMNs. If no list has been previously selected, the User
controlled PLMN selector with Access Technology, EFPLMNwAcT, is the one accessed by default. If <index> is given but <oper> is left out,
entry is deleted. If <oper> is given but <index> is left out, <oper> is put in the next free location. If only <format> is given, the formatof the <oper> in the read command is changed. The Access Technology selection parameters, <GSM_AcT>, <GSM_Compact_AcT>
and <UTRAN_AcT>, are required when writing User controlled PLMN selector with Access Technology, EF EF PLMNwAcT, Operator
controlled PLMN selector with Access Technology EFOPLMNwAcT and HPLMN selector with Access Technology EFHPLMNwAcT, see TS
31.102.
Read command returns all used entries from the SIM/USIM list of preferred PLMNs, previously selected by the command +CPLS,
with the Access Technologies for each PLMN in the list.

All Rights reserved, No Spreading without GOSUNCN Permission

62ME3630
AT Command Reference Guide of Module Product

Test command returns the whole index range supported by the SIM.
Command

Response+CPOL=[<index>][,<format>[,<oper>[,<GSM_A<CR><LF>OK<CR><LF>

cT>,<GSM_Compact_AcT>,<UTRAN_AcT>,<E-

or

UTRAN_AcT>]]]<CR><LF>+CME ERROR: <err><CR><LF>+CPOL?

<CR><LF>+CPOL: <index1>,<format>,<oper1>[,<GSM_AcT1>,<GSM_Compact_AcT1>,<UTRAN_AcT1>,<E-UTRAN_AcT1>]+CPOL: <index2>,<format>,<oper2>[,<GSM_AcT2>,<GSM_Compact_AcT2>,<UTRAN_AcT2>,<E-UTRAN_AcT1>]<CR><LF>[...]]<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CPOL=?

<CR><LF>+CPOL: (list of supported <index>s),(list of supported<format>s)<CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

Parameter<indexn>: integer type; the order number of operator in the SIM/USIM preferred operator list (1~8)<format>:0long format alphanumeric <oper>

1

short format alphanumeric <oper>

2

numeric <oper><opern>: string type; <format> indicates if the format is alphanumeric or numeric (see +COPS)<GSM_AcTn>: GSM access technology:0

access technology not selected1

access technology selected<GSM_Compact_AcTn>: GSM compact access technology:0

access technology not selected1

access technology selected<UTRA_AcTn>: UTRA access technology:0

access technology not selected1

access technology selected<E-UTRAN_AcTn>: integer type; E-UTRAN access technology
0access technology not selected1

access technology selected

ExampleAT+CPOL=,2,"46001",0,0,1,0OK
AT+CPOL=1
OK
AT+CPOL?

All Rights reserved, No Spreading without GOSUNCN Permission

63ME3630
AT Command Reference Guide of Module Product+CPOL: 2,2,"46000",0,0,1,0+CPOL: 3,2,"46001",0,0,1,0OK
AT+CPOL=,0
OK
AT+CPOL?
+CPOL: 2,0,"CHINA MOBILE",0,0,1,0+CPOL: 3,0,"CHN-UNICOM",0,0,1,0OK
AT+CPOL=,1
OK
AT+CPOL?
+CPOL: 2,1,"CMCC",0,0,1,0+CPOL: 3,1,"UNICOM",0,0,1,0OK

7.6. AT+COPN Read operator names
Execute command returns the list of operator names from the MT. Each operator code <numericn> that has an alphanumericequivalent <alphan> in the MT memory shall be returned.
Test command returns the OK result code.
Command

Response+COPN<CR><LF>+COPN: <numeric1>,<alpha1><CR><LF>[<CR><LF>+COPN: <numeric2>,<alpha2><CR><LF>[...]]<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+COPN=?

<CR><LF>OK<CR><LF>

Parameter<numericn>: string type; operator in numeric format (see +COPS)<alphan>: string type; operator in long alphanumeric format (see +COPS)

ExampleAT+COPN+COPN: "00101","Test PLMN 1-1"
+COPN: "00102","Test PLMN 1-2"
+COPN: "00201","Test PLMN 2-1"
+COPN: "20201","GR COSMOTE"+COPN: "20201","GR COSMOTE"+COPN: "20205","vodafone GR"

All Rights reserved, No Spreading without GOSUNCN Permission

64ME3630
AT Command Reference Guide of Module Product+COPN: "20210","TIM GR"…

OK

7.7. AT+CTZU Automatic Time Zone Update
Set command enables and disables automatic time zone update via NITZ. If setting fails in an MT error, +CME ERROR: <err> isreturned.
Read command returns the current settings in the MT.
Test command returns supported on- and off-values.
Command

Response+CTZU=<onoff><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CTZU?

<CR><LF>+CTZU: <onoff><CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CTZU=?

<CR><LF>+CTZU: (list of supported <onoff>s)<CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

Parameter<onoff>: integer type value indicating:0 – Disable automatic time zone update via NITZ
1 – Enable automatic time zone update via NITZ. (default).
ExampleAT+CTZU=?
+CTZU: (0-1)

OK

AT+CTZU?
+CTZU: 0OK

7.8. AT+CTZR Time Zone Reporting
This set command enables and disables the time zone change event reporting. If the reporting is enabled the MT returns theunsolicited result code +CTZV: <tz> whenever the time zone is changed. If setting fails in an MT error, +CME ERROR: <err> isreturned.
Read command returns the current reporting settings in the MT.

All Rights reserved, No Spreading without GOSUNCN Permission

65ME3630
AT Command Reference Guide of Module Product

Test command returns supported <onoff> values.
NOTE: The time zone reporting is not affected by the Automatic Time Zone setting command, +CTZU.
Command

Response+CTZR=<onoff><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CTZR?

<CR><LF>+CTZR: <onoff><CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CTZR=?

<CR><LF>+CTZR: (list of supported <onoff>s)<CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

Parameter<onoff>: integer type value indicating:0 – Disable time zone change event reporting (default).
1 – Enable time zone change event reporting.
ExampleAT+CTZR?
+CTZR: 0OK

7.9. AT+ZCELLINFO Request the information about serving cellThis command is used to request LTE cell info, like global cell ID, physical cell ID, band information.
Command

Response+ZCELLINFO?

When registered to LTE, it will return:<CR><LF>+ZCELLINFO: <TAC>,<Global_Cell_ID>,<Physical_Cell_ID>, <Cell_Band>,<DL_Earfcn><CR><LF><CR><LF>OK<CR><LF>
When registered to GSM/WCDMA/TD-SCDMA, it will return:<CR><LF>+ZCELLINFO: <LAC>,< Cell_ID>, <Cell_Band><CR><LF><CR><LF>OK<CR><LF>
When registered to HDR/CDMA, it will return:<CR><LF>+ZCELLINFO: <Local_ID>,< Cell_ID>, <Cell_Band><CR><LF><CR><LF>OK<CR><LF>
When registered to SRLTE, it will return:<CR><LF>+ZCELLINFO: <Global_cell_ID>,< Physical_Cell_ID>, < Cell_Band>,<earfcn><CR><LF><CR><LF>OK<CR><LF>
Or it will return:

All Rights reserved, No Spreading without GOSUNCN Permission

66

ME3630
AT Command Reference Guide of Module Product<CR><LF>ERROR<CR><LF>

Parameter
LTE:<TAC>: Tracking area code
<Global_Cell_ID>: Global Cell ID<Physical_Cell_ID>: Physical Cell ID<Cell_Band>: Cell Band<DL_Earfcn>: DL Earfcn
GSM/WCDMA/TD-SCDMA :<LAC>,location area code
< Cell_ID>, Cell ID<Cell_Band> Cell Band
ExampleAT+ZCELLINFO?
+ZCELLINFO: 0X911B,0X0BB75A31,0X0000016B,LTE B3,1675

OK

7.10. AT+ZLOCKCELL lock cell command
This command is used to lock cell and frequency, and only supported on ME3630E1CV1.0B14,
ME3630E2CV1.0B04 and above version. This command will take effect after restart the module,
and the set command will save after the module is powered off.
Command

Response+ZLOCKCELL=<lock_flag>[,<mode>,<earfcn_or_uar<CR><LF>OK<CR><LF>

fcn>,<pci_or_psc>]

or<CR><LF> ERROR<CR><LF>+ZLOCKCELL=?

<CR><LF>+ZLOCKCELL:
lock_flag(0-1),sys_mode(0-1),uarfcn_earfcn(0-65535),psc(0-511),pci(0-50
3)<CR><LF><CR><LF>OK<CR><LF>
or<CR><LF> ERROR<CR><LF>+ZLOCKCELL?

<CR><LF>+ZLOCKCELL: <CR><LF><CR><LF>

wcdma,[uarfcn:<uarfcn>,psc:<psc>,]lock:<lock_state><CR><LF><CR><LF>lte,[earfcn:<earfcn>,pci:<pci>,]lock:<lock_state><CR><LF><CR><LF>OK<CR><LF>
Or<CR><LF>ERROR <CR><LF>

Parameter:

All Rights reserved, No Spreading without GOSUNCN Permission

67

ME3630
AT Command Reference Guide of Module Product<lock_flag>: default value is 00: unlock
1: lock<mode>:
0: WCDMA
1:LTE<earfcn_or_uarfcn>: frequency point, range 0~65535<pci_or_psc>: physics cell or main scrambler, pci range 0~503, and psc range 0~511<lock_state>:
on: lock is onoff: lock is off, that is don't lock any frequency
ExampleAT+ZLOCKCELL=1,1,1650//lock frequency 1650

OK

AT+ZLOCKCELL =1,1,1650,186//lock LTE frequency 1650, cell 186

OK

AT+ZLOCKCELL=?

//query parameter range list

+ ZLOCKCELL: lock_flag(0-1),sys_mode(0-1),uarfcn_earfcn(0-65535),psc(0-511),pci(0-503)

OK
AT+ZLOCKCELL?

//query current frequency that is locked+ ZLOCKCELL:
wcdma,lock::offlte,earfcn:1650,lock:on//lock LTE frequency 1650

OK
AT+ZLOCKCELL?
+ ZLOCKCELL:
wcdma,lock::offlte,earfcn:1650,pci:186,lock::on//lock LTE frequency 1650，cell 186

OK
AT+ZLOCKCELL?
+ ZLOCKCELL:
wcdma,uarfcn:10663,lock::on//lock WCDMA frequency 10663

lte,lock::off

OK
AT+ZLOCKCELL?
+ ZLOCKCELL:
wcdma,uarfcn:10663,psc:447,lock:on//lock WCDMA frequency 10663, cell 447

All Rights reserved, No Spreading without GOSUNCN Permission

68ME3630
AT Command Reference Guide of Module Productlte,lock::off
OK

AT+ZLOCKCELL?
+ ZLOCKCELL:
wcdma,lock:off
lte,lock:off//not lock any frequency

OK

AT+ZLOCKCELL =0//unlock, this command will take effect after restart the moduleOK

7.11. AT+ZSNT Configuration of Network Selection Mode
This command is used to configure the network selection mode.
Command

Response+ZSNT=<cm_mode>,<net_sel_mode>,<pref_acq>+CME ERROR: <err> or<CR><LF>OK<CR><LF>+ZSNT?

+ZSNT: <cm_mode>,<net_sel_mode>,<pref_acq>+CME ERROR: <err>+ZSNT=?

List all values can config.

Parameter<cm_mode>:

Preferred network mode.

0:

AUTOMATIC (default)

1:

GSM_ONLY

2:

WCDMA_ONLY

3:

TD-SCDMA_ONLY (not support)

4:

CDMA ONLY5:

HDR ONLY

6:

LTE_ONLY

7:

WCDMA AND LTE ONLY

8:

TDSCDMA GSM WCDMA And LTE Only (not support)

9:CDMA and HDR only (not support)

10:

TDSCDMA_WCDMA_LTE ONLY (not support)<net_sel_mode>:

selection of network selection mode0:

AUTOMATIC network selection (default)

1:

MANUAL network selection.

NOTE: This parameter only used for read command. Set manual network selection should use AT+COPS.

2:

LIMITIED network selection<pref_acq>: Preferred network mode acquisition parameter.
0:

AUTOMATIC order (default)

All Rights reserved, No Spreading without GOSUNCN Permission

69

ME3630
AT Command Reference Guide of Module Product1:

GSM_WCDMA prefer

2:

WCDMA_GSM prefer3

LTE prefer

ExampleAT+ZSNT=0,0,2
OK
AT+ZSNT?
+ZSNT: 0,0,2

OK
AT+ZSNT=?
+ZSNT: (0-10),(0-2),(0-3)

OK

7.12. AT+ZSNTE Network Selection according to 2G/3G/4GThis command is used to do network selection according to 2G/3G/4G. it takes effect once setting, and can also be saved after
restart the module.
This command is only valid when the module register to network.
Command

Response+ZSNTE=<mode>+CME ERROR: <err>or<CR><LF>OK<CR><LF>+ZSNTE?

+ZSNTE: <mode2>+CME ERROR: <err>+ZSNTE=?

+ZSNTE: list of supported <mode>s

Parameterth<mode>:

Preferred network mode, this is used to set the 10 parameter of NV.

0

4G LTE Preferred (all Combination of mode with LTE, LTE preferred)

1

3G Preferred2

2G ONLY

3

3G ONLY

44G ONLY

ExampleAT+ZSNTE=3OK
AT+ZSNTE?
+ZSNTE: 3

OK
AT+ZSNTE=?
+ZSNTE: 0-4

All Rights reserved, No Spreading without GOSUNCN Permission

70ME3630
AT Command Reference Guide of Module ProductOK

7.13. AT+ZPAS Check Module Status
This command is used to check module status, including the type of current network and service domain. This command canjust be used as read command (i.e. AT+ZPAS?).
When the network changes, the new type of network is routed to TE using unsolicited code.
Command

Possible response(s)+ZPAS?

<CR><LF>+ZPAS: <network>,<srv_domain>[,<LTE_MODE>]<CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

Defined values<network>: the type of current network
No Service, Limited Service, GSM, GPRS, CDMA, EVDO, EHRPD, UMTS, HSDPA, HSUPA, HSPA, HSPA+, LTE, TD-SCDMA<srv_domain>: service domain
CS_ONLY:

CS domain service available.

PS_ONLY:

PS domain service available.

CS_PS:

CS&PS domain service available.

CAMPED:

camped in a cell.

<LTE_MODE>: When <network> is LTE,it will return this parameter,the value can be:
FDD

When registered to LTE-FDD

TDD

When registered to LTE-TDD

ExampleAT+ZPAS?
+ZPAS: "LTE","CS_PS","FDD"

OK

7.14. AT^SYSINFO Request System INFOThe Execution command is used to return current system information.
Command

Possible response^SYSINFO^SYSINFO:<srv_status >,<srv_domain >,<roam_status >,<sys_mode>,<sim_state >[,[<reserve>],<sys_submode>]

Parameter< srv_status>:0

Out of service

1

Restricted service2

Service3

restricted region service

All Rights reserved, No Spreading without GOSUNCN Permission

71ME3630
AT Command Reference Guide of Module Product4

Power-saving mode

<srv_domain>:0

Out of service

1

CS service2

PS service

3

Ps and CS service

4

EPS service<roam_status> :0

Non-roaming status

1

Roaming status<sys_mode>:0

Out of service

2

CDMA

3

GSM/GPRS mode

4

HDR

5

WCDMA mode

7

GW

9

LTE

10

GWL

11

TDS

Other values Reserved<sim_state>:0

invalid card status1

valid card status

255 card not existed or PIN required<reserve>:reserved<sys_submode>: system sub mode0

Out of service

1

GSM mode

2

GPRS mode

3

EDGE mode

4

WCDMA mode

5

HSDPA mode

6

HSUPA mode

7

HSUPA and HSDPA mode

8

TD-SCDMA mode

9

TDD-SUBACT10

FDD-SUBACTExampleAT^SYSINFO^SYSINFO: 2,3,0,15,1
OK

All Rights reserved, No Spreading without GOSUNCN Permission

72ME3630
AT Command Reference Guide of Module Product7.15. AT+ZBAND Band lockThis command is used to lock the specified band(s) according to the BAND MASK input by the users. The set command needs
four hexadecimal parameters, the second and third one are reserved.
When the parameters are all/ALL, the module band is set to support all the bands, when they are set to 0, it will return ERROR.
Note: We don’t recommend to use this command, as if the setting parameters is not proper set, it may cause the module crash.
If you has any question to the setting parameter of this command, you can consult to our company.
The lock bands need restarting before they can take effect. Full spectrum will be set at the time of unlocking.

Command

Response+ZBAND=<gw_band_mask>,<cdma_band<CR><LF>OK<CR><LF>_mask>,<tdscdma_band_mask>,<lte_ban

When MS error:

d_mask><CR><LF>ERROR<CR><LF>+ZBAND?

<CR><LF>+ ZBAND: <CR><LF>(Read command)<CR><LF>[(list of supported<gw_band_name>,)][(list of supported<cdma_band_name>,)][(list of supported<tdscdma_band_name>,)][(list of supported<lte_band_name>)]+ZBAND=?

<CR><LF>+ZBAND:<CR><LF>(list of supported <gw_band_mask>s) <CR><LF>(list of supported <cdma_band_mask>s) <CR><LF>(listof supported <tdscdma_band_mask>s)<CR><LF>(list of supported<lte_band_mask>s)<CR><LF>

Parameters of set command<gw_band_mask>: a hexadecimal value that specifies the GW frequency band. You can set the value as the one or the

combination of more as follows:
ME3630-U

ME3630-E

0X0800000

WCDMA BAND2

0X80

0X4000000

WCDMA BAND5

0x300

ME3630-J

GSM1800

WCDMA BAND1

GSM900(0x300=0x200+0x100, not

0X4000000

support set to 0x200 or 0x100 separately)

0X8000000

0X400000

0X2000000000000

WCDMA BAND1

0X2000000000000
00000000

disable ALL the bands in this mode

ALL/all

all the bands of above<cdma_band_mask>:

0X400000

WCDMA BAND8WCDMA BAND5WCDMA BAND6WCDMA BAND8

0X1000000000000000 WCDMA BAND19

a hexadecimal value that specifies the CDMA frequency band.

0X00

disable ALL the bands in this mode

ALL/all

all the bands of above<tdscdma_band_mask>: a hexadecimal value that specifies the TD-SCDMA frequency band.
0X00

disable ALL the bands in this mode

All Rights reserved, No Spreading without GOSUNCN Permission73

ME3630
AT Command Reference Guide of Module ProductALL/all

all the bands of above<lte_band_mask>: a hexadecimal value that specifies the LTE frequency band, You can set the value as the one or the

combination of more as follows
ME3630-U

ME3630-E

ME3630-J

0X02

LTE BAND2

0X01

LTE BAND1

0X01

LTE BAND1

0X08

LTE BAND4

0X04

LTE BAND3

0X04

LTE BAND3

0X10

LTE BAND5

0X40

LTE BAND7

0X10

LTE BAND5

0X0800LTE BAND12

0X0080LTE BAND8

0X40

LTE BAND7

0X10000

LTE BAND 17

0X80000

LTE BAND 20

0X0080LTE BAND8

0X0400LTE BAND11

0X20000

LTE BAND18

0X40000

LTE BAND19

0X100000

LTE BAND 21(note: module can support one of bands 11 and 21 only, andwe support band 21 in default)
0

disable ALL the bands in this mode

ALL/all

all the bands of above

Parameters of Read command(AT+ZBAND?)<gw_band_name>: Decimal number, the GW band name.
ME3630-U

ME3630-E

ME3630-J

2

WCDMA BAND21800

GSM1800

1

WCDMA BAND1

5

WCDMA BAND5900

GSM9005

WCDMA BAND5

1

WCDMA BAND1

6

WCDMA BAND68

WCDMA BAND88

WCDMA BAND8

19

WCDMA BAND19<cdma_band_name>: Decimal number, the CDMA band name.
0

not support<tdscdma_band_name>: Decimal number, the TD-SCDMA band name.
0

not support<lte_band_name>: Decimal number, the LTE band name.
ME3630-U

ME3630-E

ME3630-J

2

LTE BAND2

1

LTE BAND1

1

LTE BAND1

4LTE BAND 4

3

LTE BAND3

3

LTE BAND3

5

LTE BAND 5

7

LTE BAND7

5

LTE BAND5

12LTE BAND 12

8LTE BAND8

7

LTE BAND7

17

LTE BAND 17

20LTE BAND 20

8LTE BAND8

11

LTE BAND11

18

LTE BAND18

19

LTE BAND19

21

LTE BAND 21

All Rights reserved, No Spreading without GOSUNCN Permission

74

ME3630
AT Command Reference Guide of Module Product

Example(Take ME3630-U for example):
at+zband=0,0,0,0-------when the set command is all 0, it stands not scan all the frequency bands, and will return ERROR.

ERROR


Lock only one BANDAT+ZBAND=800000,0,0,0-------Lock one band: WCDMA BAND2OK
AT+ZBAND?

-------Read the locked BAND+ZBAND:
GW: 2
OKLock all the supported bands

at+zband=all,0,0,allOK

Enable band B17(LOCK several bands, the module support band 2,4,5,12,17 )at+zband=all,0,0,1081A//0X1081A =[0X02(TE BAND2)+0X08(LTE BAND4)+0X10(LTE BAND5)+0X0800(LTE BAND12)+0X10000(LTE BAND 17)]OK

Disable band B17(LOCK several bands, the module support band 2,4,5,12)

at+zband=all,0,0,81A//0X81A =[0X02(TE BAND2)+0X08(LTE BAND4)+0X10(LTE BAND5)+0X0800(LTE BAND12)]OK

List all the supported band_mask

AT+ZBAND=?
+ZBAND:
GW:(800000, 4000000)
CDMA:(0)TDS:(0)LTE:(2, 8, 10, 800, 10000)
OK

7.16. AT+ZARFCN Return current ARFCN
This command is used to return the current ARFCN.
Command

Response+ZARFCN?

When register to network, return:<CR><LF><mode>: <value><CR><LF>

All Rights reserved, No Spreading without GOSUNCN Permission75

ME3630
AT Command Reference Guide of Module Product<CR><LF>OK<CR><LF>
Or return:<CR><LF>ERROR<CR><LF>
Parameters:<mode>: The registered network
GSM
UMTS
LTE
<value>: the current ARFCN, it has different meaning when the registered network is different.
GSM

arfcn

UMTS

uarfcnLTE

earfcnExampleAT+ZARFCN?
LTE: 1675

OK

7.17. AT+ZCDS -Query Serving Cell Information
This command is used to query the parameter values of the current serving cell.
Command

Response+ZCDS?

In different network mode, the return value is different.
LTE:<CR><LF>+ZCDS:<earfch>,<mcc>,<mnc>,<tac_id>,<cell_id>,<rx_power>,<tx_power>,<sinr>,<ecio>,<pci>,<imsi_buf><CR><LF><CR><LF>OK<CR><LF>

TD-SCDMA/ WCDMA:<CR><LF>+ZCDS:<uarfcn>,<mcc>,<mnc>,<lac_id>,<cell_id>,<rx_power>,<tx_power>,<sinr>,<ecio>,<imsi_buf><CR><LF><CR><LF>OK<CR><LF>

GSM:<CR><LF>+ZCDS:<arfcn>,<mcc>,<mnc>,<lac_id>,<cell_id>,<rx_power>,<tx_power>,<s
inr>,<ecio>,<imsi_buf><CR><LF><CR><LF>OK<CR><LF>

Parameter<channel>: UARFCN UMTS assigned radio channel<earfcn/arfch/uarfcn>:Absolute Radio Frequency Channel Number of the BCCH carrier<mcc>: Mobile Country Code<mnc>: Mobile Network Code<tac_id> Tracking Area CodeAll Rights reserved, No Spreading without GOSUNCN Permission

76

ME3630
AT Command Reference Guide of Module Product<cell_id>: Cell identify<lac_id>: Location Area Code<pci> Physical cell ID<sinr> Serving cell SINR information<rx_power>

Receiving Signal strength in dBm<tx_power> TX power information<ecio> Pilot Strength<imsi_buf>: International Mobile Station ID (IMSI)Example2.

When registered to LTE network:

AT+ZCDS?
+ZCDS:1675,460,1,911B,BB75A31,-99,99,14,-8,363,460019011339325

OK
3.

When registered to GSM network:

AT+ZARFCN?
GSM: 108

OK
AT+ZCDS?
+ZCDS:108,460,1,20E6,C8C4,-61,33,0,0,460019011339325

OK
4.

When registered to UMTS network:

AT+ZPAS?
+ZPAS: "UMTS","CS_PS"

OK
AT+ZCDS?
+ZCDS:10713,460,1,BB1D,C1D30FF,199,99,0,0,460019011339325

OK
AT+ZARFCN?
UMTS: 10713

OK

7.18. AT+ZSRSP Query RSRP,RSRQ,SINR of the main cellThis command is used to query the RSRP,RSRQ,SINR of the module’s main cell.
Note: This command is only valid when the module register to LTE network.
This command is only supported by module ME3630-E.
Command

Response+ZSRSP?

<CR><LF>+ZSRSP:<rsrp >,< rsrq>,<rssi >,<sinr><CR><LF>

All Rights reserved, No Spreading without GOSUNCN Permission

77ME3630
AT Command Reference Guide of Module Product<CR><LF>OK<CR><LF>
or<CR><LF>ERROR<CR><LF>
Parameter<rsrp >: Reference Signal Received Power, unit: dBm<rsrq>: Reference Signal Received Quality , unit: dB<rssi >: Received Signal Strength Indication<sinr >: signal to interference plus noise ratio
ExampleAT+ZSRSP?
+ZSRSP:"-092.70","-08.70","-065.50","13"OK

7.19. AT+ZRSP Query RSRP,RSRQ,SINR of LTE neighbour cellThis command is used to Query RSRP,RSRQ,SINR of LTE neighbour cell.
Note: This command is only available in LTE mode(you can configure by command AT+ZSNT=6,0,0 to lock the LTE mode), and it
will return ERROR in other mode.. you can also send command AT+ZARFCN? To query the network register mode.
Command

Response+ZRSP?

<CR><LF>+ZRSP: <rsrp1>,<rsrq1>,<rsrp2>,<rsrq2>,…,<sinr><CR><LF><CR><LF>OK<CR><LF>

Parameters<rsrpN>: RSRP,Reference Signal Received Power, is 10 times of real RSRP(is equal to the unit is 0.1dBm), If there are several
neighbour cells, this AT command will return rsrp1, rsrp2, …, rsrpN(<rsrp1>,<rsrq1>,<rsrp2>,<rsrq2>,…,<rsrpN>,<rsrqN>), the max
value of N is 9.
<rsrqN>:

RSRQ,Reference Signal Received Quality, is 10 times of real RSRQ(is equal to the unit is 0.1dB), If there are several

neighbour cells, this AT command will return <rsrp1>,<rsrq1>,<rsrp2>,<rsrq2>,…,<rsrpN>,<rsrqN><sinr>: signal to interference plus noise ratio,SINR. It is 10 times of real value, and only valid in LTE mode.
ExampleAT+ZARFCN?
LTE: 2850

OK
AT+ZRSP?
+ZRSP:"-1031","-84""-1149","-174""-1094","-113""-1169","-187""-1031","-84",161OK

All Rights reserved, No Spreading without GOSUNCN Permission

78ME3630
AT Command Reference Guide of Module Product7.20. AT+CGEQOS Define EPS quality of service
The set command allows the TE to specify the EPS Quality of Service parameters <cid>, <QCI>, [<DL_GBR> and <UL_GBR>] and[<DL_MBR> and <UL_MBR>] for a PDP context or Traffic Flows. When in UMTS/GPRS the MT applies a mapping function to
UTMS/GPRS Quality of Service. A special form of the set command, +CGEQOS=<cid> causes the values for context number <cid> tobecome undefined.
The read command returns the current settings for each defined QoS.
The test command returns the ranges of the supported parameters as compound values.
Command+CGEQOS=[<cid>[,<QCI>[,<DL_GBR>,<UL_G

Possible Response(s)+CME ERROR: <err>

BR>[,<DL_MBR>,<UL_MBR]]]]+CGEQOS?

[+CGEQOS: <cid>,<QCI>,[<DL_GBR>,<UL_GBR>],[<DL_MBR>,<UL_MBR>]][<CR><LF>+CGEQOS: <cid>,<QCI>,[<DL_GBR>,<UL_GBR>],[<DL_MBR>,<UL_MBR>][...]]+CGEQOS=?

+CGEQOS: (range of supported <cid>s),(list of supported <QCI>s),(list of supported<DL_GBR>s),(list of supported <UL_GBR>s),(list of supported <DL_MBR>s),(list of
supported <UL_MBR>s)

Defined values<cid>: integer type; specifies a particular EPS Traffic Flows definition in EPS and a PDP Context definition in UMTS/GPRS<QCI>: integer type; specifies a class of EPS QoS (see 3GPP TS 23.203 [85] and 3GPP TS 24.301 [83]).
0

QCI is selected by network[1 – 4]

value range for guaranteed bit rate Traffic Flows75

value for guaranteed bit rate Traffic Flows[5 – 9]value range for non-guarenteed bit rate Traffic Flows79

value for non-guaranteed bit rate Traffic Flows[128 – 254]

value range for Operator-specific QCIs

The QCI values 65, 66, 69 and 70 are not allowed to be requested by the UE. If the TE requests a QCI parameter 65, 66, 69 or 70,
the MT responds with result code +CME ERROR: 181 (unsupported QCI value).
<DL_GBR>: integer type; indicates DL GBR in case of GBR QCI. The value is in kbit/s. This parameter is omitted for a non-GBR QCI.
<UL_GBR>: integer type; indicates UL GBR in case of GBR QCI. The value is in kbit/s. This parameter is omitted for a non-GBR QCI .
<DL_MBR>: integer type; indicates DL MBR in case of GBR QCI. The value is in kbit/s. This parameter is omitted for a non-GBR QCI .
<UL_MBR>: integer type; indicates UL MBR in case of GBR QCI. The value is in kbit/s. This parameter is omitted for a non-GBR QCI.
ExampleAT+CGEQOS=?
+CGEQOS: (1-24),(0-9),(0-150000),(0-50000),(0-150000),(0-50000)

OK
AT+CGEQOS=1,0
OK
AT+CGEQOS?
+CGEQOS: 1,0,0,0,0,0

All Rights reserved, No Spreading without GOSUNCN Permission

79ME3630
AT Command Reference Guide of Module ProductOK

7.21. AT+ZMONI Get the information of main& neighbor cells
This command is only supported by firmware of or above ME3630E1CV1.0B10&ME3630J2AV1.0B10 currently.
This command is used to get/set the information of main &neighbor cells.
Command

Possible Response(s)+ZMONI=<n><CR><LF>OK<CR><LF>
or<CR><LF>ERROR<err><CR><LF>+ZMONI=?

<CR><LF>+ZMONI:(0-2)<CR><LF><CR><LF>OK<CR><LF>+ZMONI?

When <n>=0, the response is the information of main cell

When register to LTE:
<CR><LF>+ZMONI:<mode>,<s/n>,<earfcn>,<band>,<mcc>,<mnc>,<tac_id>,<cell_id>,<pci>,<rsr
p>,<rsrq>,<rx_pwr>,<sinr>,<ecio><CR><LF><CR><LF>OK<CR><LF>

When register to WCDMA:<CR><LF>+ZMONI:<mode>,<s/n><uarfcn>,<band>,<mcc>,<mnc>,<lac_id>,<cell_id>,<psc>,<UR
A>,<rscp>,<rx_power>,<ecio><CR><LF><CR><LF>OK<CR><LF>

When register to GSM:
<CR><LF>+ZMONI:<mode>,<s/n>,<arfcn>,<band>,<mcc>,<mnc>,<lac_id>,<cell_id>,<bsic>,<c1>,<c2>,<timadv>,<rx_power>,<sinr>,<ecio><CR><LF><CR><LF>OK<CR><LF>

When <n>=1, the response is the information of neighbor cells
When neighbor cell is GSM, the GSM neighbor cells can be 6 at most:<CR><LF>+ZMONI:<mode>,<s/n>,<LAC>,<cell_id>,<ARFCN>,<rx_pwr><CR><LF><CR><LF>OK<CR><LF>
When neighbor cell is WCDMA, the WCDMA neighbor cells can be 16 at most:<CR><LF>+ZMONI:<mode>,<s/n>,<PSC>,<rscp>,<ecio>,<uarfcn>,<rx_pwr><CR><LF><CR><LF>OK<CR><LF>
When neighbor cell is LTE, the LTE neighbor cells can be 16 at most:<CR><LF>+ZMONI:<mode>,<s/n>,<rsrp>,<rsrq>,<physicalCellID>,<arfcn>,<rx_pwr><C
R><LF><CR><LF>OK<CR><LF>

All Rights reserved, No Spreading without GOSUNCN Permission

80ME3630
AT Command Reference Guide of Module Product
When <n>=2, the response is the information of neighbor cells and main cell.
The response format can refer to the above.

Defined values<n>: the supported range is 0-20

the response of AT+ZMONI? is the information of main cell1

the response of AT+ZMONI? is the information of neighbor cells2

the response of AT+ZMONI? is the information of neighbor cells and main cell.

<mode>:
GSM
UMTS: When register to WCDMA/TD-SCDMA
LTE<s/n>:
s: stands for the main cell
N1/N2/N3…:stands for the first/second/third… neighbor cell.
<band>
Parameter

Band

When the mode is0

EGSM_900

GSM

1

PGSM_9002

PCS_19003

Dcs_1800

4

GSM_850

5Invalid band255

Not registered

When the mode is

1

WCDMA EUROPE,JAPAN,and China IMT 2100 band

WCDMA

2

WCDMA U.S. PCS 1900 band

3

WCDMA EUROPE and China DCS 1800 band

4

WCDMA U.S. 1700 band

5

WCDMA U.S 850 band

6

WCDMA Japan 800 band

7

WCDMA Europe 2600 band

8

WCDMA EUROPE and China 900 band

9

WCDMA Japan 1700 band

10

WCDMA BC10-1700 band

11

WCDMA 1500 band

12

WCDMA Japan 850 band

1

LTE band 1

3

LTE band 3

5

LTE band 5

7

LTE band 7

8

LTE band 8

20

LTE band 20

When the mode is LTE

The band is the numeric in this mode.

All Rights reserved, No Spreading without GOSUNCN Permission

81ME3630
AT Command Reference Guide of Module Product<earfcn/arfcn>:Absolute Radio Frequency Channel Number of the BCCH carrier<mcc>: Mobile Country Code<mnc>: Mobile Network Code<tac_id> Tracking Area Code<cell_id>: Cell identify<lac_id>: Location Area Code<pci> Physical cell ID<bsic>:base station identification code
<psc>:primary Scrambing code
<uarfcn>:umts assigned radio channel<URA>: UTRAN Registration Area Identity<rscp>: Received Signal Code Power in dBm<rsrp>: Reference Signal Received Power<rsrq>: Reference Signal Received Quality<c1>:C1 reselection parameter<c2>:C2 reselection paratmeter<timadv>: timing advance<sinr> Serving cell SINR information<rx_power>

Receiving Signal strength in dBm(RSSI)<ecio> Pilot Strength
Example//return ZMONI parameter range
AT+ZMONI=？
+ZMONI: (0-2)

OK
When <n>=0, and register to GSM, return the main cell information:
AT+ZMONI？
+ZMONI: mode: GSM, s, arfcn: 108, band: 0, mcc: 460, mnc: 1.lac id: 8422, cell id: 51396, bsic: 60，cl: 26, c2: 26, timeadv:
4294967295, rx power: -69, sinr: 0, ecio: 0

OK
When <n>=0, and register to WCDMA, return the main cell information:
AT+ZMONI？
+ZMONI:mode:UMTS,s,uarfcn:10663, band:1,mcc:460,mnc:1,lac_id: 47901,cell_id:203242280，psc: 447, ura: 0, rscp:-85,rx_power:-85，ecio:-6

OK
When <n>=0, and register to LTE, return the main cell information:
AT+ZMONI?
+ZMONI:mode:LTE,s,earfcn:1675,band:3,mcc:460,mnc:1,tac_id:37147,cell_id:196565553,pci:363,rsrp:-94.80,rsrq:-12.90,rx_po
wer:-63.40,sinr:138,ecio:0
OK
When <n>=1, and register to GSM, return the neighbour cells information:
AT+ZMONI?

All Rights reserved, No Spreading without GOSUNCN Permission

82ME3630
AT Command Reference Guide of Module Product+ZMONI: mode: GSM, N1, lac: 8422, cell_id: 51398, arfcn: 112, rx_power:0.00000+ZMONI:mode:GSM,N2,lac:8422,cell_id: 53978, arfcn:659, rx_power:0.00000+ZMONI:mode:GSM, N3, lac: 8422,cell_ id: 51397, arfcn: 117,rx_power:0.00000+ZMON: mode GSM, N4, lac: 8422, cell-id: 53976, arfcn 667, rx power: 0. 000000+ZMONI:mode:,N5,lac:8422,cell-id: 53977, arfcn: 676,rx_power:0.000000

OK
When <n>=1, and register to WCDMA, return the neighbour cells information:
AT+ZMONI?
+ZMONI: mode: UMTS, N1, psc: 308, rscp:-8t, ecio: -8, uarfcn: 10663, rx power: -66+ZMONI:mode: UMTS, N2, psc: 292, rscp: -95, ecio: -16, uarfcn: 10663, rx_power:-66

OK
When <n>=1, and register to LTE, return the neighbour cells information:
AT+ZMONI?
+ZMONI:mode:LTE,N1,rsrp:-94.50,rsrq:-9.70,pci:363,earfcn:1675,rx_power:-66.40+ZMONI:mode:LTE,N2,rsrp:-105.90,rsrq:-16.70,pci:374,earfcn:1675,rx_power:-79.70
OK
When <n>=2, and register to GSM, return the neighbour cells and main cell information:
AT+ZMONI?
+ZMONI: mode: GSM, s, arfcn: 108, band: 0, mcc: 460, mnc: 1.lac id: 8422, cell id: 51396, bsic: 60，cl: 26, c2: 26, timeadv:
4294967295, rx power: -69, sinr: 0, ecio: 0+ZMONI: mode: GSM, N1, lac: 8422, cell_id: 51398, arfcn: 112, rx_power:0.00000+ZMONI:mode:GSM,N2,lac:8422,cell_id: 53978, arfcn:659, rx_power:0.00000+ZMONI:mode:GSM, N3, lac: 8422,cell_ id: 51397, arfcn: 117,rx_power:0.00000+ZMON: mode GSM, N4, lac: 8422, cell-id: 53976, arfcn 667, rx power: 0. 000000+ZMONI:mode:,N5,lac:8422,cell-id: 53977, arfcn: 676,rx_power:0.000000
OK
When <n>=2, and register to UMTS, return the neighbour cells and main cell information:
AT+ZMONI？
+ZMONI:mode:UMTS,s,uarfcn:10663, band:1,mcc:460,mnc:1,lac_id: 47901,cell_id:203242280，psc: 447, ura: 0, rscp:-85,rx_power:-85，ecio:-6+ZMONI: mode: UMTS, N1, psc: 308, rscp:-8t, ecio: -8, uarfcn: 10663, rx power: -66+ZMONI:mode: UMTS, N2, psc: 292, rscp: -95, ecio: -16, uarfcn: 10663, rx_power:-66
OK
When <n>=2, and register to LTE, return the neighbour cells and main cell information:
AT+ZMONI?
+ZMONI:mode:LTE,s,earfcn:1675,band:3,mcc:460,mnc:1,tac_id:37147,cell_id:196565553,pci:363,rsrp:-92.70,rsrq:-9.80,rx_pow
er:-64.50,sinr:163,ecio:0+ZMONI:mode:LTE,N1,rsrp:-92.70,rsrq:-9.80,pci:363,earfcn:1675,rx_power:-64.50
OK

All Rights reserved, No Spreading without GOSUNCN Permission

83ME3630
AT Command Reference Guide of Module Product8. PACKET DOMAIN COMMANDS
8.1. AT+CGDCONT Define PDP Context
The set command specifies PDP context parameter values for a PDP context identified by the (local) context identification
parameter, <cid>.
The read command returns the current settings for each defined context.
The test command returns values supported as a compound value. If the MT supports several PDP types, <PDP_type>, theparameter value ranges for each <PDP_type> are returned on a separate line.
NOTE: A special form of the set command, +CGDCONT=<cid>, causes the values for context number <cid> to become undefined.
Command

Response+CGDCONT=[<cid>[,<PDP_type>[,<APN>[,<PDP_a<CR><LF>OK<CR><LF>

ddr>[,<d_comp>[,<h_comp>[,<pd1>[,…[,pdN]]]]]]

or

]]]

<CR><LF>+CME ERROR: <err><CR><LF>+CGDCONT?

<CR><LF>+CGDCONT:<cid>,<PDP_type>,<APN>,<PDP_addr>,<d_comp>,<h_comp>[,<pd1>[,…[,pdN]]][+CGDCONT:<cid>,<PDP_type>,<APN>,<PDP_addr>,<d_comp>,<h_comp>[,<pd1>[,…[,pdN]]]<CR><LF>[...]]<CR><LF>OK<CR><LF><CR><LF>+CGDCONT: (range of supported <cid>s),<PDP_type>,,,(list of supported+CGDCONT=?

<d_comp>s),(list of supported <h_comp>s)[,(list of supported <pd1>s)[,…[,(list of
supported <pdN>s)]]][+CGDCONT: (range of supported <cid>s), <PDP_type>,,,(list of supported<d_comp>s),(list of supported <h_comp>s)[,(list of supported <pd1>s)[,…[,(list of supported<pdN>s)]]] <CR><LF>[...]]<CR><LF>OK<CR><LF>

Parameter<cid>: (PDP Context Identifier) a numeric parameter which specifies a particular PDP context definition.
<PDP_type>: (Packet Data Protocol type) a string parameter which specifies the type of packet data protocol
IP

Internet Protocol (IETF STD 5)IPV6Internet Protocol, version 6 (IETF RFC 2460)

PPP

Point to Point Protocol (IETF STD 51)

IPV4V6

Virtual <PDP_type> introduced to handle dual IP stack UE capability. (See 3GPP TS 24.301 [83])<APN>: (Access Point Name) a string parameter which is a logical name that is used to select the GGSN or the external packet
data network.
If the value is null or omitted, then the subscription value will be requested.
<PDP_address>: a string parameter that identifies the MT in the address space applicable to the PDP.
If the value is null or omitted, then a value may be provided by the TE during the PDP startup procedure or, failing that, a

All Rights reserved, No Spreading without GOSUNCN Permission

84ME3630
AT Command Reference Guide of Module Productdynamic address will be requested.
The allocated address may be read using the +CGPADDR command.
<d_comp>: a numeric parameter that controls PDP data compression
0 - off(default if value is omitted)

1 - on (manufacturer preferred compression)
2 - V.42bis<h_comp>: a numeric parameter that controls PDP header compression (refer 3GPP TS 04.65)
0 – off (default if value is omitted)
1 – on (manufacturer preferred compression)
2 – RFC1144
3 – RFC2507
4 - RFC3095 (applicable for PDCP only)<pd1> … <pdN>: zero to N string parameters whose meanings are specific to the <PDP_type>
ExampleAT+CGDCONT?
+CGDCONT: 1,"IP","uninet","0.0.0.0",0,0OK

8.2. AT+CGATT PS attach or detach
The execution command is used to attach the MT to, or detach the MT from, the Packet Domain service.
Any active PDP contexts will be automatically deactivated when the attachment state changes to detached.
The read command returns the current Packet Domain service state.
The test command is used for requesting information on the supported Packet Domain service states.
Command

Response+CGATT=[<state>]<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CGATT?

<CR><LF>+CGATT: <state><CR><LF><CR><LF>OK<CR><LF>+CGATT=?

<CR><LF>+CGATT: (list of supported <state>s) <CR><LF><CR><LF>OK<CR><LF>

Parameter<state>: indicates the state of PS attachment
0 – detached
1 – attached
ExampleAT+CGATT?
+CGATT: 0

OK

All Rights reserved, No Spreading without GOSUNCN Permission

85

ME3630
AT Command Reference Guide of Module Product8.3. AT+CGACT PDP context activate or deactivate
The execution command is used to activate or deactivate the specified PDP context (s).
If no <cid>s are specified the activation form of the command activates all defined contexts.
If no <cid>s are specified the deactivation form of the command deactivates all active contexts.
The read command returns the current activation states for all the defined PDP contexts.
The test command is used for requesting information on the supported PDP context activation states.
Command

Response+CGACT=[<state>[,<cid>[,<cid>[,…]]]]<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF><CR><LF>+CGACT: <cid>,<state><CR><LF>+CGACT?

[<CR><LF>+CGACT: <cid>,<state><CR><LF>[...]]<CR><LF>OK<CR><LF>+CGACT=?

<CR><LF>+CGACT: (list of supported <state>s)<CR><LF><CR><LF>OK<CR><LF>

Parameter<state>: indicates the state of PDP context activation
0 - deactivated
1 – activated<cid>: a numeric parameter which specifies a particular PDP context definition (see the +CGDCONT and +CGDSCONT
commands).
ExampleAT+CGACT?
+CGACT: 1,0…

OK
AT+CGACT=?
+CGACT: (0,1)

OK

8.4. AT+CGPADDR Show PDP address
The execution command returns a list of PDP addresses for the specified context identifiers.
The test command returns a list of defined <cid>s.

All Rights reserved, No Spreading without GOSUNCN Permission

86ME3630
AT Command Reference Guide of Module ProductCommand

Response+CGPADDR=[<cid><CR><LF>+CGPADDR: <cid>,<PDP_addr><CR><LF>[,<cid> [,…]]][<CR><LF>+CGPADDR: <cid>,<PDP_addr><CR><LF>[...]]<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CGPADDR=?

<CR><LF>+CGPADDR: (list of defined <cid>s)<CR><LF><CR><LF>OK<CR><LF>

Parameter<cid>: a numeric parameter which specifies a particular PDP context definition (see the +CGDCONT and +CGDSCONT
commands). If no <cid> is specified, the addresses for all defined contexts are returned.
<PDP_address>: a string that identifies the MT in the address space applicable to the PDP. The address may be static ordynamic. For a static address, it will be the one set by the +CGDCONT and +CGDSCONT commands 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 toby <cid>. <PDP_address> is omitted if none is available.
ExampleAT+CGPADDR=1+CGPADDR: 1,10.245.21.75

OK

8.5. AT+CGEREP Packet Domain event reportingSet command enables or disables sending of unsolicited result codes, +CGEV: XXX from MT to TE in the case of certain eventsoccurring in the Packet Domain MT or the network. If a setting is not supported by the MT, ERROR or +CME ERROR:<err> is returned.
Read command returns the current mode and buffer settings
Test command returns the modes and buffer settings supported by the MT as compound values.
Command

Response+CGEREP=[<mode>[,<bfr>]]<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CGEREP?

<CR><LF>+CGEREP: <mode>,<bfr><CR><LF><CR><LF>OK<CR><LF>+CGEREP=?

<CR><LF>+CGEREP: (list of supported <mode>s),(list of supported <bfr>s)<CR><LF><CR><LF>OK<CR><LF>

The following unsolicited result codes and the corresponding events are defined +CGEV: REJECT <PDP_type>, <PDP_addr>
A network request for PDP context activation occurred when the MT was unable to report it to the TE with a +CRING
unsolicited result code and was automatically rejected.
+CGEV: NW REACT<PDP_type>, <PDP_addr>, [<cid>]

The network has requested a context reactivation. The <cid> that was used to reactivate the context is provided if known
to the MT.

All Rights reserved, No Spreading without GOSUNCN Permission

87ME3630
AT Command Reference Guide of Module Product+CGEV: NW DEACT<PDP_type>, <PDP_addr>, [<cid>]

The network has forced a context deactivation. The <cid> that was used to activate the context is provided if known to
the MT.
+CGEV: ME DEACT<PDP_type>, <PDP_addr>, [<cid>]

The mobile termination has forced a context deactivation. The <cid> that was used to activate the context is provided if
known to the MT.
+CGEV: NW DETACH
The network has forced a PS detach. This implies that all active contexts have been deactivated. These are not reported
separately.
+CGEV: ME DETACH
The mobile termination has forced a PS detach. This implies that all active contexts have been deactivated. These are notreported separately.
+CGEV: NW CLASS <class>
The network has forced a change of UE class. The highest available class is reported.
+CGEV: ME CLASS <class>
The mobile termination has forced a change of UE class. The highest available class is reported.
Parameter<mode>: controls the processing of unsolicited result codes specified within this command0

buffer unsolicited result codes in the MT; if MT result code buffer is full, the oldest ones can be discarded. No codes areforwarded to the TE.
1discard unsolicited result codes when MT-TE link is reserved (e.g. in on-line data mode); otherwise forward them directly

to the TE2buffer unsolicited result codes in the MT when MT-TE link is reserved (e.g. in on-line data mode) and flush them to the TE

when MT-TE link becomes available; otherwise forward them directly to the TE<bfr>:
0MT buffer of unsolicited result codes defined within this command is cleared when <mode> 1 or 2 is entered1

MT buffer of unsolicited result codes defined within this command is flushed to the TE when <mode> 1 or 2 is entered(OK response shall be given before flushing the codes)
ExampleAT+CGEREP=?
+CGEREP: (0-2),(0-1)

OK
AT+CGEREP?
+CGEREP: 0,0OK

8.6. AT+CGSMS Select service for MO SMS messages
The set command is used to specify the service or service preference that the MT will use to send MO SMS messages.
The read command returns the currently selected service or service preference.
The test command is used for requesting information on the currently available services and service preferences.

All Rights reserved, No Spreading without GOSUNCN Permission

88ME3630
AT Command Reference Guide of Module ProductCommand

Response+CGSMS=[<service>]<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CGSMS?

<CR><LF>+CGSMS: <service><CR><LF><CR><LF>OK<CR><LF>+CGSMS=?

<CR><LF>+CGSMS: (list of currently available <service>s)<CR><LF><CR><LF>OK<CR><LF>

Parameter<service>: a numeric parameter which indicates the service or service preference to be used0

Packet Domain

1

circuit switched

2

Packet Domain preferred (use circuit switched if GPRS not available)

3

circuit switched preferred (use Packet Domain if circuit switched not available)

ExampleAT+CGSMS?
+CGSMS: 1

OK
AT+CGSMS=?
+CGSMS: (0-3)

OK

8.7. AT$QCPDPP Set PDP Authentication parameters
This command is used to set the PDP Authentication parameters, that is the username/password assigned by network provider
in LTE/WCDMA/TD-SCDMA/GSM mode. If there is no username/password, you don’t need to set this command.
This command can be only used when the module has registered to network.
Command

Response$QCPDPP=<cid>,<auth_type>,<password>,<username><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>$QCPDPP?

<CR><LF>$QCPDPP: <cid>,<auth_type>[,<username>]<CR><LF>[$QCPDPP: <cid>,<auth_type>[,<username>] <CR><LF>[...]]<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>$QCPDPP=?

<CR><LF>$QCPDPP: (list of supported <cid>s), (list of supported<auth_type>s)<CR><LF>

All Rights reserved, No Spreading without GOSUNCN Permission

89ME3630
AT Command Reference Guide of Module Product<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>$QCPDPP<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

Parameters<cid> (1-24) a numeric parameter which specifies a particular PDP context definition<auth_type>:a numeric parameter specified the Authentication type0-Disable PDP Authentication
1 – PAP
2 – CHAP
3-PAP,CHAP auto<password>: password assigned by network provider in LTE/WCDMA/TD-SCDMA/GSM<user>: username assigned by network provider in LTE/WCDMA/TD-SCDMA/GSM
ExampleAT$QCPDPP=2,3,"password","user"
OK
AT$QCPDPP?
$QCPDPP: 1,0$QCPDPP: 2,3,"user"$QCPDPP: 3,0$QCPDPP: 4,0$QCPDPP: 5,0
OK
AT$QCPDPP=?
$QCPDPP: (1-24),(0-3),,
OK
AT$QCPDPP
OK

8.8. AT+ZECMCALL Make ECM data callThis command used to make data call based on ECM interface. The data call parameter can be also configured by +CGDCONT
command.
Command

Possible response(s)+ZECMCALL=<action>[,<APN>[,<P+ZECMCALL: CONNECT

DP_type>[,<username>[,<passwd

or>[,<auth_type>]]]]]ERROR+ZECMCALL?

+ZECMCALL: <ip_type>,<ip_addr>,<gateway>,<pri_ dns>,<sec_dns>
OK

All Rights reserved, No Spreading without GOSUNCN Permission

90ME3630
AT Command Reference Guide of Module Product+ZECMCALL=?

+ZECMCALL: (0-1),,(1-3),,,(1-2)
OKDefined values<action>: a number used to control connect or disconnect the data call.
1 – CONNECT
0 – DISCONNECT<APN>: (Access Point Name) a string parameter which is a logical name that is used to select the P-GW or the external
packet data network.
<PDP_type>: A number used to control the type of packet data protocol
1 – IPV4

Internet Protocol, version 4

2 – IPV6Internet Protocol, version 6

3--IPV4IPV6Internet Protocol, version 6&4<username>: The string parameter username used to authentication<passwd >: The string parameter password used to authentication<auth_type>: a number used to control authentication type1 – PAP
2 – CHAP<ip_type>: ip type.
“V4” – IPV4 address“V6” – IPV6 address<ip_addr>: IP address<gateway>: gateway address<pri_dns>: primary DNS address<sec_dns>: second DNS address
ExampleAT+ZECMCALL=1+ZECMCALL: CONNECTOK
AT+ZECMCALL?
+ZECMCALL: IPV4, 1.1.108.220, 1.1.108.221, 192.232.9.24, 221.11.1.67

OK

8.9. +ZECMCALL active report the state of auto-dial
Enable auto-dial function, active report function default close.
This command is used to control ECM active report the state of auto-dial by change NV(ecmcall_urc) of AP.
The command will take effect after restart.
Use at+znvwrite=ecmcall_urc,1 command to enable active report the state of auto-dial;
Use at+znvwrite=ecmcall_urc,0 command to disable active report the state of auto-dial;
Use at+znvread=ecmcall_urc command to query state of auto-report switch.

This command is supported on ME3630J2AV1.0B12 , ME3630J2ASV1.0B05 and above

All Rights reserved, No Spreading without GOSUNCN Permission

91ME3630
AT Command Reference Guide of Module Productversion.
Command

Response+ZECMCALL: CONNECTEDor+ZECMCALL: DISCONNECTED, < code>
Parameter:<code>
UE is detached----when UE disconnect the ECM
2003-----mistake code
Example+ZECMCALL: CONNECTED+ZECMCALL: DISCONNECTED,UE is detached+ZECMCALL: DISCONNECTED,2003

8.10. AT+ZNVWRITE Enable auto-dial function
This command is supported on ME3630J2AV1.0B12 , ME3630J2ASV1.0B05 and above

version.
This command is used to control ECM auto dial by change NV(auto_dial_mode) of AP. This command will takeeffect after restart the module.
You should switch USB port according to either command as follows before enable auto-dial function:
1) AT+ZSWITCH=x, AT+ZADSET=r2) AT+ZSWITCH=l, AT+ZADSET=e
Command

Response+ZNVWRITE=<auto_dial_mode>,<VALUE><CR><CR><LF>OK<CR><LF>
or<CR><LF>ERROR<CR><LF>

Parameter:<auto_dial_mode>: string type, auto-dial mode, fixed value, that is auto_dial_mode,.
<value>:default void, means close auto-dial function.
1-----open auto-dial function
0-----close auto-dial function

ExampleAll Rights reserved, No Spreading without GOSUNCN Permission

92ME3630
AT Command Reference Guide of Module Product

AT+ZNVWRITE=auto_dial_mode,enabled//open auto-dial function

OK
AT+ZECMCALL?

//query ECM data dial state+ZECMCALL: IPV4, 10.113.243.70, 10.113.243.69, 211.137.130.18, 211.137.130.20//only support

auto-dial under IPV4 protocol, auto-dial can be controlled after ECM data connect successfully
OK
AT+ZNVWRITE=auto_dial_mode,disabled//close auto-dial function

OK

8.11. AT+ZNVREAD Query the state of auto-dial function
This command is supported on ME3630J2AV1.0B12 , ME3630J2ASV1.0B05 and above

version.
This command can query whether the ECM auto-dial function is open or not by read the NV(auto_dial_mode)of AP.
Command

Response+ZNVREAD=<auto_dial_mode><CR><CR><LF>+ZNVREAD: auto_dial_mode:<VALUE><CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>ERROR<CR><LF>

Parameter:<auto_dial_mode>: string type, auto-dial mode, fixed value, that is auto_dial_mode.
<VALUE>:void--default void, means close auto-dial function(when not set the +ZNVWRITE command)0 -- auto-dial function is disabled
1--auto-dial function is enabled

Exampleat+znvread=auto_dial_mode+ZNVREAD: auto_dial_mode:
OK
AT+ZNVWRITE=auto_dial_mode,1
OK
AT+ZNVREAD=auto_dial_mode+ZNVREAD: auto_dial_mode:1
OK

All Rights reserved, No Spreading without GOSUNCN Permission

93ME3630
AT Command Reference Guide of Module Product8.12. AT+ZSDHCPLEASE Amend DHCP LEASE TIME
This command is supported on ME3630J2AV1.0B12 , ME3630J2ASV1.0B05 and above

version.
This command is used to control IP address lease time by amend NV(dhcp_lease_time) of AP. This command
will take effect after restart.
Command

Response+ZSDHCPLEASE=<dhcplease_t<CR><LF>OK<CR><LF>

ime><CR>

or<CR><LF>ERROR<CR><LF>+ZSDHCPLEASE=? <CR>

<CR><LF>+ZSDHCPLEASE:The

value

cannot

be

less

than

120<CR><LF>
OK<CR><LF>+ZSDHCPLEASE? <CR>

<CR><LF>+ZSDHCPLEASE:current_dhcplease_time<CR><LF>
OK<CR><LF>

Parameter<dhcplease_time>: dhcpe_lease_time value, minimum value is 120, and default value is 43200(unit: s)
ExampleAT+ZSDHCPLEASE=119//less than 120, response ERRORERRORAT+ZSDHCPLEASE=180//set as 180s, that is 3 minutes

OKat+zsdhcplease=?

// dhcplease_time value should not less than 120s

+ZSDHCPLEASE:The value cannot be less than 120
OK
AT+ZSDHCPLEASE?

//query current dhcplease_time value+ZSDHCPLEASE:180
OK

All Rights reserved, No Spreading without GOSUNCN Permission

94ME3630
AT Command Reference Guide of Module Product9. GPS RELATIVE C OMMANDS
9.1. AT+ZGINIT Initialization Location command
Init a client for GPS application.
Command

Possible response+ZGINIT<CR><LF>OK<CR><LF>
MS error:<CR><LF>ERROR<CR><LF>

ExampleAT+ZGINIT
OK

9.2. AT+ZGMODE Set location modeThis command is used for set location mode by user.
Command

Possible response+ZGMODE=<flag><CR><LF>OK<CR><LF>
MS error:<CR><LF>ERROR<CR><LF>+ZGMODE?

<CR><LF>+ZGMODE: <flag><CR><LF><CR><LF>OK<CR><LF>
MS error:<CR><LF>ERROR<CR><LF>+ZGMODE=?

<CR><LF>+ZGMODE: (1-3)<CR><LF><CR><LF>OK<CR><LF>

Defined values<flag>:
1: MS-BASED
2: MS-ASSISTED
3: STANDALONE_ONLY (Default Value)
ExampleAT+ZGMODE=1OK
AT+ZGMODE=?
+ZGMODE: (1-3)

OK

9.3. AT+ZGFIXRATE Set location mode choice when reset GPS
This command is used to set location mode choice when reset GPS.

All Rights reserved, No Spreading without GOSUNCN Permission

95

ME3630
AT Command Reference Guide of Module ProductCommand

Possible response+ZGFIXRATE=<flag1>,<flag2><CR><LF>OK<CR><LF>
MS error:
E<CR><LF>RROR<CR><LF>+ZGFIXRATE?

<CR><LF>+ZGFIXRATE: <flag1>,<flag2><CR><LF><CR><LF>OK<CR><LF>
MS error:<CR><LF>ERROR<CR><LF>+ZGFIXRATE=?

<CR><LF>+ZGFIXRATE: (1-100000),(1-255)<CR><LF><CR><LF>OK<CR><LF>

Defined values<flag1>: Set location mode when reset GPS by using AT+ZGRST, 1:one-shot mode, others: tracking mode. Default value
is 1, range 1~100000.
<flag2>: Positioning time interval in second, default value is 1, the range is 1-255, This has been abandoned.
ExampleAT+ZGFIXRATE=2,5
OK
AT+ZGFIXRATE?
+ZGFIXRATE: 2,5

OK

9.4. AT+ZGQOS Set QOS for location
This command used for set QOS for location.
Command

Possible response+ZGQOS=<flag1>,<flag2><CR><LF>OK<CR><LF>
MS error:<CR><LF>ERROR<CR><LF>+ZGQOS?

<CR><LF>+ZGQOS: <flag1>,<flag2><CR><LF><CR><LF>OK<CR><LF>
MS error:<CR><LF>ERROR<CR><LF>+ZGQOS=?

<CR><LF>+ZGQOS: (2-10000),(0-255)<CR><LF><CR><LF>OK<CR><LF>

Defined values<flag1>: Positioning accuracy (default : 50), the range is 2-10000<flag2>: Desired level of performance. (0-255) (default: 255)
ExampleAT+ZGQOS=50,100
OK
AT+ZGQOS?

All Rights reserved, No Spreading without GOSUNCN Permission

96ME3630
AT Command Reference Guide of Module Product+ZGQOS: 50,100

OK

9.5. AT+ZGURL Set URL of SUPL serverThis command used for Set URL of SUPL server.
Command

Possible response+ZGURL=<flag><CR><LF>OK<CR><LF>
MS error:<CR><LF>ERROR<CR><LF>+ZGURL?

<CR><LF>+ZGURL: <flag><CR><LF><CR><LF>OK<CR><LF>
MS error:<CR><LF>ERROR<CR><LF>

Defined values<flag>: SUPL server URL
ExampleAT+ZGURL= http://supl.google.com:7276
OK
AT+ZGURL?
+ZGURL: http://supl.google.com:7276

OK

9.6. AT+ZGRUN Location mode choiceStart or stop GPS Application, and choice one-shot or tracking mode location mode.
Command

Possible response+ZGRUN=<flag><CR><LF>OK<CR><LF>
MS error:<CR><LF>ERROR<CR><LF>+ZGRUN?

<CR><LF>+ZGRUN: <running_state><CR><LF><CR><LF>OK<CR><LF>+ZGRUN=?

<CR><LF>+ZGRUN: (0-2)<CR><LF><CR><LF>OK<CR><LF>

Defined values<flag>:
0 Stop GPS location command
1 Start one-shot location mode
2 Start tracking mode (not applicable for MSA), controlled by MS<running_state>:

All Rights reserved, No Spreading without GOSUNCN Permission

97ME3630
AT Command Reference Guide of Module Product0 GPS is off
1 GPS is on and in one-shot location mode
2 GPS is on and in tracking mode

ExampleAT+ZGRUN=0
OK

9.7. +ZGPSERROR Report error code
Report error code when some error happen in location process
Command

Possible response<CR><LF>+ZGPSERROR: <flag><CR><LF>

Defined values<flag>:
0 ERROR_ACCESS_DENIED
1 ERROR_ BAD_NET_RESP
2 ERROR_ BUSY
3 ERROR_ CANCELLED
4 ERROR_ CONNECTION_ABORTED
5 ERROR_ CONTINUE
6 ERROR_ FATAL_ERROR
7 ERROR_ GEN_FAILURE
8 ERROR_ INCORRECT_ADDRESS
9 GPS_ERR_INSUFFICIENT_SAT_SIGNAL
10

ERROR_ INVALID_CATEGORY11

ERROR_ INVALID_PARAMETER

12

ERROR_ NETWORK_UNREACHABLE

13

ERROR_ NOT_AUTHENTICATED14

ERROR_ NOT_CONNECTED

15

ERROR_ REQUEST_ABORTED16

ERROR_ RETRY

17

ERROR_ OUTOFMEMORY18

ERROR_ TIMEOUT

19

ERROR_ RADIO_OFF

Example+ZGPSERROR: 3

9.8. AT+ZGRST Reset GPS
This command executes GPS reset.
Command

Possible response+ZGRST=<mode>

When restart success, return:<CR><LF>OK<CR><LF>

All Rights reserved, No Spreading without GOSUNCN Permission

98ME3630
AT Command Reference Guide of Module Product<CR><LF>+ZGRST: OK<CR><LF>
When set different modes, the time for +ZGRST returning is different, 20 second for cold restart.
When failed to start searching ephemeris,return:<CR><LF>OK<CR><LF><CR><LF>+ZGRST: ERROR<CR><LF>
MS error:<CR><LF>ERROR<CR><LF>+ZGRST=?

<CR><LF>+ZGRST: (0-2)<CR><LF><CR><LF>OK<CR><LF>

Defined values<mode>:
0 Cold restart
1 Warm restart
2 Hot restart
NOTE: This command should be operated when GPS is enabled. The location mode is determined by AT+ZGFIXRATE.
ExampleAT+ZGRST=1
OK+ZRST: OK

9.9. AT+ZGPSAPN Set AGPS APNThis command is used to set the APN of AGPS. And this set command will take effect once setting. The setting value will besaved after restart.
Command

Possible response+ZGPSAPN=<id>,<PDP_type>,<APN>[,<s<CR><LF>OK<CR><LF>

rv_system_type>]<CR>

or<CR><LF>ERROR<CR><LF>+ZGPSAPN?<CR><CR><LF>+ZGPSAPN:<id>,<PDP_type>,<APN>,<srv_system_type><C
R><LF>[+ZGPSAPN:<id>,<PDP_type>,<APN>,<srv_system_type>] <CR><LF>[...]]<CR><LF>OK<CR><LF>+ZGPSAPN=? <CR>

<CR><LF>+ZGPSAPN:(1-6),,,(0x1-0x1F)<CR><LF><CR><LF>OK<CR><LF>

Defined values<id>: （1-6）：used to assign one APN configuration, a strip of configuration for one type of network, recommend to set as 1
<PDP_type>：used to assign data protocol, recommend to fit to net type
IPV4

Internet protocol V4

IPV6Internet protocol V6

All Rights reserved, No Spreading without GOSUNCN Permission

99

ME3630
AT Command Reference Guide of Module Product

IPV4V6

Internet protocol V4V6

PPP

PPP

<APN>: used to choose APN when A-GPS location, recommend to fit net type<srv_system_type>the parameter only supports hex, range is 0x1~0x1F. used to choose net type, values are shown as

follows, can set one or more at the same time, default value is 01xC(0x10+0x8+0x4, means net set is GSM+WCDMA+LTE),
recommend value is 0x1C
0x1

CDMA

0x2

HDR

0x4

GSM

0x8

WCDMA

0x10

LTE

ExampleSetting Command
AT+ZGPSAPN=1,IPV4V6,3gnet,0x1C
OK
Query command
AT+ZGPSAPN?
+ZGPSAPN: 1,IPV4V6,3gnet,0x1C
OK
Test command
AT+ZGPSAPN=?
+ZGPSAPN:(1-6),,,(0x1-0x1F)
OK

9.10. AT+ZGPORT Set GPS information report port.
This command is used to set GPS information report port, take effective immediately after be set, and mot
saved when the module restarts.
Command

Response+ZGPORT=[<n>]<CR><LF>OK<CR><LF>
or<CR><LF>+ZGPORT ERROR: <err><CR><LF>+ZGPORT?

<CR><LF>+ZGPORT: <n><CR><LF><CR><LF>OK<CR><LF>+ZGPORT=?

<CR><LF>+ZGPORT: (list of supported <n>s) <CR><LF><CR><LF>OK<CR><LF>

Parameter<n>: integer, default 0, that is information report from AT/MODEM/UART at the same time
0:PS information report from AT/MODEM/UART at the same time

All Rights reserved, No Spreading without GOSUNCN Permission

100ME3630
AT Command Reference Guide of Module Product

1:PS information report from AT port only
2:GPS information report from MODEM port only
3:GPS information report from UART port only

9.11. +ZGMEASURE Report satellites measurements
Report ephemeris data mask, almanac data mask, searched satellite number and satellite signal strength.
It ‘s an URC command, not supported write & read operation.
Note: the module will get the location data only if there are more than four searched satellites with well signal strength.
Command

Possible response<CR><LF>+ZGMEASURE: <flag1>,<flag2>,<flag3>,<flag4>,<flag5>,<….> <CR><LF>

Defined values
Flag

Explanation

Data type

Flag1

Eph_svmask, ephemeris data mask

Unsigned 32 bit value

Flag2

Alm_svmask, almanac data mask

Unsigned 32 bit value

Flag3

Sv_num, the searched satellite number

Unsigned 8 bit value

Flag4

Prn, SV ID, the first searched satellite ID

Unsigned 8 bit value

Flag5

Cn0, the first searched satellite signal strength, the unit

Unsigned 16 bit value

is 0.1dB
Flag 6

Prn, SV ID, the second searched satellite ID

Unsigned 8 bit value

Flag 7

Cn1, the second searched satellite signal strength, theUnsigned 16 bit value

unit is 0.1dB……
Flag

Prn, SV ID, the Sv_num searched satellite ID

Unsigned 8 bit value

Flag

Cn1, the Sv_num searched satellite signal strength, theUnsigned 16 bit value

2*( Sv_num)+3

unit is 0.1dB

2*( Sv_num)+2

Example+ZGMEASURE:536870980,-513,25,3,281,4,180,7,259,30,270,40,324,1,0,6,0,8,0,9,0,15,0,16,0,17,0,18,0,22,0,
28,0,32,0,86,320,73,226,75,119,83,196,85,144,70,0,69,0,84,0,68,0



NOTE : This AT command has some differences( increase the following function) in LTE Module as follows:

Set GPS ZGMEASURE Report enable or not.
Command

Possible response+ZGMEASURE=<status><CR><LF>OK<CR><LF>+ZGMEASURE?

<CR><LF>+ZGMEASURE: <status><CR><LF><CR><LF>OK<CR><LF>+ZGMEASURE=?

<CR><LF>+ZGMEASURE: (0-1)<CR><LF><CR><LF>OK<CR><LF>

Defined values<status>:1

enableAll Rights reserved, No Spreading without GOSUNCN Permission

101ME3630
AT Command Reference Guide of Module Product0

disableExampleAT+ZGMEASURE=1
OK
AT+ZGMEASURE?
+ZGMEASURE: 1

OK

9.12. +ZGPSR Report Location Data
Report UTC time, lon, lat and speed Example
Command

Possible response<CR><LF>+ZGPSR:<UTC>,<latitude>,<longitude>,<hdop>,<altitude>,<fix>,<cog>,<spkm>,<spkn>,<date>,<nsat><CR><LF>

Defined values<UTC>

UTC time (hhmmss.sss) referred to GGA sentence<latitude>

format is ddmm.mmmm N/S (referred to GGA sentence)

where:
dd - degrees
00..90mm.mmmm - minutes
00.0000..59.9999
N/S: North / South<longitude>

format is dddmm.mmmm E/W (referred to GGA sentence)

where:
ddd - degrees
000..180mm.mmmm - minutes
00.0000..59.9999
E/W: East / West<hdop><altitude>

x.x - Horizontal Diluition of Precision (referred to GGA sentence)
x.x Altitude - mean-sea-level (geoid) in meters (referred to GGA sentence)<fix>:
0 - Invalid Fix
2 - 2D fix
3 - 3D fix<cog>

ddd.mm - Course over Ground (degrees, True) (referred to VTG sentence)

where:
ddd - degrees
000..360mm - minutes

All Rights reserved, No Spreading without GOSUNCN Permission

102

ME3630
AT Command Reference Guide of Module Product00..59<spkm>

x.x Speed over ground (Km/hr) (referred to VTG sentence)<spkn>

x.x- Speed over ground (knots) (referred to VTG sentence)<date>

ddmmyy Date of Fix (referred to RMC sentence)

where:
dd - day01..31mm - month01..12yy - year
00..99 - 2000 to 2099
<nsat>

nn - Total number of satellites in use (referred to GGA sentence)

00..12
Example+ZGPSR: 063309.800,3411.2655N,10852.5821E,3.3,357.3,2,154.12,0.3,0.5,160812,04+ZGPSR: ,,,,,0,,,,,//when location successfully//when not fixed position

9.13. AT+ZGPSR Enable/Disable +ZGPSR report
Set ZGPSR Report of GPS enable or not.
Command

Possible response+ZGPSR=<status><CR><LF>OK<CR><LF>+ZGPSRIf location is successful, return OK and positioning results

Query the position result<CR><LF>OK<CR><LF>

during the positioning<CR><LF>+ZGPSR:<UTC>,<latitude>,<longitude>,<hdop>,<altit

processude>,<fix>,<cog>,<spkm>,<spkn>,<date>,<nsat><CR><LF>
If location is failed，only return OK:<CR><LF>OK<CR><LF>+ZGPSR?

<CR><LF>+ZGPSR: <status><CR><LF><CR><LF>OK<CR><LF>+ZGPSR=?

<CR><LF>+ZGPSR: (0-1)<CR><LF><CR><LF>OK<CR><LF>

Defined values<status>:1:

enable0:disableThe details of parameters: <UTC>,<latitude>,<longitude>,<hdop>,<altitude>,<fix>,<cog>,<spkm>,<spkn>,<date>,<nsat>, you can refer to+ZGPSR unsolicited command.

ExampleAT+ZGPSR=1
OK

All Rights reserved, No Spreading without GOSUNCN Permission

103

ME3630
AT Command Reference Guide of Module Product
AT+ZGPSR?
+ZGPSR: 1

OK
AT+ZGPSROK+ZGPSR: 063309.800,3411.2655N,10852.5821E,3.3,357.3,2,154.12,0.3,0.5,160812,04

9.14. +ZGPSEVENT Report location status event
Report location event code
Command

Possible response<CR><LF>+ZGPSEVENT: <flag><CR><LF>

Defined values
Table5: parameters explanation
Flag

Explanation

Data type0x08

Indicates session completion

Uint320x10

Indicates that the PD session has been ended

Uint320x20

Indicates start of a session

Uint320x40

Indicates that the UE is attempting to communicate with the network

Uint320x80

Indicates connection; triggered when the connection with the network has

Uint32

been established
0x100

Indicates a failure in communication with network; this might be due to any

Uint32

number of errors
0x200

Marks the conclusion of communication with the server;

Uint320x4000

GPS receiver is turned on

Uint320x8000

GPS receiver is turned off

Uint32

Example+GPSEVENT: 8
OK



NOTE : This AT command has some differences( increase the following function) in LTE Module as follows:

Set GPSEVENT Report of GPS enable or not
Command

Possible response+ZGPSEVENT=<status><CR><LF>OK<CR><LF>+ZGPSEVENT?

<CR><LF>+ZGPSEVENT: <status><CR><LF><CR><LF>OK<CR><LF>+ZGPSEVENT=?

<CR><LF>+ZGPSEVENT: (0-1)<CR><LF>

All Rights reserved, No Spreading without GOSUNCN Permission

104ME3630
AT Command Reference Guide of Module Product<CR><LF>OK<CR><LF>

Defined values<status>:1:

enable0:disableExampleAT+ZGPSEVENT=1
OK
AT+ZGPSEVENT?
+ZGPSEVENT: 1

OK

9.15. AT+ZGNMEA Set the reported NMEA format of GPS data
The set command is used to set the NMEA format of GPS data. And it will take effect once sent until power off.
Read command is used to show the reported message of NMEA, and it will return 0 when there is no reported message.
Note: this command is only supported by the newest software firmware is or above ME3630U1AV1.0B12
Command

Possible response+ZGNMEA=<value><CR><LF>OK<CR><LF>+ZGNMEA?

<CR><LF>+ZGNMEA: <GGA>,<RMC>,<GSV>,<GSA>,<VTC><CR><LF><CR><LF>OK<CR><LF>+ZGNMEA=?

<CR><LF>+ZGNMEA: (0-31)<CR><LF><CR><LF>OK<CR><LF>

Parameter<value>: Set the reported NMEA format
1 -GGA
2 - RMC
4-GSV
8-GSA
16-VTG<value> the summation of all the reported message. For example, if the GGA and VTG message are needed, the <value>
mustbe set to 17(=16+1)
The default value of <value> is 0, that to say no reported NMEA message in default.
ExampleAT+ZGNMEA?
+ZGNMEA:GGA,RMC,GSV,GSA,VTG

OK$GPGSV,4,1,16,04,,,36,09,07,317,37,16,76,282,32,23,42,309,28*4D$GPGSV,4,2,16,26,62,028,42,31,35,075,35,03,56,118,,05,,,*49

All Rights reserved, No Spreading without GOSUNCN Permission

105

ME3630
AT Command Reference Guide of Module Product$GPGSV,4,3,16,06,51,108,,08,04,281,,10,26,248,,11,,,*4E$GPGSV,4,4,16,12,74,009,,13,40,317,,18,07,194,,19,39,135,*73$GPVTG,,T,,M,,N,,K,N*2C$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPGGA,,,,,,0,,,,,,,,*66$GPRMC,,V,,,,,,,,,,N*53$GPGSV,4,1,16,04,,,36,09,07,317,37,16,76,282,32,23,42,309,28*4D$GPGSV,4,2,16,26,62,028,42,31,35,075,35,03,56,118,,05,,,*49$GPGSV,4,3,16,06,51,108,,08,04,281,,10,26,248,,11,,,*4E$GPGSV,4,4,16,12,74,009,,13,40,317,,18,07,194,,19,39,135,*73$GPVTG,,T,,M,,N,,K,N*2C$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPGGA,,,,,,0,,,,,,,,*66$GPRMC,,V,,,,,,,,,,N*53$GPGSV,4,1,16,04,,,36,09,07,317,37,16,76,282,32,23,42,309,28*4D$GPGSV,4,2,16,26,62,028,42,31,35,075,35,03,56,118,,05,,,*49$GPGSV,4,3,16,06,51,108,,08,04,281,,10,26,248,,11,,,*4E$GPGSV,4,4,16,12,74,009,,13,40,317,,18,07,194,,19,39,135,*73$GPVTG,,T,,M,,N,,K,N*2C$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPGGA,,,,,,0,,,,,,,,*66$GPRMC,,V,,,,,,,,,,N*53

All Rights reserved, No Spreading without GOSUNCN Permission

106ME3630
AT Command Reference Guide of Module Product$GPGSV,4,1,16,04,,,36,09,07,317,37,16,76,282,32,23,42,309,28*4D$GPGSV,4,2,16,26,62,028,42,31,35,075,35,03,56,118,,05,,,*49$GPGSV,4,3,16,06,51,108,,08,04,281,,10,26,248,,11,,,*4E$GPGSV,4,4,16,12,74,009,,13,40,317,,18,07,194,,19,39,135,*73$GPVTG,,T,,M,,N,,K,N*2C$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPGGA,,,,,,0,,,,,,,,*66$GPRMC,,V,,,,,,,,,,N*53$GPGSV,4,1,16,04,,,36,09,07,317,37,16,76,282,32,23,42,309,28*4D$GPGSV,4,2,16,26,62,028,42,31,35,075,35,03,56,118,,05,,,*49$GPGSV,4,3,16,06,51,108,,08,04,281,,10,26,248,,11,,,*4E$GPGSV,4,4,16,12,74,009,,13,40,317,,18,07,194,,19,39,135,*73$GPVTG,,T,,M,,N,,K,N*2C$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPGGA,,,,,,0,,,,,,,,*66$GPRMC,,V,,,,,,,,,,N*53$GPGSV,4,1,16,04,,,36,09,07,317,37,16,76,282,32,23,42,309,28*4D$GPGSV,4,2,16,26,62,028,42,31,35,075,35,03,56,118,,05,,,*49$GPGSV,4,3,16,06,51,108,,08,04,281,,10,26,248,,11,,,*4E$GPGSV,4,4,16,12,74,009,,13,40,317,,18,07,194,,19,39,135,*73$GPVTG,,T,,M,,N,,K,N*2C$GPGSA,A,1,,,,,,,,,,,,,,,*1E

All Rights reserved, No Spreading without GOSUNCN Permission

107ME3630
AT Command Reference Guide of Module Product$GPGGA,,,,,,0,,,,,,,,*66$GPRMC,,V,,,,,,,,,,N*53$GPGSV,4,1,16,04,,,36,09,07,319,37,16,76,282,32,23,42,309,29*42$GPGSV,4,2,16,26,62,028,42,31,35,075,36,03,56,118,,05,,,*4A$GPGSV,4,3,16,06,51,108,,08,04,281,,10,26,248,,11,,,*4E$GPGSV,4,4,16,12,74,009,,13,40,317,,18,07,194,,19,39,135,*73$GPGGA,065354.10,3411.295840,N,10852.586794,E,1,05,1.2,411.9,M,-28.0,M,,*4A$GPVTG,0.0,T,3.1,M,0.0,N,0.0,K,A*21$GPRMC,065354.10,A,3411.295840,N,10852.586794,E,0.0,0.0,180317,3.1,W,A*23$GPGSA,A,2,09,16,23,26,31,,,,,,,,1.5,1.2,0.8*35

AT+ZGNMEA=15OK
AT+ZGNMEA?
+ZGNMEA:GGA,RMC,GSV,GSA,0OK

9.15.1. S YNTAX OF NMEAThe telecom sentences specified in NEMA communication protocol are based on ASCII codes. The data syntax of
NMEA-0183 protocol sentences are as follows:“$” is the starting sign of a sentence;“,” is the parameter separator;“*” is the check code identifier;
The last two digits are the check code.
The check code is XOR of all characters between “$” and “*” (excluding these two);
End with <CR> <LF>.
All sentences must end with a carriage return, which is “Carriage return” and “Line feed” of ASCII character.

All Rights reserved, No Spreading without GOSUNCN Permission

108ME3630
AT Command Reference Guide of Module ProductMessage parameters of NMEA output/input:
Field

ExampleContents

Start string$GPGGAmessage identifier

Valid data

<Data>

parameters relating to message

Check code

*check code

The check code contains two ASCII characters (hexadecimal values)

End string<CR><LF>

Each message ends with<CR> <LF>

Note:
All fields must exist, but the valid data parameter can be null (null between separator“,” or “*”)

9.15.2. S TANDARD NMEA OUTPUT SENTENCE
Common NMEA output sentences:
Sentence

Description

Possible prefix identifier

GGATime, position and fix type data

GP

GSA

GNSS receiver operating mode, satellites used in the position

GP,GN,BDsolution, and DOP values)
GSV

Number of GNSS satellites in view, satellite ID numbers,

GP,GL,BDelevation, azimuth, & SNR values
RMC

ime, date, position, course and speed data

GP,GN

VTG

Course and speed information relative to the ground

GP

Note:
1. The prefix “GP” stands for Global Positioning System;
2. The prefix “GN” stands for Global Navigation Satellite System;
3. The prefix “GL” stands for GLObalnaya NAvigatsionnaya Sputnikovaya Sistema;
4. The prefix “BD” stands for BeiDou Navigation Satellite System.
There are detailed descriptions of standard NMEA sentences in the following chapters.

9.15.3. GGA SENTENCE
Example:$GPGGA,065354.10,3411.295840,N,10852.586794,E,1,05,1.2,411.9,M,-28.0,M,,*4A<CR><LF>
String nameExampleMessage ID$GPGGAUTC time

065354.10

Unit

Description
GGA sentence header

Hour/Minute/S
econd

Latitude3411.295840

North/SouthN

Degree/Point

All Rights reserved, No Spreading without GOSUNCN Permission

N= North or S=South109

ME3630
AT Command Reference Guide of Module ProductLongitude

10852.586794

East/WestE

E=East or W=West

Positioning type1

0: invalid positioning or positioning failed
1: SPS mode, valid positioning
2: DSPS mode, valid positioning05

Ranging from 0 to 12

1.2

horizontal dilution of precision

Degree/Point

indication
Participatednavigation satellites
Horizontal dilutionof precision
Height

411.9

Meter

Height based on average sea level

Unit

M

Meter

Height unit based on average sea level

Geoidal rise

-28.0

Meter

Difference value between geoid and spheroid:
Spheroid height= Height based on average sea level+
Geoidal rise

Unit

M

Meter

Unit of Geoidal rise

Second0 or null as DGPS is not used

Differential
correction age
Differential station

Differential station ID

ID
Check code

*4A

Check code

Sentence terminator<CR><LF>

Carriage return and Line feed

9.15.4. GSA SENTENCE
Example: $GPGSA,A,2,09,16,23,26,31,,,,,,,,1.5,1.2,0.8*35<CR><LF>
String nameExampleUnit

Description

Message ID$GPGSA

GSA sentence header

Mode1

A

M: Manual–manual setting in 2D or 3D mode
A: Automatic– automatic switching between 2D and 3D
allowedMode22

1: positioning failed
2: 2D positioning(more than 4 satellites participating in
positioning)
3: 3D positioning (more than 3 satellites participating in
positioning)

Participated navigation

09

Satellite No. in Passage 1

16

Satellite No. in Passage 2

satellite [1]Participated navigation
satellite [1]……

All Rights reserved, No Spreading without GOSUNCN Permission

……

110

ME3630
AT Command Reference Guide of Module ProductParticipated navigation

Satellite No. in Passage 12

satellite [1]1.5

Position dilution of
precision [2]Horizontal dilution of

1.2

precision[2]0.8

Vertical dilution of
precision [2]Check code

*3D

Check code

Sentence terminator<CR><LF>

Carriage return and Line feed

9.15.5. GSV SENTENCE
Example:$GPGSV,4,1,16,04,,,36,09,07,317,37,16,76,282,32,23,42,309,28*4D<CR><LF>$GPGSV,4,2,16,26,62,028,42,31,35,075,35,03,56,118,,05,,,*49<CR><LF>$GPGSV,4,3,16,06,51,108,,08,04,281,,10,26,248,,11,,,*4E<CR><LF>$GPGSV,4,4,16,12,74,009,,13,40,317,,18,07,194,,19,39,135,*73<CR><LF>
String nameExampleUnit

Description

MessageID$GPGSV

GSV sentence header

Total number of4

Total number of this group of GSV sentences

1

The sequence no. of the sentence in this group of GSV
sentences

16

The number of this type of visible satellites

Satellite No.

26

Satellite No. in Passage 5

Elevation angle

62

DegreeSatellite passage5’s elevation angle (up to 90°)Azimuth angle

028

DegreeSatellite passage 5’s azimuth angle (true north, ranging from0 to 359°)

Signal strength

42

dBHz

Satellite passage5’s signal strength. Ranging from 0 to 99,
null as the satellite is not captured

sentences
Sentence
Sequence No.
Number ofvisible satellites……

……

Satellite No.

03

Elevation angle

56

DegreeSatellite passage 8’s elevation angle (up to 90°)Azimuth angle

118

DegreeSatellite passage 8’s azimuth angle (true north, ranging from0 to 359°)

dBHz

Ranging from 0 to 99, null as the satellite is not captured

Signal strength

Satellite No. in Passage 8

Check code*49

Check code

Sentence<CR><LF>

Carriage return and line feed

terminator

All Rights reserved, No Spreading without GOSUNCN Permission

111

ME3630
AT Command Reference Guide of Module Product9.15.6. RMC SENTENCE
Example:$GPRMC,083545.000,A,2233.4295,N,11356.7482,E,0.10,231.24,191213,,,A*6C<CR><LF>$GPRMC,065354.10,A,3411.295840,N,10852.586794,E,0.0,0.0,180317,3.1,W,A*23<CR><LF>
String nameExampleMessageID$GPRMCUTC time

065354.10

Unit

Description
RMC sentence header

Hour/Minute/S
econd

Status [1]A

A= valid data
V= invalid data
Degree/point

Latitude3411.295840

North/SouthN

Longitude

10852.586794

East/WestE

Speed over the

0.0

Knot

Ground speed

0.0

DegreeAzimuth angle marching to the groundDate

180317

Day/Month/Year

Magnetic

3.1

Degree

N=North or S=South
Degree/point
E=East or W=WestgroundAzimuth angle
above thegroundMagnetic declination angle

declination
angle [2]East/West [2]W

E=East or W=West

Mode

A

A=Autonomous
D=Differential DGPS

Check code

*23

Check code

Sentence<CR><LF>

Carriage return and line feed

terminator

9.15.7. VTG SENTENCE
Example:$GPVTG,231.24,T,,M,0.10,N,0.18,K,A*33<CR><LF>$GPVTG,0.0,T,3.1,M,0.0,N,0.0,K,A*21<CR><LF>
String nameExampleMessageID$GPVTG

Azimuth angle

0.0

Unit

Description
VTG sentence header

DegreeAll Rights reserved, No Spreading without GOSUNCN Permission

Azimuth angle

112

ME3630
AT Command Reference Guide of Module Product

Reference

T

Azimuth angle

3.1

Reference

M

Speed

0.0

Unit

N

Speed

0.0

Unit

K

K represents: Km/Hour

Mode

A

A= Autonomous

T represents True North
DegreeAzimuth angle
M represents Magnetic North

Knot [2]Horizontal speed measured
N represents Knot [2]Km/Hour [2]Vertical speed measured

D=DGPS
Check code

*21

Check code

Sentence<CR><LF>

Carriage return and line feed

terminator
Note:
1.

It doesn’t support Magnetic Declination Angle output. < Azimuth angle above the ground > is relative to the true

north’s output of WGS-84 coordinate system.
2.

1 Knot is equal to 1.852 Km/hour.

All Rights reserved, No Spreading without GOSUNCN Permission

113

ME3630
AT Command Reference Guide of Module Product10. HARDWARE RELATIVE COMMANDS
10.1. AT+CCLK Clock Management
Read command returns the current setting of the clock.
Test command returns the OK result code.
Command

Response+CCLK?

<CR><LF>+CCLK: <time><CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+CCLK=?

<CR><LF>OK<CR><LF>

Parameter<time>: string type value; format is "yy/MM/dd,hh:mm:sszz", where characters indicate year (two last digits), month, day,hour, minutes, seconds and time zone (indicates the difference, expressed in quarters of an hour, between the local time and GMT;
range -47...+48). E.g. 6th of May 1994, 22:10:00 GMT+2 hours equals to "94/05/06,22:10:00+08"
NOTE:

If MT does not support time zone information then the three last characters of <time> are not returned by +CCLK?.

ExampleAT+CCLK?
+CCLK: "14/09/11,16:54:15+08"

OK

10.2. AT+ZTURNOFF Turn Off the Modem
This command is used to turn off the modem. Module will deactivate PDP, release all resources, and then shut down.
Command

Response+ZTURNOFF<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

Note: It’s better to execute “AT+ZTURNOFF” before power off the module.

ExampleAT+ZTURNOFF
OK

10.3. AT+ZRST RESET the ModuleThis command is used to reset the module. Module will deactivate PDP, release all resources, and then reset.
Command

Response+ZRST<CR><LF>OK<CR><LF>

ExampleAT+ZRST

All Rights reserved, No Spreading without GOSUNCN Permission

114

ME3630
AT Command Reference Guide of Module ProductOK

10.4. AT+ZGPIO GPIO Pins Set command
This command is used to set/Query GPIO status/direction
The syntax of this command +ZGPIO is shown in the table below:
Command

Response+ZGPIO=?<CR><CR><LF>+ZGPIO: (1-5),(0-1),(0-1),(0-7),(0-2) <CR><LF>(Query the parameters’ range)<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+ZGPIO=<pin><CR><LF>+ZGPIO: <pin>,<mode>,<status>,<n4>,<n5><CR><LF>(GPIO STATUS INQUIRY, including I/O and voltage<CR><LF>OK<CR><LF>

level,driver capability ,pull-up /pull-down.)

or<CR><LF>+CME ERROR: <err><CR><LF>+ZGPIO=<pin>,<mode><CR><LF>OK<CR><LF>(Set GPIO pin as input/output)

or<CR><LF>+CME ERROR: <err><CR><LF>+ZGPIO=<pin>,<mode>,<status><CR><LF>OK<CR><LF>(This command is used to set GPIO to output

orhigh or low level. Input mode can’t set high/low<CR><LF>ERROR<err><CR><LF>

level status.)+ZGPIO=<pin>,<mode>,<status>,<n4><CR><LF>OK<CR><LF>（This command is used to set GPIO to output

orhigh or low level, and can set the driver capacity.

<CR><LF>ERROR<CR><LF>

Input mode can’t set this status）+ZGPIO=<pin>,<mode>,<status>,<n4>,<n5><C<CR><LF>OK<CR><LF>

R>or（This command is used to set GPIO to output<CR><LF>ERROR<CR><LF>

high or low level, and can set the drivercapacity,pull-up/down. Input mode can’t set thisstatus）+ZGPIO?

<CR><LF>+ZGPIO: <all pins mode and status> <CR><LF>(Query all the GPIO pins’ direction and voltage<CR><LF>OK<CR><LF>

level)

or<CR><LF>+CME ERROR: <err><CR><LF>

Parameters
Parameters

Range

remarks

<pin>

1-5

stands for 5 single GPIO Pins

<mode>0

Input

All Rights reserved, No Spreading without GOSUNCN Permission

115

ME3630
AT Command Reference Guide of Module Product<status><n4>1

Output0

Low level1High level

Driver capacity. The range is 0-7,default 0

Only when the pin is set to output, you

0 ---2mA

can set this parameter, or it may return

1 --- 4mA

ERROR

2 --- 6mA
3 --- 8mA
4 --- 10mA
5 --- 12mA
6--- 14mA
7 --- 16mA
<n5>

Pull-up/down status. When GPIO is input, the default

Only when the pin is set to output, youvalue is 1, when is output, default value is 0.

can set this parameter,or it may return
ERROR

0 --- NO_PULL
1 --- PULL_DOWN
2 --- PULL_UP
When there is one parameter of <pin> in set command:<pin>

Returnremarks

1-5

ZGPIO: <pin>,<mode>,<status>(GPIO STATUS INQUIRY, including I/OOK

and voltage leve.)

other

ERROR

When there is two parameters of <pin>&<mode> in set command:<pin><mode>

returnremarks

1~5

0/1

OK

Set single GPIO as input/output

other

other

ERROR

When there is three parameters of <pin>&<mode>&<status> in set command:<pin><mode><status>

returnremarks

1-5

0

0/1

ERROR

Input mode can’t set high/low levelstatus.

1-5

1

0/1

OK

other

other

other

ERROR

Set single GPIO high/low status.

Note: you can refer to hardware Development Guide for information fo GPIO pins

Example//return GPIOs parameter range
AT+ZGPIO=?
+ZGPIO: (1-5),(0-1),(0-1),(0-7),(0-2)
OK

All Rights reserved, No Spreading without GOSUNCN Permission

116ME3630
AT Command Reference Guide of Module Product//return all GPIOs mode and status
AT+ZGPIO?
+ZGPIO: <1,1,0,0,0>,<2,0,0,0,1>,<3,0,0,0,1>,<4,0,0,0,1>,<5,0,0,0,1>
OK//return GPIO 1 mode and status
AT+ZGPIO=1+ZGPIO: 1,0,0,0,1
OK//set GPIO2 to be input mode.
AT+ZGPIO=2,0OK//set GPIO 4 to be output mode and high level.
AT+ZGPIO=4,1,1
OK

10.5. AT+ZADCx Read pin ADCx value
This commandis used to read the pin voltage of ADC1 and ADC2 values from modem.

Command

Response+ZADC<x>?

<CR><LF>+ZADC: <value><CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>

Parameter<x> : the range is 1~2, it indicate get the voltage of ADC1 or ADC2.
<value> : Integer type value of the pin ADC, which is expressed in mV.
ExampleAT+ZADC1?
+ZADC1: 45

OK
AT+ZADC2?
+ZADC2: 44

OK

10.6. AT+ZSWITCH Switch the port of module in different operation systems
When the module needs to be switched in different operating systems, we need use the AT command of +ZSWITCH to switch
the ports. And this command will take effect after restarting the module.

All Rights reserved, No Spreading without GOSUNCN Permission

117

ME3630
AT Command Reference Guide of Module ProductCommand

Possible response(s)+ZSWITCH=<os><CR><LF>OK<CR><LF>+ZSWITCH=?

<CR><LF>+ZSWITCH: (x/X,l/L,8) <CR><LF><CR><LF>OK<CR><LF>+ZSWITCH?

<CR><LF>+ZSWITCH:<os><CR><LF><CR><LF>OK<CR><LF>

Defined Values<os>:
L/l - Switch the ports to Linux/Android;
X/x - Switch the ports to Windows XP/Win7/VISTA/WinCE
8- Switch the ports toWin8
ExampleAT+ZSWITCH?
+ZSWITCH: x
OK
AT+ZSWITCH=lOK
AT+ZSWITCH=?
+ZSWITCH: (x/X,l/L,8)

OK

10.7. AT+ZADB Open/close ADB port

This command is supported on ME3630J2AV1.0B14,ME3630J2ASV1.0B05 and above version.
This command is used to open/close ADB port.
You should switch USB port according to the follow condition before enable auto-dial function:
AT+ZSWITCH=l, AT+ZADSET=e
Command

Possible response(s)+ZADB=<0/1><CR><LF>OK<CR><LF>+ZADB=?

<CR><LF>+ZADB: (0:close adb/1:open adb) <CR><LF><CR><LF>OK<CR><LF>+ZADB?

<CR><LF>+ZADB:<0/1><CR><LF><CR><LF>OK<CR><LF>

Parameter<0/1>:
0: ,default value, close ADB; it will take effect after the module is restarted.
1: open ADB, it will take effect exactly after be set, and saved after the module is powered off.

All Rights reserved, No Spreading without GOSUNCN Permission

118

ME3630
AT Command Reference Guide of Module Product

ExampleAT+ZADB?
+ZADB: 0
OK
AT+ZADB=?
+ZADB: (0:close adb/1:open adb)
OK
AT+ZADB=1
OK
AT+ZADB?
+ZADB: 1
OK

10.8. AT+ZADSET Port Switch between RNDIS/NDIS in Windows System
This command is used to do port swith between RNDIS/NDIS in Windows System.
Command

Possible response+ZADSET=<n><CR><LF>OK<CR><LF>+ZADSET=?

<CR><LF>+ZADSET: (n/N,r/R,e/E)<CR><LF><CR><LF>OK<CR><LF>+ZADSET?

+ZADSET: <n><CR><LF>OK<CR><LF>

Parameter<n>:N/n – Switch the USB interface to adaptive to WindowsXP/7/VISTA/WinCE system in NDIS mode, this command need tocooperate with command AT+ZSWITCH=X
R/r --- Switch the USB interface to adaptive to WindowsXP/7/VISTA/WinCE system in RNDIS mode, this command need tocooperate with command AT+ZSWITCH=X
E/e—Switch the USB interface to adaptive to Linux/Android system in ECM mode, this command need to cooperate withcommand AT+ZSWITCH=L
ExampleAT+ZADSET=N
OK
AT+ZADSET?
+ZADSET: nOK
AT+ZADSET=?
+ZADSET: (n/N,r/R,e/E)

All Rights reserved, No Spreading without GOSUNCN Permission

119ME3630
AT Command Reference Guide of Module ProductOK
AT+ZADSET=N
OK
AT+ZADSET=nOK
AT+ZADSET=R
OK
AT+ZADSET=r
OK

Note:
at+zadset=<n> need to cooperate with command at+zswitch.
This command is used to do port swith between RNDIS/NDIS in Windows System(at+zswitch=x). the PIDs of module under
different operation system are list in the table below:
operation system& AT

PID

Interface numberPort

0x14320

DIAG

E mode1

AT(AT+ZSWITCH=x

2

MODEM

3

NDIS

4

ADB

0

DIAG

1

AT

2

MODEM

3

ECM

4

ECM

0

RNDIS

E mode1

RNDIS(AT+ZSWITCH=x

2

DIAG

3

AT

4

MODEM

5

ADB

0

DIAG

1

AT

2

MODEM

3

MBIM

4

MBIM

5

ADB

command need to send
WindowsXP/7/VISTA/WinC

AT+ZADSET=N)

The default port sequence0x1476in general firmware
version, support ECM port
under Linux/Android OS(AT+ZSWITCH=lAT+ZADSET=E)
WindowsXP/7/VISTA/WinC

0x0601AT+ZADSET=R)

WIN8 mode

0x0602(AT+ZSWITCH=8)All Rights reserved, No Spreading without GOSUNCN Permission

120

ME3630
AT Command Reference Guide of Module Product10.9. AT+ZSDT Enable SIM card hot-plug function
This command is supported at ME3630C2CV1.0B08 version and above.
This command is used to set/query SIM card hot-swap, hot-swap polarity(high/low level of SIM_DETECT), card detect pull(pullup/down USIM_DETECT pin). And this command will take effect after the module restart.
Command

返回结果

+ZSDT=<n>[,<polarity>,<pull>]<CR><CR><LF>OK<CR><LF>
Or<CR><LF>ERROR<CR><LF>+ZSDT=?<CR><CR><LF>+ZSDT: (0-1)(0-1)(0-3)<CR><LF><CR><LF>OK<CR><LF>+ZSDT?<CR><CR><LF>+ZSDT: <n>,<polarity>,<pull><CR><LF><CR><LF>OK<CR><LF>

Parameter<n>:0 --- close SIM card hot-plug function(default value)
1 --- open SIM card hot-plug function<polarity>:
0---low level valid, when SIM card is plugged, USIM_DETECT(PIN41) is low level; when no SIM card, USIM_DETECT(PIN41) ishigh level(default).
1---high level valid, when SIM card is plugged, USIM_DETECT(PIN41) is high level; when no SIM card, USIM_DETECT(PIN41) is
low level.
<pull>: this parameter is used to set USIM_DETECT pull up or down; if there is USIM_DETECT external pull up,<pull> should be 0; if there is no SIM_DETECT external pull up, <pull> should be 3.
0 ---NO_PULL(default value)

1 ---PULL_DOWN（not recommend）

2 ---KEEPER（not recommend）

3 ---PULL_UP

ExampleAT+ZSDT=0OK
AT+ZSDT=1,1,3
OK
AT+ZSDT?
+ZSDT: 1,1,3
OK
AT+ZSDT=?
+ZSDT: (0-1) (0-1) (0-3)

All Rights reserved, No Spreading without GOSUNCN Permission

121ME3630
AT Command Reference Guide of Module ProductOK

10.10. AT+ZCHIPTEMP Get the temperature of pmic, xo, pa
This command is used to get the temperature and its range of PMIC (Power management chip), XO(crystals),
PA(overtemp).
Command

Possible response+ZCHIPTEMP?

<CR><LF>+ZCHIPTEMP: <pmic_temp>,<xo_temp>,<pa_temp><CR><LF><CR><LF>OK<CR><LF>+ZCHIPTEMP=?

<CR><LF><(pmic_temprange)>,<(xo_temprange)>,<(pa_temprange)><CR><LF><CR><LF>OK<CR><LF>

Defined Values<pmic_temp>: PMIC(Power management chip)temperature, unit 0.1℃
<xo_temp>: XO(crystals)temperature, unit 0.1℃
<pa_temp>: overtemp temperature, unit 0.1℃.
<pmic_temprange>: PMIC(Power management chip)temperature range, -300~1100,stands for -30~110℃<xo_temprange>: XO (crystals)temperature range, -300~1050, stands for -30~105℃<pa_temprange>: overtemp temperature range is NULL, stands for no range limit.
ExampleAT+ZCHIPTEMP?

// get the current temperature of pmic, xo, pa.

+ZCHIPTEMP: 287,313,300
OK
AT+ZCHIPTEMP=?

// get the temperature range(software) of pmic, xo, pa.

(-300, 1100), (-300, 1050), (null)OK

All Rights reserved, No Spreading without GOSUNCN Permission

122ME3630
AT Command Reference Guide of Module Product11. TCP/IP R ELATIVE C OMMANDS
11.1. AT+ZIPCFG Set and Query the params of PS Call
Extensible AT command, this command is used to Set and Query the params of PS Call.
Command

Possible response+ZIPCFG=<APN>[,<Username>,<Password>]<CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+ZIPCFG?

<CR><LF>+ZIPCFG:<APN>[,<User name>,<Password>]<CR><LF><CR><LF>OK<CR><LF>

Defined values<APN>: The Access Point Name.
<User name>:Usernanme when start a call
<Password>:Password when start a calle.g.
AT+ZIPCFG=cmwap,username,passwd
OK
AT+ZIPCFG?
+ZIPCFG: cmwap,username,passwd

OK

11.2. AT+ZIPCALL Start or End PS Call
Extensible AT command, this command is used to Start or end PS Call, If PS call successful. It will report IP address
automatically .
Command

Possible response+ZIPCALL=<Action><CR><LF>OK<CR><LF>+ZIPCALL: <State>[,<IP address>]or<CR><LF>+CME ERROR: <err><CR><LF>+ZIPCALL?

<CR><LF>+ZIPCALL:<State>[,<IPaddress>]<CR><LF><CR><LF>OK<CR><LF>+ZIPCALL=?

<CR><LF>+ZIPCALL: (list of supported <Action>s) <CR><LF><CR><LF>OK<CR><LF>

Defined values<Action> :0:

end PS CALL

1:

start PS CALL

<State>: Socket call connection state.
0:Disconnected
1:Connected

All Rights reserved, No Spreading without GOSUNCN Permission

123ME3630
AT Command Reference Guide of Module Product

2:Connecting(should not be used to set)

3:Disconnecting(should not be used to set)

<IP address>: The IP address when connect to Network successful.
e.g.
AT+ZIPCALL=1
OK+ZIPCALL: 1, 1.1.72.120
AT+ZIPCALL?
+ZIPCALL: 1, 1.1.72.120
OK

11.3. AT+ZIPOPEN Establish TCP/UDP Connection
Extensible AT command, this command is used to Establish TCP/UDP connection with remote server. It will report+ZIPSTAT automatically to indicate the socket state.
Command

Possible response+ZIPOPEN=<Socket id>,<Protocol Type>,<CR><LF>OK<CR><LF><Remote Address>,<Remote port>[,< Local<CR><LF>+ZIPSTAT: <Socket id>,<Status> <CR><LF>

port>]

or<CR><LF>+CME ERROR: <err><CR><LF>+ZIPOPEN?

When there is valid socket, it will return:<CR><LF>+ZIPOPEN: <Socket id>,<Protocol Type>,<Remote Address>,<Remoteport><CR><LF>[...]<CR><LF>OK<CR><LF>
or When there is no valid socket, it will return:<CR><LF>+ZIPOPEN: 0<CR><LF><CR><LF>OK<CR><LF>+ZIPOPEN=?

<CR><LF>+ZIPOPEN: (list of supported <Socket id>s),(list of supported<Protocol Type>s),<Remote Address>[, (list of supported <Remoteport>s)]<CR><LF><CR><LF>OK<CR><LF>

Defined values<Socket id>: Socket Connection indication
0:Invalid Socket id
1～5:Valid Socket id<Type>: The protocol type of socket connection
0:TCP
1:UDP
<Remote IP >: IP address or Domain name of Remote server.
<Remote port>:Server port of Remote server, range: 1-65535<Local port>:Local port,range: 1-65535<Status>: State of Socket Connection

All Rights reserved, No Spreading without GOSUNCN Permission

124ME3630
AT Command Reference Guide of Module Product

0:Socket connection is closed.
1:Socket connection is open, both send data and receive data normally.
2:Socket connection is open, receive data normal, but send buffer is full.
3:Socket connection is opening.
4:Socket connection is closing.
e.g.
AT+ZIPOPEN=1,0,125.55.143.92,6000
OK+ZIPSTAT: 1,1
AT+ZIPOPEN?
+ZIPOPEN: 1,0,125.55.143.92,6000
OK

11.4. AT+ZIPCLOSE Close TCP/UDP Connection
Extensible AT command, this command is used to Close TCP/UDP connection. it will report +ZIPSTAT automaticallyto indicate the socket state.
Command

Possible response+ZIPCLOSE =<Socket id><CR><LF>OK<CR><LF>+ZIPSTAT: <Socket id>,<Status> <CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+ZIPCLOSE?

<CR><LF>+ZIPCLOSE: [(Socket1, <Status>)[,(Socket2, <Status>)[,( Socket3, <Status>)[,(Socket4,<Status>)[,(Socket5, <Status>)]]]]]<CR><LF><CR><LF>OK<CR><LF>
OR<CR><LF>+ZIPCLOSE: 0<CR><LF><CR><LF>OK<CR><LF>+ZIPCLOSE=?

<CR><LF>+ZIPCLOSE: (list of supported <Socket id>s)<CR><LF><CR><LF>OK<CR><LF>

Defined values<Socket id>: Socket Connection indication
0:Invalid Socket id
1～5:Valid Socket id<Status>: State of Socket Connection
0:Socket connection closed.
1:Socket connection open, both send data and receive data normally.
2:Socket connection open, receive data normal, but send buffer is full.
3:Socket connection opening.
4:Socket connection closing.
e.g.
AT+ZIPCLOSE?
+ZIPCLOSE: (Socket1,0),(Socket2,0),(Socket3,0),(Socket4,0),(Socket5,0)

All Rights reserved, No Spreading without GOSUNCN Permission

125ME3630
AT Command Reference Guide of Module ProductOK
AT+ZIPCLOSE=1
OK+ZIPSTAT: 1,011.5. AT+ZIPSEND TCP/UDP Send Data in ASCII format
Extensible AT command, this command is used to send data in ASCII format. The data can be sent only when the socket
state is 1(Socket connection open, both send data and receive data normally), if socket state become to 2(Socket
connection open, receive data normal, but send buffer is full). It will report +ZIPSTAT: <Socket id>,2 automatically . At
this time, user can not send data until the socket state become to 1.
NOTE: We recommend to use command +ZIPSENDRAW to send raw data.
Command

Possible response+ZIPSEND=<Socket id>, <Data><CR><LF>OK<CR><LF><CR><LF>+ZIPSEND: <Socket id>,<Size><CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+ZIPSEND?

<CR><LF>+ZIPSEND: <Socket id>,<Size> [+ZIPSEND: <Socket
id>,<Size>[...]]<CR><LF>(For all opened Socket)<CR><LF>OK<CR><LF>

Defined values<Socket id>: Socket Connection indication
0:Invalid Socket id
1～5:Valid Socket id<Data>: The data length can be 1024Bytes at more. And the data should be hexadecimal encoded.
Eg: “48656C6C6F21” means “Hello!”.
e.g.
AT+ZIPSEND=1,31323334
OK+ZIPSEND: 1,4+ZIPRECV: 1,125.15.143.92,3000,4,31323334

11.6. +ZIPRECV TCP/UDP Data Receive
Extensible AT command, this command is used to receive data. The data will be reported to TE automaticallywhenmodule received data. The data length should less than 1024Bytes.
Command

Possible response<CR><LF>+ZIPRECV: <Socket id>,<Remote IP>,<Remote port>,<Data len>,<Data><CR><LF>

Defined values<Socket id>: Socket Connection indication
0:Invalid Socket id

All Rights reserved, No Spreading without GOSUNCN Permission

126ME3630
AT Command Reference Guide of Module Product

1～5:Valid Socket id<Remote port>:Server port of Remote server, range: 1-65535<Local port>:Local port,range: 1-65535<Data len>: The length of received data, should less than 1024Bytes.
<Data>: The received raw data(“Hello!” for example) in default. If you want to receive data in ASCII format(“48656C6C6F21” indicate
to “Hello!”), please send command +ZIPSETRPT to set the format of received data.

e.g.
+ZIPRECV: 1,125.15.143.92,3000,4,ABCD
AT+ZIPSERRPT=0
OK+ZIPRECV: 1,125.15.143.92,3000,4,61626364

11.7. AT+ZIPSTAT Query Socket State
Extensible AT command, this command is used to Query Socket State. When the socket state changed, the new state
will be reported automatically.
Command

Possible response+ZIPSTAT=<Socket id><CR><LF>+ZIPSTAT: <Socket id>,<Status><CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+ZIPSTAT=?

<CR><LF>+ZIPSTAT: (list of supported <Socket id>s)<CR><LF><CR><LF>OK<CR><LF>

Defined values<Socket id>: Socket Connection indication
0:Invalid Socket id
1～5:Valid Socket id<Status>: State of Socket Connection
0: Socket connection closed.
1: Socket connection open, both send data and receive data normally.
2: Socket connection open, receive data normal, but send buffer is full.
3: Socket connection opening.
4: Socket connection closing.
e.g.
AT+ZIPSTAT=1+ZIPSTAT: 1,1
OK

11.8. AT+ZIPSLCFG Set Parameters of TCP/UDP Server
Extensible AT command, this command is used to Set parameters of TCP/UDP server.
Command

Possible response+ZIPSLCFG=<Server Type>,<Source port>,<Time out>

<CR><LF>OK<CR><LF>

All Rights reserved, No Spreading without GOSUNCN Permission

127ME3630
AT Command Reference Guide of Module Productor<CR><LF>+CME ERROR: <err><CR><LF>+ZIPSLCFG?

<CR><LF>+ZIPSLCFG:<Server Type>,<Source port>,<Time out><CR><LF>[<CR><LF>+ZIPSLCFG:<Server Type>,<Source port>,<Time out><CR><LF>]<CR><LF>OK<CR><LF>+ZIPSLCFG=?

<CR><LF>+ZIPSLCFG: (list of supported <Server Type>s), (list of supported <Source
port>s), (list of supported <Time out>s)<CR><LF><CR><LF>OK<CR><LF>

Defined values<Type>: Protocol type
0 - TCP
1 - UDP<Source port>: the Listening port, range: 1-65535<Time out>: Max idle time of UDP connection. When the max idle time large than the value of time out, this udp
connection will be released automatic, the parameter just used for udp server.
0 – the idle time is infinite.
1~3600 – idle time, means several seconds, the default value is 600 seconds.
e.g.
AT+ZIPSLCFG=0,5000,0
OK
AT+ZIPSLCFG=1,5001,60
OK
AT+ZIPSLCFG?
+ZIPSLCFG: 0,5000,0+ZIPSLCFG: 1,5001,60
OK

11.9. AT+ZIPLISTEN Open/Close TCP/UDP Server
Extensible AT command, this command is used to Open/Close TCP/UDP server. It can support a udp server and a tcp
server simultaneously, the information of remote client connected to the server will be reported automatically.
Command

Possible response+ZIPLISTEN=<Mode>,<Type><CR><LF>OK<CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+ZIPLISTEN?

<CR><LF>+ZIPLISTEN:<Status>,<Type>[<CR><LF>+ZIPLISTEN:<Status>,<Type>][<CR><LF>+ZIPLISTEN: <Status>,<Type>,<Socket id><Remote Address>,<Remote port>][<CR><LF>+ZIPLISTEN: <Status>,<Type>,<Socket id><Remote Address>,<Remote port>[...]]<CR><LF><CR><LF>OK<CR><LF>+ZIPLISTEN=?

<CR><LF>+ZIPLISTEN: (range of supported <Mode>s),<Remote Address>, (range of supported<Type>s)[,(range of supported <Source port>s)]<CR><LF>

All Rights reserved, No Spreading without GOSUNCN Permission

128

ME3630
AT Command Reference Guide of Module Product<CR><LF>OK<CR><LF>

Defined values<Mode>:TCP/UDP server listening mode0 – close TCP/UDP server
1 - open TCP/UDP server<Type>: protocol type
0 - TCP1 – UDP<Status>:State of TCP/UDP server
0 – server listening is close
1 – server listening is open
<Socket id>: Socket Connection indication
0:Invalid Socket id
1～5:Valid Socket id<Remote IP>: IP address of remote client<Remote port>:

port of remote client,range: 1-65535

e.g.
AT+ZIPLISTEN=1, 0 //Open tcp server
OK+ZIPLISTEN: 0, 1, 119.75.1.1, 5005//TCP server is in the listening state, and a remote client connected to the server.
AT+ZIPLISTEN=1, 1 //Open udp server
OK+ZIPLISTEN: 1, 2, 119.75.1.1, 5005//UDP server is in the listening state, and a remote client connected to the server.

11.10. AT+ZIPFRWL Set TCP/UDP Internal Firewall
Extensible AT command, this command is used to Set TCP/UDP internal Firewall.
The Internal firewall is used to allow the module be connected with clients whose ip address are in the visit list. The
firewall works when the TCP/UDP server is in the listening state.
The visit list includes an IP address, an IP subnet mask and the firewall support at most 10 visit list.
The visit lists can be edited only when there is socket opened and the firewall is not in close state. The firewall has nouse to the sockets established before firewall starts.When the module restart, the firewall will in the close state, andthe visit lists will be initialized as empty.
Command

Possible response+ZIPFRWL=<Cmd type>[,<IP<CR><LF>OK<CR><LF>

address>,<Net mask>]

or<CR><LF>+CME ERROR: <err><CR><LF>+ZIPFRWL?

<CR><LF>+ZIPFRWL: <State><CR><LF>+ZIPFRWL: <IP address>,<Net mask>

All Rights reserved, No Spreading without GOSUNCN Permission

129ME3630
AT Command Reference Guide of Module Product[<CR><LF>+ZIPFRWL: <IP address>,<Net mask>[...]]<CR><LF><CR><LF>OK<CR><LF>+ZIPFRWL=?

<CR><LF>+ZIPFRWL: (list of supported <Cmd type>s)<CR><LF><CR><LF>OK<CR><LF>

Defined values<Cmd type>:
0 – Close firewall (Default Value)
1 – Open firewall
2 – add new ip address to the visit lists
3 - delete ip address from the visit lists
4 - initialized the visit lists as empty<state>:firewall state
0 – firewall is in the close state
1 - firewall is in the open state<IP address>:IP address to add or delete
It can be any valid IP address, format is: XXX.XXX.XXX.XXX<Net mask>:submet mask of the IP address to add or delete
It can be any valid IP address mask, format is: XXX.XXX.XXX.XXX
e.g.
AT+ZIPFRWL=1 //open firewall
OK
AT+ZIPFRWL=2,"192.158.1.1","255.255.0.0"//Add ip addr to list

OK
AT+ZIPFRWL=?
+ZIPFRWL: (0-4)

OK
AT+ZIPFRWL?

//Query firewall list

+ZIPFRWL: 1+ZIPFRWL: "192.158.1.1","255.255.0.0"

OK

11.11. AT+ZIPSETRPT set the format of received data
This command is used to set the format of received data.
Command

Response+ZIPSETRPT=<view_mode><CR><LF>OK <CR><LF>
or<CR><LF>+CME ERROR: <err><CR><LF>+ZIPSETRPT?

<CR><LF>+ ZIPSETRPT: <view_mode> <CR><LF><CR><LF>OK <CR><LF>

All Rights reserved, No Spreading without GOSUNCN Permission

130ME3630
AT Command Reference Guide of Module Product+ZIPSETRPT=?

<CR><LF>+ ZIPSETRPT: (0-1) <CR><LF><CR><LF>OK <CR><LF
Parameter<view_mode>:
0: HEX format
1: raw data(default value)e.g.
AT+ZIPSETRPT?
+ZIPSETRPT: 1

OK

AT+ZIPSETRPT=?
+ZIPSETRPT: (0,1)

OK+ZIPRECV: 1,125.15.143.92,3000,4,ABCD
AT+ZIPSETRPT=0
OK+ZIPRECV: 1,125.15.143.92,3000,4,61626364

11.12. AT+ZIPSENDRAW send raw data
This command is used to send the raw data provided by MCU/AP Side. After this command, the module will receive raw datafrom serial device and then quit until the received data length exceed the set length or timeout.
Command

Response+ZIPSENDRAW=<socket_ID>,<len><CR><LF>><space><data><CR><LF>[,<timeout>]<CR><LF>OK <CR><LF>
or<CR><LF>ERROR<CR><LF>+ZIPSENDRAW=?

<CR><LF>+ZIPSENDRAW: (1-5),(1-1024),(0-60) <CR><LF>

Parameter< socket_ID >: range is 1-5, valid socket ID.
<len>: range is 1-1024, the length of data need to be sent.
<timeout>: range is 0-60, Unit is s(second),the timeout, 0 is stand not enable Timeout mechanism
ExampleAT+ZIPSENDRAW=1,10> 0123456789//The data need to be sent

OK

All Rights reserved, No Spreading without GOSUNCN Permission

131ME3630
AT Command Reference Guide of Module Product+ZIPSENDRAW: 1, 10

11.13. AT+ZIPCREATE Data transparent transfer
This command is used to send the raw data provided by device, and transparent transfer the raw data. When send thiscommand, the module will get the data from the serial port, and end until receive +++.
This command is support by firmware ME3630E1CV1.0Bxx ,ME3630J2AV1.0B11 and above currently.
Command

Response+ZIPCREATE=<socket_ID><CR><LF>><space><data><CR><LF>(Send +++ to exit transparent transfer)<CR><LF>OK<CR><LF>
or<CR><LF>ERROR<CR><LF>

Parameter< socket_ID >: range is 1-5, valid socket ID, transparent transfer, send +++ to exit transparent transfer.
Note:in order to prevent the +++ instruction be mistaken for data, this +++ need keep the interval at least 1000 ms to the raw
data. And the interval between three + need to be less than 900ms, otherwise, + will be treated as raw data.

ExampleAT+ZIPCFG=3gnet
OK
AT+ZIPCALL=1
OK+ZIPCALL: 1,10.188.234.150
AT+ZIPOPEN=1,0,219.144.130.27,21,8885
OK+ZIPSTAT: 1,1+ZIPRECV: 1,219.144.130.27,21,148
AT+ZIPCREATE=1//start Data transparent transfer, you don’t need to set the timeout or length ofdata, you can send the data and end this mode by +++> 1234567891233325555632224565252141+++
OK

11.14. AT+ZDNSGETIP domain name resolution
This command is used for domain name resolution.
This command can be used only when registered to the network.
Note: This command doesn’t support IPv6. And this command is only supported by ME3630-E &ME3630-U
currently.
Command

All Rights reserved, No Spreading without GOSUNCN Permission

Response132

ME3630
AT Command Reference Guide of Module Product+ZDNSGETIP=<domain_name><CR><LF>+ZDNSGETIP: <IP><CR><LF>
OKor<CR><LF>ERROR<CR><LF>

Parameter<domain_name>: The domain name need resolution(no need Double quotation marks)<IP>: The IP address after resolution.
ExampleAT+ZDNSGETIP=www.baidu.com+ZDNSGETIP: 180.97.33.107
OK
AT+ZDNSGETIP="wwwbaiducom”
ERROR

11.15. AT+ZIPCONTEXT Switch PDP context
This command is used for query/set the PDP context, and valid once setting, and it will be invalid after restart.
And is only supported by ME3630-E currently.
Command

Response+ZIPCONTEXT=[<n >]<CR><LF>OK<CR><LF>
or<CR><LF> ERROR<CR><LF>+ZIPCONTEXT?

<CR><LF>+ ZIPCONTEXT: <n><CR><LF><CR><LF>OK<CR><LF>
or<CR><LF>+ERROR<CR><LF>+ZIPCONTEXT=?

<CR><LF>+ ZIPCONTEXT: (list of supported <n>s)<CR><LF><CR><LF>OK<CR><LF>
or<CR><LF> ERROR<CR><LF>

Parameter<n>: int type, used for PDP context ID, the default value is 1.
ExampleAT+ZIPCONTEXT?
+ZIPCONTEXT: 1
OK

AT+ZIPCONTEXT=2
OK

All Rights reserved, No Spreading without GOSUNCN Permission

133

ME3630
AT Command Reference Guide of Module Product
AT+CGDCONT?
+CGDCONT: 1,"IP","3gnet","0.0.0.0",0,0,0,0+CGDCONT: 2,"IP","3gwap","0.0.0.0",0,0,0,0+CGDCONT: 3,"IP","3GWAP","0.0.0.0",0,0,0,0+CGDCONT: 4,"IP","3gnet","0.0.0.0",0,0,0,0+CGDCONT: 5,"IP","3gnet","0.0.0.0",0,0,0,0

OK
AT+ZIPCONTEXT=?
+ZIPCONTEXT: (1-5)
OK

All Rights reserved, No Spreading without GOSUNCN Permission

134ME3630
AT Command Reference Guide of Module Product12. FTP RELATIVE COMMANDS
Note: The commands in this chapter are only supported by ME3630-E currently.

12.1. AT$ZPDPACT Activate/Deactivate PDP connection
When using FTP service, you need first activate PDP connection and get the assigned IP address.
Command

Response$ZPDPACT=<action><CR><LF>OK <CR><LF>
or<CR><LF>ERROR<CR><LF>$ZPDPACT=?

<CR><LF>$ZPDPACT: (0, 1) <CR><LF><CR><LF>OK<CR><LF>

Parameter<action>: Integer types,
0-- Deactivate PDP connection
1-- ACTIVATE PDP connection
ExampleAT+CSQ+CSQ: 16,99
OK
AT+ZPAS?
+ZPAS: "LTE","CS_PS", “FDD”
OK
AT+CGDCONT=1,"IP","CTNET"
according to the operator.
OK
AT$ZPDPACT=1OK
AT$ZPDPACT=?
$ZPDPACT: (0, 1)
OK//The module register to network//Use SIM card of China telecom, APN is CTNET. You can set the APN// ACTIVATE PDP connection

12.2. AT$ZFTPCFGFTP Parameters Configuration

You need to set the destination ip address, port, username, password of FTP server before login by thiscommand.
Command

Response$ZFTPCFG=<destination_ip[:port]>,<username>,<password><CR><LF>OK <CR><LF>
or

All Rights reserved, No Spreading without GOSUNCN Permission

135ME3630
AT Command Reference Guide of Module Product<CR><LF>ERROR<CR><LF>

Parameter<destination_ip[:port]> destination ip address:port of FTP server, if the port is 21, you can omit this parameter, or you need to
add this value manully.
<username> : Username<password> : password
ExampleAT$ZFTPCFG=219.144.130.27,test,test//The port of server is 21
OK
AT$ZFTPCFG=219.144.130.27:8885,test,test// The port of server is 8885
OK

12.3. AT$ZFTPSIZE Get the Size of FTP File
This command is used to get the size of FTP file
Command

Response$ZFTPSIZE=<File_Name><CR><LF>$ZFTPSIZE: <length><CR><LF><CR><LF>OK <CR><LF>
or<CR><LF>ERROR<CR><LF>

Parameter< File_Name >: name of the file which you want to get the size, and case-insensitive
Note:1.
you need to make sure there is the file in FTP server, or it will return ERROR.
2.
If the file is not in root path, you need to add the storage path.
<length>: The size of the file in unit byte
ExampleAT$ZFTPSIZE=ftp.txt$ZFTPSIZE: 20
OK
AT$ZFTPSIZE=ftp1.txt$ZFTPSIZE: 69520
OK
AT$ZFTPSIZE=APP/ftp1.txt$ZFTPSIZE: 20
OK//the path to save the file is: /APP/ftp1.txt

12.4. AT$ZFTPGET File Download
This command is used to download the FTP file, you can download the whole file or part of the file.
Command

Response

AT$ZFTPGET=<File_Name>[,<data_offset>, <data_length>]<CR><LF><content><CR><LF><CR><LF>OK <CR><LF>

All Rights reserved, No Spreading without GOSUNCN Permission

136ME3630
AT Command Reference Guide of Module Productor<CR><LF>ERROR<CR><LF>

Parameter< File_Name >: The file name you need to download, and case-insensitive<data_offset>: The offset of the data you want to download<data_length>: The length of data you want to download,the range can be 1~ 4096 bytes
If no setting of <data_offset> and <data_length>, the module will download the whole file in default.
ExampleDownload the whole file:
AT$ZFTPGET=ftp_lili02.txt
AT$ZFTPGET=APP/ftp1.txt //download ftp1.txt in path of /APP/
12345678901234567890
OK
AT$ZFTPGET=test.txt// download test.txt in root path
This is a test, This is a test
OK
Download part of file:
AT$ZFTPGET=test.txt,0,15
This is a test,OK
AT$ZFTPGET=test.txt,5,20
is a test, This is aOK

12.5. AT$ZFTPPUT File Upload
This command is used to upload the file to FTP server.
Command

Response

AT$ZFTPPUT=<File_Name>,<data_length><CR><LF>CONNECT<CR><LF><CR><LF><input_content><CR><LF>OK <CR><LF>
or<CR><LF>ERROR<CR><LF>

Parameter<File_Name>: The file name you need to upload, and case-insensitive. If the name you set is the same as the file inserver, it will replace the file in FTP server.
<data_length>: The length of data you want to upload<data_offset>: The offset of the data you want to download<input_content>:the file content you want to input, when the length exceed the setting value, the exceed content is invalid.
ExampleAT$ZFTPPUT= test.txt,30
CONNECTAll Rights reserved, No Spreading without GOSUNCN Permission

137ME3630
AT Command Reference Guide of Module ProductThis is a test, This is a testOK

12.6. AT$ZFTPCLOSE Close FTP Service
FTP support download file one by one package. If the file is not downloaded completely by subpackage mode, you need send
+ZFTPCLOSE to close FTP server.
Command

Response

AT$ZFTPCLOSE<CR><LF>OK <CR><LF>
or<CR><LF>ERROR<CR><LF>

ExampleAT$ZFTPSIZE=PUT_02.TXT$ZFTPSIZE: 69520
OK
AT$ZFTPGET=PUT_02.TXT,0,1000123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456
789
OK
AT$ZFTPCLOSE//send ZFTPCLOSE to prevent download file continously.

OK

12.7. FTP Example
AT+CSQ+CSQ: 16,99//Query signal strength

OK
AT+ZPAS?
+ZPAS: "LTE","CS_PS"//Query network status

OK
AT+CGDCONT=1,"IP","CTNET"//Set Operator APN

OK
AT$ZPDPACT=1//Activate PDP connection
OK
AT$ZFTPCFG=219.144.130.27,test,test//FTP Parameters setting
OK
AT$ZFTPPUT=ftp.txt,20//FTP file uplaod
CONNECT//The content you want to upload, and when using COM tool, it won’t echo in

All Rights reserved, No Spreading without GOSUNCN Permission

138ME3630
AT Command Reference Guide of Module ProductwindowOK
AT$ZFTPSIZE=ftp.txt$ZFTPSIZE: 20
OK
AT$ZFTPGET=ftp.txt
01234567890123456789
OK//Get the FTP file size of// File download

All Rights reserved, No Spreading without GOSUNCN Permission

139ME3630
AT Command Reference Guide of Module Product13. HTTP R ELATIVE COMMANDS
Note: The commands in this chapter are only supported by ME3630-E currently.

13.1. AT+ZHTTPURL Set URL of HTTP server
When setting the URL of HTTP server, it will start authentication automatically, and return OK at first, then return the result ofauthentication.
Command

Possible response(s)+ZHTTPURL=<url_str><CR><LF>OK<CR><LF>+ZHTTPURL?

<CR><LF>+ZHTTPURL:xxxxxxxxx<CR><LF><CR><LF>OK<CR><LF>

Parameter<url_str>

Hypertext transfer protocol URL, support 511 bytes in maximum.

ExampleAT+ZHTTPURL=http://www.example.com
OK
AT+ZHTTPURL?
AT+ZHTTPURL: http://www.example.com
OK

13.2. AT+ZHTTPGET Send GET Request to HTTP Server
Send GET Request to HTTP Server after the URL of HTTP server is set. If all the set value is available, it will return the response
data from HTTP server with OK; if there is error, it will return the response data from HTTP server with ERROR.
If there is no response from server, it will return ERROR only.
Command

Possible response(s)+ZHTTPGET<CR><LF><HTTP SEVER RESPONS><CR><LF><CR><LF>OK<CR><LF>

Parameter

none
ExampleAT+ZHTTPGET

13.3. AT+ZHTTPPOST Send POST Request to HTTP Server
Send POST Request to HTTP Server after the URL of HTTP server is set. If all the set value is available, it will return the response
data from HTTP server with OK; if there is error, it will return the response data from HTTP server with ERROR.
If there is no response from server in <input_time> seconds, it will return ERROR only.

Command

All Rights reserved, No Spreading without GOSUNCN Permission

Possible response(s)140ME3630
AT Command Reference Guide of Module Product+ZHTTPPOST=<content_type>,<content_length>[,<i<SEVER RESPONSES>

nput_time>]<CR><LF>OK<CR><LF>
OR<SEVER RESPONSES><CR><LF>ERROR<CR><LF>
OR<CR><LF>ERROR<CR><LF>+ZHTTPPOST=?

+ZHTTPPOST: (0-1),(1-1024),(0-60)<CR><LF>OK<CR><LF>

Parameter<content_type>: the value can be 0-1, the content type of POST request(The message body)
0--Content-Type: text/html
1--Content-Type: application/json<content_length>: the value can between 0-1024, the content length of POST request(The message body)<time_out> : the value can between 0-60, the unit is second. When the value is set to 0, it stands not enable timeout mode.
Exampleat+zpas?
+ZPAS: "LTE","CS_PS","FDD"OK
at+zpdpcall?
+ZPDPCALL: 1
OK
at+zhttpurl=http://58.215.47.25:8080/WSFUN/get_car_arrange_infoOKat+zhttpurl?
+ZHTTPURL: http://58.215.47.25:8080/WSFUN/get_car_arrange_infoOKat+zhttpget
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked
Date: Tue, 05 Sep 2017 09:06:30 GMT{"data":null,"key":100,"list":null,"list1":null,"map":null,"message":"exception","token":null}OK
at+zhttppost=1,146>

All Rights reserved, No Spreading without GOSUNCN Permission

141ME3630
AT Command Reference Guide of Module Product{"appid":"0CBE4C20","rnum":"145499","token": "1661847E53AEA438BDD692519E7B2602","paras":[{"TIMESTAMP":"0","CITY": "1","AREA":"1","CARNUM": "9"}]}(sending content)
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/json;charset=UTF-8
Content-Length: 62
Date: Tue, 05 Sep 2017 09:07:24 GMT{"filename":"","hasdata":0,"message":"ok","status":0}OK

14. E XTENDED COMMANDS
14.1. AT+ZCLRACQ Clear the historical earfcn/uarfcn
This command is supported by module firmware of or above ME3630J2AV1.0B10, and this command is used to clear the historicalearfcn/uarfcn(Absolute Radio Frequency Channel Number of the BCCH carrier) of LTE/UMTS. The module will do all frequency searchto get the network after restart the module.
Command

Possible response(s)+ZCLRACQ=0,<rat><CR><CR><LF>OK<CR><LF>
or<CR><LF>ERROR<CR><LF>+ZCLRACQ=? <CR>

<CR><LF>+CLRACQ: (0,<3,4>)<CR><LF><CR><LF>OK<CR><LF>

Parameter<rat>:clear the historical earfcn/uarfcn
3-----UMTS,clear the historical uarfcn
4-----LTE,clear historical earfcn
When this parameter is omitted, it stands for clear all the historical earfcn/uarfcn of LTE and UMTS
Exampleat+zclracq=0
OK
at+zclracq=0,3
OK
at+zclracq=0,4
OK

All Rights reserved, No Spreading without GOSUNCN Permission

142ME3630
AT Command Reference Guide of Module Productat+zclracq=?
+ZCLRACQ: (0,<3,4>)
OK

All Rights reserved, No Spreading without GOSUNCN Permission

143