Neo_GM650 AT Command Sets V1.2

Neo_GM650 AT Command Sets V1.2
Let’s enjoy the wireless life!
GM650 AT COMMAND SETS
V1.2
Shenzhen Neoway Technology Co.,Ltd
Let’s enjoy the wireless life!
Copyright Statement
Copyright © 2008 Neoway Tech
All rights reserved by Shenzhen Neoway Technology Co.,Ltd.
The trademark
belongs to Shenzhen Neoway Technology Co.,Ltd.
Other trademarks in this manual belong to their owners.
Clarification
This specification applies to GM650.
This specification is for system engineer, research engineer and test engineer.
As the upgrading of the product version or some other reasons, we’ll do some necessity updating to
the content of this specification without advance notice.
Unless we have other additional assumpsit, all statements, information and suggestions in this manual
do not constitute any express or implied guarantees.
Shenzhen Neoway Technology Co.,Ltd can supply all the technological support. If you have any
problem, please feel free to contact to the sales representative or send E-mail to these two mailboxes:
Sales@neoway.com.cn
Support@neoway.com.cn
Website: www.neoway.com.cn
Let’s enjoy the wireless life!
Revision Record
Version
Change content
Effective time
V1.0
Original version
20120306
V1.1
Add TCP server related AT commands; Add MD5, CRC16,
CRC32-checksum AT commands; Add AT + DATAFORMAT data
formats AT commands; Add AT+ENPWRSAVE, AT+CCID,
AT+TRANMODE,
AT+SetClsMode,
AT+POSI;
Modify
AT+IPSTATUS.
20120323
V1.2
Add
AT+XIIC,
AT+TCPLPORT,
AT+UDPLPORT,
AT+GETLOCATION, AT+PWROFTIMING, AT+PWROFPERIOD,
AT+DTMFDETECT, AT+SSTP, AT+XBANDSEL;
Fixed some AT Instructions: AT+CGMI, AT+CFUN, AT+CLIP,
AT+COPS, AT+FTPLOGIN, AT+CNMI, AT+VTS, AT+TCPSEND,
AT+TCPSETUP,
AT+GETLOCATION,
AT+UDPSEND,
AT+UDPCLOSE, AT+TCPSETUP;
Add AT Remarks: AT + CSCA, the AT + ICF;
Modify AT+HANDFREE, AT+IPR, ATD, ATA. AT+IPSTATUS;
Add AT + IPSTATUS using sample;
Modify AT+CMGS Send PDU SMS instructions.
20120528
All rights reserved by Shenzhen Neoway Technology.
1 of 69
Let’s enjoy the wireless life!
CONTENTS
1
2
3
4
5
GENERAL COMMAND ............................................................................................................................... 5
1.1
CHECK THE MANUFACTURER: +CGMI ..................................................................................................................... 5
1.2
QUERY MODULE MODEL: +CGMM ...................................................................................................................... 5
1.3
QUERY VERSION :+CGMR.................................................................................................................................... 5
1.4
GET SEQUENCE NUMBER:+CGSN ...................................................................................................................... 6
1.5
GET INTERNATIONAL MOBILE SUBSCRIBER IDENTIFICATION:+CIMI ............................................................................ 6
1.6
GET SIM CARD IDENTIFICATION:+CCID ............................................................................................................... 7
MOBILE DEVICES CONTROL AND STATUS REPORT ........................................................................ 8
2.1
CHECK THE MODULE’S STATUS:+CPAS ................................................................................................................. 8
2.2
CHECK NETWORK REGISTRATION STATUS:+CREG .................................................................................................... 8
2.3
SET MODULE FUNCTION:+CFUN ........................................................................................................................ 9
2.4
LOW-POWER SET:+ENPWRSAVE .................................................................................................................... 10
2.5
CLOCK:+CCLK .............................................................................................................................................. 10
2.6
SET THE MODULE’S BAUD RATE:+IPR ................................................................................................................. 11
2.7
INPUT PIN CODE:+CPIN ................................................................................................................................. 11
2.8
PIN ENABLE AND CHECK FUNCTION:+CLCK......................................................................................................... 12
2.9
PIN CHANGE THE PASSWORD:+CPWD .............................................................................................................. 13
2.10
PARITY CHECK:+ICF ........................................................................................................................................ 14
2.11
EXTENDED ERROR REPORT:+CEER .................................................................................................................. 14
2.12
SET ERROR INDICATION MESSAGE:+CMEE .......................................................................................................... 15
NETWORK SERVICES COMMANDS ..................................................................................................... 16
3.1
SIGNAL INTENSITY:+CSQ ................................................................................................................................. 16
3.2
NETWORK SELECTION:+COPS .......................................................................................................................... 16
3.3
SET FREQUENCE BAND:+XBANDSEL ................................................................................................................. 18
CALL CONTROL COMMAND .................................................................................................................. 19
4.1
SPEAKER VOLUME:+CLVL ................................................................................................................................... 19
4.2
MUTE CONTROL:+CMUT .................................................................................................................................. 19
4.3
DIALING COMMANDS:ATD ................................................................................................................................. 20
4.4
CALL ANSWERING:ATA ...................................................................................................................................... 20
4.5
HAND UP CALLS:ATH......................................................................................................................................... 21
4.6
CALLER ID:+CLIP ............................................................................................................................................. 21
4.7
SEND DTMF TONE:+VTS................................................................................................................................... 22
4.8
AUTO-ANSWERING: ATSO .................................................................................................................................. 22
4.9
ACTIVATE HANDS-FREE: AT+HANDFREE .............................................................................................................. 23
4.10
OPEN THE DTMF DETECTOR: AT+DTMFDETECT ................................................................................................. 23
SMS SERVICE COMMANDS ................................................................................................................... 25
5.1
CHOOSE SMS SERVICE:+CSMS ........................................................................................................................ 25
5.2
PRIMARY SMS STORAGE:+CPMS ..................................................................................................................... 25
All rights reserved by Shenzhen Neoway Technology.
2 of 69
Let’s enjoy the wireless life!
6
7
8
9
5.3
SET SMS MODE:+CMGF ................................................................................................................................ 26
5.4
SET TE CHARACTER SETS: +CSCS ......................................................................................................................... 26
5.5
SET MESSAGE INDICATION FORMAT: + CNMI ......................................................................................................... 27
5.6
READ MESSAGE:+CMGR ................................................................................................................................ 29
5.7
MESSAGE LIST:+CMGL .................................................................................................................................. 30
5.8
MESSAGE SENDING:+CMGS............................................................................................................................ 31
5.9
WRITE MESSAGE:+CMGW ............................................................................................................................. 32
5.10
SEND STORED MESSAGE:+CMSS ...................................................................................................................... 33
5.11
DELETE MESSAGE:+CMGD.............................................................................................................................. 34
5.12
SERVICE CENTER ADDRESS:+CSCA .................................................................................................................... 34
5.13
SET TEXT MODE PARAMETERS: +CSMP................................................................................................................ 35
5.14
DISPLAY TEXT MODE PARAMETER:+CSDH ........................................................................................................... 35
5.15
CHOOSE CELL BROADCAST MESSAGE TYPE:+CSCB ................................................................................................ 36
TELEPHONE BOOK COMMANDS.......................................................................................................... 38
6.1
CHOOSE PHONE BOOK STORAGE:+CPBS ...................................................................................................... 38
6.2
READ PHONE BOOK:+CPBR .......................................................................................................................... 38
6.3
FIND PHONE BOOK:+CPBF............................................................................................................................ 39
6.4
WRITE PHONE BOOK:+CPBW ....................................................................................................................... 40
SUPPLEMENTARY SERVICE COMMANDS.......................................................................................... 41
7.1
CALL DIVERTING:+CCFC ................................................................................................................................ 41
7.2
CALL WAITING:+CCWA ................................................................................................................................. 42
7.3
CALL HOLD AND THREE-WAY-CALL:+CHLD ..................................................................................................... 43
GPRS COMMANDS .................................................................................................................................. 44
8.1
SET PDPFORMAT:+CGDCONT ....................................................................................................................... 44
8.2
SEND USSD DATA:+CUSD .............................................................................................................................. 45
8.3
AT MODE SWITCHED TO DATA MODE:ATO ........................................................................................................... 46
TCP/UDP AT COMMANDS ...................................................................................................................... 47
9.1
SET NETWORK APN: +NETAPN .......................................................................................................................... 47
9.2
ESTABLISH PPP LINK: +XIIC ................................................................................................................................ 47
9.3
ESTABLISH TCP LINK:+TCPSETUP .................................................................................................................... 47
9.4
SEND TCP DATA:+TCPSEND ........................................................................................................................... 48
9.5
RECEIVE TCP DATA:+TCPRECV........................................................................................................................ 49
9.6
CLOSE TCP LINK:+TCPCLOSE ......................................................................................................................... 49
9.7
ESTABLISH UDP LINK:+UDPSETUP .................................................................................................................. 50
9.8
SEND UDP DATA:+UDPSEND ......................................................................................................................... 50
9.9
RECEIVE UDP DATA:+UDPRECV...................................................................................................................... 51
9.10
CLOSE UDP LINK:+UDPCLOSE ....................................................................................................................... 51
9.11
CHECK TCP/UDP LINK STATUS:+IPSTATUS ........................................................................................................ 52
9.12
SET THE TYPE OF DATA RECEPTION: +ASCII ............................................................................................................ 52
9.13
SET THE TYPE OF DATA TO SEND AND RECEIVE: +DATAFORMAT ................................................................................ 53
All rights reserved by Shenzhen Neoway Technology.
3 of 69
Let’s enjoy the wireless life!
9.14
SET THE DATA RECEIVE MODE: +TRANMODE........................................................................................................ 53
9.15
SET THE LINK OFF MODE: +SETCLSMODE ............................................................................................................ 54
9.16
SET UP A LOCAL TCP PORT NUMBER: AT+TCPLPORT ............................................................................................. 54
9.17
SET UP A LOCAL UDP PORT NUMBER: AT+ UDPLPORT .......................................................................................... 54
9.18
BASE STATION LOCATION: AT+GETLOCATION ...................................................................................................... 55
9.19
SET SOCKET OPERATION TIMEOUT PARAMETERS : AT+SSTP ....................................................................................... 55
10
10.1
DNS(DOMAIN NAME SERVER)COMMANDS .............................................................................. 57
CHECK IP ADDRESS:+DNS ............................................................................................................................... 57
FTP AT COMMANDS ............................................................................................................................ 58
11
11.1
LOGIN FTP SERVER:+FTPLOGIN ...................................................................................................................... 58
11.2
LOGOUT FTP SERVER:+FTPLOGOUT ............................................................................................................... 58
11.3
DOWNLOAD DATA FROM FTP SERVER:+FTPGET ................................................................................................. 59
11.4
UPLOAD DATA TO FTP SERVER:+FTPPUT ........................................................................................................... 60
11.5
CHECK FTP STATUS:+FTPSTATUS .................................................................................................................... 61
12
TCP SERVER AT COMMANDS ........................................................................................................... 62
12.1
SETTING THE SERVER TCP LISTENER: +TCPLISTEN ................................................................................................. 62
12.2
CLOSE LISTENING LINKS: +CLOSELISTEN .............................................................................................................. 62
12.3
CLOSE THE MASTER STATION LINK: +CLOSECLIENT ................................................................................................ 63
12.4
RECEIVE THE DATA FROM THE MAIN STATION: +TCPRECV(S) .................................................................................... 63
12.5
THE DATA SENT TO THE MASTER STATION: +TCPSENDS ........................................................................................... 63
12.6
CHECK STATUS OF THE MASTER STATION LINK: +CLIENTSTATUS ................................................................................ 64
12.7
GET LOCAL IP ADDRESS: +GETIP ........................................................................................................................ 64
13
GPS AT COMMANDS ........................................................................................................................... 66
13.1
GPS ON&OFF:+GPSPWR ............................................................................................................................ 66
13.2
OBTAIN THE GPS DATA: +GPSFETCH .................................................................................................................. 66
14
OTHER AT COMMANDS ...................................................................................................................... 68
14.1
CALCULATE THE MD5 DIGEST VALUE: +CALMD5 ................................................................................................... 68
14.2
CALCULATE THE CRC32 CHECKSUM: +CALCRC32 ................................................................................................. 68
14.3
CALCULATE THE CRC16 CHECKSUM: +CALCRC16 ................................................................................................. 68
14.4
QUERY THE BASE STATION INFORMATION: +POSI .................................................................................................... 69
14.5
TIMER SWITCH: +PWROFTIMING ..................................................................................................................... 69
14.6
TIMER SWITCH: + PWROFPERIOD ..................................................................................................................... 70
All rights reserved by Shenzhen Neoway Technology.
4 of 69
Let’s enjoy the wireless life!
1 General command
1.1 Check the manufacturer: +CGMI
Description
Check the manufacturer infomation
Format

Syntax
NULL
Response
<manufacturer>
or
+CME ERROR:<err>
Example
AT+CGMI
+CGMI: Neoway Corp Ltd
AT+CGMI
OK
NULL
NOTE
1.2 Query Module Model: +CGMM
Description
Query Module Model
Format

Syntax
NULL
Response
<model>
or
+CME ERROR:<err>
Example
AT+CGMM
M660+
OK
AT+CGMM
NULL
NOTE
1.3 Query version :+CGMR
Description
Query version
Format

Syntax
NULL
Response
<version>
or
+CME ERROR:<err>
AT+CGMR
All rights reserved by Shenzhen Neoway Technology.
5 of 69
Let’s enjoy the wireless life!
Example
AT+CGMR
+CGMR: M660+_52_V001R001, 2011/10/13 09:54
OK
NULL
NOTE
1.4 Get Sequence Number:+CGSN
Description
This command is to get sequence number, known as IMEI (International
Mobile Equipment identity).
Format

Syntax
NULL
Response
<IMEI>
OK
Or
CME ERROR:<error>
Example
AT+CGSN
358511020024166
AT+CGSN
Read the command.
OK
AT+CGSN
CME ERROR:<error>
This code is a 15-digit numeral
NOTE
1.5 Get International Mobile Subscriber Identification:+CIMI
Description
This command is to get IMSI(international mobile subscriber identification).
Format

Syntax
NULL
Response
<IMSI>
OK
Or
CME ERROR:<error>
Example
AT+CIMI
460029202075769
OK
Read the command.
AT+CIMI
CME ERROR:<error>
Read the command ERROR.
NOTE
AT+CIMI
This code contains 15 figures, starting with three-digit MCC and double-digit MNC,
to authenticate SIM-card code.
All rights reserved by Shenzhen Neoway Technology.
6 of 69
Let’s enjoy the wireless life!
1.6 Get SIM card Identification:+CCID
Description
Get SIM card ICCID
Format

Syntax
NULL
Response
<ICCID>
OK
Or
ERROR:<error>
Example
AT+CCID
+CCID: 89860002190810001367
AT+CCID
Read the command.
OK
AT+CCID
ERROR:<error>
Read the command ERROR.
ICCID is 20 digits.
NOTE
All rights reserved by Shenzhen Neoway Technology.
7 of 69
Let’s enjoy the wireless life!
2 Mobile devices control and status report
2.1 Check the module’s status:+CPAS
Description
This command is to check the module’s current operation status.
Format

Syntax

Response
+CPAS: <pas>
OK
or
CME ERROR: <error>
Example
AT+CPAS
+CPAS:0
AT+CPAS
<pas>
This value may be:
0:ready(the module can implement AT commands)
2:unknow(unknown status)
3: ringing(the module can implement AT command,it will be ringing status when
there is an incoming call)
4:call in progress(the module can implement AT command, in call connecting or
caller ringing status.)
5:asleep(Module is in sleep mode, not ready)
OK
AT+CPAS
CME ERROR:<error>
NOTE
2.2 Check network registration status:+CREG
Description
This command is to check network registration status of the module.
Format


Syntax

AT+CREG=[<n>]
AT+CREG?
<n>:
The value may be:
0:not allow the network registration to provide result code(default settings)
1:allow the network registration to provide result code
2:allow the network registration to provide local information (CELLID, LOCALID)
 <stat>
The value may be:
0:not registered, the terminal is not searching new operators
All rights reserved by Shenzhen Neoway Technology.
8 of 69
Let’s enjoy the wireless life!
1:has been registered local network
2:the registration is refused
3:not registered, the terminal is searching base stations
4:unknown code
5:has been registered, at roaming status
<ci>:
string type; two byte cell ID in hexadecimal format
<Act>:
0
GSM
2
UTRAN
3
GSM w/EGPRS
Response
OK
+CREG:
<n>,<stat>[,<lac>,<ci>[,<Act>]]
+CME ERROR: <err>
Example
AT+CREG=1
OK
AT+CREG=1
CME ERROR:<error>
AT+CREG?
+CREG:0,1
+CREG: (list of supported <n>s)
OK
NOTE
2.3 Set module function:+CFUN
Description
This command is to select functions of module by setting <fun>. Only some
values of <fun> are supportedf.
Format


Syntax
<fun>:
+CFUN=[<fun>[,<rst>]]
AT+CFUN?
1: full functionality meaning start up MS (from offline mode)
4: disable phone both transmit and receive RF circuits (Airplane mode)
(GFS21 line and higher)
0: minimum functionality meaning switch off of the MS
<rst>:
0 do not reset the MT before setting it to <fun> power level
1 reset the MT before setting it to <fun> power level
Response
+CFUN: (list of supported <fun>s), (list of supported <rst>s)
OR
All rights reserved by Shenzhen Neoway Technology.
9 of 69
Let’s enjoy the wireless life!
+CME ERROR: <err>
Example
AT+CFUN=1
OK
AT+CFUN=?
+CFUN: (1,4)
OK
+CFUN: (list of supported <fun>s), (list
of supported <rst>s)
NOTE
2.4 Low-power set:+ENPWRSAVE
Description
Set allow the module to enter into power save mode or not.
Format


Syntax
<n>:
0:not allow to enter into power save mode
1:allow to enter into power save mode
Response
See the example below.
Example
at+enpwrsave=1
OK
at+enpwrsave=<n>
at+enpwrsave?
at+enpwrsave=1
CME ERROR:<error>
at+enpwrsave?
+ENPWRSAVE:1
OK
NOTE
1) the values of <n> are not save when power off;
2) Module DTR signal is high level by default;
3) after enabling power save mode, the external should drive the DTR signal to
low Level and all circuits inside the module are allowed to enter power save
mode. At this time, the module can be entered into power save mode;
4) Module DTR signal driven is high level, wake-up the power save mode.
2.5 Clock:+CCLK
Description
This set command sets the real-time clock of the module.
Format


Syntax
< time >:
string type value; format is “yy/MM/dd,hh:mm:ss+TZ”, wherein characters indicate
year, month, day, hour, minute and second.
AT+CCLK=<time>
AT+CCLK?
All rights reserved by Shenzhen Neoway Technology.
10 of 69
Let’s enjoy the wireless life!
TZ:2 digits number indicates the time difference between local time and GMT.
This information is optional, only if when the network supports the information
could display.
Response
See the example below.
Example
AT+CCLK=”11/10/14,09:30:16”
OK
AT+CCLK?
+CCLK:“11/10/14,09:32:04”
OK
NOTE
2.6 Set the module’s baud rate:+IPR
Description
This command is to set the module’s baud rate.
Format


Syntax
< baud rate >:
(300, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, 115200,
230400, 460800, 921600)
Response
See the example below.
Example
AT+IPR=115200
OK
AT+IPR=<baud rate>
AT+IPR?
AT+IPR?
+IPR:115200
OK
NOTE
1、 The default baud rate is 115200;
2.7 Input PIN code:+CPIN
Description
This command is to check PIN status and input PIN code.
Format


Syntax
<pin>, <newpin>:
string type values
Response
+CPIN:<code>
< code > :
-READY:no need to input any passwords
-SIM PIN:need to input PIN code
-SIM PUK:need to input PUK code
AT+CPIN=<pin>[,<newpin>]
AT+CPIN?
All rights reserved by Shenzhen Neoway Technology.
11 of 69
Let’s enjoy the wireless life!
-SIM PIN2:need to input PIN2 code
-SIM PUK2:need to input PUK2 code
Example
AT+CPIN?
+CPIN:READY
OK
NOTE
2.8 PIN enable and check function:+CLCK
Description
This command is to lock, unlock and check MT and network device.
Format

Syntax
< fac >:
“OI”:outgoing international calls;
“AI”:all incoming calls;
“IR”:all incoming calls when roaming outside local place;
“SC”:SIM card;
“AO”:outgoing calls;
“OX”:outgoing international calls except local place;
“AB”:all call services;
“AG”:all outgoing call services;
“AC”:all incoming call services;
“FD”:SIM card fix dialing memory feature;
“PS”:PH-SIM(lock phone to SIM-card)
;
“PN”:network personalisation;
“PU”:network subsystem personalisation;
“PP”:service provider personalisation;
“PC”:corporate personalization.
<mode>:
0:unlock;
1:lock;
2:check status.
<status>:
0 not active
1 active
<passwd>:
Password or operation code, string type.
<class>:
1:voice
2:data
4:fax
8:SMS
AT+CLCK=<fac>,<mode>[,<passwd>[,<class>]]
All rights reserved by Shenzhen Neoway Technology.
12 of 69
Let’s enjoy the wireless life!
16:data circuit sync
32:data circuit async
64:dedicated package access
128:dedicated PAD access
Response
when <mode>=2 and command successful:
+CLCK: <status> [, <class1> [<CR><LF>+CLCK: <status>, <class2> [...]]
Example
AT+CLCK=”SC”,2
+CLCK: 0
OK
AT+CLCK=?
+CLCK:
("PF","SC","AO","OI","OX","AI","IR",
"AB","AG","AC","FD","PN","PU","PP",
"PC")
OK
+CLCK: (list of supported <fac>s)
NOTE
2.9 PIN change the password:+CPWD
Description
This command is to modify the lock password of the module.
Format

Syntax
< fac >:
"P2" SIM PIN2
“OI”:outgoing international calls;
“AI”:all incoming calls;
“IR”:all incoming calls when roaming outside local place;
“SC”:SIM card;
“AO”:outgoing calls;
“OX”:outgoing international calls except local place;
“AB”:all call services;
“AG”:all outgoing call services;
“AC”:all incoming call services;
“FD”:SIM card fix dialing memory feature;
“PN”:network personalisation;
“PU”:network subsystem personalisation;
“PP”:service provider personalisation;
“PC”:corporate personalization.
<oldpwd>:
Old password or operation code, string type.
<newpwd>:
New password or operation code, string type.
AT+CPWD=<fac>,<oldpwd>,<newpwd>
All rights reserved by Shenzhen Neoway Technology.
13 of 69
Let’s enjoy the wireless life!
Response
+CPWD: list of supported (<fac>,<pwdlength>)s
+CME ERROR: <err>
Example
AT+CPWD=?
+CPWD: ("SC",8),("P2",8),("AO",4),("OI",4),
("OX",4),("AI",4),("IR",4),("AB",4),
("AG",4),("AC",4)
OK
+CPWD: list of supported (<fac>,
<pwdlength>)s
NOTE
2.10 Parity check:+ICF
Description
This command is to set the parity of the module.
Format


Syntax
<format>:
0:auto detect
1:8 data 2 stop
2:8 data 1 parity 1 stop
3:8 data 1 stop
4:7 data 2 stop
5:7 data 1 parity 1 stop
6:7 data 1 stop
<parity>:
0:odd
1:even
2:mark
3:space
Response
See the example below.
Example
AT+ICF=3,1
OK
AT+ICF=[<format>[,<parity>]]
AT+ICF?
AT+ICF?
+ICF:3,1
At present only support fromat of 3.
NOTE
2.11
Description
Extended ERROR report:+CEER
After Implementing this command, it will return one or more lines of
information text <report>. The specific number of rows is determined by the
ME manufacturer.
All rights reserved by Shenzhen Neoway Technology.
14 of 69
Let’s enjoy the wireless life!
Format

Syntax
NULL
Response
+CMER:<report>
 <report>:
ME manufacturer supplies extended reports to TA users with the following
reasons:
The latest call setup failure(initiation or response) or change in calls;
The latest call release;
The latest GPRS attach failure or PDP Context Activation;
The latest GPRS sepatation or PDP Context dis-activation.
Example
AT+CEER
+CEER: 0, NONE
OK
AT+CEER
NOTE
2.12 Set Error indication message:+CMEE
Description
This command is to set to disable or enable +CME ERROR: <err> result code
Format


Syntax
<n>:
Get value:
0:disable result code +CME ERROR:<err>, use ERROR,no need to input 0;
1:enable result code +CME ERROR:<err>,use numeric <err> to get value;
2:enable result code +CME ERROR: <err>,use lengthy <err> to get value.
Response
See the example below.
Example
AT+CMEE=1
OK
AT+CMEE=[<n>]
AT+CMEE?
AT+CMEE?
+CMEE: 1
OK
NOTE
All rights reserved by Shenzhen Neoway Technology.
15 of 69
Let’s enjoy the wireless life!
3 Network services commands
3.1 Signal intensity:+CSQ
Description
This command is to check the receiving signal intensity <rssi> and the
channel bit error rate <ber>
Format

Syntax
NULL
Response
+CSQ:<rssi>,<ber>
 < rssi >
The following is the ‘signal’(CSQ)to rssi:
AT+CSQ
signal

Example
rssi
0
<4 or 99
<-107 dBm or unknown
1
<10
<-93dBm
2
<16
<-71 dBm
3
<22
<-69dBm
4
<28
<-57dBm
5
>=28
>=-57 dBm
<ber>
0...7
Reference on the value of RXQUAL in Table GSM
05.08 8.2.4
99
Bit error rate can not be measured
AT+CSQ
+CSQ:1,99
OK
NOTE
3.2 Network selection:+COPS
Description
This command is to select and register GSM network
Format


Syntax
<mode>:
To select whether the selection is done automatically or is forced by this command
to operator <oper> given in the format <format> and may be:
-0: automatic ( <per> is ignored)
-1: manual
-2: deregister from the network
-3: set only <format>
-4: manual/ automatic ( if manual selection fails, automatic mode is entered)
AT+COPS=[<mode>[,<format>[,<oper>>[,<AcT>]]]]
AT+COPS?
All rights reserved by Shenzhen Neoway Technology.
16 of 69
Let’s enjoy the wireless life!
<format>
-0: long alphanumeric <oper> (default value)
-1: short format alphanumeric <oper>
-2: numeric <oper>
<oper> :
string type given in format <format>; this field may be up to 16 characters long for
long alphanumeric format, up to 8 characters for short alphanumeric format and 5
characters long for numeric format (MCC/MNC).
<AcT> indicates the radio access technology and may be:
-0: GSM
-1: GSM compact
-2: UTRAN
Response

Example
AT+COPS=0,0
OK
<stat>
-0: unknown network
-1: available network
-2: current network
-3: forbidden network
AT+COPS=0,2
Set to digital mode
OK
AT+COPS?
+COPS:0,0, "CHINA MOBILE"
Query the network operator
China Mobile
OK
or
AT+COPS?
+COPS:0,0, "46000"
If it is set to digital mode, then get
the number 46000
OK
AT+COPS?
+COPS: 0,0,"CHINA UNICOM"
Query the network operator
China Unicom
OK
or
AT+COPS?
+COPS:0,0, "46001"
If it is set to digital mode, then get
the number 46001
OK
NOTE
1:in the read syntax the parameter <AcT> is displayed only if UMTS is supported in
the terminal.
2:if GSM/UMTS dual mode is selected and manual mode is selected, the <AcT>
All rights reserved by Shenzhen Neoway Technology.
17 of 69
Let’s enjoy the wireless life!
parameter is used to indicate the access technology for the manual attach
procedure.
3:in case of automatic mode, the <AcT> parameter will be ignored.
3.3 Set frequence band:+XBANDSEL
Description
This command is to set the GPRS frequence band
Format


Syntax
<Band900M>: 900M band
<Band1800M>:1800M band
AT+XBANDSEL=<Band900M>[,<Band1800M>]
AT+XBANDSEL?
Response
Example
AT+XBANDSEL=900
OK
Force the set into 900M
AT+XBANDSEL?
+XBANDSEL: 900
Query the band
OK
AT+XBANDSEL=1800
Force the set into 1800M
OK
AT+XBANDSEL=900,1800
Set to the default mode, 900M and
1800M automatic switching
OK
AT+XBANDSEL?
+XBANDSEL: 900,1800
Query the band
OK
NOTE
All rights reserved by Shenzhen Neoway Technology.
18 of 69
Let’s enjoy the wireless life!
4 CALL CONTROL COMMAND
4.1 Speaker volume:+CLVL
Description
This command is to set the grade of speaker volume,it is effective before
calls or during calls.
Format


Syntax
<level>:
The range is 0~6.
Response
Example
AT+CLVL=<level>
AT+CLVL?
See the example below.
AT+CLVL=4
OK
AT+CLVL?
+CLVL:4
OK
NOTE
4.2 Mute control:+CMUT
Description
This command is mute control of voice calls ,it is effective before calls or
during calls.
Format


Syntax
<n>:
0 mute off
1 mute on
Response
See the example below.
Example
AT+CMUT=0
OK
AT+CMUT=<n>
AT+CMUT?
AT+CMUT?
+CMUT:0
OK
NOTE
All rights reserved by Shenzhen Neoway Technology.
19 of 69
Let’s enjoy the wireless life!
4.3 Dialing commands:ATD
Description
Initial data or a fax or voice link, if it is the voice link, dial string composed of
numbers and modifiers, and must end with a semicolon.
Format


Syntax
<dial string>:
Phone number
<n>:
The location of phone number
Response
OK
SPEECH ON
ALERTING
ERROR
If the client does not answer the phone directly to hang that return:
SPEECH OFF
RELEASE
BUSY
If the client off-hook:
CONNECT
During the call, the client hang up:
SPEECH OFF
RELEASE
NO CARRIER
Example
0123456789+. Valid characters for origination
W The W modifier is ignored but is included for compatibility reasons only
, The comma modifier is ignored but is included for compatibility reasons only
; Informs the Infrared Modem that the number is a voice number rather than a fax or
data number
T The T modifier is ignored but is included only for compatibility purposes
P The P modifier is handled (pulse DTMF dialing functionality)
28800 Connected with data bit rate of 28800 bits/s (HSCSD)
19200 Connected with data bit rate of 19200 bits/s (HSCSD)
14400 Connected with data bit rate of 14400 bits/s (HSCSD)
9600 Connected with data bit rate of 9600 bits/s
4800 Connected with data bit rate of 28800 bits/s
2400 Connected with data bit rate of 28800 bits/s
ATD<string>;
ATD><n>;
NOTE
4.4 Call answering:ATA
All rights reserved by Shenzhen Neoway Technology.
20 of 69
Let’s enjoy the wireless life!
Description
This command is to reply calls,establish the phone links.When showing RING
or +CRING indicate incoming call.
Format

Syntax
NULL
Response
SPEECH ON
OK
During the call, the client hang up:
SPEECH OFF
RELEASE
NO CARRIER
Example
28800
19200
14400
9600
4800
2400
ATA
Connected with data bit rate of 28800 bits/s (HSCSD)
Connected with data bit rate of 19200 bits/s (HSCSD)
Connected with data bit rate of 14400 bits/s (HSCSD)
Connected with data bit rate of 9600 bits/s
Connected with data bit rate of 28800 bits/s
Connected with data bit rate of 28800 bits/s
NOTE
4.5 Hand up calls:ATH
Description
This command is to hang up all the calls links.
Format

Syntax
NULL
Response
See the example below.
Example
ATH
OK
ATH
NOTE
4.6 Caller ID:+CLIP
Description
This command is to set whether turn on caller ID or not
Format


Syntax
<n>:
0 disable
1 enable(default value)
Response
+CLIP:<n>,<m>
<n>:
AT+CLIP=<n>
AT+CLIP?
All rights reserved by Shenzhen Neoway Technology.
21 of 69
Let’s enjoy the wireless life!
0 disable
1 enable
<m>:
0 CLIP not provisioned
1 CLIP provisioned
2 unknown (e.g. no network, etc.)
Example
AT+CLIP=1
OK
AT+CLIP?
+CLIP:1,1(default)
OK
NOTE
4.7 Send DTMF tone:+VTS
Description
This command is to set DTMF tone duration. Only for voice services in GSM.
Format

Syntax
< DTMF >:
A single ASCII character in the set .0-9, #, *, A-D.
Response
See the example below.
Example
AT+VTS=?
+VTS: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,#,*
OK
AT+VTS=<DTMF>
NOTE
4.8 Auto-answering: ATSO
Description
This command is to control the auto-answer model of module. If ATS0=0,
auto-answer is not enable; if ATS0 is not null, the module will auto-answer
after setting ring times.
Format


Syntax
<value>:
Integer type value,the range:0~255。
Response
See the example below.
Example
ATS0=1
OK
ATS0=<value>
ATS0?
All rights reserved by Shenzhen Neoway Technology.
22 of 69
Let’s enjoy the wireless life!
ATS0?
001
OK
NOTE
4.9
Activate hands-free: AT+HANDFREE
Description
For hands-free voice control, call before the call settings are effective
Format

Syntax
<value>:
Integer
0- Hands-free mode
1- Headphone mode
Response
See the example below.
Example
AT+HANDFREE=0
OK
set to Headphone mode
AT+HANDFREE=1
OK
set to Hands-free mode
AT+HANDFREE=<value>
NOTE
4.10 Open the DTMF detector: AT+DTMFDETECT
Description
This command is to open the DTMF detector,only effective to set in the call.
Format

Syntax
<value>:
integer
1-start to detect DTMF
0-stop to detect DTMF
Response
+DTMF:DETECT START OK
+DTMF:DETECT STOP OK
+DTMF:DETECT ALREADY STARTED
+DTMF:OPERATION NOT ALLOWED
Example
AT+DTMFDETECT=1
+DTMF:DETECT START OK
start to detect DTMF
AT+ DTMFDETECT=0
+DTMF:DETECT STOP OK
stop to detect DTMF
AT+DTMFDETECT=<value>
All rights reserved by Shenzhen Neoway Technology.
23 of 69
Let’s enjoy the wireless life!
NOTE
All rights reserved by Shenzhen Neoway Technology.
24 of 69
Let’s enjoy the wireless life!
5 SMS service commands
5.1 Choose SMS service:+CSMS
Description
This command is to support SMS, include:sending(SMS-MO)、receiving
(SMS-MT)、cell broadcast(SMS-CB)
Format


Syntax
<service>:
0:GSM03.40 and GSM03.41;SMS related AT commands support GSM07.05
Phase 2;
1:GSM03.40 and GSM03.41;SMS related AT commands support GSM07.05
Phase 2+
<mt>,<mo>,<bm>:
0:not support
1:support
Response
See the example below.
Example
AT+CSMS=1
+CSMS:1,1,1
OK
AT+CSMS=<service>
AT+CSMS?
AT+CSMS?
+CSMS:1,1,1,1
OK
+CSMS:<mt>,<mo>,<bm>
OK
+CSMS:<service>,<mt>,<mo>,<bm>
OK
NOTE
5.2 Primary SMS storage:+CPMS
Description
This command is to choose primary message storage.
Format


Syntax
<mem1>:“SM”SIM card is used to read and delete message storage.
<used>:used numbers。
<total>:total storage capacity numbers.
Response
AT+CPMS:
<used1>,total1>,<used2>,<total2>,<used 3>,<total3>
OK
or
CMS ERROR: <error>
AT+CPMS=<mem1>
AT+CPMS?
+CPMS:
All rights reserved by Shenzhen Neoway Technology.
25 of 69
Let’s enjoy the wireless life!
<mem1>,<used1>,total1>,<mem2>,<use d2>,<total2>,<mem3>,<used3>,<total3>
OK
or
CMS ERROR: <error>
Example
AT+CPMS=“SM”,”SM”,”BM”
+CPMS:49,50,49,50,50,50
OK
AT+CPMS=“SM”,”SM”,”BM”
CME ERROR:<error>
AT+CPMS?
+CPMS:”SM”,49,50,”SM”,49, 50,”BM”,0,5
OK
NOTE
5.3 Set SMS mode:+CMGF
Description
This command is to set SMS input mode.
Format


Syntax
<mode>:
0: PDU mode
1: text mode
Response
See the example below.
Example
AT+CMGF=1
OK
AT+CMGF=[<mode>]
AT+ CMGF?
AT+ CMGF?
+CMGF:1
OK
NOTE
5.4 Set TE character sets: +CSCS
Description
This command is to set TE character set.
Format


Syntax
< chset >:
1、 “GSM”:GSM default alphabet (GSM03.38.6.2.1)
AT+CSCS=<chset>
AT+ CSCS?
All rights reserved by Shenzhen Neoway Technology.
26 of 69
Let’s enjoy the wireless life!
2、 “HEX”:character strings consist only of hexadecimal numbers from 00 to
Response
Example
FF; e.g. "032FE6" equals three 8-bit characters with decimal values 3, 47
and 230; no conversions to the original MT character set shall be done
3、 “IRA”:international reference alphabet.(ITU-T T.50).
4、 “PCCP437”: PC character set Code Page 437
5、 “8859-1”: ISO 8859 Latin 1 character set
6、 “UCS2”: 16-bit universal multiple-octet coded character set
(USO/IEC10646); UCS2 character strings are converted to hexadecimal
numbers from 0000 to FFFF. Only the strings found in quotation marks are
UCS2 coded, the rest of commands or responses, remains in IRA alphabet.
NULL
AT+CSCS=”HEX”
OK
AT+CSCS?
+CSCS: <chset>
+CSCS: "HEX"
OK
OK
+CSCS:("IRA","GSM","HEX", PCCP437", +CSCS: (list of supported <chset>s)
"8859-1", "UCS2", "UCS2_0X81")
OK
OK
NOTE
5.5 Set message indication Format: + CNMI
Description
This command is to set how to inform the user after receiving new message
from the network.
Format


Syntax
<mode>: set indication mode of sending to subscriber after receiving short
message
0: message indication mode cashed in module, if TA has been full, code can be
deposited other place or brush off the oldest code and replace it by the latest
receiving code.
1: under On-line State, brush off deposited message indication code and reject
new indication code. In other conditions, display the code on terminal equipment
directly.
2: under On-line State, message indication code is cashed in module. When
processing released, output indication code through serial port. Under its state,
display indication code on terminal equipment directly.
3: under On-line State, SMS instruction code transfer with the other data, the
code is displayed on the terminal equipment.
<mt>: set new message indication code mode, default value is 0.
AT+CNMI=[<mode>[,<mt>[,<bm>[,<ds>[,<bfr>]]]]]
AT+CNMI?
All rights reserved by Shenzhen Neoway Technology.
27 of 69
Let’s enjoy the wireless life!
0: not sending new message indication code.
1: new message indication code mode is +CMTI: “MT”, <index>, the message
content storaged and don't display directly.
2: new message indication code mode is +CMT:<oa>, <scts>, <tooa>, <lang>,
<encod>, <priority>, [<cbn>], <length><CR><LF><data>, message content
display directly but not storaged.
3: <mt> = 2 defined the initiative reporting code directly transfer SMS instructions
code to the terminal equipment, the other mode indicator code is the same with
<mt> = 1.
<bm>: set new cell broadcast indication code mode, default value is 1.
0: not sending new cell broadcast indication information, not storaged.
1: new cell broadcast indication code is +CBMI: “BC”, <index>, cell broadcast is
storaged.
2: new cell broadcast indication code mode is +CBM:<oa>, [<alphab>, ]<scts>[,
<tooa>, <length>],<CR><LF><data>, cell broadcast content display directly but
not storaged.
3: The initiative reporting code of third category information CBM when using
<bm>=2 will directly display on the terminal equipment. If other types of SMS
support CBM storage, indicating code and <bm>=1 are the same.
<ds>: message sending condition report, default value is 1.
0: no message sending condition report;
1: message sending condition report code mode is +CDS: <fo>, <mr>, [<ra>],
[<tora>], <scts>,<dt>, <st> (text mode),cell broadcast content display directly but
not storaged.
<bfr>: default value is 0.
0: When <mode>=1 or 2, the code this command difinited which is storaged in TA
will be sended to TE, the module will return to OK before processing the code.
1: when <mode>=1or 2, the code this command definited which is storaged in TA
will be cleared.
Response
See the example below.
Example
AT+CNMI=1,1,0,0,0
OK
NOTE
AT+CNMI=?
+CNMI: (0-3), (0-3), (0,2,3), (0,1), (0,1)
OK
+CNMI: (list of supported <mode>s),(list
of
Supported <mt>s),(list of supported
<bm>s),
(list of supported <ds>s),(list of
supported <bfr>s)
AT+CNMI?
+CNMI:1,1,0,0,0
OK
+CNMI=<mode>,<mt>,<bm>,<ds>,<bfr
>
OK
SMS storage location into class0~3 four categories:
Class 0:Display only, not stored.
All rights reserved by Shenzhen Neoway Technology.
28 of 69
Let’s enjoy the wireless life!
Class 1:Stored in the ME memory.
Class 2:Stored in the SIM card.
Class 3:Transmitted directly to the TE.
5.6 Read message:+CMGR
Description
This command is to read message in current storage (need to set current
storage by AT+CPMS in advance)
Format

Syntax
<index>:
<index>:location value <index> from preferred message storage <mem1> to the
TE
Response
if text mode (+CMGF=1), command successful and SMS-DELIVER:
+CMGR:
<stat>,<oa>,[<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>, <sca>,<tosca>,<length>]
<CR><LF><data>
AT+CMGR=<index>
if text mode (+CMGF=1), command successful and SMS-SUBMIT:
+CMGR:
<stat>,<da>,[<alpha>][,<toda>,<fo>,<pid>,<dcs>,[<vp>], <sca>,<tosca>,<length>]
<CR><LF><data>
if text mode (+CMGF=1),command successful and SMS-STATUS-REPORT:
+CMGR: <stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>
if text mode (+CMGF=1), command successful and SMS-COMMAND:
+CMGR:
<stat>,<fo>,<ct>[,<pid>,[<mn>],[<da>],[<toda>],<length><CR><LF><cdata>]
if text mode (+CMGF=1), command successful and CBM storage:
+CMGR: <stat>,<sn>,<mid>,<dcs>,<page>,<pages><CR><LF><data>
if PDU mode (+CMGF=0) and command successful:
+CMGR: <stat>,[<alpha>],<length><CR><LF><pdu>
Example
AT+CMGR=1
+CMGR: "REC READ","66421","","2011/09/13 16:37:59+32"
050003140401E27778592EA7E7EBE9373C3C279BCF68F59AA
DC78FED62779BA596D7EBAEB5B91EBD16A5D46C35F98406
A744E311A95C32594DA75688B50EADACA6D689150EADF1B
2BC5E579AD575E5B5582D5EABD5624C36A3D56C375C0E16
93CD6835DB0D9783A15C91D2E06BDAA558AC1F60C52B937
CADCD2B747AA9021BDEC627E8E9441BD42655DEF446
All rights reserved by Shenzhen Neoway Technology.
29 of 69
Let’s enjoy the wireless life!
OK
NOTE
If the status of the message is .received unread, the status in the storage changes
to received read.
5.7 Message list:+CMGL
Description
This command is to read a certain type of short messages in the storage. The
message will be read in the current storage selected by +CPMS command.
Format


Syntax
<stat>:
“REC UNREAD”:received unread SMS
”REC READ”: received read SMS
”STO UNSENT”: stored unsent SMS
”STO SENT”: stored sent SMS
”ALL”:all SMS
Response
if text mode (+CMGF=1),command successful and SMS-SUBMITs and/or
SMS-DELIVERs:
+CMGL:
<index>,<stat>,<oa/da>,[<alpha>],[<scts>][,<tooa/toda>,<length>]<CR><LF>
<data>[<CR><LF>
+CMGL:
<index>,<stat>,<da/oa>,[<alpha>],[<scts>][,<tooa/toda>,<length>]<CR><LF>
<data>[...]]
AT+CMGL[=<stat>]
AT+CMGL=?
if text mode (+CMGF=1),commandsuccessful and SMS-STATUS-REPORTs:
+CMGL: <index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>
[<CR><LF>
+CMGL:<index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>[...]]
if text mode (+CMGF=1), command successful and SMS-COMMANDs:
+CMGL: <index>,<stat>,<fo>,<ct>[<CR><LF>
+CMGL: <index>,<stat>,<fo>,<ct>[...]]
if text mode (+CMGF=1), command successful and CBM storage:
+CMGL: <index>,<stat>,<sn>,<mid>,<page>,<pages>
<CR><LF><data>[<CR><LF>
+CMGL: <index>,<stat>,<sn>,<mid>,<page>,<pages>
<CR><LF><data> [...]]
if PDU mode (+CMGF=0) and command successful:
+CMGL: <index>,<stat>,[<alpha>],<length><CR><LF><pdu>
All rights reserved by Shenzhen Neoway Technology.
30 of 69
Let’s enjoy the wireless life!
[<CR><LF>
+CMGL: <index>,<stat>,[<alpha>],<length><CR><LF><pdu>[...]]
Example
AT+CMGL="ALL"
+CMGL: 1,"REC READ","66421","","2011/09/13 16:37:59+32"
050003140401E27778592EA7E7EBE9373C3C279BCF68F59AADC78FED62779
BA596D7EBAEB5B91EBD16A5D46C35F98406A744E311A95C32594DA75688B
50EADACA6D689150EADF1B2BC5E579AD575E5B5582D5EABD5624C36A3D5
6C375C0E1693CD6835DB0D9783A15C91D2E06BDAA558AC1F60C52B937CA
DCD2B747AA9021BDEC627E8E9441BD42655DEF446
+CMGL: 14,"STO SENT","66045","",
050003010401E27778592EA7E7EBE9373C3C279BCF68F59AADC78FED62779
BA596D7EBAEB5B91EBD16A5D46C35F98406A744E311A95C32594DA75688B
50EADACA6D689150EADF1B2BC5E579AD575E5B5582D5EABD5624C36A3D5
6C375C0E1693CD6835DB0D9783A15C91D2E06BDAA558AC1F60C52B937CA
DCD2B747AA9021BDEC627E8E9441BD42655DEF446
+CMGL: 44,"REC UNREAD","8615719556937","","2011/09/30 03:00:55+32"
5E7F4E1C79FB52A863D0919260A8003A4E2D536B75286237003100350037003
100390035003500360039003300377ED960A86765753500326B21002C6700540
E4E006B21572800320039002F00300039002000320030003A00340038002C60A
853EF6309901A8BDD952E621690099879952E76F463A556DE62E8
OK
AT+CMGL=?
+CMGL: ("REC UNREAD", "REC READ", "STO UNSENT", "STO SENT", "ALL")
OK
NOTE
5.8 Message sending:+CMGS
Description
This command is to send message from the module to network, the network will
response reference value <mr> to the module after sending successfully.
Format
 Command syntax(text mode):
AT+CMGS=<da>[,<toda>]<CR>text is entered<ctrl-Z/ESC>
 Command syntax (PDU mode):
AT+CMGS=<length><CR>PDU is given<ctrl-Z/ESC>
Syntax
<da>:
Send message to target number in text mode
<text>:
Message content in text mode
<length>:
The length of message content digits in PDU mode.
<mr>:
All rights reserved by Shenzhen Neoway Technology.
31 of 69
Let’s enjoy the wireless life!
Storage location
<CR> :
End character.
<ctrl-Z> :
Indicate the end of the message input.
<ESC> :
Give up to input message.
Response
if text mode (+CMGF=1) and sending successful:
+CMGS: <mr>[,<scts>]
if PDU mode (+CMGF=0) and sending successful:
+CMGS: <mr>[,<ackpdu>]
Example
AT+CMGS="66358"<CR>
> This is the text
+CMGS: 171
OK
Text mode(+CMGF=1)
PDU mode (+CMGF=0)
NOTE
If you use a serial debugging tools to send the PDU SMS, when sending command do
not select to send a new line, Please manually knock newline after the AT + CMGS
command, or sent in hexadecimal <CR>.
5.9 Write message:+CMGW
Description
This command is to input messages to the storage, response location
information <index> after saving correctly.
Format
 Command syntax(text mode):
AT+CMGW[=<oa/da>[,<tooa/toda>[,<stat>]]]<CR>text is entered<ctrl-Z/ESC>
 Command syntax(PDU mode):
AT+CMGS=<length>[,<stat>]<CR>PDU is given<ctrl-Z/ESC>
Syntax
<da>:
Send message to target number in text mode.
<text>:
Message content in text mode
<length>:
The length of message content digits in PDU mode.
<index>:
Location information
<CR> :
End character.
<ctrl-Z> :
Indicate the end of the message input.
<ESC> :
All rights reserved by Shenzhen Neoway Technology.
32 of 69
Let’s enjoy the wireless life!
Give up to input message.
Response
+CMGW:<index>
OK
or
+CMS ERROR:<err>
Example
AT+CMGW=”091137880”<CR> “This is the
text”<Ctrl-Z>
+CMGW:15
Text mode(+CMGF=1)
OK
AT+CMGW=31,<CR>0891683108705505F001000
B813124248536F300081200400026002A535A53D
153A653C1532052C7<Ctrl- Z>
+CMGW:1
OK
NOTE
PDU mode (+CMGF=0)
By default message status will be set to “stored unsent”, but parameter <stat>
allows also other status values to be given, support “stored unsent” and “stored
sent”.
5.10 Send stored message:+CMSS
Description
This command is to send essages with location value <index> from the
memory storage (SMS-SUBMIT). Reference value <mr> is returned to the
terminal after sending the message successfully.
Format

Syntax
Execution command sends message with location value <index> from message
storage <mem2> to the network (SMS-SUBMIT or SMS-COMMAND). If new
recipient address <da> is given for SMS-SUBMIT, it shall be used instead of the
one stored with the message.
Response
if text mode (+CMGF=1) and sending successful:
+CMSS: <mr>[,<scts>]
if PDU mode (+CMGF=0) and sending successful:
+CMSS: <mr>[,<ackpdu>]
Example
AT+CMSS=2
+CMSS:<mr>
OK
Send messages stored in Memory 2
AT+CMSS=2
CME ERROR:<err>
Send messages stored in Memory 2
AT+CMSS=<index>[,<da>[,<toda>]]
NOTE
All rights reserved by Shenzhen Neoway Technology.
33 of 69
Let’s enjoy the wireless life!
5.11 Delete message:+CMGD
Description
This command is to delete messages from the current storage.
Format


Syntax
<index>:
Record number of stored message.
<delflag>:
Delete flag
0:delete the message specified record number.
1:delete all read message
2:delete all read and sent message
3:delete all read, sent and unsent message
4:delete all messages
Response
See the example below.
Example
AT+CMGD=3
OK
Delete successfully
AT+CMGD=?
+CMGD: (1-50), (0-4)
OK
+CMGD:(list of supported <index>s)
[,(list of supported <delflag>s)]
AT+CMGD=<index> [,<delflag>]
AT+CMGD=?
If <delflag> is setted, the parameter <index> is ignored.
NOTE
5.12 Service center address:+CSCA
Description
This command is to set the service center address.
Format


Syntax
<sca>:
Service center address.
<tosca>:
Service center address Format. 129 indicates normal number type, 145 indicats
international number type (automatically add “+” before the number).
Response
See the example below.
Example
AT+CSCA=” 8613800755500”,145
OK
AT+CSCA=<sca>[,<tosca>]
AT+CSCA?
AT+CSCA?
+CSCA: "8613800755500", 145
OK
NOTE
This command is only for temporary change message center number, the module
does not save the settings after power off. Save the settings enter the command AT
+ CSAS.
All rights reserved by Shenzhen Neoway Technology.
34 of 69
Let’s enjoy the wireless life!
5.13 Set Text Mode Parameters: +CSMP
Description
In text mode, select the additional parameter values; set the validity from the
moment when received the message from SMSC or definite the absolute time
of the termination fo the validity.
Format


Syntax
<fo>:
Depends on the command or result code: the first 8 digits of GSM 03.40
SMS-DELIVER; SMS-SUBMIT (default value is 17); or use integer type
SMS-COMMAND (default value is 2).
<vp>:
AT+CSMP=[<fo>[,<vp>[,<pid>[,<dcs>]]]]
AT+CSMP?
value
Effective time
0-143
(vp+1)*5 minutes
144-167
12
hours+((vp–143)*30
minutes)
168-196
(vp–166)*1 day
197-255
(vp–192)*1 week
<pid>:integer type TP-protocol-ID
(default value is 0).
<dcs>:integer type cell broadcasting data coding program
(default value is 0).
Response
See the example below.
Example
AT+CSMP=17,167,0,0
OK
AT+CSMP?
+CSMP: 0, 255, 0, 0
OK
NOTE
5.14 Display text mode parameter:+CSDH
Description
This command is to set to display detailed head message or not in result
code under text mode
Format


Syntax
<show>:
0: disable or not show
1: able or show
AT+CSDH=[<show>]
AT+CSDH?
All rights reserved by Shenzhen Neoway Technology.
35 of 69
Let’s enjoy the wireless life!
Response
See the example below.
Example
AT+CSDH=0
OK
Equal to
AT+CSDH=0
AT+CMGR=14
+CMGR:
"REC
READ","+86134309815
04","","09/07/17,14:49:00+50"7B5675
655FAE5C0F65F65019
OK
AT+CSDH=1
OK
AT+CMGR=14
+CMGR:
"REC
READ","+86134309815
04","","09/07/17,14:49:00+50",145,4,0
,8,"+8613800755500",145,127B5675
655FAE5C0F65F65019
OK
AT+CSDH?
+CSDH:0
OK
NOTE
5.15 Choose cell broadcast message type:+CSCB
Description
This command is to set CBM type ME received
Format

Syntax
<mode>:
Get value:
0:accept the message type specified by <mids> and <dcss>, no need to input
value 0;
1:not accept the message type specified by <mids> and <dcss>.
<mids>:
Chatacter type(eg: 0,1,5,320~478,922);the combination of all possible CBM
message ID(please reference <mid>).
<dcss>:
Charater type(eg:0~3,5); the combination of all possible CBM data coding
program(please reference <dcs>)(the default value is empty chatater string).
Response
See the example below.
Example
AT+CSCB=0,"2","2"
OK
AT+CSCB=[<mode>[,<mids>[,<dcss>]]]
AT+CSCB?
All rights reserved by Shenzhen Neoway Technology.
36 of 69
Let’s enjoy the wireless life!
+CSCB:
0,"2","0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,3
2,33,34,35,36,15"
OK
NOTE
All rights reserved by Shenzhen Neoway Technology.
37 of 69
Let’s enjoy the wireless life!
6 TELEPHONE BOOK COMMANDS
6.1 CHOOSE PHONE BOOK STORAGE:+CPBS
Description
This command is to choose phone book storage.
Format


Syntax
<storage>:
"ME"
MT phonebook
"SM"
SIM/UICC phonebook
"LD"
last-dialling phonebook
"MC"
MT missed calls list
"RC"
MT received calls list.
"DC"
MT dialled calls list
"FD"
SIM/USIM fixdialling-phonebook
"ON"
SIM own numbers (MSISDNs) list
Response
+CPBS:<storage>[,<used>,<total>]
<used>
Used count
<total>
Total count
Example
AT+CPBS="SM"
OK
AT+CPBS=<storage>
AT+CPBS?
AT+CPBS?
+CPBS: "SM", 1, 250
OK
NOTE
6.2 READ PHONE BOOK:+CPBR
Description
This command is to read the information of phone book.
Format


Syntax
<index 1>:
Integer type,phone book record nember
<index 2>:
Integer type,phone book record nember
Response
[+CPBR:<index1>,<number>,<type>,<text><CR>
+CPBR:<index2>,<number>,<type>,<text>]
[+CPBR:
<index1>,<number>,<type>,<text>[,<hidden>][[...]
AT+CPBR=<index 1>[,<index 2>]
AT+CPBR=?
All rights reserved by Shenzhen Neoway Technology.
38 of 69
Let’s enjoy the wireless life!
<CR><LF>+CPBR:
<index2>,<number>,<type>,<text>[,<hidden>]]]
<index1>, <index2>, <index>: integer type values in the range of location numbers
of phonebook memory
<number>: string type phone number of format <type>
<type>: type of address octet in integer format (refer TS 24.008 [8] subclause
10.5.4.7)
<text>: the phone book entry name, string type field of maximum length
<tlength>;character set as specified by command Select TE Character Set +CSCS
+CPBR: (list of supported <index>s),[<nlength>],[<tlength>]
<nlength>: integer type value indicating the maximum length of field <number>
<tlength>: integer type value indicating the maximum length of field <text>
<hidden>: indicates if the entry is hidden or not
0: phonebook entry not hidden
1: phonebook entry hidden
Example
AT+CPBR=1,3
+CPBR:1,"091137880",129,"Comneon"
+CPBR:2,"09113788223",129,"MMI"
+CPBR:3,"09113788328",129,"Test-ro"
OK
AT+CPBR=?
+CPBR: (1-500), 40, 40
OK
+CPBR:(list of supported <index>s),
[<nlength>],[<tlength>]
NOTE
6.3 FIND PHONE BOOK:+CPBF
Description
This command is to find the information of phone book.
Format

Syntax
<findtext>:the phone book entry name.
Response
+CPBF:<index1>,<number>,<type>,<text>
<index>: integer type values in the range of location numbers of phonebook
memory
<number>: string type phone number of format <type>
<type>: type of address
<text>: the phone book entry name, string type field of maximum length <tlength>;
character set as specified by command Select TE Character Set +CSCS.UCS2”,
and “IRA” are supported.
AT+CPBF=<findtext>
All rights reserved by Shenzhen Neoway Technology.
39 of 69
Let’s enjoy the wireless life!
Example
AT+CPBF="Comneon"
+CPBR:1,"091137880",129,"Comneon"
OK
NOTE
6.4 WRITE PHONE BOOK:+CPBW
Description
This command is to write the information in phone book.
Format

Syntax
<index>: integer type values in the range of location numbers of phonebook
memory
<number>: string type phone number of format <type>
<type>: type of address
<text>: the phone book entry name, string type field of maximum length <tlength>;
character set as specified by command Select TE Character Set +CSCS.UCS2”,
and “IRA” are supported.
Response
+CPBR:(list of supported <index>s),[<nlength>],(list of supported
<type>s),[<tlength>]
<nlength>: integer type value indicating the maximum length of field <number>
<tlength>: integer type value indicating the maximum bytes of field <text> after
encoding
Example
AT+CPBW=1,”091137880”,129,”Comneo
n”
OK
AT+CPBW=<index>,<number>,<type>,<text>
AT+CPBR=?
+CPBR: (1-500), 40, 40
OK
+CPBR:(list of supported
<index>s),[<nlength>],(list of
supported <type>s),[<tlength>]
Need to pre-set TE character set,or the name of input will fail.
NOTE
All rights reserved by Shenzhen Neoway Technology.
40 of 69
Let’s enjoy the wireless life!
7 SUPPLEMENTARY SERVICE COMMANDS
7.1 CALL DIVERTING:+CCFC
Description
This command is to set confition and number for call diverting.
Format


AT+CCFC=<reason>,<mode>[,<number>[,<type>[,<class>[,<subaddr>[,<saty
pe>[,<time>]]]]]]
AT+CCFC=?
Syntax
<reason>:
0 unconditional
1 mobile busy
2 no reply
3 not reachable
4 all call forwarding (refer 3GPP TS 22.030 [19])
5 all conditional call forwarding (refer 3GPP TS 22.030 [19])
<mode>:
0 disable
1 enable
2 query status
3 registration
4 erasure
<number>: string type phone number of forwarding address in format specified by
<type>
<type>: type of address
<subaddr>: string type subaddress of format specified by <satype>
<satype>: type of subaddress octet in integer format (refer TS 24.008 [8] subclause
10.5.4.8); default 128
<classx> is a sum of integers each representing a class of information (default 7):
1 voice (telephony)
2 data (refers to all bearer services)
4 fax (facsimile services)
8 short message service
16 data circuit sync
32 data circuit async
64 dedicated packet access
128 dedicated PAD access
<time>:
1...30 when "no reply" is enabled or queried, this gives the time in seconds to wait
before call is forwarded
<status>:
0 not active
1 active
Response
when <mode>=2 and command successful:
All rights reserved by Shenzhen Neoway Technology.
41 of 69
Let’s enjoy the wireless life!
+CCFC: <status>,<class1>[,<number>,<type>[,<subaddr>,<satype>[,<time>]]][
<CR><LF>+CCFC: <status>,<class2>[,<number>,<type>[,<subaddr>,<satype>[,
<time>]]][...]]
Example
AT+CCFC=0,1,”123456”
OK
AT+CCFC=?
+CCFC: (0-5)
OK
+CCFC: (list of supported <reason>s)
Requests call-related supplementary services.
NOTE
7.2 CALL WAITING:+CCWA
Description
This command is to control call waiting.
Format


Syntax
<n> (sets/shows the result code presentation status to the TE):
0 disable
1 enable
<mode> (when <mode> parameter is not given, network is not interrogated):
0 disable
1 enable
2 query status
<classx> is a sum of integers each representing a class of information (default 7):
1 voice (telephony)
2 data (refers to all bearer services)
4 fax (facsimile services)
8 short message service
16 data circuit sync
32 data circuit async
64 dedicated packet access
128 dedicated PAD access
<status>:
0 not active
1 active
<number>: string type phone number of calling address in format specified by
<type>
<type>: type of address octet in integer format (refer TS 24.008 [8] subclause
10.5.4.7)
Response
when <mode>=2 and command successful
+CCWA: <status>,<class1>[<CR><LF>+CCWA: <status>,<class2>[...]]
AT+CCWA=[<n>[,<mode>[,<class>]]]
AT+CCWA?
All rights reserved by Shenzhen Neoway Technology.
42 of 69
Let’s enjoy the wireless life!
Example
AT+CCWA=1,1
OK
AT+CCWA=?
+CCWA: (0-1)
OK
+CCWA: (list of supported <n>s)
AT+CCWA?
+CCWA: 0
OK
+CCWA: <n>
Requests call-related supplementary services.
NOTE
7.3 CALL HOLD and THREE-WAY-CALL:+CHLD
Description
This command is to realize call hold and three-way-call.
Format


Syntax
<n> (sets/shows the result code presentation status to the TE):
0 Releases all held calls, or sets User-Determined User Busy for a waiting call
1 Releases all active calls and accepts the other (waiting or held) call
1x Releases the specific active call X
2 Places all active calls on hold and accepts the other (held or waiting) call’
2x Places all active calls, except call X, on hold
3 Adds a held call to the conversation
4 Connects two calls and disconnects the subscriber from both calls
5 Activate the Completion of Calls to Busy Subscriber Request. (CCBS)
Response
See the example below.
Example
AT+CHLD=0
OK
AT+CHLD=<n>
AT+CHLD=?
AT+CHLD=?
+CHLD: (0, 1, 1x, 2, 2x, 3, 4, 5)
OK
NOTE
[+CHLD: (list of supported <n>s)]
Requests call-related supplementary services. Refers to a service that allows a call
to be temporarily disconnected from the ME but the connection to be retained by
the network, and to a service that allows multiparty conversation. Calls can be put
on hold, recovered, released and added to a conversation.
All rights reserved by Shenzhen Neoway Technology.
43 of 69
Let’s enjoy the wireless life!
8 GPRS commands
8.1 Set PDPFormat:+CGDCONT
Description
This command is to set GPRS PDP format.
Format
 AT+CGDCONT=[<cid> [,<PDP_type> [,<APN> [,<PDP_addr> [,<d_comp>
[,<h_comp> [,<pd1> [,…[,pdN]]]]]]]]]
 AT+CGDCONT?
 AT+CGDCONT=?
Syntax
<cid>:
(PDP Context Identifier) a numeric parameter which specifies a particular PDP
context definition. The parameter is local to the TE-MT interface and is used in
other PDP context-related commands. The range of permitted values (minimum
value = 1) is returned by the test form of the command.
<PDP_type>: (Packet Data Protocol type) a string parameter. IP Internet Protocol
(IETF STD 5)
<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 dynamic address will
be requested. The read form of the command will continue to return the null string
even if an address has been allocated during the PDP startup procedure. The
allocated address may be read using the +CGPADDR command.
<d_comp>: a numeric parameter that controls PDP data compression (applicable
for SNDCP only)
0 - off (default if value is omitted)
<h_comp>: a numeric parameter that controls PDP header compression
0 - off (default if value is omitted)
<pd1>, … <pdN>: zero to N string parameters whose meanings are specific to the
<PDP_type>
Response
See the example below.
Example
AT+CGDCONT=1,”IP”,”CMNET”
OK
AT+CGDCONT?
+CGDCONT: 1, "IP", "internet", "", 0, 0
+CGDCONT: 2, "IP", "internet", "", 0, 0
+CGDCONT: 3, "IP", "internet", "", 0, 0
OK
All rights reserved by Shenzhen Neoway Technology.
+CGDCONT: <cid>, <PDP_type>,
<APN>,<PDP_addr>, <d_comp>,
<h_comp>[,<pd1>[,…[,pdN]]]
[<CR><LF>
+CGDCONT: <cid>, <PDP_type>,
<APN>,<PDP_addr>, <d_comp>,
<h_comp>[,<pd1>[,…[,pdN]]][...]]
44 of 69
Let’s enjoy the wireless life!
AT+CGDCONT=?
+CGDCONT: (1-3),"IP",,,(0),(0)
OK
+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>
+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)]]][...]]
NOTE
8.2 Send USSD data:+CUSD
Description
This command is to send USSD(Unstructured Supplementary Service Data).
Format


Syntax
<n>:
-0:not display back code
-1:display back code
-2:cancel the request
<str>:
string type USSD string
<dcs>:
3GPP TS 23.038 [25] Cell Broadcast Data Coding Scheme in integer format
(default 15)
<m>:
0 no further user action required
1 further user action required
2 USSD terminated by network
3 other local client has responded
4 operation not supported
5
network time out
Response
See the example below.
Example
AT+CUSD=1,”*100#”,15
OK
+CUSD:
1,"0031795D798F4E0B8F7D000A00325F694FE18D
3A5361000A0033665A95F465B095FB000A003480A
1796867E58BE2000A003586816BD2000A00367537
AT+CUSD=<n>,<str>,<dcs>
AT+CUSD?
All rights reserved by Shenzhen Neoway Technology.
45 of 69
Let’s enjoy the wireless life!
7F5153CB5F008F665E26597953BB65C56E38000A
00378BDD8D3967E58BE2000A00387FFB9875", 72
AT+CUSD=?
+CUSD: (0-2)
OK
+CUSD: (list of supported
<n>s)
AT+CUSD?
+CUSD:0
OK
+CUSD: <n>
NOTE
8.3 AT mode switched to data mode:ATO
Description
This command is to set the module switch AT mode to data mode.
Format

Syntax
NULL
Response
CONNECT
CONNECT <text>
NO CARRIER
ERROR
Example
ATO
CONNECT
NOTE
ATO
Switch from on-line command mode to on-line data mode during an active
call .Returns ERROR when not in on-line command mode.
All rights reserved by Shenzhen Neoway Technology.
46 of 69
Let’s enjoy the wireless life!
9 TCP/UDP AT commands
9.1 Set network APN: +NETAPN
Description
Set network APN
Format

Syntax
APN: GPRS 网络接入点
USERNAME: GPRS 用户名
PASSWORD: GPRS 密码
Response
OK
Example
AT+NETAPN=="CMNET","",""
OK
AT+NETAPN=”APN”,”USERNAME”,”PASSWORD”<CR>
NOTE
9.2 Establish PPP link: +XIIC
Description
Establish PPP link
Format


Syntax
<n>:1
Response
See the example below.
Example
AT+XIIC=1
OK
Request to establish PPP link.
AT+XIIC?
+XIIC: 1, 10.232.165.29
OK
Success to establish PPP link, IP
address: 10.232.165.29. Four spaces
in front of 1.
AT+XIIC?
+XIIC: 0, 0.0.0.0
OK
Failed to establish PPP link. Four
spaces in front of 0.
NOTE
AT+XIIC=<n>
AT+XIIC? Query PPP link status
Before using the AT + XIIC = 1 to establish a PPP connection, first make sure the
module has been registered on the network. Can use AT + CREG? to determine, if
returned + CREG: 0,1 or + CREG: 0,5 means that module has been registered on
the network.
9.3 Establish TCP link:+TCPSETUP
Description
This command is to establish TCP link.
Format

AT+TCPSETUP=<n>,<ip>,<port>
All rights reserved by Shenzhen Neoway Technology.
47 of 69
Let’s enjoy the wireless life!
Syntax
<n>:
Link ID, only could be 0 ~4.
<ip>:
Target IP address must be input as xx.xx.xx.xx.
<port>:
Target port number must be decimal ASCII code.
Response
See the example below.
Example
AT+TCPSETUP=0,220.199.66.56,6800
OK
+TCPSETUP:0,OK
Establish
a
connection
to
220.199.66.56,6800 on Link 0,
success.
AT+TCPSETUP=1,192.168.20.6,7000
OK
Establish
a
connection
to
192.168.20.6,7000 on Link 1,
failed. Failure may be the server
does not open, or the IP address
wrong, or SIM card no money, etc.
+TCPSETUP:0,FAIL
AT+TCPSETUP=5,192.168.20.6,7000
+TCPSETUP:Error 2
NOTE
AT command Format: ERROR
Link No.: ERROR
1. After inputing AT command, if the command Format is correct, it will response
OK immediately; if the command Format is not correct or the link has been in
use, it will response +TCPSETUP:Error .
2. Recommended prior to use before the AT + XIIC = 1 to establish a PPP link.
9.4 Send TCP data:+TCPSEND
Description
Send TCP commands. After this command sent, will receive greater than ">",
when please wait 50ms-100ms, and then send the data.
Format

Syntax
<n>:
Link ID, only could be 0 ~4 and this link has been already establish TCP link.
<length>:
The length of on-sent data, get value in range of 1-8192 bytes.
Response
See the example below.
Example
AT+TCPSEND=0,1
>31
OK
+TCPSEND:0,1
Send 1 bytes data on Link 0,
success.
AT+TCPSEND=0,1
>31
OK
+TCPSEND: 0 is not link
Send 1 bytes data on Link 0, this
link has not established, failed.
AT+TCPSEND=0,2800
+TCPSEND:Data length error
Send 2800 bytes data on Link 0,
exceed the limitation of the length,
AT+TCPSEND=<n>,<length>
All rights reserved by Shenzhen Neoway Technology.
48 of 69
Let’s enjoy the wireless life!
failed.
NOTE
1、 Before sending TCP data, please ensure the TCP link has been established.
2、 Before sending data, please use AT+IPSTATUS to check the available size of
buffer.
3、 This command supports the input of binary data of ASCII code only.
9.5 Receive TCP data:+TCPRECV
Description
This command is to indicate the received TCP data.
Format
+TCPRECV:<n>,<length>,<data>
Syntax

Response
NULL
Example
+TCPRECV:0,10,1234567890
<n>:
Link ID, only could be 0~4.
 <length>
Length of received data.
 <data>
Received data. Add 0x0d 0x0a at the end. The user can check the end according to
the parameter <length>.
Receive 10 bytes data on Link 0,
the data is 1234567890.
NOTE
9.6 Close TCP link:+TCPCLOSE
Description
This command is to close TCP link.
Format

Syntax
<n>:
Link ID, only could be 0 ~4.
Response
See the example below.
Example
AT+TCPCLOSE=1
+TCPCLOSE:1,OK
Close TCP link on Link 1, success.
AT+TCPCLOSE=5
+TCPCLOSE:Error
Link ID is wrong, failed.
Null
+TCPCLOSE:0,Link Closed
TCP link is forced to disconnect.
AT+TCPCLOSE=<n>
NOTE
All rights reserved by Shenzhen Neoway Technology.
49 of 69
Let’s enjoy the wireless life!
9.7 Establish UDP link:+UDPSETUP
Description
This command is to establish UDP link
Format

Syntax
<n>:
Link ID, only could be 0 ~4.
<ip>:
Target IP address, must be input as xx.xx.xx.xx.
<port>:
Target port number, must be decimal ASCII code.
Response
1、Input AT command, if command Format is correct, it will response OK
immediately.
2、If the input command Format is not correct or this link has been in use, it will
response +UDPSETUP:Error.
3、If the input AT command is correct (response:OK), the UDP link is establish
successfully and response: +UDPSETUP:<n>,OK (<n> represents link number).
Example
AT+UDPSETUP=1,220.199.66.56,7000
OK
+UDPSETUP:1,OK
Establish
a
link
to
220.199.66.56,7000 on Link 1:
success.
AT+UDPSETUP=1,192.168.20.6,7000
OK
+UDPSETUP:0,FAIL
Establish
a
192.168.20.6,7000
failed.
AT+UDPSETUP=5,192.168.20.6,6800
+UDPSETUP:Error
AT command Format Error
AT+UDPSETUP=<n>,<ip>,<port>
link
on Link
to
1:
NOTE
9.8 Send UDP data:+UDPSEND
Description
Send UDP commands. After this command sent, will receive greater than ">",
when please wait 50ms-100ms, and then send the data.
Format

Syntax
<n>:
Link ID, only could be 0~4, and this link should been already establish UDP link.
<length>:
The length of on-sent data, get value in range of 1-1024 bytes.
Response
1.Input AT command, if the command Format is correct, it will response ‘>’.
2.If the command Format is wrong it will response: Error.
3.This link has not been established, it will response: +UDPSEND:Error.
4.Input command and waiti for the appearance of ‘>’, then input on-sent data ended
with 0x0d. If the data input is correct, it will response OK.
AT+UDPSEND=<n>,<length>
All rights reserved by Shenzhen Neoway Technology.
50 of 69
Let’s enjoy the wireless life!
5.If TCP data is sent correctly, it will response + +UDPSEND:<n>,<length>.
<length> is the length of sent data.
Example
AT+UDPSEND=0,2
>3131
OK
+UDPSEND:0,2
Require to send 2 bytes data on
Link 0, after the apperace of ‘>’,
please
appropriate
delay
50ms-100ms, and then enter the
character to be sent.
AT command: success.
NOTE
9.9 Receive UDP data:+UDPRECV
Description
This command is to receive UDP data
Format
+UDPRECV:<n>,<length>,<data>
Syntax

Response
NULL
Example
+UDPRECV:0,10,1234567890
<n>:
Link ID, only could be 0~4.
 <length>
The length of received data.
 <data>
Received data. Add 0xod 0xoa at the end. The user can confirm the end with
parameter <length>.
Receive 10 bytes data on Link 0,
the data is 1234567890.
NOTE
9.10 Close UDP link:+UDPCLOSE
Description
This command is to close UDP link
Format

Syntax
<n>:Link ID, only could be 0~4.
Response
If <n> is illegal, it will response: +UDPCLOSE:Error;
Or it will response +UDPCLOSE:<n>,OK。
Example
AT+UDPCLOSE=1
+UDPCLOSE:1,OK
Close the UDP link on Link1,
success.
AT+UDPCLOSE=5
+UDPCLOSE:Error
Link ID is wrong, faild.
AT+UDPCLOSE=<n>
All rights reserved by Shenzhen Neoway Technology.
51 of 69
Let’s enjoy the wireless life!
NOTE
9.11 Check TCP/UDP link status:+IPSTATUS
Description
This command is to check TCP/UDP link status
Format

Syntax
<n>:
Link ID, only could be 0~4.
Response
+IPSTATUS:<n>,<CONNECT or DISCONNECT>,<TCP or UDP>,
<send-buffer-size>
 <CONNECT or DISCONNECT>:
The status of this link, get value: CONNECT or DISCONNECT.
 <TCP or UDP>:
Link type, get value: TCP or UDP.
 <send-buffer-size>:
The module internal available send buffer size, indicating with decimal ASCII
code, a byte per unit.
Example
AT+IPSTATUS=0
+IPSTATUS:0,CONNECT,TCP,8192
Link0 has been establish TCP link,
available buffer size is 8192 bytes.
AT+IPSTATUS=0
+IPSTATUS:0,CONNECT,UDP,1024
Link0 has been establish UDP
link, available buffer size is 1024
bytes.
AT+IPSTATUS=1
+IPSTATUS:1,DISCONNECT
Link1 has not establish any link.
AT+IPSTATUS=<n>
NOTE
9.12 Set the type of data reception: +ASCII
Description
Set the type of TCP/UDP data reception
Format

Syntax
<n>:
0:When receiving data the Ascii code in hexadecimal
1:Receiving data using the character type
AT+ASCII=<n>
Response
Example
AT+ASCII=0
OK
AT+ASCII=1
OK
AT+ASCII?
All rights reserved by Shenzhen Neoway Technology.
52 of 69
Let’s enjoy the wireless life!
+ASCII:0
By default, the Ascii code in hexadecimal display.
NOTE
9.13 Set the type of data to send and receive: +DATAFORMAT
Description
Set TCP/UDP type of data to send and receive
Format

Syntax
<n>:Send parameters
0:When sending data the Ascii code in hexadecimal
1:Sending data using the character type
<m>:receive parameters
0:When receiving data the Ascii code in hexadecimal
1:Receiving data using the character type
AT+DATAFORMAT=<n>,<m>
Response
Example
AT+DATAFORMAT=0,1
OK
AT+DATAFORMAT=1,0
OK
AT+DATAFORMAT?
+DATAFORMAT:0,0
By default, the Ascii code in hexadecimal display.
NOTE
9.14 Set the data receive mode: +TRANMODE
Description
Set TCP/UDP receive data mode
Format

Syntax
mode:
0:Without the data header format, raw data, that is transparent receive mode.
1:Plus data header format, +TCPRECV: <n>, <length>, <data>, non-transparent
receive mode.
Response
See the example below.
Example
AT+TRANMODE=1
OK
AT+TRANMODE=<mode>
All rights reserved by Shenzhen Neoway Technology.
Set receive method with a header
format
53 of 69
Let’s enjoy the wireless life!
Then the received data is:
+TCPRECV:0,10,1234567890
AT+TRANMODE=0
OK
Then the received data is:
1234567890
Set receive method without a header
format
The default value is 1, power-down state don't preserve the value
NOTE
9.15 Set the link off mode: +SETCLSMODE
Description
Set the link off mode:
Format

Syntax
SocketID: socket number, the range is [0,4]
Mode:
0:Ordinary Close
1:Forced to close
AT+SetClsMode=<SocketID>,<Mode>
Response
Example
AT+SetClsMode=1,1
OK
Successfully set
This command to be behind AT + TCPSETUP.
NOTE
9.16 Set up a local TCP port number: AT+TCPLPORT
Description
Set up a local TCP port number
Format

Syntax
<port>: port number;range(4097,32767)
At+tcplport=<port>
Response
Example
at+tcplport=6800
OK
NOTE
1. The instructions need to be set before at + tcpsetup;
2. without this AT command, each connection the port number will be dynamically
allocated internal the module, local port number is not fixed.
3. Power-off after the restart, the local port number setting is not saved.
9.17 Set up a local UDP port number: AT+ UDPLPORT
Description
Set up a local UDP port number
All rights reserved by Shenzhen Neoway Technology.
54 of 69
Let’s enjoy the wireless life!
Format

Syntax
<port>: port number;range(4097,32767)
At+ UDPlport=<port>
Response
Example
at+ UDPlport=6800
OK
NOTE
4. The instructions need to be set before at + tcpsetup;
5. without this AT command, each connection the port number will be dynamically
allocated internal the module, local port number is not fixed.
6. Power-off after the restart, the local port number setting is not saved.
9.18 Base station location: AT+GETLOCATION
Description
Base station location
Format

Syntax
<mode>:Positioning mode selection. 0 is easy mode, locate through google server;
1 is accurate mode,Precise positioning through our server (reserved function).
<type>: 0 Only to obtain the latitude and longitude and the accuracy of information,
not for detailed address information;1 Get all of the above information.
At+getlocation= < mode >,< type >
Response
Example
NOTE
at+ getlocation =0,0
OK
latitude:22.6872069,longitude:113.984497
,accuracy:977.0
at+ getlocation =0,1
OK
latitude:22.6872069,longitude:113.984497
,address:N-V3^ w 氊?accuracy:977.0
Type=1,obtained location information is detailed address, because it contains
Chinese so the data encode as unicode.
9.19 Set socket operation timeout parameters : AT+SSTP
Description
Set socket operation timeout parameters
Format



Syntax
<n>: timeout, unit second, range 8-30
Response
+SSTP ERROR: INVALID VALUE(The parameter value outside the allowable
range)
OK
AT+SSTP = < n >
AT+SSTP?( Queries the current value of the timeout parameter)
AT+SSTP=?( The range of the query timeout parameter)
All rights reserved by Shenzhen Neoway Technology.
55 of 69
Let’s enjoy the wireless life!
Example
AT+SSTP?
+SSTP: 10
Query timeout parameter value, the
default value is 10 (s)
OK
AT+SSTP=?
+SSTP: 8-30(s)
Query timeout parameter range
OK
AT+SSTP=8
OK
Set to change the current timeout
parameters
NOTE
All rights reserved by Shenzhen Neoway Technology.
56 of 69
Let’s enjoy the wireless life!
10 DNS(Domain Name Server)commands
10.1 Check IP address:+DNS
Description
This command is to check IP address
Format
AT+DNS=<string>
Syntax
<string>:be checked website URL, like www.china.com.
Response
See the example below.
Example
at+dns="www.china.com"
OK
Check "www.china.com" website
+DNS:124.238.253.103
+DNS:OK
The module gave two IP address:
124.238.253.103
1、The length of URL can’t exceed 250Bytes.
NOTE
All rights reserved by Shenzhen Neoway Technology.
57 of 69
Let’s enjoy the wireless life!
11 FTP AT commands
11.1 Login FTP server:+FTPLOGIN
Description
This command is to login FTP server.
Format
AT+FTPLOGIN=<ip>,<port>,<user>,<pwd>
Syntax
<ip>:
FTP server IP.
<port>:
FTP server port number, usually is 21.
<user>:
User name to login FTP server, the length can’t exceed 100 ASCII code. There
should be no comma (‘,’) in the user name.
<pwd>:
The password to login FTP server, the length can’t exceed 100 ASCII code.
There should be no comma (‘,’) in the password.
Response
1、 If the AT command Format is not correct, it will response +FTPLOGIN: Error
2、 If FTP has been in login status, it will response+FTPLOGIN:Have Logged In.
3、 If the last AT command which is related to FTP has not been finished, it will
response +FTPLOGIN:AT Busy.
4、 If login is success, it will respongse +FTPLOGIN: User logged in.
5、 If login is failed as wrong user name or wrong password, it will response
+FTPLOGIN: 530 Not logged in.
6、 If connecting to FTP server is failed, it will response +FTPLOGIN: Error
Connect Server Fail.
7、 If the login is failed as the login time is out (the time is over 30s), it will
response +FTPLOGIN: Error TimeOut.
Example
At+ftplogin=219.134.179.52,21,user1,pwd2
009
OK
Login server 219.134.179.52, port
21, user name is user1,password is
pwd2009。
Login success.
+FTPLOGIN:User logged in
NOTE
1. FTP and Internal stack TCP/UDP can’t use at same time.
2. The read and write operation of FTP can’t be done before login.
11.2 Logout FTP server:+FTPLOGOUT
Description
This command is to logout FTP server.
All rights reserved by Shenzhen Neoway Technology.
58 of 69
Let’s enjoy the wireless life!
Format
AT+FTPLOGOUT
Syntax
NULL
Response
Example
OK
AT+FTPLOGOUT
OK
Logout FTP server.
NOTE
11.3 Download data from FTP server:+FTPGET
Description
This command is to download data from FTP server.
Format
AT+FTPGET=<dir&filename>,<type>,<Content or Info>
Syntax
<Dir&filename>
File direct and name. (file direct is compared with FTP root direct.)
<Type> data transfer mode:
1:ASCII;
2:Binary。
<Content or Info> is to specify what you need is content of the file or information of
the file( file direct):
1:get the file content
2:get the information of file or specified direct.
Response
1. If the AT command Format is incorrect, it will response:+FTPGET:Error <n>. (<n>
is incorrect code.)
2. If FTP is not login status, it will response: +FTPGET:Error Not Login.
3. If the last AT command which is related to FTP has not been finished, it will
response:+FTPGET:AT Busy.
4. If the login is failed as the login time is out ( the time is over 30s), it will response
+FTPLOGIN: Error TimeOut.
5. Response: +FTPGET:<length>,<data>, <length> represents the length of data,
<data> represents data content.
6. Response: +FTPGET:OK.total length is <n>, data read is success, reading length
of the data is n.
Example
AT+FTPGET=,1,2
+FTPGET:446,drw-rw-rw- 1 user
group
0 Apr 14 15:55 .
drw-rw-rw- 1 user
group
0 Apr 14 15:55 ..
-rw-rw-rw- 1 user
group
1238528 Jan 14 10:36 1M.doc
-rw-rw-rw- 1 user
group
10 Jan 15 15:01 test.txt
Get
informati
ons
under
root
content.
+FTPGET:OK.total length is 446
All rights reserved by Shenzhen Neoway Technology.
59 of 69
Let’s enjoy the wireless life!
at+ftpget=test.txt,1,2
+FTPGET:65,-rw-rw-rw- 1 user
+FTPGET:OK.total length is 65
group 10 Jan 15 15:01 test.txt
at+ftpget=test.txt,1,1
+FTPGET:10,123456780
Get
informati
on
of
file ’test.t
xt’.
Get the
content
of the file
‘test.txt’.
+FTPGET:OK.total length is 10
NOTE
There is a time delay from receiving the last data to +FTPGET: OK.total length is
<n>, this time delay is to ensure the transimission realibility. Default value is 8s.
After the appearance of +FTPGET:OK.total length is <n>, the next FTP operation
could work out.
11.4 Upload data to FTP server:+FTPPUT
Description
This command is to upload data to FTP server.
Format
AT+FTPPUT=<filename>,<type>,<mode>,<size>
Syntax
<filename>:file name of need-to-send file.
<type>:file transimission type:
1:ASCII
2:Binary
<mode>:operation mode:
1:STOR mode. Establish a document on server to write into data, if a document
has been already exist,it will be replaced by the new built one.
2:APPE mode. Establish a document to write into data, if a document has been
already exist, the data will be attached at the end of the file.
3:DELE mode. Delete a file.
<size> : the length of data, the maximum data can’t exceed 1024.
Response
1) If the AT command Format is incorrect, it will response:+FTPGET:Error <n>.
(<n> is incorrect code.)
2) If FTP is not login status, it will response: +FTPGET:Error Not Login.
3) If the last AT command which is related to FTP has not been finished, it will
response:+FTPGET:AT Busy.
4)If <length> exceed 10240, it will response +FTPPUT: length overflow.
5)Respons: +FTPPUT:OK,<n>,file sent: success, the length of sent file is n.
6)Respons: +FTPPUT:Delete File OK, delete file: success.
7 ) Respons: +FTPPUT:Error send data error, this FTP command can’t be
recognized, the module will automatically disconnect at this time.
All rights reserved by Shenzhen Neoway Technology.
60 of 69
Let’s enjoy the wireless life!
Example
AT+FTPPUT=test.txt,1,1,1024
>
+FTPPUT:OK,1024
AT+FTPPUT=test.txt,1,2,1024
>
+FTPPUT:OK,1024
AT+FTPPUT=test.txt,1,3,0
+FTPPUT:Delete File OK
Remark: the length of upload file
‘test.txt’ is 1024, transmission
mode is ASCII, operation mode is
STORE.
Remark: the length of upload file
‘test.txt’ is1024, transmission
mode is ASCII, operation mode is
APPE.
Delete ‘test.txt’ file.
Inputted data without echo.
NOTE
11.5 Check FTP status:+FTPSTATUS
Description
This command is to check FTP status.
Format
AT+FTPSTATUS
Syntax
NULL
Response
+FTPSTATUS:<status>[,<ip>,<port>]
 <status>:
0:not login FTP server;
1 : login FTP server, the server IP and port number are as the following
parameter.
 <ip>:
Server IP.
 <port>:
Server port number.
Example
AT+FTPSTATUS
+FTPSTATUS:1, 219.134.179.521,21
NOTE
All rights reserved by Shenzhen Neoway Technology.
61 of 69
Let’s enjoy the wireless life!
12 TCP server AT commands
12.1 Setting the server TCP listener: +TCPLISTEN
Description
Set the server listening, supporting three master station link.
Format
AT+TCPLISTEN=<port>
+TCPLISTEN:<socket>,OK
Syntax
Port: port number
Socket: SOCKET number
Response
See the example below.
Example
AT+TCPLISTEN=6800
Listening port number 6800
+TCPLISTEN:0,OK
or
+TCPLISTEN:bind error
Server started listening
AT+TCPLISTEN=6800
If the listener has been set, then set
it, it will prompt Listening ...
Bind failed
Listening...
AT+TCPLISTEN?
Check the listening state, that is
currently in listening.
+TCPLISTEN:listening status
AT+TCPLISTEN?
Check the listening state, that is not
currently listening.
+TCPLISTEN:not listening
Connect AcceptSocket=1,ClientAddr=119.123.77.133
Received the master station connection requests. AcceptSocket is the established
socket between the main station and module, 119.123.77.133 is the IP address of
the master station
NOTE
Unicom card or China mobile private network card can be used for debugging, the
China mobile public network card can not be used for server debugging
12.2 Close listening links: +CLOSELISTEN
Description
Close listening links
Format
AT+CLOSELISTEN
+CLOSECLIENT:<socket>,local link closed
Syntax
Socket: SOCKET number
Response
See the example below.
Example
AT+CLOSELISTEN
All rights reserved by Shenzhen Neoway Technology.
62 of 69
Let’s enjoy the wireless life!
+CLOSELISTEN:0,local link closed
NOTE
12.3 Close the master station link: +CLOSECLIENT
Description
Close the master station link
Format
AT+CLOSECLIENT
+CLOSECLIENT:<socket>,remote link closed
Syntax
Socket: SOCKET number
Response
See the example below.
Example
AT+CLOSECLIENT
+CLOSECLIENT:1,remote link closed
NOTE
12.4 Receive the data from the main station: +TCPRECV(S)
Description
Receive the data from the main station
Format
+TCPRECV(S):<SOCKET>,<length>,<data>
Syntax
Response
See the example below.
Example
+TCPRECV(S):1,10,1234567899
NOTE
1)Mode with the client to receive a slightly different format, extra a symbolic "(S)"
2)It's different with the client's parameters
12.5 The data sent to the master station: +TCPSENDS
Description
The data sent to the master station
Format
AT+TCPSENDS=<socket>,<length>
Syntax
<socket>:
The value of listening to AcceptSocket which is the socket between main station
and the module,refer to AT + TCPLISTEN instruction description.
<length>:
To send data length which is in bytes,recommended ranging between 1 to 1024
Response
See the example below.
All rights reserved by Shenzhen Neoway Technology.
63 of 69
Let’s enjoy the wireless life!
Example
AT+TCPSENDS=0,10
>1234567890
OK
+TCPSENDS:0,10
In sokcet 0 10 bytes of data sent
successfully.
AT+TCPSENDS=0,536
>1234567890…
+TCPSENDS:Buffer not enough,439
In sokcet 0 send 536 bytes of data, lack of
internal buffer, failed to send.
1、 TCP link must has been established before sending TCP data
NOTE
12.6 Check status of the master station link: +CLIENTSTATUS
Description
Check status of the master station link
Format
AT+CLIENTSTATUS=<socket>
Syntax
<socket>:
The value of listening to AcceptSocket which is the socket between main station
and the module,refer to AT + TCPLISTEN instruction description.
Response
+CLIENTSTATUS:<socket>,<CONNECT or DISCONNECT>,<TCP>,
<send-buffer-size>
 <CONNECT or DISCONNECT>:
The link status which value is CONNECT or DISCONNECT。
 <TCP>:
Link type,the value is TCP
 <send-buffer-size>:
Modules available internal sending buffer size in bytes, decimal ASCII code
represents.
Example
AT+CLIENTSTATUS=0
+CLIENTSTATUS:0,CONNECT,TCP,2048
Master station socket 0 , TCP
connection has been established, the
available buffer is 1024 bytes.
NOTE
12.7 Get Local IP Address: +GETIP
Description
Get Local IP Address
Format
AT+GETIP
Syntax
Response
+LocalIp:<ip_addr>
Example
AT+GETIP
+LocalIp:119.139.220.13
All rights reserved by Shenzhen Neoway Technology.
64 of 69
Let’s enjoy the wireless life!
NOTE
All rights reserved by Shenzhen Neoway Technology.
65 of 69
Let’s enjoy the wireless life!
13 GPS AT commands
13.1 GPS ON&OFF:+GPSPWR
Description
ON&OFF GPS
Format

Syntax
<n>:GPS status
0:GPS ON
1:GPS OFF
Response
+ GPSPWR:<n>
Example
at+gpspwr=1
AT+GPSPWR=<n>
Open GPS
OK
at+gpspwr?
+GPSPWR:1
Query the GPS current
status
OK
NOTE
13.2 Obtain the GPS data: +GPSFETCH
Description
Obtain the GPS data
Format

Syntax
<A>: Fixed at 1.
<BC>:Hexadecimal number, such as the BC value of 31, representing the
hexadecimal 0x31, thatis binary 00110001.
$GPGSV data contained in the GPS data obtained when the lowest bit of the
binary value is 1;
$GPGSV data contained in the GPS data obtained when the right for the second
number of the binary value is 1;
The first data of $GPGSV contained in the GPS data obtained when the right for
the third number of the binary value is 1;
The second data of $GPGSV contained in the GPS data obtained when the right
for the fourth number of the binary value is 1;
The third data of $GPGSV contained in the GPS data obtained when the right for
the fifth number of the binary value is 1;
$GPGSV data contained in the GPS data obtained when the right for the sixth
number of the binary value is 1;
The $GPGSV data can not be received per second, we can only guarantee the
data was received in the recent time.
AT+GPSFETCH=<A>,<BC>[,D]
All rights reserved by Shenzhen Neoway Technology.
66 of 69
Let’s enjoy the wireless life!
<COUNT>:longth of GPS DATA,contains carriage return line feed at the end of
each data.
<GPS DATA>:GPS data, When not yet received this data, the content of this data
will be end of ,*00
<D>: Optional extended instruction, temporarily empty
Response
+GPSFETCH:<COUNT>
<GPS DATA>
Example
AT+GPSFETCH=1,3F
+GPSFETCH:304
$GPGGA,235955.017,,,,,0,00,,,M,0.0,M,,0000*5D
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,12,01,00,000,,02,00,000,,03,00,000,,04,00,
000,*7C
$GPGSV,3,2,12,05,00,000,,06,00,000,,07,00,000,,08,00,
000,*77
$GPGSV,3,3,12,09,00,000,,10,00,000,,11,00,000,,12,00,
000,*71
$GPRMC,235955.017,V,,,,,,,070810,,,N*48
Obtain all the GPS
data
OK
AT+GPSFETCH=1,3F
+GPSFETCH:154
$GPGGA,235955.017,,,,,0,00,,,M,0.0,M,,0000*5D
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,*00
$GPGSV,*00
$GPGSV,*00
$GPRMC,235955.017,V,,,,,,,070810,,,N*48
Have not
GSV data
obtained
OK
AT+GPSFETCH=1,23
+GPSFETCH:118
$GPGGA,235955.017,,,,,0,00,,,M,0.0,M,,0000*5D
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPRMC,235955.017,V,,,,,,,070810,,,N*48
Obtain specified three
data
OK
NOTE
All rights reserved by Shenzhen Neoway Technology.
67 of 69
Let’s enjoy the wireless life!
14 Other AT commands
14.1 Calculate the MD5 digest value: +CALMD5
Description
Calculate the MD5 digest value
Format

Syntax
<length>: Data length to be calculated.
Response
+CALMD5:str
Example
at+calmd5=6
>313233343536
+CALMD5: e10adc3949ba59abbe56e057f20f883e
NOTE
AT+CALMD5=<length>
Input data format is hexadecimal format, the returned string is a length of 32 bytes
of 16 hexadecimal format.
14.2 Calculate the CRC32 checksum: +CALCRC32
Description
Calculate the CRC32 checksum
Format

Syntax
<length>: Data length to be calculated.
Response
+ CALCRC32: str
Example
at+calcrc32=6
>313233343536
+CALCRC32: 398f3fd4
NOTE
AT+CALCRC32=<length>
Input data format is hexadecimal format, the returned string is a length of 8 bytes of
16 hexadecimal format.
14.3 Calculate the CRC16 checksum: +CALCRC16
Description
Calculate the CRC16 checksum
Format

Syntax
<length>: Data length to be calculated.
Response
+ CALCRC16: str
Example
at+calcrc16=6
>313233343536
+CALCRC16: 2ef4
NOTE
AT+CALCRC16=<length>
Input data format is hexadecimal format, the returned string is a length of 4 bytes of
16 hexadecimal format.
All rights reserved by Shenzhen Neoway Technology.
68 of 69
Let’s enjoy the wireless life!
14.4 Query the base station information: +POSI
Description
Query the base station information
Format

Syntax
+POSI: MODE,MCC,MNC,LAC,CI,BSIC, RxLev,ENDED<CR><LF>OK<CR><LF>
Response
MODE: 1,read all base stations information.
MCC: Country code (460 is China)
MNC: That is mobile network, China Mobile is 0 or 2, display hexadecimal.
LAC: Location area number, display hexadecimal.
CI: Cell identification number, display hexadecimal.
BSIC: Base station identification number, display hexadecimal.
RxLev: Base station signal strength, within 1-64.
ENDED: Marks the end of, 0: base station information behind the identifies;
1: Identify this base station information has been the last one.
Example
AT+POSI=1
+POSI: 1,460,00,27A8,EA7,1D,7,1
OK
NOTE
AT+POSI=MODE<CR>
If you do not find any district, directly back OK. If there are multiple base station
information,return data to cycle between the MCC and ENDED.
14.5 Timer switch: +PWROFTIMING
Description
Set a specific time of the switch machine, in order to achieve a daily timer
switch
Format



Syntax
1. <cnt> indicates which alarm clocks is for the current alarm clock(0~5).
2. <type>Indicates the type of alarm, if 0 means the current alarm clock is set to
shutdown alarm clock, otherwise the alarm clock for the start.
3. <enable>: Indicates that whether the current alarm is turned on, 0 indicates
alarm clock off, otherwise open.
4. HH:MM: Set the boot (shut down) time, set by 24-hour, if you set the time
Wrong, then the setup failed.
5. 000000: That all six alarm clock off, and time are cleared to 0.
Response
See the example below.
Example
AT+PWROFTIMING=011,00:05
OK
AT+PWROFTIMING=<cnt><type><enable>,HH:MM
AT+PWROFTIMING=<cnt><type><enable>
AT+PWROFTIMING=000000
AT+PWROFTIMING=500
OK
All rights reserved by Shenzhen Neoway Technology.
0 alarm clock is set to boot the alarm
clock and turn on the alarm clock, boot
time is 00:05.
Turn off the 5th shut-down alarm clock.
69 of 69
Let’s enjoy the wireless life!
AT+PWROFTIMING=000000
OK
NOTE
Close all the alarm clocks, and the alarm
time clear to 0.
The second instruction format is mainly used when customers want to turn off an
alarm clock, to avoid duplication of input time. Of course, can be used to turn on an
alarm clock, but due to the time parameters, the time is the last set time.If never set,
default time is 00:00.
14.6 Timer switch: + PWROFPERIOD
Description
Format



Syntax
1、<type> Indicates the type of alarm, if 0 means the current alarm clock is set to
shutdown alarm clock, otherwise the alarm clock for the start.
2、<enable> Indicates that whether the current alarm is turned on, 0 indicates alarm
clock off, otherwise open.
3、HH:MM: Set the boot (shut down) time, set by 24-hour, if you set the time
Wrong or less than 24hrs, then the setup failed.
4、00000000: That all eight alarm clocks off, and time are cleared to 0.
Response
See the example below.
Example
AT+ PWROFPERIOD=01,00:30
OK
Open the shutdown alarm clock, start
the run time is 30 minutes
AT+ PWROFPERIOD=00
OK
Close the shutdown alarm clock.
AT+ PWROFPERIOD=11,00:30
OK
Open the boot alarm, shut down after 30
minutes to boot.
AT+ PWROFPERIOD=00000000
OK
Close all alarm clocks, and time are
cleared to 0.
NOTE
AT+ PWROFPERIOD=<type><enable>,HH:MM
AT+ PWROFPERIOD=<type><enable>
AT+ PWROFPERIOD=00000000
The second instruction format is mainly used when customers want to turn off an
alarm clock, to avoid duplication of input time. Of course, can be used to turn on an
alarm clock, but due to the time parameters, the time is the last set time.If never set,
default time is 00:00.
All rights reserved by Shenzhen Neoway Technology.
70 of 69
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising