Neoway M660 Installation instructions

Neo_M660
AT Command Set
Version 3.7
Neoway Technology Co., Ltd.
Let's enjoy the wireless life

Neo_M660AT Command Set
Copyright © Neoway Technology Co., Ltd
i
Copyright © Neoway Technology Co., Ltd 2013. All rights reserved.
No part of this document may be reproduced or transmitted in any form or by any means without
prior written consent of Shenzhen Neoway Technology Co., Ltd.
is the trademark of Shenzhen Neoway Technology Co., Ltd.
All other
trademarks and trade names mentioned in this document are the property of their respective
holders.
Notice
This document provides guide for users to use the M660.
This document is intended for system engineers (SEs), development engineers, and test engineers.
The information in this document is subject to change without notice due to product version update or
other reasons.
Every effort has been made in preparation of this document to ensure accuracy of the contents, but all
statements, information, and recommendations in this document do not constitute a warranty of any
kind, express or implied.
Shenzhen Neoway provides customers complete technical support. If you have any question, please
contact your account manager or email to the following email addresses:
Sales@neoway.com.cn
Support@neoway.com.cn
Website: http://www.neoway.com.cn

Neo_M660AT Command Set
Copyright © Neoway Technology Co., Ltd
ii
Revision Record
Issue
Changes
Date
V3.0 Initial draft 2013-08-26
V3.1
Added the following commands: AT+OFFTIME, AT+FCHW,
AT+AUDIN, AT+AUDOUT, AT+IFC, AT+RINGTIME,
AT+TRANSCLOSE, AT+UDPTRANS, AT+TCPTRANS, and
AT+RINGOUT.
2013-09-02
V3.2
Deleted the command AT+TRANSCLOSE and use +++ to exit the
data mode.
Modified the default data format of the AT+DATAFORMAT
command.
Modified usage description of +++.
Modified the description of AT+TCPSEND
.
Modified the description of AT+TCPLPORT, AT+UDPLPORT, and
AT+FTPPUT
.
2013-09-17
V3.3 Added the echo suppression command AT+LESL 2013-10-09
V3.4 Modified the description of the following commands: +++ in the
transparent mode, AT+CLOSECLIENT, AT+IPSTATUS,
AT+TCPACK, and AT+CLIENTSTATUS.
Added the description of the ATO command in the transparent mode
and AT+TRABSCLOSE command.
Added the description of the AT+REST and AT+CPWROFF
commands.
2013-11-06
V3.5 Added the following commands: AT+TCPACKS, HTTP commands,
AT+TCPSRVTRANS?, and ATE1/ATE0.
2013-11-29
V3.6 Modified the terminal display after the client is connected to the server
(transparent/non-transparent transmission) and the description of the
AT+TCPLPORT, AT+UDPLPORT, and AT+HANDFEE
commands.
Added SMTP commands: AT+SMTPSRV, AT+SMTPAUTH,
AT+SMTPFROM,AT+SMTPRCPT, AT+SMTPSUB,
AT+SMTPBODY, and AT+SMTPSEND.
Added the AT+CNUM command to obtain my number and added the
following commands: AT+POPSRV, AT+POPAUTH,
AT+POPSTAT, AT+POPRSET, AT+POPDELE, AT+POPLIST,
AT+POPRETR, and AT+POPQUIT.
2013-12-18
V3.7 Added eCall commands: AT%EMSD, AT%EMSDSET,
AT+CECALL, AT%EMSDPUSH, etc. 2013-12-24

Neo_M660AT Command Set
Copyright © Neoway Technology Co., Ltd
iii
Contents
Boot LOG Instruction................................................................................................................. 1
1 General Commands ................................................................................................................. 2
1.1 Querying the Manufacturer: +CGMI ...........................................................................................................2
1.2 Querying the Module Model: +CGMM.......................................................................................................2
1.3 Querying the Version: +CGMR....................................................................................................................2
1.4 Querying IMEI: +CGSN..............................................................................................................................3
1.5 Querying the IMSI: +CIMI..........................................................................................................................3
1.6 Obtaining the ICCID of the SIM Card: +CCID ...........................................................................................4
2 Mobile Device Control and Status Report .......................................................................... 4
2.1 Querying the Module Status: +CPAS...........................................................................................................4
2.2 Querying the Network Registration Status: +CREG....................................................................................5
2.3 Setting Module Functions: +CFUN .............................................................................................................6
2.4 Enabling or Disabling the Sleep Mode: +ENPWRSAVE.............................................................................7
2.5 Clock: +CCLK .............................................................................................................................................7
2.6 Setting the Baudrate of the Module: +IPR...................................................................................................8
2.7 Entering the PIN Codes: +CPIN ..................................................................................................................8
2.8 Enabling PIN and Querying MT and Network Device: +CLCK..................................................................9
2.9 Modifying the Password of the PIN: +CPWD ...........................................................................................10
2.10 Extended Error Report: +CEER...............................................................................................................11
2.11 Setting Error Information: +CMEE..........................................................................................................12
2.12 Setting the Signal Indicator Status: +SIGNAL ........................................................................................12
2.13 Enabling the Hardware or Software Flow Control Function: +IFC .........................................................13
2.14 Enabling & Disabling the Terminal Display: ATE1/ATE0.......................................................................14
3 Network Service Commands ............................................................................................... 14
3.1 Querying Signal Quality: +CSQ.................................................................................................................14
3.2 Selecting and Registering a GSM Network: +COPS .................................................................................15
4 Calling Control Commands ................................................................................................. 16
4.1 Setting the Speaker Volume: +CLVL.........................................................................................................16
4.2 Mute Control: +CMUT ..............................................................................................................................17
4.3 Dialing Command: ATD.............................................................................................................................17
4.4 Call Answering: ATA .................................................................................................................................18
4.5 Hanging Up Calls: ATH .............................................................................................................................19
4.6 Caller ID: CLIP..........................................................................................................................................19
4.7 Sending DTMF Tone: +VTS......................................................................................................................20
4.8 Auto-Answer:ATS0 ....................................................................................................................................20
4.9 Handfree Switch: +HANDFREE ...............................................................................................................21
4.10 Starting the DTMF Detection: +DTMFDETECT ....................................................................................22
4.11 Setting Echo Suppression Level in the Earphone Mode: +ESL ...............................................................22

Neo_M660AT Command Set
Copyright © Neoway Technology Co., Ltd
iv
4.12 Setting Echo Suppression Level in the Receiver Mode: +HESL .............................................................23
4.13 Setting Echo Suppression Level of the Loud Speaker Mode: +LESL .....................................................23
4.14 MIC Volume Control: +MICL..................................................................................................................24
4.15 Switching the Audio Input Channel: +AUDIN ........................................................................................24
4.16 Switching the Audio Output Channel: +AUDIN......................................................................................25
5 SMS Commands..................................................................................................................... 26
5.1 Selecting SMS Services: CSMS.................................................................................................................26
5.2 Setting Preferred SMS Storage: +CPMS....................................................................................................26
5.3 Setting SMS Inputting Mode: +CMGF......................................................................................................27
5.4 Setting the TE Character Set: +CSCS........................................................................................................28
5.5 Setting the SMS Instruction Mode: +CNMI ..............................................................................................28
5.6 Reading SMS Messages: +CMGR.............................................................................................................30
5.7 SMS Message List: +CMGL......................................................................................................................31
5.8 Sending SMS Messages: +CMGS..............................................................................................................33
5.9 Writing SMS Messages: +CMGR..............................................................................................................34
5.10 Sending Stored SMS Messages: +CMSS.................................................................................................34
5.11 Deleting SMS Messages: +CMGD ..........................................................................................................35
5.12 Setting the SMS Center Number: +CSCA ...............................................................................................35
5.13 Setting the Parameters of the Text Mode: +CSMP...................................................................................36
5.14 Displaying the Parameters of the Text Mode: +CSDH ............................................................................37
5.15 Selecting the Type of Cell Broadcast Messages: +CSCB ........................................................................37
6 Phonebook Commands......................................................................................................... 38
6.1 Selecting Phonebook Storage: +CPBS.......................................................................................................38
6.2 Reading the Phonebook: +CPBR...............................................................................................................39
6.3 Querying the Phonebook: +CPBF..............................................................................................................40
6.4 Writing Information to the Phonebook: +CPBW.......................................................................................40
6.5 Reading My Number: +CNUM..................................................................................................................41
7 Supplementary Service Commands ................................................................................... 41
7.1 Call Forwarding: +CCFC...........................................................................................................................41
7.2 Call Waiting: +CCWA................................................................................................................................43
7.3 Call Holding and Multi-party Conversation: +CHLD................................................................................44
8 GPRS Commands................................................................................................................... 44
8.1 Setting PDP Format: CGDCONT ..............................................................................................................44
8.2 Sending USSD Data: +CUSD....................................................................................................................46
8.3 Switching Data Mode to Command Mode: +++........................................................................................47
8.4 Switching Command Mode to Data Mode: ATO .......................................................................................47
9 TCP/UDP Data Service.......................................................................................................... 47
9.1 Setting Network APN: +NETAPN.............................................................................................................47
9.2 Setting Up a PPP Link: +XIIC ...................................................................................................................48
9.3 Setting Up TCP Connection: +TCPSETUP ...............................................................................................49

Neo_M660AT Command Set
Copyright © Neoway Technology Co., Ltd
v
9.4 Sending TCP Data: +TCPSEND................................................................................................................49
9.5 Receiving TCP Data: +TCPRECV.............................................................................................................50
9.6 Closing TCP Connection: +TCPCLOSE....................................................................................................50
9.7 Setting Up UDP Connection: +UDPSETUP..............................................................................................50
9.8 Sending UDP Data: +UDPSEND...............................................................................................................51
9.9 Receiving UDP Data: +UDPRECV ...........................................................................................................52
9.10 Closing UDP Connection: +UDPCLOSE ................................................................................................52
9.11 Querying TCP/UDP Link Status: +IPSTATUS ........................................................................................52
9.12 Querying the Status of Data Sent by the TCP Link: +TCPACK ..............................................................53
9.13 Setting Data Receiving Type: +ASCII .....................................................................................................54
9.14 Setting Data TX/RX Type: +DATAFORMAT..........................................................................................55
9.15 Setting Data Receiving Mode: +TRANMODE........................................................................................55
9.16 Setting Link Closing Mode: +SETCLSMODE........................................................................................56
9.17 Setting Local TCP Port: +TCPLPORT.....................................................................................................56
9.18 Setting Local UDP Port: +UDPLPORT ...................................................................................................57
9.19 Setting Socket Timeout Parameter: +SSTP..............................................................................................57
9.20 Transparently Transmitting TCP Data: +TCPTRANS .............................................................................58
9.21 Transparently Transmitting UDP Data: +UDPTRANS............................................................................58
9.22 Closing Transparent Transmission Link: +TRANSCLOSE.....................................................................59
10 DNS Command .................................................................................................................... 59
10.1 Querying the IP Address: +DNS ..............................................................................................................59
11 FTP AT Commands.............................................................................................................. 60
11.1 Logging In to the FTP Server: +FTPLOGIN............................................................................................60
11.2 Logging Out from the FTP Server: +FTPLOGOUT ................................................................................60
11.3 Downloading Data from the FTP Server: +FTPGET...............................................................................61
11.4 Uploading Data from the FTP Server: +FTPPUT ....................................................................................62
11.5 Querying FTP Link Status: +FTPSTATUS ..............................................................................................63
12 TCP Server AT Commands ................................................................................................ 63
12.1 Setting TCP Listening for the Server: +TCPLISTEN..............................................................................63
12.2 Closing the Listening Link: +CLOSELISTEN ........................................................................................64
12.3 Closing Connections of the Client: +CLOSECLIENT.............................................................................65
12.4 Receiving Data from the Client: +TCPRECV(S).....................................................................................65
12.5 Sending Data to the Client: +TCPSENDS ...............................................................................................66
12.6 Querying the Link Status on the Client: +CLIENTSTATUS ...................................................................66
12.7 Obtaining the Local IPAddress: +GETIP................................................................................................67
12.8 Setting TCP Listening for the Server of Transparent Transmission: +TCPSRVTRANS .........................67
12.9 Querying the Status of Data Sent by the TCP Server: +TCPACKS .........................................................68
13 HTTP Commands................................................................................................................. 69
13.1 Setting HTTP Parameters: +HTTPPARA ................................................................................................69
13.2 Setting Up HTTP Link: +HTTPSETUP...................................................................................................69
13.3 Executing HTTP Request: +HTTPACTION............................................................................................70

Neo_M660AT Command Set
Copyright © Neoway Technology Co., Ltd
vi
13.4 Closing HTTP Link: +HTTPCLOSE .......................................................................................................73
13.5 Receiving HTTP Data: +HTTPRECV .....................................................................................................73
13.6 HTTP Link Closing: +HTTPCLOSED ....................................................................................................74
14 SMTP Commands ................................................................................................................ 74
14.1 Setting Parameters for the SMTP Login Server: +SMTPSRV.................................................................74
14.2 Setting SMTP Login Account: +SMTPAUTH.........................................................................................74
14.3 Setting SMTP Sending Parameters: +SMTPFROM.................................................................................75
14.4 Setting SMTP Receiving Parameters: +SMTPRCPT...............................................................................75
14.5 Entering an Email Subject: +SMTPSUB .................................................................................................76
14.6 Entering Email Content: +SMTPBODY..................................................................................................76
14.7 Sending an Email: +SMTPSEND ............................................................................................................77
15 POP3 Commands.................................................................................................................. 77
15.1 Connecting POP3 Server: +POPSRV.......................................................................................................77
15.2 Using Account to Log In to the Emailbox: +POPAUTH..........................................................................77
15.3 Querying the Email Box Status: +POPSTAT ...........................................................................................78
15.4 Querying Specified Email Information: +POPLIST ................................................................................78
15.5 Marking an Email Deleted: +POPDELE..................................................................................................79
15.6 Cancelling All Deleting Marks: +POPRSET ...........................................................................................80
15.7 Ending the Conversation: +POPQUIT.....................................................................................................80
15.8 Reading Emails: +POPRETR...................................................................................................................80
16 eCall Commands .................................................................................................................. 81
16.1 Enabling/Disabling the DSP Monitor: %EMSD ......................................................................................81
16.2 Configuring MSD Data: %EMSDSET.....................................................................................................82
16.3 Initiating an eCall: +CECALL.................................................................................................................82
16.4 Triggering an MSD Transmission: %EMSDPUSH..................................................................................83
16.5 eCall Indications: .....................................................................................................................................83
16.6 eCall Commands Process.........................................................................................................................83
17 Recording Commands......................................................................................................... 84
17.1 Setting Buffer Mode for Recording: +RSMODE.....................................................................................84
17.2 Starting/Stopping Recording: +RECF......................................................................................................85
17.3 Reading Recording Data: +RECR............................................................................................................85
18 Other AT Commands .......................................................................................................... 86
18.1 Calculating MD5 Value: +CALMD5 .......................................................................................................86
18.2 Calculating CRC32 Verification Value: +CALCRC32.............................................................................86
18.3 Calculating CRC16 Verification Value: +CALCRC16.............................................................................86
18.4 Querying Base Station Information: +POSI.............................................................................................87
18.5 Opening/Closing Digital Audio Channel: +SETPCM..............................................................................87
18.6 Setting Extra RING Pulses: +EXTRARING............................................................................................88
18.7 Setting the Width of the RING Pulse: +RINGTIME................................................................................88
18.8 Configuring the Pin Mode of Flow Control by Hardware for UART1: +FCHW.....................................89

Neo_M660AT Command Set
Copyright © Neoway Technology Co., Ltd
vii
18.9 Setting the Offtime of the ON/OFF Pin: +OFFTIME..............................................................................90
18.10 Setting Mode and Volume of the Incoming Ring: +RINGOUT.............................................................90
18.11 Setting the Format of the Voice Broadcast: +TTSFMT..........................................................................91
18.12 Inputting Broadcasting Content Through AT: +TTSPLAY....................................................................91
18.13 Configuring Parameters of Voice Broadcast: +TTSCFG .......................................................................92
18.14 Resetting the Module: +REST ...............................................................................................................93
18.15 Shutting Down the Module: +CPWROFF .............................................................................................93
A Reference Process of AT Command Programming ........................................................ 94
A.1 Content of PDU SMS Messages................................................................................................................94
A.2 Flowchart of Sending Text SMS Messages (Through UART) ..................................................................96
A.3 Flowchart of Sending PDU SMS Messages (Through UART) .................................................................97
A.4 Flowchart of AT Commands to Establish TCP Link..................................................................................98
A.5 Flowchart of Receiving SMS Messages..................................................................................................100
A.6 Flowchart of Sending SMS Messages.....................................................................................................102
A.7 Common AT Commands for SMS TX/RX..............................................................................................103
A.8 Flowchart ofAT Commands To Log In to the FTP Server......................................................................105

Neo_M660AT Command Set
Copyright © Neoway Technology Co., Ltd
1
Boot LOG Instruction
After the module is booted, the UART sends the following boot LOG:
+EIND: 128
+EUSIM: 0
+STKPCI:
0,"D081EE01030125000202818205118052A8611F57305E2600530049004D53610F0E0180621176848EAB4
EFD8BA48BC10F160280624B673A901A5B9D52A8600153E34EE45E9475280F0A03808D857EA753F77C
3F0F0E0480621176847CBE54C163A883500F10058065E07EBF97F34E504FF14E5090E80F0E06800031003
300394E9280547F510F0A078079FB52A87CBE54C10F0E088079FB52A84F1860E04E13533A0F0E098079
FB52A875355B50554652A10F120A806211768400530049004D84254E1A53850F080B808D224FE1901A0F
0A0C8062117684573076D80F0A4D805E9475287BA174060F084F804E0B4E009875"
+EIND: 2
+EIND: 1
LOG
LOG Description
1 +EIND: 128 Indicates that the module starts up successfully and can receive AT
commands.
2 +EUSIM: 0 Detect the SIM
card. For a China Mobile card, the module returns
+EUSIM: 0.
For a China Unicom 2G card, the module returns
+EUSIM: 1.
When the module does not detect any SIM card,
the UART1 does not display information of 2 and
3.
3+STKPCI:
0,"D081EE01030122….
.....
SIM card
information
4 +EIND: 2 The phonebook is available.
5 +EIND: 1 SMS is available.
Remarks Users can determine whether the module starts up successfully or not by
detecting "+EIND:1".

Neo_M660AT Command Set
Copyright © Neoway Technology Co., Ltd
2
1 General Commands
1.1 Querying the Manufacturer: +CGMI
Description
To query the manufacturer information
Format
AT+CGMI<CR>
Parameter
N/A
Return
Value
<CR><LF><manufacturer><CR><LF>
<CR><LF>OK<CR><LF>
or
<CR><LF>+CME ERROR:<err><CR><LF>
Example
AT+CGMI
+CGMI: Neoway Corp Ltd
OK
Remarks
N/A
1.2 Querying the Module Model: +CGMM
Description
To query the module model
Format
AT+CGMM<CR>
Parameter
N/A
Return
Value
<CR><LF><model><CR><LF>
<CR><LF>OK<CR><LF>
or
<CR><LF>+CME ERROR:<err><CR><LF>
Example
AT+CGMM
+CGMM: M660
OK
Remarks
N/A
1.3 Querying the Version: +CGMR
Description
To query the software version
Format
AT+CGMR<CR>
Parameter
N/A

Neo_M660AT Command Set
Copyright © Neoway Technology Co., Ltd
3
Return
Value
<CR><LF><version><CR><LF>
<CR><LF>OK<CR><LF>
or
<CR><LF>+CME ERROR:<err><CR><LF>
Example
AT+CGMR
+CGMR: M660_1230_LQS13000_V013
OK
Remarks
N/A
1.4 Querying IMEI: +CGSN
Description
To query the International Mobile Equipment Identity (IMEI) of the module
Format
AT+CGSN<CR>
Parameter
N/A
Return
Value
<CR><LF><IMEI><CR><LF>
<CR><LF>OK<CR><LF>
or
<CR><LF>+CME ERROR:<err><CR><LF>
Example
AT+CGSN
864894010024181
OK
The IMEI is a character string of 15 digits.
Remarks
N/A
1.5 Querying the IMSI: +CIMI
Description
To query the international mobile subscriber identification (IMSI)
Format
AT+CIMI<CR>
Parameter
N/A
Return
Value
<CR><LF><IMSI><CR><LF>
<CR><LF>OK<CR><LF>
or
<CR><LF>ERROR<CR><LF>
Example
AT+CIMI
460022201575463

Neo_M660AT Command Set
Copyright © Neoway Technology Co., Ltd
4
OK
IMSI is a character string of 15 digits and starts with 3-bit MCC and 2-bit MNC. It is used
to authenticate the SIM card.
Remarks
N/A
1.6 Obtaining the ICCID of the SIM Card: +CCID
Description
To obtain the integrated circuit card identifier (ICCID) of the SIM card
Format
AT+CCID<CR>
Parameter
N/A
Return
Value
<CR><LF><ICCID><CR><LF>
<CR><LF>OK<CR><LF>
Or
<CR><LF>ERROR<CR><LF>
Example
AT+CCID
+CCID: 89860002190810001367
OK
Read command
AT+CCID
ERROR
An error occurs when the read command is
executed.
Remarks
The ICCID number is a character string of 20 digits.
2 Mobile Device Control and Status Report
2.1 Querying the Module Status: +CPAS
Description
To query the work status of the module
Format
AT+CPAS<CR>
Parameter
<pas>:
0: ready. The module is ready and is able to execute AT commands.
1: unavailable. The command is not allowed by the module terminal (MT).
2: unknown. The status is unknown.
3: ringing. There is an incoming call and the module is ringing. The module can execute
AT commands.
4: call in progress. A call is going on and the module can execute AT commands.
5: asleep. The module is in the sleep mode and not prepared.
Return <CR><LF>+CPAS: <pas><CR><LF>

Neo_M660AT Command Set
Copyright © Neoway Technology Co., Ltd
5
Value
<CR><LF>OK<CR><LF>
or
<CR><LF>+CME ERROR: <error><CR><LF>
Example
AT+CPAS
+CPAS: 0
OK
AT+CPAS
+CME ERROR: <error>
Remarks
N/A
2.2 Querying the Network Registration Status: +CREG
Description
To query the network registration status of the module
Format
AT+CREG=[<n>]<CR>
AT+CREG?<CR>
Parameter
<n>:
0: Forbid unsolicited result codes of network registration (default setting).
1: Allow unsolicited result codes of network registration.
2: Allow unsolicited location information (Cell ID, Local ID) of network registration.
Return
Value
<CR><LF>+CREG: <n>,<stat>[,<lac>,<ci>[,<Act>]]<CR><LF>
<CR><LF>OK<CR><LF>
or
<CR><LF>+CME ERROR: <err><CR><LF>
<n>:
Value:
0: Forbid unsolicited result codes of network registration (default setting).
1: Allow unsolicited result codes of network registration.
2: Allow unsolicited location information (Cell ID, Local ID) of network registration.
<stat>:
Value:
0: Unregistered. The device is not searching for new carriers.
1: Registered the local network
2: Unregistered. The device is searching for base stations.
3: The registration is rejected.
4. Unknown code
5: Registered, roaming
<lac>: string type; two-byte location area code in hexadecimal format
<ci>: string type; two-byte cell ID in hexadecimal format

Neo_M660AT Command Set
Copyright © Neoway Technology Co., Ltd
6
<Act>:
0: GSM
2: UTRAN
3: GSM w/EGPRS
Example
AT+CREG=1
OK
AT+CREG?
+CREG: 0,1
OK
AT+CREG=?
+CREG: (0-2)
OK
+CREG: (list of supported <n>s)
Remarks
N/A
2.3 Setting Module Functions: +CFUN
Description
To select the functions of the module by setting <fun>
<fun> supports only a few values.
Format
AT+CFUN=[<fun>[,<rst>]]<CR>
AT+CFUN=?<CR>
Parameter
<fun>:
1: All functions
4: Turn off the RF transmit and receive circuit of the module (flight mode).
0: Turn off the radio an SIM power (minimum functions).
<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
Return
Value
<CR><LF>+CFUN: (list of supported <fun>s), (list of supported <rst>s) <CR><LF>
<CR><LF>OK<CR><LF>
OR
<CR><LF>+CME ERROR: <err><CR><LF>
Example
AT+CFUN=1
OK
AT+CFUN=?
+CFUN: (0,1,4),(0,1)
+CFUN: (list of supported <fun>s), (list of
supported <rst>s)

Neo_M660AT Command Set
Copyright © Neoway Technology Co., Ltd
7
OK
Remarks
The setting of this command is not saved after the module is powered off.
2.4 Enabling or Disabling the Sleep Mode: +ENPWRSAVE
Description
To enable or disable the sleep mode
Format
AT+ENPWRSAVE=<n><CR>
AT+ENPWRSAVE?<CR>
Parameter
<n>:
0: Disable the sleep mode.
1: Enable the sleep mode (The module enters the sleep mode when the DTR signal is at
low level and exits from the sleep mode at high level).
2: Enable the sleep mode (The module enters the sleep mode when the DTR signal is at
high level and exits from the sleep mode at low level).
Return
Value
See the Example.
Example
AT+ENPWRSAVE=1
OK
AT+ENPWRSAVE?
+ENPWRSAVE: 1
OK
Remarks
The setting of the parameter <n> will not be saved after the module is powered off.
The DTR signal of the module is at high level by default.
After the sleep mode is enabled and the DTR signal is at low (or high) level, the module
can enter the sleep mode only when all circuits of the module allows the sleep mode.
The DTR signal drive can wake the module up at high (low) level.
2.5 Clock: +CCLK
Description
To set and query the real-time clock
Format
AT+CCLK=<time><CR>
AT+CCLK?<CR>
Parameter
< time >: Character string in format of YY/MM/DD,hh:mm:ss+TZ.
TZ: Two digits, indicating the time lag between the local time and the GMT time. This
information is optional because it can be displayed only when the network supports it.
Return
Value
See the Example.

Neo_M660AT Command Set
Copyright © Neoway Technology Co., Ltd
8
Example
AT+CCLK="11/10/14,09:30:16"
OK
AT+CCLK?
+CCLK: "11/10/14,09:32:04"
OK
Remarks
N/A
2.6 Setting the Baudrate of the Module: +IPR
Description
To set the baudrate of the module
Format
AT+IPR=<baud rate><CR>
AT+IPR?<CR>
Parameter
<baud rate>:
The value can be:
300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 38400, 57600, 115200, 230400, 460800,
and 921600.
Return
Value
See the Example.
Example
AT+IPR=115200
OK
AT+IPR?
+IPR: 115200
OK
AT+IPR=?
+IPR: 300, 600, 1200, 2400, 4800, 9600, 14400,
19200, 38400, 57600, 115200, 230400, 460800,
921600
OK
Remarks
The default baudrate is 115200 and the parameter setting of this command can be saved
after the module is powered off.
2.7 Entering the PIN Codes: +CPIN
Description
To query the PIN status and enter the PIN codes
Format
AT+CPIN=<pin>[,<newpin>]<CR>
AT+CPIN?<CR>

Neo_M660AT Command Set
Copyright © Neoway Technology Co., Ltd
9
Parameter
<pin>, <newpin>: string type values
Return
Value
<CR><LF>+CPIN:<code><CR><LF>
<CR><LF>OK<CR><LF>
<code>:
READY: No password
SIM PIN: Enter PIN code.
SIM PUK: Enter PUK code.
SIM PIN2: Enter PIN2 code.
SIM PUK2: Enter PUK2 code.
Example AT+CPIN?
+CPIN: READY
OK
Remarks
N/A
2.8 Enabling PIN and Querying MT and Network Device:
+CLCK
Description
To lock, unlock or interrogate an ME or a network facility
Format
AT+CLCK=<fac>,<mode>[,<passwd>[,<class>]]<CR>
Parameter
<fac> :
"OI": Outgoing international calls
"AI": All incoming calls
"IR": Incoming calls when roaming outside the home country
"SC": SIM card
"AO": All outgoing calls
"OX": All outgoing international calls except to the home country
"AB": All barring services
"AG": All outgoing barring services
"AC": All incoming barring services
"FD": SIM fixed dialing memory feature
"PS": PH-SIM (lock Phone to SIM card)
"PN": Network authentication
"PU": Network subsystem authentication
PP: Service provider authentication
"PC": Corporate authentication
<mode>:
0: Unlock
1: Lock

Neo_M660AT Command Set
Copyright © Neoway Technology Co., Ltd
10
2: Query the status
<status>:
0: not active
1: active
<passwd>: Password or code, string type
<classx>:
1: Voice service
2: Data service
4: Fax service
8: SMS
16: Synchronous data service
32: Asynchronous data service
64: Dedicated packet access
128: Dedicated PAD access
Return
Value
when <mode>=2 and command successful:
<CR><LF>+CLCK: <status> [, <class1> [<CR><LF>+CLCK: <status>, <class2>
[...]]<CR><LF>
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)
Remarks
N/A
2.9 Modifying the Password of the PIN: +CPWD
Description
To modify the password of the lock function of the module
Format
AT+CPWD=<fac>,<oldpwd>,<newpwd><CR>
Parameter
<fac>:
"P2": SIM PIN2
"OI": Outgoing international calls
"AI": All incoming calls
"IR": Incoming calls when roaming outside the homing place
"SC": SIM card

Neo_M660AT Command Set
Copyright © Neoway Technology Co., Ltd
11
"AO": All outgoing calls
"OX": All outgoing international calls except to the home country
"AB": All calling services
"AG": All outgoing call services
"AC": All incoming call services
"FD": Fixed dialing of the SIM card
"PN": Network authentication
"PU": Network subsystem authentication
"PP": Service provider authentication
"PC": Corporate authentication
<oldpwd>:
Old password or code, string type
<newpwd>:
New password or code, string type
Return
Value
<CR><LF>+CPWD: list of supported (<fac>,<pwdlength>)s<CR><LF>
<CR><LF>+CME ERROR: <err><CR><LF>
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
Remarks
N/A
2.10 Extended Error Report: +CEER
Description
To return text information <report> of one line or multiple lines (determined by the ME
manufacturers)
Format
AT+CEER<CR>
Parameter
N/A
Return
Value
<CR><LF>+CEER: <cause>, <report><CR><LF>
<CR><LF>OK<CR><LF>
<cause>: cause value listed in GSM 04.08 annex H.
<report>: The ME manufacturer provides the extended report about the following error
causes:
Failure of the latest call (initiate or answer) or modification during the call
Release of the latest call
The latest GPRS attach failure or PDP context activation
The latest GPRS detach or PDP context deactivation

Neo_M660AT Command Set
Copyright © Neoway Technology Co., Ltd
12
Example
AT+CEER
+CEER: 0, NONE
OK
Remarks
N/A
2.11 Setting Error Information: +CMEE
Description
To enable or disable the +CME ERROR:<err> result code
Format
AT+CMEE=[<n>]<CR>
AT+CMEE?<CR>
Parameter
<n>:
0: Disable the +CME ERROR:<err> result code and display ERROR.
1: Enable the +CME ERROR:<err> result code and use the numeric <err> value.
2: Enable the +CME ERROR:<err> result code and use verbose <err> values.
Return
Value
See the Example.
Example
AT+CMEE=1
OK
AT+CMEE?
+CMEE: 1
OK
Remarks
N/A
2.12 Setting the Signal Indicator Status: +SIGNAL
Description
To set the different blinking status of the signal indicator
Format
AT+SIGNAL=<value><CR>
AT+SIGNAL?<CR>
AT+SIGNAL=?<CR>
Parameter
<value>: Integers, ranging from 0 to 5
0: Blink once every second in normal situation. Being off or on if any abnormality occurs.
1: Blink once every second after the module is connected to the GPRS data service. Being
off in any other situations.
2: Flash and blink. Flash every 250 ms for the GPRS data service and blink every second
in other normal situations.
3: Being on after the GPRS data service is connected and blink every second in other
situations.
Other manuals for M660
2
Table of contents
Other Neoway GSM/GPRS Module manuals

Neoway
Neoway N27 EVB User manual

Neoway
Neoway N11 Series Installation manual

Neoway
Neoway N58 Installation manual

Neoway
Neoway N51 User manual

Neoway
Neoway N11 Series User manual

Neoway
Neoway M660 User manual

Neoway
Neoway M590 Installation instructions

Neoway
Neoway N75 Installation manual

Neoway
Neoway N58 Installation manual

Neoway
Neoway N11 Series Installation manual