Neoway_WM620 WCDMA Module AT Command Set V2.1

Neoway_WM620 WCDMA Module AT Command Set V2.1
Neo_WM620 WCDMA Module
AT Command Set
Version 2.1
Neo_WM620 WCDMA Module AT Command Set
Copyright © Neoway Technology Co., Ltd 2014. 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 WM620.
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
Copyright © Neoway Technology Co., Ltd
i
Neo_WM620 WCDMA Module AT Command Set
Revision Record
Issue
Changes
Date
V1.0
Initial draft
2013-04-23
V1.1
3034 baseline
2013-09-18
V1.2
Modified the return value format
2013-09-30


V1.3





V1.4






V1.5





V1.6


Modified the description of the TCP and UDP commands
Modified the example of +DNS
Deleted the +SIGNAL command
Added remarks for +ENPWRSAVE
Modified TCP server commands
2013-11-26
Added examples and remarks for the +TCPSEND, +TCPSENDS,
and +CLOSECLIENT commands
Revised errors tested
Added the +PPPSTATUS command
Added the +GETPORT command
Modified and added some FTP commands
2013-12-13
Modified the return codes in the example of the +FTPGET command
Modified the return value description of the +FTPPUT command
Modified the remarks for +DNS
Modified the return value description and remarks of the
+CLIENTSTATUS command
Modified the return value description of the +TCPPORT command
Modified the return value description of the +UDPPORT command
2013-12-18
Modified the +CPAS command
Modified the +FTPPUT command
Modified the example of the +GETPORT command
Added the timeout examples for the +TCPSEND, +UDPSEND,
+TCPSENDS commands
2013-12-24
V1.7
Modified some errors
2014-01-01
V1.8
Modified some errors
2014-01-04
V1.9
Modified the brackets not used in compliant with standards
2014-01-06
V2.0





V2.1


Modified the return code of the ATD commands
Modified the flowcharts
Modified the SMS TX/RX flowchart.
Modified the description of the boot log and the LED status
indication.
Modified the parameter and description of the following commands:
+TCPSETUP, +UDPSETUP, and +TCPLISTEN.
Modified the Example and Remarks of the following commands:
+CFUN and +ENPWRSAVE.
2014-01-11
2014-08-19
Added the following commands: +IPNETREAD, +ERAT, +IFC,
+ECHO, unsolicited report command +IPURCREAD, ATI, +GMR,
Copyright © Neoway Technology Co., Ltd
ii
Neo_WM620 WCDMA Module AT Command Set

+CGSN, HTTPS commands, and PDP authentication command
$QCPDPP.
Added AT+CPAS=? format and parameter description.
Added information about the software versions that support
TCPCLOSE, $QCPDPP, and HTTPS commands.
Added the return value 6 of the CFUN query format and its
description.
Added +SIGNAL description and BCCH channel lock example
description.
Added AT+UDPCLOSE=? format.

Delete the example of UDP connection failure.




Copyright © Neoway Technology Co., Ltd
iii
Neo_WM620 WCDMA Module AT Command Set
Contents
Boot LOG Instruction ................................................................................................................. 1
LED Indicators ............................................................................................................................. 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 Device Manufacturer Information: ATI ........................................................................................ 3
1.5 Obtaining the Module Software Version: +GMR ......................................................................................... 3
1.6 Querying IMEI: +CGSN .............................................................................................................................. 4
1.7 Querying the IMSI: +CIMI .......................................................................................................................... 4
1.8 Obtaining the ICCID of the SIM Card: +CCID ........................................................................................... 4
2 Mobile Device Control and Status Report .......................................................................... 6
2.1 Querying the Module Status: +CPAS ........................................................................................................... 6
2.2 Querying the Network Registration Status: +CREG .................................................................................... 6
2.3 Setting Module Functionality: +CFUN ........................................................................................................ 7
2.4 Setting the Signal Indicator Mode: +SIGNAL ............................................................................................. 8
2.5 Enabling or Disabling the Sleep Mode: +ENPWRSAVE............................................................................. 9
2.6 Clock: +CCLK ........................................................................................................................................... 10
2.7 Setting the Baudrate of the Module: +IPR ................................................................................................. 10
2.8 Entering the PIN Codes: +CPIN ................................................................................................................ 11
2.9 Enabling PIN and Querying MT and Network Device: +CLCK ................................................................ 12
2.10 Modifying the Password of the PIN: +CPWD ......................................................................................... 14
2.11 Extended Error Report: +CEER ............................................................................................................... 15
2.12 Setting Error Information: +CMEE .......................................................................................................... 16
2.13 Enabling the Hardware or Software Flow Control Function: +IFC ......................................................... 16
2.14 Setting the Network Model: +PREF ........................................................................................................ 17
2.15 Querying the Network Standards ............................................................................................................. 18
3 Network Service Commands ............................................................................................... 20
3.1 Querying Signal Quality: +CSQ................................................................................................................. 20
3.2 Selecting and Registering a GSM Network: +COPS ................................................................................. 21
4 Calling Control Commands ................................................................................................. 23
4.1 Setting the Speaker Volume: +CLVL ......................................................................................................... 23
4.2 Mute Control: +CMUT .............................................................................................................................. 23
4.3 Dialing Command: ATD............................................................................................................................. 24
4.4 Call Answering: ATA ................................................................................................................................. 26
4.5 Hanging Up Calls: ATH ............................................................................................................................. 26
4.6 Sending DTMF Tone: +VTS ...................................................................................................................... 26
4.7 Auto-Answer: ATS0 ................................................................................................................................... 27
4.8 Handfree Switch: +HANDFREE ............................................................................................................... 28
Copyright © Neoway Technology Co., Ltd
iv
Neo_WM620 WCDMA Module AT Command Set
4.9 Starting the DTMF Detection: +DTMFDETECT ...................................................................................... 28
4.10 MIC Volume Control: +MICL.................................................................................................................. 29
4.11 Echo Control: +ECHO ............................................................................................................................. 30
5 SMS Commands ..................................................................................................................... 32
5.1 Selecting SMS Services: CSMS ................................................................................................................. 32
5.2 Setting Preferred SMS Storage: +CPMS .................................................................................................... 32
5.3 Setting SMS Inputting Mode: +CMGF ...................................................................................................... 33
5.4 Setting the TE Character Set: +CSCS ........................................................................................................ 34
5.5 Setting the New Message SMS Indications Mode: +CNMI ....................................................................... 35
5.6 Reading SMS Messages: +CMGR ............................................................................................................. 36
5.7 SMS Message List: +CMGL ...................................................................................................................... 38
5.8 Sending SMS Messages: +CMGS .............................................................................................................. 40
5.9 Writing SMS Messages: +CMGW ............................................................................................................. 41
5.10 Sending Stored SMS Messages: +CMSS ................................................................................................. 42
5.11 Deleting SMS Messages: +CMGD .......................................................................................................... 43
5.12 Setting the SMSC Number: +CSCA ........................................................................................................ 43
5.13 Setting the Parameters of the Text Mode: +CSMP ................................................................................... 44
5.14 Displaying the Parameters of the Text Mode: +CSDH ............................................................................ 45
6 Phonebook Commands ......................................................................................................... 46
6.1 Selecting Phonebook Storage: +CPBS ....................................................................................................... 46
6.2 Reading the Phonebook: +CPBR ............................................................................................................... 46
6.3 Querying the Phonebook: +CPBF .............................................................................................................. 47
6.4 Writing Information to the Phonebook: +CPBW ....................................................................................... 48
7 Supplementary Service Commands ................................................................................... 50
7.1 Call Forwarding: +CCFC ........................................................................................................................... 50
7.2 Call Waiting: +CCWA ................................................................................................................................ 51
7.3 Call Holding and Multi-party Conversation: +CHLD ................................................................................ 52
8 GPRS/3G Commands ............................................................................................................ 54
8.1 Setting PDP Format: CGDCONT .............................................................................................................. 54
9 TCP/UDP Data Service .......................................................................................................... 56
9.1 Setting PDP Authentication: $QCPDPP ..................................................................................................... 56
9.2 Setting Up a PPP Link: +XIIC ................................................................................................................... 57
9.3 Querying the PPP Connection Status: +PPPSTATUS ................................................................................ 58
9.4 Setting Up TCP Connection: +TCPSETUP ............................................................................................... 58
9.5 Sending TCP Data: +TCPSEND ................................................................................................................ 60
9.6 Receiving TCP Data: +TCPRECV ............................................................................................................. 60
9.7 Closing TCP Connection: +TCPCLOSE .................................................................................................... 61
9.8 Setting Up UDP Connection: +UDPSETUP .............................................................................................. 61
9.9 Sending UDP Data: +UDPSEND ............................................................................................................... 62
9.10 Receiving UDP Data: +UDPRECV ......................................................................................................... 63
9.11 Closing UDP Connection: +UDPCLOSE ................................................................................................ 63
Copyright © Neoway Technology Co., Ltd
v
Neo_WM620 WCDMA Module AT Command Set
9.12 Querying TCP/UDP Connection Status: +IPSTATUS ............................................................................. 64
9.13 Reading Buffered TCP/UDP Data: +IPNETREAD ................................................................................. 65
9.14 Data Incoming Report: +IPURCREAD ................................................................................................... 66
9.15 Querying the Status of Data Sent by the TCP Socket: +TCPACK ........................................................... 67
9.16 Setting Local TCP Port: +TCPPORT ....................................................................................................... 68
9.17 Setting Local UDP Port: +UDPPORT ...................................................................................................... 68
9.18 Setting Socket Timeout Parameter: +SSTP .............................................................................................. 69
10 DNS Command .................................................................................................................... 70
10.1 Querying the IP Address: +DNS .............................................................................................................. 70
11 FTP AT Commands .............................................................................................................. 71
11.1 Logging In to the FTP Server: +FTPLOGIN............................................................................................ 71
11.2 Logging Out from the FTP Server: +FTPLOGOUT ................................................................................ 72
11.3 Downloading Data from the FTP Server: +FTPGET ............................................................................... 72
11.4 Uploading Data from the FTP Server: +FTPPUT .................................................................................... 74
11.5 Querying FTP Link Status: +FTPSTATUS .............................................................................................. 75
12 TCP Server AT Commands ................................................................................................ 76
12.1 Obtaining the Local IP Address: +GETIP ................................................................................................ 76
12.2 Setting TCP Listening for the Server: +TCPLISTEN .............................................................................. 76
12.3 Closing the Listening Link: +CLOSELISTEN ........................................................................................ 77
12.4 Closing Connections with the Client: +CLOSECLIENT ......................................................................... 77
12.5 Receiving Data from the Client: +TCPRECV(S) ..................................................................................... 78
12.6 Sending Data to the Client: +TCPSENDS ............................................................................................... 78
12.7 Querying the Link Status on the Client: +CLIENTSTATUS ................................................................... 79
13 HTTPS Command ................................................................................................................ 80
13.1 Setting HTTPS Parameters: +HTTPSPARA ............................................................................................ 80
13.2 Setting up HTTPS Link: +HTTPSSETUP ............................................................................................... 80
13.3 Executing HTTPS Request: +HTTPSACTION ....................................................................................... 81
13.4 Closing HTTPS Link: +HTTPSCLOSE ................................................................................................... 83
13.5 Receiving HTTPS Data: +HTTPSRECV ................................................................................................. 84
13.6 HTTPS Closing: +HTTPSCLOSE ........................................................................................................... 84
A Reference Process of AT Command Programming ........................................................ 85
A.1 Content of PDU SMS Messages................................................................................................................ 85
A.2 Flowchart of Sending Text SMS Messages ............................................................................................... 87
A.3 Flowchart of Sending PDU SMS Messages .............................................................................................. 88
A.4 Flowchart of AT Commands to Establish TCP Link.................................................................................. 89
A.5 Flowchart of Receiving SMS Messages .................................................................................................... 90
A.6 Flowchart of Sending SMS Messages ....................................................................................................... 92
A.7 Common AT Commands for SMS TX/RX ................................................................................................ 93
A.8 Flowchart of AT Commands To Log In to the FTP Server ........................................................................ 95
Copyright © Neoway Technology Co., Ltd
vi
Neo_WM620 WCDMA Module AT Command Set
Boot LOG Instruction
After the 3G/GPRS module is booted, the UART1 outputs the following boot LOG:
+EIND: 128
+EUSIM: 1
LOG
LOG Description
1
+EIND: 128
Indicates that the module starts up successfully and can receive AT
commands.
2
+EUSIM: 1
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 module returns
+EUSIM:ERROR.
The return values are varied with MNC:
+EUSIM:0 for MNC=00/02/07
+EUSIM:1 for MNC=01/06
+EUSIM:2 for other MNC values
+EUSIM:ERROR indicates that the module did not detect SIM card.
Remarks
Users can determine whether the module starts up successfully or not by
detecting "+EIND:128".
LED Indicators
TE Status
LED Status
1
Registered 2G network
successfully and in the idle status
Blinking (500 ms ON / 1500 ms OFF)
2
Registered 3G network
successfully and in the idle status
Blinking (100 ms ON / 2900 ms OFF)
3
Search networks
Blinking twice (100 ms ON / 100 ms OFF / 100 ms ON / 2700
ms OFF)
4
Service mode (voice, data)
Blinking (125 ms ON / 125 ms OFF)
Remarks
Copyright © Neoway Technology Co., Ltd
To make the indicator blink as described above, execute the
AT+SIGNAL=1 command.
1
Neo_WM620 WCDMA Module AT Command Set
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>
Example
AT+CGMI
<CR><LF>OK<CR><LF>
Query the manufacturer information.
+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
Query the product model.
+CGMM: WM620
OK
Remarks
N/A
1.3 Querying the Version: +CGMR
Description
To query the software version
Format
AT+CGMR<CR>
Parameter
N/A
Return
Value
<CR><LF><version><CR><LF>
<CR><LF>OK<CR><LF>
or
Copyright © Neoway Technology Co., Ltd
2
Neo_WM620 WCDMA Module AT Command Set
<CR><LF>+CME ERROR:<err><CR><LF>
Example
AT+CGMR
Query the software version of the module.
+CGMR: E8C31107
OK
Remarks
N/A
1.4 Querying Device Manufacturer Information: ATI
Description
To obtain the manufacturer information including manufacturer name, model, and version
Format
ATI<CR>
Parameter
<CR><LF><manufacturer>
<CR><LF><module_version>
<CR><LF><soft_version>
<CR><LF>OK<CR><LF>
Return
Value
<manufacturer>: Manufacturer name
<module_version>: Module model
<soft_version>: Software version
Example
ATI
NEOWAY
Manufacturer name
WM620
Module model
V425
Software version
OK
Remarks
This command is in the above format since E9C33425.
1.5 Obtaining the Module Software Version: +GMR
Description
To obtain the software version of the module
Format
AT+GMR<CR>
Parameter
<CR><LF><revision>
<CR><LF>OK<CR><LF>
Return
Value
<revision>: Software version of the module
Example
AT+GMR
Query the software version
V425
OK
Remarks
The standard module supports this command since E9C33425.
Copyright © Neoway Technology Co., Ltd
3
Neo_WM620 WCDMA Module AT Command Set
1.6 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
Query the IMEI of the module
+CGSN: "355897043139120"
OK
Remarks

The IMEI is a character string of 15 digits.

This command is in the above format since E9C33425.
1.7 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
Obtain the IMSI number.
460022201575463
OK
AT+CIMI
Query the IMSI without SIM card installed.
ERROR
Remarks
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.
1.8 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
Copyright © Neoway Technology Co., Ltd
4
Neo_WM620 WCDMA Module AT Command Set
Return
Value
<CR><LF>+CCID: <ICCID><CR><LF>
<CR><LF>OK<CR><LF>
Or
<CR><LF>ERROR<CR><LF>
Example
AT+CCID <CR>
Read command
+CCID: 89860002190810001367
OK
AT+CCID <CR>
ERROR
Remarks
Read command
The SIM card is not inserted.
The ICCID number is a character string of 20 digits.
Copyright © Neoway Technology Co., Ltd
5
Neo_WM620 WCDMA Module AT Command Set
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>

AT+CPAS=?<CR>
Parameter
<pas>:
0: ready. The module is ready and is able to execute AT commands.
1: unavailable (MT does not allow commands)
2: 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 (low functionality)
Return
Value
<CR><LF>+CPAS: <pas><CR><LF>
<CR><LF>OK<CR><LF>
or
<CR><LF>+CME ERROR: <error><CR><LF>
Example
AT+CPAS
The module is ready.
+CPAS: 0
OK
AT+CPAS=?
The module is in any possible status.
+CPAS: (0-5)
OK
AT+CPAS
+CME ERROR: <error>
Remarks
Error is the type of the returned error. It can
be digits or character string.
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>

AT+CREG=?<CR>
Parameter
<n>:
0: Forbid unsolicited result codes of network registration (default setting).
Copyright © Neoway Technology Co., Ltd
6
Neo_WM620 WCDMA Module AT Command Set
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>:
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>:
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>: Location Area Code
<ci>: string type; two-byte cell ID in hexadecimal format
<Act>:
0: GSM
2: UTRAN
3: GSM w/EGPRS
Example
AT+CREG=1
OK
AT+CREG?
+CREG: 1,1
Enable network registration unsolicited
result code.
Query the current network registration
status.
OK
AT+CREG=?
Query the valid parameter value range.
+CREG: (0-2)
OK
Remarks
N/A
2.3 Setting Module Functionality: +CFUN
Description
To select the functions of the module by setting <fun>
<fun> supports only a few values.
Format

AT+CFUN=<fun>[,<rst>]<CR>
Copyright © Neoway Technology Co., Ltd
7
Neo_WM620 WCDMA Module AT Command Set
Parameter

AT+CFUN=?<CR>

AT+CFUN?<CR>
<fun>:
0: Turn off the radio an SIM power (minimum functions).
1: All functions
4: Turn off the RF transmit and receive circuit of the module (flight mode).
6: Ready to restart (the module is set to restart, and you can query this status before the
restart.)
7: Offline state (During the restart, the module is offline and then searches for the network
but fails. The module enters this state, which can be queried only.)
<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
Set the module online.
OK
OK
Set all functions for the module and restart
it.
AT+CFUN?
Query the current functionality level.
AT+CFUN=1,1
+CFUN: 1
OK
AT+CFUN=?
Query the valid parameter value ranges.
+CFUN: (0-1,4,6-7),(0-1)
OK
Remarks

If using the UART Debug Tool on the PC, you must close and then open the UART after
you enter restart parameters so that the module can respond to the AT command.

AT+CFUN=4,1 is not supported.After the module restarts, it enters all function mode.
2.4 Setting the Signal Indicator Mode: +SIGNAL
Description
To set the mode of the signal indicator
Format

AT+SIGNAL=<mode><CR>

AT+SIGNAL?<CR>
Copyright © Neoway Technology Co., Ltd
8
Neo_WM620 WCDMA Module AT Command Set
Parameter
< mode>:
0: China Grid Regulation mode
1: Standard indicator mode
Return
Value
See the Example
Example
AT+SIGNAL=1
OK
Set the signal indicator to the standard
mode.
AT+SIGNAL?
Query the current signal indicator mode.
+SIGNAL: 1
OK
AT+SIGNAL=?
Query the valid parameter value range.
+SIGNAL: (0-1)
OK
Remarks
The setting of this command can be saved after the module is powered off.
2.5 Enabling or Disabling the Sleep Mode: +ENPWRSAVE
Description
To enable or disable the sleep mode
Format

AT+ENPWRSAVE=<n> <CR>

AT+ENPWRSAVE?<CR>

AT+ENPWRSAVE=?<CR>
Parameter
<n>:
0: Enable the sleep mode.
1: Disable the sleep mode
Return
Value
See the Example.
Example
AT+ENPWRSAVE=1
Disable the sleep mode.
OK
AT+ENPWRSAVE=?
Query the valid parameter value range.
+ENPWRSAVE: (0-1)
OK
AT+ENPWRSAVE?
Query current sleep mode status.
+ENPWRSAVE: 1
OK
Copyright © Neoway Technology Co., Ltd
9
Neo_WM620 WCDMA Module AT Command Set
Remarks

If the module communicates with the DTE only through UART, all the following
conditions must be met to let the module enter the sleep mode:
AT+ENPWRSAVE=0;
Set the SLEEP_IN pin low level (by default)
The module is idle (no voice, data, and SMS service)

If the module communicates with the DTE only through USB, all the following
conditions must be met to let the module enter the sleep mode:
All conditions for UART communication
USB Suspend function is enabled on the DTE or the USB stops supplying power.

The module will not respond to AT commands after the module enter the sleep mode.
2.6 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.
Example
AT+CCLK="11/11/14,09:30:16"
Set the real-time date and time.
OK
AT+CCLK?
Query current date and time.
+CCLK: "11/11/14,09:30:26"
Get current date and time.
OK
Remarks
The setting of this command can be saved after the module is powered off.
2.7 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, 921600.
Return
Value
See the Example.
Copyright © Neoway Technology Co., Ltd
10
Neo_WM620 WCDMA Module AT Command Set
Example
AT+IPR=115200
Set the baudrate to 115200.
OK
AT + IPR =?
+IPR: 300, 600, 1200, 2400, 4800, 9600, 19200, 38400,
57600, 115200, 230400
Query the available baudrate
range.
OK
AT+IPR?
Query the current baudrate.
+IPR: 115200
OK
Remarks
The default baudrate is 115200.
2.8 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>

AT+CPIN=<pin><CR>
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?
Query the PIN code status of the module.
+CPIN: READY
OK
AT+CPIN?
+CPIN: SIM PIN
PIN code is required.
OK
AT+CPIN="1234"
Enter correct PIN code.
OK
Copyright © Neoway Technology Co., Ltd
11
Neo_WM620 WCDMA Module AT Command Set
+EUSIM:1
The USIM card is unlocked.
AT+CPIN?
PIN code is entered incorrectly for three
times. PUK code is required to unlock the
USIM card.
+CPIN: SIM PUK
OK
AT+CPIN="12345678","4321"
OK
+EUSIM:1
Remarks
Enter the PUK code and new PIN code.
The USIM card is unlocked.
N/A
2.9 Enabling PIN and Querying MT and Network Device:
+CLCK
Description
To lock, unlock or interrogate an MT or a network facility
Format

AT+CLCK=<fac>,<mode>[,<passwd>[,<class>]]<CR>

AT+CLCK=?<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
"FD": SIM fixed dialing memory feature
"PN": Network authentication
"PU": Network subsystem authentication
"PP": Service provider authentication
"PC": Corporate authentication
<mode>:
0: Unlock
1: Lock
2: Query the status
<status>:
0: not active
1: active
<passwd>: Password or code, string type
<class>:
1: Voice service
2: Data service
Copyright © Neoway Technology Co., Ltd
12
Neo_WM620 WCDMA Module AT Command Set
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:
Example
AT+CLCK="SC",2
<CR><LF>+CLCK: <status> [, <class1> [<CR><LF>+CLCK: <status>, <class2>
[...]]]<CR><LF>
Query the SIM card status.
+CLCK: 0
OK
AT+CLCK=?
Query valid parameter value range.
+CLCK:
("PF","SC","AO","OI","OX","AI","IR",
"AB","AG","AC","FD","PN","PU","PP",
"PC")
OK
AT+CLCK="SC",1,"1234"
Enable the SIM card lock.
OK
+EIND:128
Restart the module.
AT+CPIN?
Query if PIN code is required.
+CPIN: SIM PIN
OK
AT+CPIN="1234"
Enter PIN code.
OK
+EUSIM:1
Unlock
AT+CLCK="SC",0,"1234"
Disable the SIM card lock.
OK
+EIND:128
Restart the module.
+EUSIM:1
AT+CPIN?
Query if the PIN code is required.
+CPIN: READY
Copyright © Neoway Technology Co., Ltd
13
Neo_WM620 WCDMA Module AT Command Set
OK
Remarks
N/A
2.10 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>

AT+CPWD=?<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
"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
<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>
Example
AT+CPWD=?
<CR><LF>+CME ERROR: <err><CR><LF>
+CPWD:
("SC",8),("P2",8),("AO",4),("OI",4),
Query the service range of the PIN
password allowed by the module.
("OX",4),("AI",4),("IR",4),("AB",4),
("AG",4),("AC",4)
OK
AT+CLCK="SC",1,"1234"
Enable the SIM card lock.
OK
AT+CPWD="SC","1234","4321"
Modify the PIN code.
OK
+EIND:128
Restart the module.
AT+CPIN?
Query if PIN code is required.
+CPIN: SIM PIN
PIN code is required.
OK
Copyright © Neoway Technology Co., Ltd
14
Neo_WM620 WCDMA Module AT Command Set
AT+CPIN="4321"
Enter new password.
OK
+EUSIM:1
Remarks
Unlock

Lock the SIM card before modifying the password for the SIM card. Otherwise, the
module returns +CME ERROR: SIM failure.

The password is in the string type, for example 1234.
2.11 Extended Error Report: +CEER
Description
To report the call releasing cause if a call fails to be initiated or answered
Format
AT+CEER<CR>
Parameter
N/A
Return
Value
<CR><LF>+CEER: <report ><CR><LF>
<CR><LF>OK<CR><LF>
<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 3G/GPRS attach failure or PDP context activation
The latest 3G/GPRS detach or PDP context deactivation
The detailed report causes are defined in GSM 04.08.
Example
ATH
SPEECH OFF
Query after ending a call which is
initiated by the module.
RELEASE
OK
AT+CEER
+CEER: Client ended call
OK
AT+CEER
Query before dialing a number.
+CEER: No cause information available
OK
Remarks
N/A
Copyright © Neoway Technology Co., Ltd
15
Neo_WM620 WCDMA Module AT Command Set
2.12 Setting Error Information: +CMEE
Description
To enable or disable the +CME ERROR:<err> result code
Format

AT+CMEE=<n><CR>

AT+CMEE? <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
Enable the result code in digit format.
OK
AT+CSQ=1
+CME ERROR: 3
AT+CMEE=?
Query the status range of error code.
+CMEE: (0,1,2)
OK
AT+CMEE?
+CMEE: 1
Query the status of the current result
code.
OK
AT+CMEE=0
Disable the result code.
OK
Display ERROR only.
AT+CSQ=1
ERROR
AT+CMEE=2
OK
Enable the result code and display
verbose error value.
AT+CSQ=1
+CME ERROR: operation not allowed
Remarks
The default value is 2.
2.13 Enabling the Hardware or Software Flow Control Function:
+IFC
Description
To enable the hardware or software flow control function
Format

AT+IFC=<n1>,<n2><CR>
Copyright © Neoway Technology Co., Ltd
16
Neo_WM620 WCDMA Module AT Command Set
Parameter

AT+IFC=?<CR>

AT+IFC?<CR>
<n1>: TX flow control
0: None, Transmit data flow control disabled.
1: XON/XOFF, Remove Xon (0x19) and Xoff (0x17) characters from data stream.
2: Hardware, Use RTS (Request To Send) /CTS (Clear to Send) signal
3: XON/XOFF, Leave Xon (0x19) and Xoff (0x17) characters in data stream.
<n2>: RX flow control
0: None, Receive data flow control disabled.
1: XON/XOFF, Remove Xon (0x19) and Xoff (0x17) characters from data stream.
2: Hardware, Use CTS (Clear To Send) signal (default)
Return
Value
See the Example.
Example
AT+IFC=1,1
Enable the software flow control.
OK
AT+IFC=2,2
Enable the hardware flow control.
OK
AT+IFC=0,0
Disable the flow control function.
OK
AT+IFC=?
Query the valid parameter value ranges.
+IFC: (0-3),(0-2)
OK
AT+IFC?
+IFC: 0, 0
Query the current status of flow
control.
OK
Remarks

The setting of this command will not be saved after the module is powered off.

This command is supported by E9C33425 and later versions.

The flow control funciton is disabled by default.
2.14 Setting the Network Model: +PREF
Description
To set the network model
Format

AT+PREF=<value> <CR>

AT+PREF=? <CR>

AT+PREF? <CR>
Parameter
<value>:
Copyright © Neoway Technology Co., Ltd
17
Neo_WM620 WCDMA Module AT Command Set
4: AUTO
13: GSM
14: WCDMA
Return
Value
See the Example.
Example
AT+PREF=14
Set the network model to WCDMA.
OK
AT+PREF=?
Query the valid parameter value range.
+PREF: (4,13,14)
OK
AT+PREF?
Query current network model.
+PREF: WCDMA
OK
Remarks

The default status setting is AUTO. The parameter setting of this command can be saved
after the module is powered off.

The setting of this commnd takes effective only after the module is restared.
2.15 Querying the Network Standards
Description
To query or set the network standards
Format

AT+ERAT=<rat mode>[,<prefer rat>]<CR>

AT+ERAT=?<CR>

AT+ERAT?<CR>
Parameter
<rat mode>:
0: GSM only
1: WCDMA only
2: AUTO
<prefer rat>:
0: no preference
1: GSM preferred (when rat mode=2)
2: WCDMA preferred (when rat mode=2)
Return
Value
<CR><LF>+ERAT: <current rat>,<GPRS status>,<rat mode>,<prefer rat><CR><LF>
<CR><LF>OK<CR><LF>
<CR><LF>+ERAT:<rat mode>,<prefer rat><CR><LF>
<CR><LF>OK<CR><LF>
<current rat>:
0: GSM
Copyright © Neoway Technology Co., Ltd
18
Neo_WM620 WCDMA Module AT Command Set
2: UTRAN
3: GSM w/EGPRS
4: UTRAN w/HSDPA
<GPRS status>:
0: GPRS
1: EDGE
2: HSDPA
255: unknown
Example
AT+ERAT=2,0
Set the network standard to AUTO.
OK
AT+ERAT=?
Query the valid parameter value ranges.
+ERAT:(0-2),(0-2)
OK
AT+ERAT?
Query the current network standard.
+ERAT: 4,2,2,0
OK
Remarks

The settings of this command will be saved after the module is powered off.

The network standard setting takes effective only after the module is powered on again.

When <rat mode> is set to 0 or 1, <prefer rat> can be set only to 0.

This command is supported by E9C33424 and later versions.
Copyright © Neoway Technology Co., Ltd
19
Neo_WM620 WCDMA Module AT Command Set
3 Network Service Commands
3.1 Querying Signal Quality: +CSQ
Description
To check the receiving signal strength indication (RSSI) and the bit error rate (BER) of the
channel
Format

AT+CSQ<CR>

AT+CSQ=?<CR>
Parameter
N/A
Return
Value
<CR><LF> +CSQ: < signal >, <ber><CR><LF>
<CR><LF> OK <CR><LF>
< signal >
The following table shows the relationship between the signal and the RSSI.
signal
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>
Example
0...7
Refer to the value of RXQUAL in the table of GSM 05.08
8.2.4.
99
Unknown or not detectable
AT+CSQ
Query the current RSSI.
+CSQ: 24,99
OK
AT+CSQ=?
Query the value range of the RSSI.
+CSQ: (0-31,99),(0-7,99)
OK
Remarks
N/A
Copyright © Neoway Technology Co., Ltd
20
Neo_WM620 WCDMA Module AT Command Set
3.2 Selecting and Registering a GSM Network: +COPS
Description
To select and register a network
Format

AT+COPS=<mode>[,<format>[,<oper>>[,<AcT>]]]<CR>

AT+COPS?<CR>
Parameter
<mode>: To set automatic network selection or manual selection
0: Automatic selection (ignore the parameter <oper>)
1: Manual selection
2: Deregister from the network
3: Set <format> only
4: Manual/automatic selection (if the manual selection fails, automatic mode starts)
<format>:
0: Long alphanumeric <oper> (default value)
1: Short format alphanumeric <oper>
2: Numeric <oper>
<oper>:
It is given in <format>. This field may be in 16-character long alphanumeric format,
8-characters short alphanumeric format, or 5-character numeric format (MCC/MNC).
<AcT>: Indicates the radio access technology and its value can be 0, 1, and 2.
0: GSM
1: GSM compact
2: UTRAN
Return
Value
N/A
Example
AT+COPS=0,0
Set to the long alphanumeric format
OK
AT+COPS=0,2
Set to digital mode
OK
AT+COPS?
+COPS: 0,0, " CHINA
MOBILE ",0"
China Mobile
OK
AT+COPS?
+COPS: 0,2,"46000",0
If it is set to digital mode, get the
number 46000
OK
AT+COPS?
+COPS: 0,0," CHN-UNICOM ",2
China Unicom
OK
Copyright © Neoway Technology Co., Ltd
21
Neo_WM620 WCDMA Module AT Command Set
AT+COPS?
+COPS: 0,2,"46001",2
If it is set to digital mode, then get the
number 46001.
OK
Remarks

When you try to query the current network selection parameters, <AcT> is displayed
only if the device supports UMTS.

<AcT> indicates the access technology of the manual attach procedure if you choose
GSM/UMTS dual mode and select network manually.

Ignore the parameter <AcT> if you set automatic network selection.
Copyright © Neoway Technology Co., Ltd
22
Neo_WM620 WCDMA Module AT Command Set
4 Calling Control Commands
4.1 Setting the Speaker Volume: +CLVL
Description
To set the level of the speaker volume, which is valid during a call
Format

AT+CLVL=<level> <CR>

AT+CLVL?<CR>

AT+CLVL=? <CR>
Parameter
<level>: Integers, ranging from 0 to 6
Return
Value
See the Example.
Example
AT+CLVL=3
OK
AT+CLVL?
+CLVL:3
Set the volume of the module speaker
to 3.
Query the current volume level of the
module.
OK
AT+CLVL=?
+CLVL: (0-6)
Query the available value range of the
speaker volume level.
OK
Remarks
N/A
4.2 Mute Control: +CMUT
Description
To set mute control of the voice calls.
The setting is valid during a call
Format
Parameter

AT+CMUT=<n> <CR>

AT+CMUT? <CR>

AT+CMUT=?<CR>
<n>:
0: Mute off
1: Mute on
Return
Value
See the Example.
Example
AT+CMUT=0
Mute off
OK
AT+CMUT?
Query current mute setting.
+CMUT: 0
Copyright © Neoway Technology Co., Ltd
23
Neo_WM620 WCDMA Module AT Command Set
OK
AT+CMUT=?
+CMUT: (0-1)
Query the valid parameter value range
of mute settings.
OK
Remarks
This command is valid only during a call. ERROR will be returned in any other situations.
4.3 Dialing Command: ATD
Description
To initialize a data, fax, or voice link
For a voice link, the dialing string consists of numbers and modifiers and must end with a
semicolon.
Format
Parameter

ATD<dial string>[;]<CR>

ATD><n>;<CR>

ATD>"name";<CR>
<dial string>: Phone number
<n>: The location of phone number
name: Name in the current phonebook.
Return
Value
OK
SPEECH ON
ALERTING
If the call is hung up directly on the other side:
SPEECH OFF
RELEASE
BUSY
NO CARRIER
The phone is picked up on the other side:
CONNECT
If the call is hung up on the other side during the call
SPEECH OFF
RELEASE
NO CARRIER
Copyright © Neoway Technology Co., Ltd
24
Neo_WM620 WCDMA Module AT Command Set
If a second call comes and is ended during a call, the other side ends the first call after
SPEECH OFF is returned.
DISCONNECT
RELEASE
NO CARRIER
Example
ATD10010;
Dial a number.
OK
SPEECH ON
ALERTING
CONNECT
The receiver answered the call.
ATD>4;
Use the index in the current phonebook to
make a call.
OK
SPEECH ON
ALERTING
CONNECT
SPEECH OFF
RELEASE
NO CARRIER
ATD>"Comneon";
OK
Use the name in the current phonebook to
make a call.
SPEECH ON
ALERTING
CONNECT
Remarks
There are two types of calls: voice call, data and fax call. Semicolon is required for voice
calls and not required for data or fax calls.

Data and fax call: ATD<dial string>

Voice call: ATD<dial string>;
Copyright © Neoway Technology Co., Ltd
25
Neo_WM620 WCDMA Module AT Command Set
4.4 Call Answering: ATA
Description
To answer the call and establish a call connection
The return codes containing RING or +CRING indicate an incoming call.
Format
ATA<CR>
Parameter
N/A
Return
Value
<CR><LF>SPEECH ON<CR><LF>
<CR><LF> OK <CR><LF>
If the call is hung up on the other side during the call, the command returns:
<CR><LF> SPEECH OFF <CR><LF>
<CR><LF> RELEASE <CR><LF>
<CR><LF> NO CARRIER <CR><LF>
Example
ATA
Answer the call.
SPEECH ON
OK
Remarks
N/A
4.5 Hanging Up Calls: ATH
Description
To hang up all call links
Format
ATH<CR>
Parameter
N/A
Return
Value
<CR><LF> SPEECH OFF <CR><LF>
<CR><LF> RELEASE <CR><LF>
<CR><LF> OK <CR><LF>
Example
ATH
End all call connections.
SPEECH OFF
RELEASE
OK
Remarks
N/A
4.6 Sending DTMF Tone: +VTS
Description
To send the DTMF tone
Only for voice services in GSM
Copyright © Neoway Technology Co., Ltd
26
Neo_WM620 WCDMA Module AT Command Set
Format

AT+VTS=<DTMF><CR>

AT+VTS=?<CR>
Parameter
< DTMF >: A single ASCII character in the set .0-9, #, *, A-D.
Return
Value
See the Example.
Example
AT+VTS=?
+VTS: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,#,*
Query the DTMF signal range of the
module.
OK
AT+VTS=0
Send DTMF signals.
OK
Remarks
This command is valid during a call.
4.7 Auto-Answer: ATS0
Description
To control the auto-answer mode of the module
Format

ATS0=<value> <CR>

ATS0? <CR>
Parameter
<value>: Integers, ranging from 0 to 255
If ATS0 is set to 0, auto-answer is disabled;
If ATS0 is set to other values, the module will automatically answer the call after ringing
for the set times.
Return
Value
See the Example.
Example
ATS0=1
Set the auto-answer for one ring.
OK
RING
A call in incoming.
SPEECH ON
It is answered automatically after one
ring.
ATS0?
Query the status of the auto-answer
function.
001
OK
Remarks
N/A
Copyright © Neoway Technology Co., Ltd
27
Neo_WM620 WCDMA Module AT Command Set
4.8 Handfree Switch: +HANDFREE
Description
To control the handfree mode of a voice call
Format

AT+HANDFREE=<value> <CR>

AT+HANDFREE? <CR>
Parameter
<value>: Integer
0: Earphone mode
1: Handfree mode, always valid if the module is not powered off or switched to other
modes
2: Handfree mode, only valid for the current call. It will switch to the earphone mode after
the call ends.
Return
Value
<CR><LF> +HANDFREE:0<CR><LF>
Example
AT+HANDFREE=0
<CR><LF> OK<CR><LF>
Set to the earphone mode.
OK
AT+HANDFREE=1
Set to the handfree mode.
OK
AT+HANDFREE?
The current mode is earphone mode.
+HANDFREE:0
OK
Remarks
Earphone mode by default.
4.9 Starting the DTMF Detection: +DTMFDETECT
Description
To start the DTMF detection during a call
Format
AT+DTMFDETECT=<value><CR>
Parameter
<value>: Integer
0: Stop DTMF detection
1: Start DTMF detection
Return
Value
<CR><LF> +DTMF:DETECT START OK<CR><LF>
<CR><LF> +DTMF:DETECT STOP OK <CR><LF>
<CR><LF> +DTMF:DETECT ALREADY STARTED <CR><LF>
<CR><LF> +DTMF:OPERATION NOT ALLOWED <CR><LF>
Example
AT+DTMFDETECT=1
Start the DTMF detection.
+DTMF:DETECT START OK
AT+ DTMFDETECT=0
Stop the DTMF detection.
+DTMF:DETECT STOP OK
Copyright © Neoway Technology Co., Ltd
28
Neo_WM620 WCDMA Module AT Command Set
ATD13510616275;
OK
SPEECH ON
ALERTING
CONNECT
AT+DTMFDETECT=1
+DTMF:DETECT START OK
DTMF KEY(Rec): 1
Detect DTMF signals.
DTMF KEY(Rec): 3
DTMF KEY(Rec): 0
DTMF KEY(Rec): 9
AT+DTMFDETECT=0
+DTMF:DETECT STOP OK
ATH
SPEECH OFF
RELEASE
OK
Remarks
N/A
4.10 MIC Volume Control: +MICL
Description
To set the level of the MIC volume in a call
Format

AT+MICL=<level> <CR>

AT+MICL? <CR>

AT+MICL=?<CR>
Parameter
<level>: Integers, ranging from 0 to 6
Return
Value
See the Example.
Example
AT+MICL=3
Set the level of the MIC volume to 3.
OK
Copyright © Neoway Technology Co., Ltd
29
Neo_WM620 WCDMA Module AT Command Set
AT+MICL?
+MICL:3
Query the current level of the MIC
volume.
OK
AT+MICL=?
Query the value range of MIC volume.
+MICL: (0-6)
OK
Remarks
The setting of this command is not saved after the module is powered off.
4.11 Echo Control: +ECHO
Description
To enable, disable, and modify the echo cancellation function during a call
Format

AT+ECHO=<mode><CR>

AT+ECHO?<CR>

AT+ECHO=?<CR>
Parameter
<mode>: 0 to 6
0 Vocoder Echo Cancellation Off
1 Ear Seal Echo Cancellation
2 Head Set Echo Cancellation
3 AEC
4 Speaker Echo Cancellation for car kit operation
5 Bluetooth earphone Echo Cancellation (not supported)
6 Default Echo Cancellation for current path settings
Return
Value
<CR><LF>OK<CR><LF>
<CR><LF>+ECHO: <mode><CR><LF>
<CR><LF>OK<CR><LF>
<CR><LF>+ECHO: (0-6)<CR><LF>
<CR><LF>OK<CR><LF>
<CR><LF>ERROR<CR><LF>
Example
AT+ECHO=0
OK
Disable the echo cancellation
function.
ERROR
The command is incorrect. The value
set is beyond the parameter value
range.
AT+ECHO?
Query the current settings.
AT+ECHO=8
+ECHO: 0
OK
Copyright © Neoway Technology Co., Ltd
30
Neo_WM620 WCDMA Module AT Command Set
AT+ECHO=2
OK
Remarks
Enable the echo cancellation function
for the earphone.

Echo cancellation function is implemented through the audio match technology of
the DSP chipset.

Obtain the echo delay parameter value by comissionningi in real application.

This command is supported by E9C33426 and later versions.
Copyright © Neoway Technology Co., Ltd
31
Neo_WM620 WCDMA Module AT Command Set
5 SMS Commands
5.1 Selecting SMS Services: CSMS
Description
To select an SMS service among SMS-MO, SMS-MT, and SMS-CB
Format

AT+CSMS=<service><CR>

AT+CSMS?<CR>

AT+CSMS=?<CR>
Parameter
<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
Return
Value
See the Example.
Example
AT+CSMS=1
+CSMS: 1, 1, 1
Set SMS AT commands to support
GSM07.05 Phase 2+.
OK
AT+CSMS?
Display current values.
+CSMS: 1, 1, 1, 1
OK
AT+CSMS=?
Query valid value range.
+CSMS: (0-1)
OK
Remarks
N/A
5.2 Setting Preferred SMS Storage: +CPMS
Description
To set preferred SMS storage
Format

AT+CPMS=<mem1> <CR>

AT+CPMS? <CR>

AT+CPMS=?<CR>
Parameter
<mem1>: String type, for example, "SM", "ME", "MT"
SM: Store the SMS messages in the SIM card
ME: Store the SMS messages in the module
Copyright © Neoway Technology Co., Ltd
32
Neo_WM620 WCDMA Module AT Command Set
<used>: Used quantity
<total>: Total capacity of the storage
Return
Value
<CR><LF>+CPMS: <used1>,<total1>,<used2>,<total2>,<used3>,<total3> <CR><LF>
<CR><LF>OK<CR><LF>
OR
<CR><LF>+CPMS:<mem1>,<used1>,<total1>,<mem2>,<used2>,<total2>,<mem3>,<use
d3>,<total3><CR><LF>
<CR><LF>OK<CR><LF>
OR
<CR><LF>+CPMS: (list of supported <mem1>s),(list of supported <mem2>s),
(list of supported <mem3>s)<CR><LF>
<CR><LF>OK<CR><LF>
Example
AT+CPMS="SM"
+CPMS: 18,50,3,23,3,23
Set SM as the preferred SMS storage
memory.
OK
AT+CPMS?
+CPMS: "SM",18,50,"ME",3,23,"MT",3,23
Query the detailed information of
mem1, mem2, and mem3.
OK
AT+CPMS=?
+CPMS:
("ME","MT","SM","SR"),("ME","MT","SM",
Query the value range of mem1,
mem2, and mem3.
"SR"),("ME","MT","SM","SR")
OK
AT+CPMS="SM","SM","SM"
+CPMS: 18,50,18,50,18,50
Select SIM as the SMS storage
memory.
OK
Remarks
N/A
5.3 Setting SMS Inputting Mode: +CMGF
Description
To set the SMS inputting mode
Format

AT+CMGF=<mode> <CR>

AT+CMGF? <CR>

AT+CMGF=?<CR>
Parameter
<mode>:
0: PDU mode
Copyright © Neoway Technology Co., Ltd
33
Neo_WM620 WCDMA Module AT Command Set
1: Text mode
Return
Value
See the Example.
Example
AT+CMGF=1
Set SMS mode to text mode.
OK
AT+CMGF?
Query current SMS mode.
+CMGF: 1
OK
AT+CMGF=?
Query the value range of SMS mode.
+CMGF: (0-1)
OK
Remarks
N/A
5.4 Setting the TE Character Set: +CSCS
Description
To set the format of the TE character set
Format

AT+CSCS=<chest><CR>

AT+CSCS? <CR>

AT+CSCS=?<CR>
Parameter
< chset >:

"GSM": Default GSM alphabet (GSM03.38.6.2.1)

"IRA": International reference alphabet (ITU-T T.50)

"UCS2": 16-bit universal multiple-octet coded character set (USO/IEC10646). The
UCS2 character string is converted into a hexadecimal number (ranging from 0x0000 to
0xFFFF). UCS2 encoding is used only in some character string of the statement.
Return
Value
N/A
Example
AT+CSCS="IRA"
Set TE character set to IRA.
OK
AT+CSCS?
Query current character set.
+CSCS: "IRA"
OK
AT+CSCS=?
Query the value range of the character set.
+CSCS: ("IRA","GSM", "UCS2")
OK
Copyright © Neoway Technology Co., Ltd
34
Neo_WM620 WCDMA Module AT Command Set
Remarks
N/A
5.5 Setting the New Message SMS Indications Mode: +CNMI
Description
To set the mode how the module indicates new SMS messages received from the network
to users
Format

AT+CNMI=<mode>[,<mt>[,<bm>[,<ds>[,<bfr>]]]]<CR>

AT+CNMI?<CR>

AT+CNMI=?<CR>
Parameter
<mode>: Set the indication mode after receiving SMS messages.
0: Buffer unsolicited result codes in the TA. If TA result code buffer is full, indications can
be buffered in some other place or the oldest indications may be discarded and
replaced with the new received indications.
1: Discard indication and reject new received message unsolicited result codes when
TA-TE link is reserved (e.g. in on-line data mode). Otherwise forward them directly to the
TE.
2: Buffer unsolicited result codes in the TA when TA-TE link is reserved (e.g. in on-line
data mode) and flush them to the TE after reservation. Otherwise forward them directly to
the TE.
3 Forward unsolicited result codes directly to the TE. TA-TE link specific inband
technique used to embed result codes and data when TA is in on-line data mode.
<mt>: Set the format of the new SMS indication codes. The default value is 0.
0: SMS indication codes will not be sent to the TE.
1: The format of the new SMS indication codes is +CMTI: "MT" ,<index>. The SMS
message is stored rather than directly displayed.
2: The format of the new SMS indication codes is
+CMT :<oa>,<scts>,<tooa>,<lang>,<encod>,<priority>[,<cbn>],<length><CR><LF>
<data> (text mode). SMS messages are directly displayed rather than stored.
3: Use the report codes defined by <mt>=2 to transmit SMS indication codes to the TE.
The SMS indication codes in other modes are the same as that of <mt>=1.
<bm>: Set the format of the new cell broadcast codes. The default value is 1.
0: Not send the indication information of new cell broadcast. The cell broadcast will not be
stored.
1: The cell broadcast indication code is +CBMI:" BC" ,<index> and the cell broadcast is
stored.
2: The format of the new cell broadcast indication codes is
<oa>,[<alpha>,]<scts>[,<tooa>,<length>] <CR><LF><data>(text mode). The cell
broadcast will be directly displayed rather than stored.
3: The CBM of the third-type information will be displayed on the end device using the
report codes defined by <bm>=2. For other type SMS messages that support CBM storage,
the indication codes are the same as that of <bm>=1.
<ds>: Report status of SMS message sending. The default value is 1.
Copyright © Neoway Technology Co., Ltd
35
Neo_WM620 WCDMA Module AT Command Set
0: No status report of SMS message sending
1: The format of the SMS sending status report is
+CDS :<fo>,<mr>,[<ra>],[<tora>],<scts>, <dt>,<st>(text mode).
<bfr>: The default value is 0.
0: When <mode> is set to 1 or 2, codes defined by this command and stored in TA will be
sent to TE. The module will return OK before transmitting the codes.
1: When <mode> is set to 1 or 2, the codes defined by this command and stored in TA will
be cleared.
Return
Value
See the Example.
Example
AT+CNMI=2,1,0,0,0
Set the SMS message indication mode.
OK
AT+CNMI=?
Query the value ranges of the paramters.
+CNMI:
(0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)
OK
AT+CNMI?
Query the current SMS indication mode.
+CNMI: 2, 1, 0, 0, 0
OK
Remarks
SMS messages are classified into four classes based on the storing:

Class0: displayed only

Class 1: Stored in the ME memory

Class 2: Stored in the SIM card

Class 3: Directly transmitted to TE
AT+CNMI=2,1 or AT+CNMI=2,2 is recommended.
5.6 Reading SMS Messages: +CMGR
Description
To read SMS messages stored in current memory (use the AT+CPMS command to specify
the current memory)
Format
AT+CMGR=<index><CR>
Parameter
<index>: location value <index> from preferred message storage <mem1> to the TE
Return
Value
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>
if text mode (+CMGF=1), command successful and SMS-SUBMIT:
Copyright © Neoway Technology Co., Ltd
36
Neo_WM620 WCDMA Module AT Command Set
+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",,"11/09/13,16:37:59+32"
Read the content of SMS
message 1.
050003140401E27778592EA7E7EBE9373C3C279BCF68F
59AADC78FED62779BA596D7EBAEB5B91EBD16A5D4
6C35F98406A744E311A95C32594DA75688B50EADACA
6D689150EADF1B2BC5E579AD575E5B5582D5EABD56
24C36A3D56C375C0E1693CD6835DB0D9783A15C91D2
E06BDAA558AC1F60C52B937CADCD2B747AA9021BD
EC627E8E9441BD42655DEF446
OK
AT+CMGF=0
Set PDU mode.
OK
AT+CSCS="UCS2"
OK
+CMTI: "SM",39
A messages is incoming.
AT+CMGR=39
Read the message.
+CMGR: 0,,23
0891683110501905F0240BA18177377949F500004130623
12503230468341A0D
OK
AT+CMGF=1
Set text mode.
OK
AT+CSCS="GSM"
OK
+CMTI: "SM",40
Copyright © Neoway Technology Co., Ltd
A message is incoming.
37
Neo_WM620 WCDMA Module AT Command Set
AT+CMGR=40
Read the message.
+CMGR: "REC
UNREAD","18777397945",,"14/03/26,13:57:58+32"
hello world
OK
Remarks
If the status of the message is received unread, the status in the storage changes to received
read.
5.7 SMS Message List: +CMGL
Description
To read SMS messages of one type from the current memory specified by the +CPMS
command
Format

AT+CMGL=<stat><CR>

AT+CMGL=?<CR>
Parameter
<state>: String type or numeric type
When you set AT+CMGF=1,

"REC UNREAD": Unread SMS messages received

"REC UNREAD": Read SMS messages received

"STO UNSENT": Stored unsent SMS messages

"STO SENT": Stored sent SMS messages

"ALL": All SMS messages
When you set AT+CMGF=0,
Return
Value

0: Unread SMS messages received

1: Read SMS messages received

2: Stored unsent SMS messages

3: Stored sent SMS messages

4: All SMS messages
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>[...]]
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:
Copyright © Neoway Technology Co., Ltd
38
Neo_WM620 WCDMA Module AT Command Set
+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>
[<CR><LF>
+CMGL: <index>,<stat>,[<alpha>],<length><CR><LF><pdu>[...]]
Example
AT+CMGL="ALL"
Read all messages.
+CMGL: 1,"REC READ","66421",,"11/09/14,16:37:59+32"
050003140401E27778592EA7E7EBE9373C3C279BCF68F5
9AADC78FED62779BA596D7EBAEB5B91EBD16A5D46C
35F98406A744E311A95C32594DA75688B50EADACA6D6
89150EADF1B2BC5E579AD575E5B5582D5EABD5624C36
A3D56C375C0E1693CD6835DB0D9783A15C91D2E06BD
AA558AC1F60C52B937CADCD2B747AA9021BDEC627E8
E9441BD42655DEF446
+CMGL: 44,"REC
UNREAD","8615719556937",,"11/09/30,03:00:55+32"5E7F4
E1C79FB52A863D0919260A8003A4E2D536B75286237003
100350037003100390035003500360039003300377ED960A8
6765753500326B21002C6700540E4E006B21572800320039
002F00300039002000320030003A00340038002C60A853EF
6309901A8BDD952E621690099879952E76F463A556DE62
E8
+CMGL: 14,"STO
SENT","66045",,050003010401E27778592EA7E7EBE9373C
3C279BCF68F59AADC78FED62779BA596D7EBAEB5B91
EBD16A5D46C35F98406A744E311A95C32594DA75688B5
0EADACA6D689150EADF1B2BC5E579AD575E5B5582D5
EABD5624C36A3D56C375C0E1693CD6835DB0D9783A15
C91D2E06BDAA558AC1F60C52B937CADCD2B747AA90
21BDEC627E8E9441BD42655DEF446
OK
AT+CMGL=?
+CMGL: ("REC UNREAD", "REC READ", "STO
UNSENT", "STO SENT", "ALL")
Query the SMS read
options.
OK
Query the SMS read
Copyright © Neoway Technology Co., Ltd
39
Neo_WM620 WCDMA Module AT Command Set
AT+CMGL+CMGL: (0-4)=?
options in PDU mode.
OK
AT+CMGF=0
OK
AT+CMGL=3
+CMGL: 0,3,,19
Read SMS lists in PDU
mode.
Read stored sent SMS
messages.
0891683110808805F0111E0B818177377949F50000A705E8
329BFD06
+CMGL: 15,3,,16
0891683110808805F0112605810110F00000A705E8329BFD
06
+CMGL: 28,3,,33
0891683110808805F001280B815118784271F20008146DF15
7335E025B9D5B89533A59276D6A80545EFA
+CMGL: 29,3,,13
0891683110808805F0112A05810110F00000A7023119
OK
AT+CMGF=1
OK
AT+CMGL="STO SENT"
+CMGL: 0,"STO SENT","18777397945",,
Read SMS lists in text
mode.
Read stored sent SMS
messages.
hello
+CMGL: 15,"STO SENT","10010",,
hello
+CMGL: 28,"STO SENT","15818724172",,
6DF157335E025B9D5B89533A59276D6A80545EFA
+CMGL: 29,"STO SENT","10010",,
12
OK
Remarks
N/A
5.8 Sending SMS Messages: +CMGS
Description
To send an SMS message from the module to the network
The network will return reference value <mr> to the module after the SMS message is sent
successfully.
Format

Text command syntax
AT+CMGS=<da>[,<toda>]<CR>text is entered<ctrl-Z/ESC>
Copyright © Neoway Technology Co., Ltd
40
Neo_WM620 WCDMA Module AT Command Set

PDU command syntax
AT+CMGS=<length><CR>PDU is given<ctrl-Z/ESC>
Parameter
<da>: The destination number to which the SMS message is sent in text mode
<text>: SMS message content in text mode
<length>: The byte length of the SMS message content in PDU mode
<mr>: The storage location
<CR>: End character
<Ctrl-Z>: Indicates the end of the input message
<ESC>: Indicates giving up the input message
Return
Value
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<Ctrl-Z>
Send messge in text
mode.
+CMGS: 171
OK
AT+CMGS=33<CR>
>0891683108705505F001000B815118784271F20008146DF157
335E025B9D5B89533A59276D6A80545EFA<Ctrl-Z>
Send message in PDU
mode.
+CMGS: 119
OK
Remarks

If you use UART debugging tool to sent a PDU SMS message, enter \r after the
AT+CMGS command manually or send <CR> in hexadecimal system.

For details about PDU, see the A.1 Content of PDU SMS Messages.
5.9 Writing SMS Messages: +CMGW
Description
To write an SMS message into the memory
The location information <index> will be returned after the message is saved 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+CMGW=<length>[,<stat>]<CR>PDU is given<Ctrl-Z /ESC>
Parameter
<da>: The destination number to which the SMS message is sent in text mode
<text>: SMS message content in text mode
Copyright © Neoway Technology Co., Ltd
41
Neo_WM620 WCDMA Module AT Command Set
<length>: The byte length of the SMS message content in PDU mode
<index>: Location information
<CR>: End character
<Ctrl-Z>: Indicates the end of the input message
<ESC>: Indicates giving up the input message
Return
Value
+CMGW:<index>
OK
or
+CMS ERROR:<err>
Example
Write messge in text mode
(+CMGF=1)
AT+CMGW="091137880"<CR>
>"This is the text"<Ctrl-Z>
+CMGW: 15
OK
AT+CMGW=31<CR>
>0891683108705505F001000B813124248536F3000812004
00026002A535A53D153A653C1532052C7<Ctrl- Z>
Write message in PDU
mode (+CMGF=0)
+CMGW: 1
OK
Remarks
The message status is set to "stored unsent" by default. <stat> also supports other values
such as "stored unsent" and "stored sent".
5.10 Sending Stored SMS Messages: +CMSS
Description
To send an SMS message specified by <index> in the memory (SMS-SUBMIT)
The network returns reference value <mr> to the end device after the SMS message is sent
successfully.
Format
AT+CMSS=<index>[,<da>[,<toda>]]<CR>
Parameter
<index>: Message location
<da>: the destination number of the SMS messages
Return
Value
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>
Send the SMS messages stored in
memory 2.
OK
Copyright © Neoway Technology Co., Ltd
42
Neo_WM620 WCDMA Module AT Command Set
AT+CMSS=2
CMS ERROR: <err>
Remarks
Send the SMS messages stored in
memory 2.
N/A
5.11 Deleting SMS Messages: +CMGD
Description
To delete SMS messages from the current memory
Format

AT+CMGD=<index> [,<delflag>] <CR>

AT+CMGD=? <CR>
Parameter
<index>: The recording number of the stored SMS messages
<delflag>: Integer
0: Delete the SMS messages with the specified recording numbers.
1: Delete all read SMS messages.
2: Delete all read and sent SMS messages.
3: Delete all read, sent, and unsent SMS messages.
4: Delete all messages.
Return
Value
See the Example.
Example
AT+CMGD=3
Delete successfully
OK
AT+CMGD=?
Query the value ranges of parameters.
+CMGD: (0-49), (0-4)
OK
AT+CMGD=0,4
Delete all messages.
OK
Remarks
If you set <delflag>, ignor the parameter <index>.
5.12 Setting the SMSC Number: +CSCA
Description
To set the SMSC number
Format

AT+CSCA=<sca>[,<tosca>]<CR>

AT+CSCA?<CR>
Parameter
<sca>: SMS center number
<tosca>: The format of the SMS center number. 129 indicates common number; 145
indicates international number (add + in front of the number automatically).
Return
Value
See the Example.
Copyright © Neoway Technology Co., Ltd
43
Neo_WM620 WCDMA Module AT Command Set
Example
AT+CSCA="8613800755500",145
Set an SMSC number.
OK
AT+CSCA?
Query the SMSC number.
+CSCA: "+8613800755500", 145
OK
Remarks
The setting will be saved after the module is powered off.
5.13 Setting the Parameters of the Text Mode: +CSMP
Description
To select required values for the additional parameters in the text mode, and set the validity
period since the message is received from the SMSC, or the absolute time defining the end
of the validity period
Format

AT+CSMP=[<fo>[,<vp>[,<pid>[,<dcs>]]]]<CR>

AT+CSMP?<CR>
Parameter
<fo>: Determined by the command or the first 8 bits of the result code GSM 03.40
SMS-DELIVER; SMS-SUBMIT (default value: 17); or adopt the integer-type
SMS-COMMAND (default value: 2)
<vp>:
Value
Validity Period
0-143
(vp+1)*5mins
144-167
12hours +((vp–143)*30mins)
168-196
(vp–166)*1day
197-255
(vp–192)*1week
<pid>: Integer-type TP-protocol-ID (default value: 0)
<dcs>: Encoding plan for integer-type cell broadcast data (default value: 0)
Return
Value
See the Example.
Example
AT+CSMP=17,167,0,0
Set text mode parameters.
OK
AT+CSMP?
+CSMP: 17, 167, 0, 0
Query the current settings of the text
mode.
OK
Remarks
N/A
Copyright © Neoway Technology Co., Ltd
44
Neo_WM620 WCDMA Module AT Command Set
5.14 Displaying the Parameters of the Text Mode: +CSDH
Description
To set whether the detailed header information is displayed in the result code in text mode
Format

AT+CSDH=<show><CR>

AT+CSDH?<CR>

AT+CSDH=?<CR>
Parameter
<show>:
0: disable or not display
1: enable or display
Return
Value
See the Example.
Example
AT+CSDH=0
OK
Set the header information not
to display
AT+CMGR=14
+CMGR: "REC READ","+8613430981504",,
"09/07/17,14:49:00+50"7B5675655FAE5C0F65F6501
9
OK
AT+CSDH=1
OK
Set the detailed header
information to display.
AT+CMGR=14
+CMGR: "REC
READ","+8613430981504",,"09/07/17,
14:49:00+50",145,4,0,8,"+8613800755500",145,12
7B5675655FAE5C0F65F65019
OK
AT+CSDH?
+CSDH: 1
Query the current parameter
setting of the command.
OK
AT+CSDH=?
+CSDH: (0-1)
Query the value range of current
parameter in the command.
OK
Remarks
N/A
Copyright © Neoway Technology Co., Ltd
45
Neo_WM620 WCDMA Module AT Command Set
6 Phonebook Commands
6.1 Selecting Phonebook Storage: +CPBS
Description
To select phonebook storage
Format

AT+CPBS=<storage> <CR>

AT+CPBS? <CR>

AT+CPBS=?<CR>
Parameter
<storage>:
"ME": MT phonebook
"SM": SIM/UICC phonebook
"EN": Emergency number
"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
Return
Value
<CR><LF>+CPBS: <storage>[,<used>,<total>] <CR><LF>
<CR><LF> OK<CR><LF>
<used>: Used count
<total>: Total count
Example
AT+CPBS="SM"
OK
AT+CPBS?
+CPBS: "SM", 1, 250
Set the phonebook storage to SIM
card.
Query the current storage of the
phonebook.
OK
AT+CPBS=?
+CPBS: ("SM", "DC", "FD", "MC", "ME", "RC",
"EN", "ON")
Query the value range of phonebook
storage.
OK
Remarks
N/A
6.2 Reading the Phonebook: +CPBR
Description
To read the phonebook information
Format

AT+CPBR=<index1>[,<index2>] <CR>

AT+CPBR=? <CR>
Copyright © Neoway Technology Co., Ltd
46
Neo_WM620 WCDMA Module AT Command Set
Parameter
<index1>: Integer type, the sequence number of the phone number
<index2>: Integer type, the sequence number of the phone number
Return
Value
[+CPBR: <index1>,<number>,<type>,<text><CR>
+CPBR: <index2>,<number>,<type>,<text>]
[+CPBR: <index1>,<number>,<type>,<text>[,<hidden>][[...]
<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 phonebook 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"
Read the phone numbers from index
1 to index 3 in the phonebook.
+CPBR: 2, "09113788223", 129, "MMI"
+CPBR: 3, "09113788328", 129, "Test-ro"
OK
AT+CPBR=?
+CPBR: (1-250), 18, 14
Query the range of sequence number,
number length, and text length.
OK
Remarks
N/A
6.3 Querying the Phonebook: +CPBF
Description
To query the phonebook information
Format
AT+CPBF=<findtext><CR>
Parameter
<findtext>: the phone book entry name
Return
Value
+CPBF: <index1>,<number>,<type>,<text>
<index>: Integer type values in the range of location numbers of phonebook memory
Copyright © Neoway Technology Co., Ltd
47
Neo_WM620 WCDMA Module AT Command Set
<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.
Example
AT+CPBF="Comneon"
+CPBF: 1, "091137880", 129, "Comneon"
Query the phone number information of
contact Comneon.
OK
Remarks
N/A
6.4 Writing Information to the Phonebook: +CPBW
Description
To write information to the phonebook
Format

AT+CPBW=<index>,<number>,<type>,<text> <CR>

AT+CPBW=?<CR>
Parameter
<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.
Return
Value
See the Example.
Example
AT+CPBW=1,"091137880",129,"0043006F006D
006E0065006F006E"
OK
AT+CPBW=2,"091137880",129,"Comneon"
OK
AT+CPBW=?
+CPBW: (1-250), 18, (129,145), 14
Write a new contact at index 1 in the
phonebook when character string is
set to UCS2.
Write a new contact at index 2 in the
phonebook when character string is
set to IRA.
Query the value ranges of the
parameters in this command.
OK
AT+CPBR=1
+CPBR: 1, "091137880", 129, "Comneon"
Read the contact information of index
1.
OK
AT+CPBW=1
Delete contact record of index 1.
OK
Copyright © Neoway Technology Co., Ltd
48
Neo_WM620 WCDMA Module AT Command Set
AT+CPBR=1
Read the contact of index 1.
+CME ERROR: not found
Remarks
Preconfigure the TE character set. Otherwise names cannot be input successfully.
Copyright © Neoway Technology Co., Ltd
49
Neo_WM620 WCDMA Module AT Command Set
7 Supplementary Service Commands
7.1 Call Forwarding: +CCFC
Description
To set the call forwarding conditions and number
Format

AT+CCFC=<reason>,<mode>[,<number>[,<type>[,<class>[,<subaddr>[,<satype>[,<tim
e>]]]]]]<CR>

AT+CCFC=? <CR>
Parameter
<reason>:
0: Unconditional
1: Mobile number is busy
2: No reply
3: Unreachable
4: Forward all calls (refer to 3GPP TS 22.030 [19])
5: Forward all conditional calls (refer to 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 parameter gives the time in
seconds to wait before call is forwarded
<status>:
0: not active
1: active
Return
Value
when <mode>=2 and command successful:
+CCFC: <status>,<class1>[,<number>,<type>[,<subaddr>,<satype>[,<time>]]][
Copyright © Neoway Technology Co., Ltd
50
Neo_WM620 WCDMA Module AT Command Set
<CR><LF>+CCFC: <status>,<class2>[,<number>,<type>[,<subaddr>,<satype>[,
<time>]]][...]]
Example
AT+CCFC=0,2
+CCFC: 0,255
Query unconditional call
forwarding when call forwarding is
not set.
OK
AT+CCFC=0,3,"15688346754"
+CME ERROR: network rejected request
AT+CCFC=0,3, "15688346754"
OK
AT+CCFC=?
+CCFC: (0,1,2,3,4,5)
The SIM card does not support call
forwarding.
Set unconditional call
forwarding when the SIM card
supports this service.
Query the parameter value range of
call forwarding settings.
OK
AT+CCFC=0,1
Enable unconditional call forwarding.
OK
AT+CCFC=0,2
Query unconditional call forwarding.
+CCFC: 1,1,"+8615688346754",145,,,
OK
OK
Disable unconditional call
forwarding.
AT+CCFC=0,4
Cancel unconditional call forwarding.
AT+CCFC=0,0
OK
Remarks
Call-related supplementary services are required.
7.2 Call Waiting: +CCWA
Description
To set call waiting
Format

AT+CCWA=<n>[,<mode>[,<class>]]<CR>

AT+CCWA? <CR>

AT+CCWA=?<CR>
Parameter
<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
Copyright © Neoway Technology Co., Ltd
51
Neo_WM620 WCDMA Module AT Command Set
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)
Return
Value
when <mode>=2 and command successful
Example
AT+CCWA=1,1
+CCWA: <status>,<class1>[<CR><LF>+CCWA: <status>,<class2>[...]]
OK
AT+CCWA=?
+CCWA: (0-1)
Set call waiting and enable callee ID
display.
Query the value range of the
parameter <n>.
OK
AT+CCWA?
Query the current call waiting setting.
+CCWA: 0
OK
Remarks
Call-related supplementary services are required.
7.3 Call Holding and Multi-party Conversation: +CHLD
Description
To set call on hold and add it to a conversation
Format

AT+CHLD=<n> <CR>

AT+CHLD=? <CR>
Parameter
<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’
Copyright © Neoway Technology Co., Ltd
52
Neo_WM620 WCDMA Module AT Command Set
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: Activates the Completion of Calls to Busy Subscriber Request. (CCBS)
Return
Value
See the Example.
Example
AT+CHLD=0
Release all held calls.
OK
ATD10010;
OK
SPEECH ON
ALERTING
CONNECT
AT+CHLD=11
Release first call.
SPEECH OFF
RELEASE
OK
AT+CHLD=?
+CHLD: (0, 1, 1x, 2, 2x, 3, 4)
Query the value range of the
parameter <n>.
OK
Remarks

Call-related supplementary services are required.

Refer 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 held on, recovered, released and added to a conversation.
Copyright © Neoway Technology Co., Ltd
53
Neo_WM620 WCDMA Module AT Command Set
8 GPRS/3G Commands
8.1 Setting PDP Format: CGDCONT
Description
To set the PDP format of the GPRS/3G
Format

AT+CGDCONT=<cid> [,<PDP_type> [,<APN> [,<PDP_addr> [,<d_comp>
[,<h_comp> [,<pd1> [,…[,pdN]]]]]]]]<CR>

AT+CGDCONT?<CR>

AT+CGDCONT=?<CR>
Parameter
<cid>: (PDP Context Identifier) a numeric parameter that 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 maybe 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>
Return
Value
See the Example.
Example
AT+CGDCONT=1,"IP", "CMNET"
Set PDP format.
OK
AT+CGDCONT?
Query current PDP format.
+CGDCONT: 1,"IP","internet","",0,0
OK
AT+CGDCONT=?
Query the value range of the PDP format.
+CGDCONT: (1-16),"IP",,,(0-2),(0-3)
+CGDCONT: (1-16),"PPP",,,(0-2),(0-3)
Copyright © Neoway Technology Co., Ltd
54
Neo_WM620 WCDMA Module AT Command Set
OK
Remarks
N/A
Copyright © Neoway Technology Co., Ltd
55
Neo_WM620 WCDMA Module AT Command Set
9 TCP/UDP Data Service
9.1 Setting PDP Authentication: $QCPDPP
Description
To set GPRS/3G PDP authentication
Format

AT$QCPDPP=<cid>[,<auth_type>[,<pwd>,<user>]]<CR>

AT$QCPDPP?<CR>

AT$QCPDPP=?<CR>
Parameter
<cid>: 1~16, PDP Context Identifier, which defines the PDP context. This is the local
TE-MT interface and used to other PDP context commands. You can use the query
command to get the minimum value (1).
<auth_type>: Authentication type.
0: NONE
1: PAP
2: CHAP
<pwd>: password
<user>: user name
Return
Value
See the Example
Example
AT$QCPDPP=3,0
Set the authentication to NONE.
OK
AT$QCPDPP=2,2,"1234"
OK
AT$QCPDPP=1,1,"1234","GSM"
OK
AT$QCPDPP?
$QCPDPP: 1,1,"GSM"
$QCPDPP: 2,2
$QCPDPP: 3,0
Set the authentication type to CHAP and
password to 1234.
Set the authentication type to PAP, user
name to GSM, and password to 1234.
Query the PAP authentication settings.
For CID1, PAP is set and the user name is
GSM.
For CID2, CHAP is set.
For other CIDs, no authentication is set.
$QCPDPP: 4,0
$QCPDPP: 5,0
$QCPDPP: 6,0
$QCPDPP: 7,0
$QCPDPP: 8,0
$QCPDPP: 9,0
$QCPDPP: 10,0
$QCPDPP: 11,0
$QCPDPP: 12,0
$QCPDPP: 13,0
$QCPDPP: 14,0
$QCPDPP: 15,0
Copyright © Neoway Technology Co., Ltd
56
Neo_WM620 WCDMA Module AT Command Set
$QCPDPP: 16,0
OK
AT$QCPDPP=?
$QCPDPP: (1-16),(0-2),,
Query the value range of the PDP
authentication parameters.
OK
Remarks

The password is not displayed during query.

When you set the authentication type to NONE, you cannot set user name and password.

When you set the authentication type to CHAP, you cannot set user name.
9.2 Setting Up a PPP Link: +XIIC
Description
To set up a PPP link
Format

AT+XIIC=<act><CR>

AT+XIIC?<CR>
Parameter
<act>:
1: Activate the PPP connection
0: Deactivate the PPP connection
Return
Value
See the Example.
Example
AT+XIIC=1
Set up a PPP link
OK
+NEWIP:10.90.208.163
+PPPSTATUS:OPENED
AT+XIIC?
+XIIC:1,10.90.208.163
The PPP connection is activated and
the local IP address is 10.90.208.163.
OK
AT+XIIC=0
Deactivate the PPP connection.
OK
+PPPSTATUS:CLOSED
AT+XIIC?
+XIIC:0,0.0.0.0
The PPP connection is deactivated
and the local IP address is blank.
OK
Remarks
N/A
Copyright © Neoway Technology Co., Ltd
57
Neo_WM620 WCDMA Module AT Command Set
9.3 Querying the PPP Connection Status: +PPPSTATUS
Description
To query the PPP connection status
Format
AT+PPPSTATUS
Parameter
N/A
Return
Value
+PPPSTATUS:<status>
<status>
CLOSED: No PPP link, the dialing connection is closed.
OPENED: The PPP link is activated, the dialing connection is opened.
*: Opening or closing
Example
AT+PPPSTATUS
+PPPSTATUS:CLOSED
The dialing connection is closed.
OK
AT+PPPSTATUS
+PPPSTATUS:OPENED
The dialing connection is opened.
OK
AT+PPPSTATUS
The dialing connection is opening or closing.
*
OK
Remarks

All TCP/UDP sockets are unavailable after the connection is closed. You need to
reconnect them.

This command is supported by E8C33419 and later versions.
9.4 Setting Up TCP Connection: +TCPSETUP
Description
To set up a TCP link
Format
AT+TCPSETUP=[n],<ip>,<port>[,<recv_mode>]<CR>
Parameter
[n]: Link number, ranging from 0 to 5
The TE will allocate an idle ID to set up the link if you do not set the value of [n].
<ip>: Destination IP address, in xx.xx.xx.xx
<port>: Destination port ID in decimal ASCII code, ranging from 0 to 65535
<recv_mode>: Data receiving mode. The default value is 0.
0: Indicates that the data is output directly after the socket receives it.
1: Indicates that the data received is saved in the buffer and you can run +IPNETREAD to
read it when necessary.
Return
See the Example.
Copyright © Neoway Technology Co., Ltd
58
Neo_WM620 WCDMA Module AT Command Set
Value
Example
AT+TCPSETUP=0,10.92.189.131,5500
OK
The connection to 10.92.189.131,5500 is
successfully set up on socket 0.
+TCPSETUP:0,OK
+TCPRECV:0,10,1234567890
The received data is displayed directly.
AT+TCPSETUP=1,neowayjsr.oicp.net,60002
Set up a connection to neowayjsr.oicp.net
on socket 1.
OK
+TCPSETUP:1,OK
AT+TCPSETUP=0,58.60.184.213,10405,1
OK
Set up a connection to
58.60.184.213,10405 on socket 0.
+TCPSETUP:0,OK
+IPURCREAD:0
Socket 0 receives data.
AT+IPNETREAD=0,1024
Read data buffered in socket 0.
+IPREAD:0,10
1234567890
OK
AT+TCPSETUP=2,192.168.20.6,7000
OK
+TCPSETUP:2,FAIL
AT+TCPSETUP=66,192.168.20.6,7000
+TCPSETUP: ERROR
Failed to set up the connection to
192.168.20.6,7000 on socket 2. The
server is probably not started, the IP
address is incorrect, or the SIM card is
out of credit.
The format or the AT command is
incorrect or the socket number is
incorrect.
+TCPSETUP:ERROR
The format or the AT command is
incorrect or the port number is incorrect.
AT+TCPSETUP=1,58.60.184.213,10405,2
The AT command format is incorrect.
AT+TCPSETUP=0,113.87.11.200,65536
+TCPSETUP:ERROR
AT+TCPSETUP=,113.87.11.200,4983
OK
Set up a TCP connection without
specifying a socket number.
The TE selects socket 1.
+TCPSETUP:1,OK
Remarks

Use the AT+XIIC=1 command to set up a PPP connection before running this
command.

The TE has 6 sockets (TCP/UDP/Server).

Parameter <recv_mode> is supported by E9C33424 and later versions.
Copyright © Neoway Technology Co., Ltd
59
Neo_WM620 WCDMA Module AT Command Set

The buffer size is 10K for each socket when you set data receiving mode to manual
reading.
9.5 Sending TCP Data: +TCPSEND
Description
To send TCP data
The module will returns > after this command is sent. Send TCP data 50 ms to 100 ms
later.
Format
AT+TCPSEND=<n>,<length> <CR>
Parameter
<n>: Socket number, ranging from 0 to 5. A TCP connection is established on the socket.
<length>: The length of the data to be sent, ranging from 1 to 4096, unit: byte.
Return
Value
See the Example.
Example
AT+TCPSEND=0,1
>1
1-byte data is successfully sent through
socket 0.
OK
+TCPSEND:0,1
AT+TCPSEND=0,10
>665A4E0A597D554AFF01
OK
Hexadecimal ASCII data is successfully
sent through socket 0. Select HEX when
sending data.
+TCPSEND:0,10
AT+TCPSEND=0,1
+TCPSEND: SOCKET ID OPEN FAILED
AT+TCPSEND=0,4097
+TCPSEND: DATA LENGTH ERROR
AT+TCPSEND=0,10
>
1-byte data fails to be sent via socket 0
because the connection is not established.
4097-byte data fails to be sent via socket
0 because data length exceeds the limit.
10 seconds timed out. No data is input.
The module returns ERROR.
+TCPSEND:Error!TimeOut
AT+TCPSEND=0,1
+TCPSEND:ERROR
Remarks
No TCP connection is set up on socket 0,
but some connection of other type might
have been set up.

Ensure that the TCP connection has been set up before sending TCP data.

If the command format is incorrect, the module will also returns +TCPSEND:ERROR.
9.6 Receiving TCP Data: +TCPRECV
Description
To receive TCP data
Format
+TCPRECV:<n>,<length>,<data><CR>
Parameter
<n>: Socket number, ranging from 0 to 5
Copyright © Neoway Technology Co., Ltd
60
Neo_WM620 WCDMA Module AT Command Set
<length>: The length of the data received
<data>: The data received
Add 0x0d 0x0a to the end of the data. You can identify the end based on <length>.
Return
Value
See the Example.
Example
+TCPRECV: 0,10,1234567890
Remarks
N/A
10-byte data is successfully received on
socket 0. The data is 1234567890.
9.7 Closing TCP Connection: +TCPCLOSE
Description
To close a TCP connection
Format

AT+TCPCLOSE=<n> <CR>

AT+TCPCLOSE=?<CR>
Parameter
<n>: Socket number, ranging from 0 to 5
Return
Value
See the Example.
Example
AT+TCPCLOSE=1
OK
The TCP connection on socket 1 is closed
successfully.
+TCPCLOSE: 1,OK
AT+TCPCLOSE=?
+TCPCLOSE: (0-5)
Query the value range of socket numbers
that TCP link is closed.
OK
AT+TCPCLOSE=99
Socket number error
+TCPCLOSE: ERROR
+TCPCLOSE:0,Link Closed
Remarks
The TCP link is disconnected.
The query format is supported by E9C33424 and later versions.
9.8 Setting Up UDP Connection: +UDPSETUP
Description
To set up a UDP connection
Format
AT+UDPSETUP=[n],<ip>,<port>[,<recv_mode>]<CR>
Parameter
<n>: Socket number, ranging from 0 to 5
The TE will allocate an idle ID to set up the connection if you do not set the value of [n].
<ip>: Destination IP address, in xx.xx.xx.xx format
<port>: Destination port ID in decimal ASCII code
<recv_mode>: Data receiving mode. The default value is 0.
Copyright © Neoway Technology Co., Ltd
61
Neo_WM620 WCDMA Module AT Command Set
0: Indicates that the data is output directly after the link receives it.
1: Indicates that the data received is saved in the buffer and you can run +IPNETREAD to
read it when necessary.
Return
Value
Example

After you input correct AT command, the module will return OK immediately.

If the input command is not correct or the socket is occupied, the module will return
+UDPSETUP: ERROR.

If the AT command is input correctly (the module returns OK), the module returns
+UDPSETUP:<n>,OK after UDP connection is set up successfully. <n> indicates the
socket number.
AT+UDPSETUP=1,220.199.66.56,7000
OK
The connection to 220.199.66.560.7000 is
successfully set up on socket 1.
+UDPSETUP:1,OK
AT+UDPSETUP=0,58.60.184.213,10405,1
OK
Set up a connection to
58.60.184.213,10405 on socket 0.
+UDPSETUP:0,OK
+IPURCREAD:0
Socket 0 receives data.
AT+IPNETREAD=0,1024
Read data buffered in socket 0.
+IPREAD:0,10
1234567890
OK
AT+UDPSETUP=1,220.199.66.56,6000
Socket 1 is in use.
+UDPSETUP:ERROR
AT+UDPSETUP=55,192.168.20.6,6800
+UDPSETUP:ERROR
Remarks
The format or the AT command is
incorrect or the socket number is
incorrect.

Parameter <recv_mode> is supported by E9C33424 and later versions.

The buffer size is 10K for each socket when you set data receiving mode to manual
reading.
9.9 Sending UDP Data: +UDPSEND
Description
To send UDP data
The module will returns > after this command is sent. Send UDP data 50 ms to 100 ms
later.
Format
AT+UDPSEND=<n>,<length><CR>
Parameter
<n>: Socket number, ranging from 0 to 5. A UDP connection is established on the socket.
<length>: The length of the data to be sent, ranging from 1 to 1024, unit: byte.
Return

If the AT command is input in correct format, the module returns >.
Copyright © Neoway Technology Co., Ltd
62
Neo_WM620 WCDMA Module AT Command Set
Value
Example

If the command is input in incorrect format, the module returns ERROR.

If the link has not been set up, the module returns +UDPSEND:ERROR.

After entering the command, input the data to be sent until the module returns >.

If the UDP data is sent successfully, the module returns +UDPSEND:<n>,<length>.
<length> indicates the length of data already sent.
AT+UDPSEND=0,2
>12
OK
+UDPSEND:0,2
AT+UDPSEND=1,10
>
Send 2-byte data on socket 0. Then send
the characters to be sent 50 ms to 100 ms
after the module returns >.
The UDP data is sent successfully.
10 seconds timed out. No data is input.
The module returns ERROR.
+UDPSEND:Error!TimeOut
Remarks
Ensure that the UDP link has been set up before sending UDP data.
9.10 Receiving UDP Data: +UDPRECV
Description
To receive UDP data
Format
+UDPRECV:<n>,<length>,<data><CR>
Parameter
<n>: Socket number, ranging from 0 to 5
<length>: The length of the data received
<data>: The data received
Add 0x0d 0x0a to the end of the data. You can identify the end based on <length>.
Return
Value
N/A
Example
+UDPRECV: 0,10,1234567890
Remarks
N/A
10-byte data is successfully received on
socket 0. The data is 1234567890.
9.11 Closing UDP Connection: +UDPCLOSE
Description
To close the UDP connection
Format

AT+UDPCLOSE=<n><CR>

AT+UDPCLOSE=?<CR>
Parameter
<n>: Socket number, ranging from 0 to 5
Return
Value
If <n> is illegal, the module returns: +UDPCLOSE: ERROR.
Example
AT+UDPCLOSE=1
Otherwise, the module returns +UDPCLOSE:<n>,OK.
OK
Copyright © Neoway Technology Co., Ltd
The TCP connection on socket 1 is closed
successfully.
63
Neo_WM620 WCDMA Module AT Command Set
+UDPCLOSE:1,OK
AT+UDPCLOSE=?
+UDPCLOSE: (0-5)
Query the value range of socket numbers
that UDP link is closed.
OK
AT+UDPCLOSE=2
No UDP link is set up on socket 2.
+UDPCLOSE:ERROR
AT+UDPCLOSE=55
Socket number error
+UDPCLOSE: ERROR
Remarks
This querying format is supported by E9C33424 and later versions.
9.12 Querying TCP/UDP Connection Status: +IPSTATUS
Description
To query the TCP/UDP connection status
Format
AT+IPSTATUS=<n><CR>
Parameter
<n>: Socket number, ranging from 0 to 5
Return
Value
+IPSTATUS:<n>,< status>,<type>:
<n>: Socket number, ranging from 0 to 5
<status>: Connection status, value: CONNECT, DISCONNECT, or LISTENING
<type>: Connection type, TCP, UDP, SVR
Example
AT+IPSTATUS=0
+IPSTATUS:0,CONNECT,TCP
A TCP connection has been set up on
socket 0.
OK
AT+IPSTATUS=2
+IPSTATUS:2,DISCONNECT
Link 2 has been closed and no
connection has been set up on it.
OK
AT+IPSTATUS=1
+IPSTATUS:1,CONNECT,UDP
A UDP connection has been set up on
link 1.
OK
AT+IPSTATUS=2
+IPSTATUS:2,LISTENING,SVR
TCP service listening has been enabled
on socket 2.
OK
Remarks
N/A
Copyright © Neoway Technology Co., Ltd
64
Neo_WM620 WCDMA Module AT Command Set
9.13 Reading Buffered TCP/UDP Data: +IPNETREAD
Description
To read buffered data received through TCP/UDP link
Format
AT+IPNETREAD=<n>[,<len>]<CR>
Parameter
<n>: Socket number, ranging from 0 to 5
<len>: Length of data to be read, ranging from 1 to 1024.
Return
Value
+IPNETREAD:<n>,<len>
<n>: Socket number, ranging from 0 to 5
<len>: The length of data that are read actually, ranging from 0 to 1024
Example
OK
Link is set up on socket 0 and the
receiving mode is manual reading.
+TCPSETUP:0,OK
Socket 0 receives data.
+IPURCREAD:0
Read data received and buffered by
socket 0.
AT+TCPSETUP=0,58.60.184.213,10405,1
AT+IPNETREAD=0,1024
+IPNETREAD:0,10
1234567890
Read 10-byte data.
Data content
OK
+IPURCREAD:0
Socket 0 receives data.
AT+IPNETREAD=0,5
The socket receives a 10-byte data
packet, which is read twice (5-byte each
time).
+IPNETREAD:0,5
12345
OK
Read 5-byte data for the first time.
AT+IPNETREAD=0,5
+IPNETREAD:0,5
67890
OK
Read 5-byte data for the second time.
+IPURCREAD:0
Socket 0 receives data.
AT+IPNETREAD=0
The default length is 1024.
+IPNETREAD:0,10
Read 10-byte data.
1234567890
Data content
OK
AT+IPNETREAD=0,1024
No data in the buffer of socket 0.
+IPNETREAD:0,0
OK
AT+IPNETREAD=0,1025
ERROR
AT+IPNETREAD=1,10
ERROR
Copyright © Neoway Technology Co., Ltd
The command is incorrect because the
length is invalid.
The command is executed incorrectly.
The link is not set up or the receiving
mode is not manual reading.
65
Neo_WM620 WCDMA Module AT Command Set
AT+IPNETREAD=,10
ERROR
Remarks
Command is incorrect. Socket number
cannot be omitted.

This command is supported by E9C33424 and later versions.

This command is not supported by links that are set to automatic receiving mode.

This command is applicable to both TCP and UDP.

If the length is set greater than the actual data packet, this command reads data
according to the actual data packet size.

The buffer size is 10K for each socket.
9.14 Data Incoming Report: +IPURCREAD
Description
Unsolicited data incoming report
Format
<CR><LF>+IPURCREAD:<n><CR><LF>
Parameter
<n>: Socket number, ranging from 0 to 5
Return
Value
N/A
Example
AT+TCPSETUP=0,58.60.184.213,10405,1
OK
+TCPSETUP:0,OK
Set up a connection to
58.60.184.213,10405 on socket 0.
Unsolicited data incoming report
on socket 0.
+IPURCREAD:0
AT+UDPSETUP=1,58.60.184.213,10405,1
OK
Set up a connection to
58.60.184.213,10405 on socket 1.
+UDPSETUP:1,OK
+IPURCREAD:1
Unsolicited data incoming report
on socket 1.
AT+TCPLISTEN=6000,1
+TCPLISTEN:0,OK
Connect AcceptSocket=1,ClientAddr=10.65.164.98
+IPURCREAD:1
Set up TCP connection with the
remote on socket 1.
Unsolicited data incoming report
on socket 1.
+IPURCREAD:ERROR 0
The receiving buffer of link 0 is
full.
+IPURCREAD:ERROR 1
The receiving buffer of link 1 is
full.
Copyright © Neoway Technology Co., Ltd
66
Neo_WM620 WCDMA Module AT Command Set
+IPURCREAD:FATAL
Remarks
Abnormality during data receiving.

This report is supported by E9C33424 and later versions.

The buffer size is 10K for each socket.

+IPURCREAD:FATAL indicates abnormality occurred inside the module during buffer
allocating. The module will restart when this abnormality occurs.
9.15 Querying the Status of Data Sent by the TCP Socket:
+TCPACK
Description
To query the size of data successfully sent by the TCP server and the size of the data
successfully received
Format
AT+TCPACK=<n> <CR>
Parameter
<n>: Socket number, ranging from 0 to 5
Return
Value
+TCPACK:<n>,<data_sent>,<acked_recv>
< data_sent >: Data successfully sent through this socket
<acked_recv>: Data acknowledged by the receiver
+TCPACK:<n>,< DISCONNECT >
No connection is set up on this socket.
+TCPACK: <n>,NO TCP LINK
A UDP connection has been set up on this socket.
Example
AT+TCPACK=0
+ TCPACK:0,20,20
20-byte data has been transmitted through
socket 0 and the receiver acknowledged
20-byte data.
OK
AT+TCPACK=0
+ TCPACK:0,128,120
128-byte data has been transmitted
through socket 0 and the receiver
acknowledged 120-byte data.
OK
AT+TCPACK=1
No connection is set up on socket 1.
+ TCPACK:1,DISCONNECT
OK
AT+TCPACK=2
A UDP connection is set up on socket 2.
+TCPACK:2,NO TCP LINK
OK
Remarks
The values of <data_sent> and <acked_recv> are unsigned 64-bit integers in decimal
ASCII. The unit is byte.
Copyright © Neoway Technology Co., Ltd
67
Neo_WM620 WCDMA Module AT Command Set
9.16 Setting Local TCP Port: +TCPPORT
Description
To set the local TCP port
Format
AT+TCPPORT=<n>,<port> <CR>
Parameter
<n>: Socket ID on the client, ranging from 0 to 5
<port>: Port ID, ranging from 1024 to 65535
Return
Value
N/A
Example
AT+TCPPORT=0,5500
OK
Set the locate TCP port of
socket 0 to 5500.
AT+TCPPORT=1,1023
The port number is incorrect.
+CME ERROR: 3
AT+TCPPORT=1,1026
+TCPPORT:ERROR,USED
AT+TCPPORT=0,1066
+TCPPORT:ERROR,OPENED
Remarks
The port has been occupied
by other links and the link is
opened.
The link has been opened
and does not allow new port
number.

This command should have been executed before the AT+TCPSETUP command is
executed.

If you do not use this command, the local port ID will be allocated dynamically every
time the UDP link is set up.
9.17 Setting Local UDP Port: +UDPPORT
Description
To set the local UDP port
Format
AT+UDPPORT=<n>,<port><CR>
Parameter
<n>: Socket number, ranging from 0 to 5
<port>: Port ID, ranging from 1024 to 65535
Return
Value
N/A
Example
AT+UDPPORT=2,5500
OK
Set the locate UDP port of socket 2
to 5500.
AT+UDPPORT=1,1023
The port number is incorrect.
+CME ERROR: 3
AT+UDPPORT=1,1026
+UDPPORT:ERROR, USED
AT+UDPPORT=0,1026
+UDPPORT:ERROR, OPENED
Copyright © Neoway Technology Co., Ltd
The port has been occupied by
other links and the link is opened.
The link has been opened and does
not allow new port number.
68
Neo_WM620 WCDMA Module AT Command Set
Remarks

This command should have been executed before the AT+UDPSETUP command is
executed.

If you do not use this command, the local port ID will be allocated dynamically every
time the UDP link is set up.
9.18 Setting Socket Timeout Parameter: +SSTP
Description
To obtain the port ID of the socket on the module
Format
AT+GETPORT=<socket>
Parameter
<socket>: socket ID
Return
Value
+GETPORT:<n>,<typet> <port>
<n>: socket ID
<typet>: Connection type
<port>: Port ID
Example
AT+GETPORT=0
+GETPORT:0,TCP,42299
Return the port ID of socket
0.
OK
AT+GETPORT=2
+GETPORT:2,UDP,23353
Return the port ID of socket
2.
OK
AT+GETPORT=0
+GETPORT:0,NUL,0
No link has been set up
using socket 0.
OK
Remarks
N/A
Copyright © Neoway Technology Co., Ltd
69
Neo_WM620 WCDMA Module AT Command Set
10 DNS Command
10.1 Querying the IP Address: +DNS
Description
To query the IP address
Format
AT+DNS=<string> <CR>
Parameter
<string>: The website URL to be queried, in form of "www.xxxx.com" or www.xxxx.com
Return
Value
N/A
Example
AT+DNS= www.baidu.com
Query the IP address of www.baidu.com.
OK
+DNS: 61.135.169.105
The module returns the IP address:
61.135.169.105.
AT+DNS="www.baidu.com"
Query the IP address of "www.baidu.com".
OK
The module returns the IP address:
61.135.169.105.
+DNS:61.135.169.105
Remarks
The URL length should not exceed 35 bytes.
Copyright © Neoway Technology Co., Ltd
70
Neo_WM620 WCDMA Module AT Command Set
11 FTP AT Commands
11.1 Logging In to the FTP Server: +FTPLOGIN
Description
To log in to the FTP server
Format
AT+FTPLOGIN=<ip>,<port>,<user>,<pwd> <CR>
Parameter
<ip>: FTP server address
<port>: Port ID of the FTP server, 21
<user>: The user name to log in to the FTP server. The length of the user name cannot
exceed 100 bytes in ASCII code and the user name cannot contain comma (,).
<pwd>: The password for the user account to log in to the FTP server. The length of the
password cannot exceed 100 bytes in ASCII code and the password cannot contain comma
(,).
Return
Value
Example

+FTPLOGIN: Error: The format of the AT command is incorrect.

+FTPLOGIN:Have Logged In: The user has logged in to the FTP server.

+FTPLOGIN:AT Busy: Last FTP AT command has not been executed completely.

+FTPLOGIN:User logged in: The user logged in to the FTP server successfully.

+FTPLOGIN: 530 Not logged in: The user failed to log in to the FTP server because
the user account or password is incorrect.

FTPLOGIN:Error Connect Server Fail: The user failed to log in to the FTP server for
other reasons.
AT+FTPLOGIN=58.60.184.213,21,neowayft
p,neowayftp
OK
Use the user name neowayftp and
password neowayftp to log in to the
server 58.60.184.213 through port 21.
Log in to the server successfully.
+FTPLOGIN:User logged in
AT+FTPLOGIN=11.60.184.213,21,neowayft
p,neoway
The IP address of the FTP server is
incorrect.
OK
+FTPLOGIN:Error TimeOut
Fail to log in to the server.
AT+FTPLOGIN=58.60.184.213,23,neowayft
p,neowayftp
Log in to the FTP server.
OK
+FTPLOGIN:Error TimeOut
AT+FTPLOGIN=58.60.184.213,neowayftp,n
eowayftp
Fail to log in to the server because the
port is incorrect.
The AT command format is incorrect.
+FTPLOGIN:Error
AT+FTPLOGIN=58.60.184.213,21,neowayft
p,neoway
OK
Copyright © Neoway Technology Co., Ltd
71
Neo_WM620 WCDMA Module AT Command Set
+FTPLOGIN:530 Not logged in
Fail to log in to the server because the
user name or password is incorrect.
AT+FTPLOGIN=neowayjsr.oicp.net,21,neow
ay,neoway
Log in to the FTP server through its
domain name.
OK
+FTPLOGIN:User logged in
Remarks

You can read or write data on the FTP server only after you logged in to the FTP server.

You must execute AT+XIIC=1 before logging in to the FTP server.
11.2 Logging Out from the FTP Server: +FTPLOGOUT
Description
To log out from the FTP server
Format
AT+FTPLOGOUT<CR>
Parameter
N/A
Return
Value
See the Example.
Example
AT+FTPLOGOUT
Log out from the FTP server
+FTPLOGOUT:User logged out
OK
Remarks
N/A
11.3 Downloading Data from the FTP Server: +FTPGET
Description
To download data from the FTP server
Format
AT+FTPGET=<dir&filename>,<type>,<Content or Info> [,<offset>,<len>]<CR>
Parameter
<Dir&filename>: Path and name of the file to be read
(Note: The file directory under the FTP root directory)
<Type>: File transfer mode
1: ASCII
2: Binary
<Content or Info>: File content or file (or specified directory) information
1: Obtain the file content
2: Obtain the information of the file or the specified path
<offset>: The down load offset
<len>: The length of the download data
If the value is 0, it indicates the size of the download file minus the offset.
Copyright © Neoway Technology Co., Ltd
72
Neo_WM620 WCDMA Module AT Command Set
Return
Value
Example

+FTPGET: Error: The format of the AT command is incorrect

+FTPGET:Error Not Login: The user has not logged in to the FTP server.

+FTPGET:AT Busy: Last FTP AT command has not been executed completely.

+FTPGET: Error!TimeOut: Some failure is caused by download timeout (timeout
period is 30 seconds) and the module does not receive data from the FTP server within
30 seconds.

+FTPGET:<length>,<data>: <length> indicates the data length; <data> indicates the
data content.

+FTPGET:OK.total length is <n>: The module reads data successfully and the data
length is n.

+FTP:Server Data Link Disconnect: The link is disconnected. It will be connected
automatically when the module downloads or uploads data again.

+FTP:Server Control Link Disconnect: The control link is disconnected because you
do not use the link for long time or for other causes. The module returns this
message whenever the control link is disconnected. You need to connect to the FTP
server again by running the AT+FTPLOGIN command.
AT+FTPGET=,1,2
+FTPGET:446,drw-rw-rw-
1 user
drw-rw-rw-
1 user
group
-rw-rw-rw-
1 user
group
-rw-rw-rw-
1 user
group
group
0 Apr 14 15:55 .
0 Apr 14 15:55 ..
Obtain
information
in the root
directory.
1238528 Jan 14 10:36 1M.doc
10 Jan 15 15:01 test.txt
+FTPGET:OK.total length is 446
AT+FTPGET=test.txt,1,2
+FTPGET:65,-rw-rw-rwtest.txt
1 user
group
10 Jan 15 15:01
Obtain the
information
about
test.txt.
+FTPGET:OK.total length is 65
AT+FTPGET=t.txt,1,1,2,122
+FTPGET:120,111111111111111111231456798723123456789789456123
4564657897864545312365478946531654465654123645456465465789789
56431232154
Run the
command w
ith offset
and len
parameters.
+FTPGET:OK.total length is 120
+FTP:Server Data Link Disconnect
AT+FTPGET=t.txt,1,1,20
+FTPGET:102,231456798723123456789789456123456465789786454531
236547894653165446565412364545646546578978956431232154
Run the
command w
ith offset
parameter.
+FTPGET:OK.total length is 102
Copyright © Neoway Technology Co., Ltd
73
Neo_WM620 WCDMA Module AT Command Set
+FTP:Server Data Link Disconnect
Obtain the
information
in test.txt.
AT+FTPGET=test.txt,1,1
+FTPGET:10,123456780
+FTPGET:OK.total length is 10
+FTP:Server Data Link Disconnect
Remarks
N/A
11.4 Uploading Data from the FTP Server: +FTPPUT
Description
To upload data to the FTP server
Format
AT+FTPPUT=<filename>,<type>,<mode>,<size><CR>
Parameter
<filename>: The name of the file to be uploaded
<type>: File transfer mode
1: ASCII
2: Binary
<mode>: Operation mode
1: STOR mode. Create a file on the FTP server and write the data to the file. If the file
exists, the original file will be overwritten.
2: APPE mode. Create a file on the FTP server and write the data to the file. If the file
exists, the data is attached to the end of the file.
3: DELE mode. Delete a file.
<size>: Data length. The data length cannot exceed 1024.
Return
Value
Example

+FTPPUT: Error: The format of the AT command is incorrect.

+FTPPUT:Error Not Login: The user has not logged in to the FTP server.

+FTPPUT:AT Busy: Last FTP AT command has not been executed completely.

+FTPPUT:SIZE Error: The value of <length> is greater than 1024 or less than 1.

+FTPPUT:OK,<n>: The file is sent successfully and the file length is n.

+FTPPUT:Delete File OK: The file is deleted successfully.

+FTPPUT:Error!TimeOut: You did not input file content for too long time.
AT+FTPPUT=test.txt,1,1,10
>1234567890
+FTPPUT:OK,10
AT+FTPPUT=test.txt,1,2,10
>1234567890
+FTPPUT:OK,10
AT+FTPPUT=test.txt,1,3,0
Upload the text.txt file, which is 10 in
length. The transfer mode is ASCII mode
and the operation mode is STOR.
Upload the text.txt file, which is 10 in
length. The transfer mode is ASCII mode
and the operation mode is APPE.
Delete the test.txt file.
+FTPPUT:Delete File OK
Copyright © Neoway Technology Co., Ltd
74
Neo_WM620 WCDMA Module AT Command Set
Remarks
N/A
11.5 Querying FTP Link Status: +FTPSTATUS
Description
To query the FTP link status
Format
AT+FTPSTATUS<CR>
Parameter
No paremeter.
Return
Value
+FTPSTATUS:<status>,<ip>, <port>
<status>:
0: The FTP link has not been set up.
1: The FTP link has been set up.
<ip>: The IP address of the FTP server
<port>: The port of the FTP server
Example
Remarks
AT+FTPSTATUS
Query the FTP link status.
+FTPSTATUS:1,119.139.221.66,21
The FTP link has been set up. The IP address of
the server and the port are respectively
119.139.221.66 and 21.
AT+FTPSTATUS
Query the FTP link status.
+FTPSTATUS:0
The FTP link has not been set up.
N/A
Copyright © Neoway Technology Co., Ltd
75
Neo_WM620 WCDMA Module AT Command Set
12 TCP Server AT Commands
12.1 Obtaining the Local IP Address: +GETIP
Description
To query the local IP address
Format
AT+GETIP<CR>
Parameter
N/A
Return
Value
+LOCALIP:<ip_addr>
Example
AT+GETIP
Query the local IP address.
+LOCALIP: 119.139.220.13
OK
AT+GETIP
+CME ERROR: 3
Remarks
ERROR is returned because you query the
local IP address before PPP dialup.
N/A
12.2 Setting TCP Listening for the Server: +TCPLISTEN
Description
To set the TCP listening function of the server, supporting three client links
Format

AT+TCPLISTEN=<port>[,<recv_mode>]<CR>

AT+TCPLISTEN?<CR>

AT+TCPLISTEN=?<CR>
Parameter
<Port>: Port ID, ranging from 1 to 65535
<recv_mode>: Data receiving mode. The default value is 0.
0: Indicates that the data is output directly after the link receives it.
1: Indicates that the data received is saved in the buffer and you can run +IPNETREAD to
read it when necessary.
<Socket>: SOCKET ID
Return
Value
<CR><LF>+TCPLISTEN:<socket>,OK<CR><LF>
Example
AT+TCPLISTEN=6800
Listening port ID: 6800
+TCPLISTEN:0,OK
or
The listening function of the server is
started.
+TCPLISTEN:bind error
Failed to bind
AT+TCPLISTEN=6800
+CME ERROR: 3
Set server listening before setting up
PPP links.
AT+TCPLISTEN=6800
Transparent listening has been set.
Listening...
Copyright © Neoway Technology Co., Ltd
76
Neo_WM620 WCDMA Module AT Command Set
AT+TCPLISTEN=?
+TCPLISTEN: (1-65535),(0-1)
Query the value range of the listening
port.
OK
AT+TCPLISTEN?
+TCPLISTEN:listening status
AT+TCPLISTEN?
+TCPLISTEN:not listening
Query the listening status. Here the
server is in the listening status.
Query the listening status. Here the
server is not in the listening status.
Connect AcceptSocket=1,ClientAddr=119.123.77.133
Receive the connection request from the client. AcceptSocket indicates the socket ID on
the module, and 119.123.77.133 is the IP address of the client.
Remarks

This command is valid only after a PPP link is set up succesfully.

Only the SIM cards with fixed IP addresses can be used as servers.

Parameter <recv_mode> is supported by E9C33424 and later versions.

<recv_mode> specified in this command controls the data receiving mode of the
connection set up by Connect AcceptSocket.
12.3 Closing the Listening Link: +CLOSELISTEN
Description
To close the listening connection and the listened links with the client
Format
AT+CLOSELISTEN<CR>
Parameter
<Socket>: Socket number
Return
Value
<CR><LF>+CLOSECLIENT:<socket>,remote link closed<CR><LF>
Example
AT+CLOSELISTEN
Remarks
<CR><LF>+CLOSECLIENT:<socket>,local link closed<CR><LF>
+CLOSELISTEN:0,local link closed
Abnormalities might occur on the network.
+CLOSECLIENT:1,remote link closed
The local link will be closed if there is any link
to the client.
N/A
12.4 Closing Connections with the Client: +CLOSECLIENT
Description
To close all connections with the client
Format
AT+CLOSECLIENT[=<socket>]<CR>
Parameter
<Socket>: Socket ID
Copyright © Neoway Technology Co., Ltd
77
Neo_WM620 WCDMA Module AT Command Set
Return
Value
<CR><LF>+CLOSECLIENT:<socket>,remote link closed<CR><LF>
Example
AT+CLOSECLIENT
No parameter, closed multiple connections.
+CLOSECLIENT:1,remote link closed
+CLOSECLIENT:2,remote link closed
AT+CLOSECLIENT=1
With parameter: closed one connection.
+CLOSECLIENT:1,remote link closed
AT+CLOSECLIENT=1
No remote client on link 1.
ERROR
AT+CLOSECLIENT
All remote clients have been closed.
+CLOSECLIENT:All remote link closed
Remarks
N/A
12.5 Receiving Data from the Client: +TCPRECV(S)
Description
To receive data from the client
Format
+TCPRECV(S):<socket>,<length>,<data>
Parameter
N/A
Return
Value
See the Example.
Example
+TCPRECV(S):1,10,1234567899
Remarks
Additional (s) makes this command different from the receive mode of the client mode in
format.
Socket 1 receives data from the client.
12.6 Sending Data to the Client: +TCPSENDS
Description
To send data to the client
Format
AT+TCPSENDS=<socket>,<length>
Parameter
<socket>: The value of AcceptSocket, that is, the socket of the module. See the
description of the AT+TCPLISTEN command.
<length>: The length of the data to be sent, value ranges from 1 to 1024, unit: byte.
Return
Value
See the Example.
Example
AT+TCPSENDS=0,10
>1234567890
Copyright © Neoway Technology Co., Ltd
10-byte data is successfully sent through link
0.
78
Neo_WM620 WCDMA Module AT Command Set
OK
+TCPSENDS:0,10
AT+TCPSENDS=0,10
No link has been set up using socket 0.
+TCPSENDS:SOCKET ID NOT
ACTIVE
AT+TCPSENDS=0,10
+TCPSENDS:ERROR
AT+TCPSENDS=0,10
>
No TCP link is set up on link 0 through
listening, but some link of other type might
have been set up.
10 seconds timed out. No data is input. The
module returns ERROR.
+TCPSENDS:Error!TimeOut
AT+TCPSENDS=0,4000
The sending length is incorrect.
+TCPSENDS:DATA LENGTH ERROR
Remarks
Ensure that the TCP link has been set up before sending TCP data.
If the format is incorrect, the module returns +TCPSENDS:ERROR.
12.7 Querying the Link Status on the Client: +CLIENTSTATUS
Description
To query the status of the link with the client
Format
AT+CLIENTSTATUS=<socket>
Parameter
<socket>: The value of AcceptSocket, that is, the socket of the module. See the
description of the AT+TCPLISTEN command.
Return
Value
+CLIENTSTATUS:<socket>,<CONNECT or DISCONNECT>,<TCP or INVALID>,
<send-buffer-size>
<CONNECT or DISCONNECT>: Link status, value: CONNECT or DISCONNECT
<TCP or INVALID>: Link type, value: TCP or INVALID
<send-buffer-size>: The size of the available send buffer on the module, in decimal ASCII
mode, unit: byte
Example
+CLIENTSTATUS:0,CONNECT,TCP,61440
A TCP link has been set up with the
socket 0 client and the buffer size is
61440 bytes.
AT+CLIENTSTATUS=4
No link is set up on socket 4.
AT+CLIENTSTATUS=0
+CLIENTSTATUS:4,DISCONNECT
AT+CLIENTSTATUS=1
+CLIENTSTATUS:1,CONNECT,INVALID
Remarks
Socket 1 works for server listening. The
module returns INVALID for the link
type.

If the link type is INVALID, the link might be TCP/UDP client instead of a TCP link
listened.

You can use the +IPSTATUS to query the specific type.
Copyright © Neoway Technology Co., Ltd
79
Neo_WM620 WCDMA Module AT Command Set
13 HTTPS Command
13.1 Setting HTTPS Parameters: +HTTPSPARA
Description
To set HTTPS parameters
Format
AT+HTTPSPARA=<para>,<para_value><CR>
Parameter
<para>: HTTP parameters, supporting the following two parameters:
url: Destination path
port: Destination port ID
<para_value>: The value of <para>. The value of url contains at most 128 bytes and url
supports domain name translation. Slash (/) in the domain name is the ending flag.
Return
Value
See the Example.
Example
AT+HTTPSPARA=url,mybank.icbc.com.cn/icbc/perbank/index.jsp
OK
AT+HTTPSPARA=url,132.188.73.13/prodreg/beginRegistration.action
OK
Set
132.188.73.13
as the
destination path.
Set the
destination port
ID to 443.
AT+HTTPSPARA=port,443
OK
Remarks
Set the ICBC
login page as
the URL. The
URL supports
domain name
translation.

You need to set new HTTP parameters for new HTTPS requests.

After you run the +HTTPSCLOSE command, the link is closed and the HTTPS
parameters are cleared.

This command is supported by E9C33424 and later versions.
13.2 Setting up HTTPS Link: +HTTPSSETUP
Description
To set up an HTTP link
Format
AT+HTTPSSETUP<CR>
Parameter
NULL
Return
Value
See the Example.
Example
AT+HTTPSSETUP
Set up an HTTPS link
OK
Successful
HTTPS SETUP OK
Copyright © Neoway Technology Co., Ltd
80
Neo_WM620 WCDMA Module AT Command Set
AT+HTTPSSETUP
Set up an HTTPS link
OK
Failed to translate the domain name.
+DNS:FAILED
AT+HTTPSSETUP
Set up an HTTP link
OK
Failed because an HTTPS link has
been set up.
Https linking
AT+HTTPSSETUP
Set up an HTTP link
ERROR
Failed because PPP connection has
not been set up.
AT+HTTPSSETUP
Set up an HTTP link
OK
Failed. The port has not been set
before setting up an HTTPS link.
+HTTPSSETUP:FAIL
Remarks

The link is set up successfully only after you set the destination address and port ID
correctly.

Ensure PPP connection has been set up succesfully before an HTTPS link is set up.

This command is supported by E9C33424 and later versoins.
13.3 Executing HTTPS Request: +HTTPSACTION
Description
To execute an HTTPS request
Format
AT+HTTPSACTION=<mode>[,<length>]<CR>
Parameter
<mode>: HTTPS request mode, available value can be 0, 1, 2, 99
0: GET
1: HEAD
2: POST
99: OPEN_MODE, user-defined packet mode
<length>: The length of the POST content or user-defined packet length, maximum value
2048
This parameter must be set when you set <mode> to POST or OPEN_MODE.
Return
Value
See the Example.
Example
AT+HTTPSPARA=url,support.cdmatech.com/login/
Set the destination path.
OK
AT+HTTPSPARA=port,443
OK
Set the destination port
to 443.
AT+HTTPSSETUP
Set up an HTTPS link.
Copyright © Neoway Technology Co., Ltd
81
Neo_WM620 WCDMA Module AT Command Set
OK
HTTPS SETUP OK
GET request.
AT+HTTPSACTION=0
OK
+HTTPSRECV:
Receive the request
from the HTTPS server.
HTTP/1.1 200 OK
Server: QUALCOMM
X-Powered-By: Servlet/2.5 JSP/2.1
Content-Type: text/html; charset=ISO-8859-1
Date: Sat, 15 Feb 2014 05:58:54 GMT
Content-Length: 7630
Connection: close
Set-Cookie:
JSESSIONID=8V1dS1CpzlPcyNl2LzJZLQgDxWclpMJzP3FH
ZhVhpGb83GVM02sn!1955538012; path=/; HttpOnly
/*homepage content, html format*/
……..
+HTTPSCLOSE:Link Closed
The server responded
and then disconnected
the link.
AT+HTTPSPARA=url,support.cdmatech.com/login/
Set the destination path.
/*homepage content*/
OK
AT+HTTPSPARA=port,443
OK
Set the destination port
to 443.
AT+HTTPSSETUP
Set up an HTTPS link.
OK
HTTPS SETUP OK
AT+HTTPSACTION=1
HEAD request
OK
+HTTPSRECV:
HTTP/1.1 200 OK
The HTTPS server
responded.
Server: QUALCOMM
X-Powered-By: Servlet/2.5 JSP/2.1
Content-Type: text/html; charset=ISO-8859-1
Date: Sat, 15 Feb 2014 06:05:39 GMT
Content-Length: 0
Connection: close
Set-Cookie:
JSESSIONID=qyNVS1DSmnjS9cvh72yW1xz1jtjBBRj0yv0zT
mMy2LVyBG7HK02b!1955538012; path=/; HttpOnly
Copyright © Neoway Technology Co., Ltd
82
Neo_WM620 WCDMA Module AT Command Set
+HTTPSCLOSE:Link Closed
AT+HTTPSPARA=url,mybank.icbc.com.cn/icbc/perbank/index
.jsp
OPEN_MODE
Custom packet mode
OK
at+httpspara=port,443
OK
at+httpssetup
OK
HTTPS SETUP OK
AT+HTTPSACTION=99,500
>POST /icbc/perbank/index.jsp HTTP/1.1<CRLF> /*custom
header information*/
Connection: close<CRLF>
/*custom header information */
Host: mybank.icbc.com.cn<CRLF>
information */
Content-Length: 10<CRLF>
information */
/* custom header
/* custom header
Content-Type: application/x-www-form-urlencoded<CRLF>
/* custom header information */
<CRLF><CRLF>
/*Information to be sent */
……
+HTTPSRECV:
/*homepage content, html format*/
……..
/* homepage content */
+HTTPSCLOSE:Link Closed
Note that the length includes custom header information.
Remarks

You need to comply with the HTTP protocol when defining packets.

This command is supported by E9C33424 and later versions.
13.4 Closing HTTPS Link: +HTTPSCLOSE
Description
To close and HTTPS link
Format
AT+HTTPSCLOSE<CR>
Parameter
N/A
Return
Value
See the example.
Example
AT+HTTPSCLOSE
Close the HTTPS link.
OK
Copyright © Neoway Technology Co., Ltd
83
Neo_WM620 WCDMA Module AT Command Set
+HTTPSCLOSE:Link Closed
Remarks

After you run the +HTTPSCLOSE command, the HTTPS link is closed and the setting
of +HTTPPARA is cleared.

This command is supported by E9C33424 and later versions.
13.5 Receiving HTTPS Data: +HTTPSRECV
Description
To report the data received from the HTTPS link
Format
<CR><LF>+HTTPSRECV: <CR><LF><datas>
Parameter
<datas>: Data received through the HTTPS link
Return
Value
See the Example.
Example
+HTTPSRECV:
Report the data
received from
the HTTPS link.
HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 13842
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.5
Set-Cookie: ASP.NET_SessionId=pvlaai3fizxg44eyvyqsyenk; path=/;
HttpOnly
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
X-UA-Compatible: IE=EmulateIE7
Date: Thu, 28 Nov 2013 05:40:24 GMT
Connection: close
Remarks
This command is supported by E9C33424 and later versions.
13.6 HTTPS Closing: +HTTPSCLOSE
Description
Unsolicited report of the HTTPS link closing
Format
<CR><LF>+HTTPSCLOSE: Link Closed <CR><LF>
Parameter
N/A
Return
Value
See the Example.
Example
+HTTPSCLOSE: Link Closed
Remarks
This command is supported by E9C33424 and later versions.
Copyright © Neoway Technology Co., Ltd
Unsolicited report of the HTTP link closing
84
Neo_WM620 WCDMA Module AT Command Set
A Reference Process of AT Command Programming
A.1 Content of PDU SMS Messages
<PDU> SMS message sending format:
1>: 0891
08: indicates the length of the SMSC address information
91: indicates the format of the SMSC address
2>: Inversion of every two bits (add F if the bits are not sufficient) in SMSC number, fixed. For example,
China Unicom 8613010888500 should be 683108705505F0 here.
3>: 0100
01: Indicates basic parameters
00: indicates message baseline value
4>: Convert the receive
ng number into hexadecimal. For example, the number length is 11 bits and then the hexadecimal length should
be 0B.
5>: 81 (Receiving mode) there are multiple receiving modes. 81 indicates that the receiving mode is
unknown.
6>: Inversion of every two bits (add F if the bits are not sufficient) in the recipient number. For example,
13421839693 should be 3124819396F3 after conversion.
7>: 0008
8>: The hexadecimal length of the SMS message content. For example, the UCS2 code of hello is
00080A00680065006C006C006F, that is 10 bits and the hexadecimal length is 0A.
9>: Message content, for example, the USC2 code of hello is 00080A00680065006C006C006F.
One PDU message contains the above 9 parts and the parameter values are determined by the actual situation.
If the SMSC address length is 0, replace 08 with 00 and the SMSC type and address fields must be
omitted.
The following is an example of the PDU message whose SMSC address length is not 0:
0891683110808805F001000B813124819396F300080A00680065006C006C006F
Wherein,
0891
683108705505F0: SMSC number of China Unicom
0100
0B: the length of the recipient number
81: Receiving mode
3124819396F3: The number of recipient
0008
0A: The length of the content
Copyright © Neoway Technology Co., Ltd
85
Neo_WM620 WCDMA Module AT Command Set
00680065006C006C006F: SMS message content
Message content: hello
The SMS message content starts from 0100, so the value of LENGTH in AT+CMGS=LENGTH is 23.
The following is an example of the PDU message whose SMSC address length is 0:
0001000B813124819396F300080A00680065006C006C006F
Wherein,
00: SMSC address information length
0100
0B: the length of the recipient number
81: Receiving mode
3124819396F3: The number of recipient
0008
0A: The length of the content
00680065006C006C006F: SMS message content
SMS message content: hello
The SMS message content starts from 0100, so the value of LENGTH in AT+CMGS=LENGTH is 23.
Copyright © Neoway Technology Co., Ltd
86
Neo_WM620 WCDMA Module AT Command Set
A.2 Flowchart of Sending Text SMS Messages
Figure A-1 Flowchart of sending text format SMS messages
Set the text mode
AT+CMGF=1
OK
Configure the TE character set
AT+CSCS="GSM"
OK
Send an SMS message.
Press Enter to send the SMS
message. When the > symbol
is displayed, you can send the
message.
AT+CMGS="13430981508"
>
Enter Shenzhen Neoway
Technology and press
Ctrl+Z (character 0x1A) to
send the message.
Content of the message to be
sent.
Shenzhen Neoway Technology
Successful
Return value
+CMGS: 116
OK
End
Copyright © Neoway Technology Co., Ltd
87
Neo_WM620 WCDMA Module AT Command Set
A.3 Flowchart of Sending PDU SMS Messages
Figure A-2 Flowchart of Sending PDU SMS messages
Set the PDU mode.
AT+CMGF=0
OK
Configure TE character set.
AT+CSCS="UCS2"
OK
Send an SMS message.
The length of the SMS
message is 23 bytes in
PDU mode.
AT+CMGS=23<CR>
>
Content of the message to be
sent
Input message content,
which is encoded in PDU
mode and sent by pressing
Ctrl+Z (0X1A).
0891683110808805F001000B813124819396F3
00080A00680065006C006C006F
Successfully
Return value
+CMGS: 117
OK
End
Copyright © Neoway Technology Co., Ltd
88
Neo_WM620 WCDMA Module AT Command Set
A.4 Flowchart of AT Commands to Establish TCP Link
Figure A-3 Flowchart of using AT commands to establish TCP link
Copyright © Neoway Technology Co., Ltd
89
Neo_WM620 WCDMA Module AT Command Set
A.5 Flowchart of Receiving SMS Messages
Figure A-4 Flowchart of receiving SMS messages
Start the module
1. Power on the module.
2. +EIND: 128 indicates that the module is
ready
Startup code
ERROR
AT\r
3. Check whether AT commands are available.
OK
ERROR
AT+CCID\r
ICCID
No signal
4. Read the ICCID of the SIM card.
ERROR indicates that the SIM card cannot be
found.
Check whether the SIM card is inserted or the
card socket works properly.
5. Check the RSSI.
+CSQ: 99, 99 indicates no signal.
+CSQ: 21, 99 indicates that the RSSI is 21.
AT+CSQ\r
There is signal
Not registered
AT+CREG?\r
6. Check the network registration status.
The module returns +CREG: 0,1 or +CREG:
0,5, indicating that it has registered a network.
+CREG: 0,1
+CREG: 0,5
ERROR
AT+CMGF=1\r
OK
Return ERROR
AT+CSCS="GSM"\r
OK
Return ERROR
AT+CNMI=2,1,0,0,0\r
OK
7. Set the SMS mode.
Note:
AT+CMGF=1 indicates the text mode.
AT+CMGF=0 indicates the PDU mode.
8. Set the TE character set.
Note:
Select a format for the received content. For
details, see the command set.
In general, set it to GSM for text format and
UCS2 for PDU format.
9. Set the SMS message notice format.
Note:
AT+CNMI=2,1,0,0,0 indicates there is a
reminder for new messages and the messages
are stored rather than directly displayed.
AT+CNMI=2,2,0,0,0 indicates the messages
are displayed with the indication code rather
than stored.
Waiting for new messages
Copyright © Neoway Technology Co., Ltd
90
Neo_WM620 WCDMA Module AT Command Set
Waiting for new messages
ERROR
AT+CNMI=2,1,0,0,0\r
OK
Failed read messages
AT+CMGR=index\r
Read the message
successfully
End
Copyright © Neoway Technology Co., Ltd
10. Relevant functions have been configured.
Wait for SMS message reminder.
11. Check whether the end device receives any
return code of an SMS reminder.
Determine the SMS reminder format based on
the SMS indication format.
+CMTI:"MT",<index>
"MT" indicates the storing location.
<index> indicates the sequence number of the
SMS messages.
Note:
If the SMS message notice is set to
AT+CNMI=2,2,0,0,0, for example,
+CMT:"8615013473810",,"2012/09/15
15:20:32+32"Neoway Technology,
the message is directly displayed and you do not
have to run the next command.
12. Determine the value of <index> (SMS
message SN)based on the SMS indication code
and read the message of that SN. The message is
in the following format:
+CMGR:"REC
UNREAD0","8615013473810",,"2012/09/15
15:20:32+32"Neoway Technology
OK
Neoway Technology is the content of the
message received.
91
Neo_WM620 WCDMA Module AT Command Set
A.6 Flowchart of Sending SMS Messages
Figure A-5 Flowchart of sending SMS messages
Start the module
Startup code
ERROR
AT\r
Return OK
Return ERROR
AT+CCID\r
Return ICCID
No signal
AT+CSQ\r
Not register the
netwrok
1. Power on the module.
2. +EIND: 128 indicates that the module is
ready.
3. Check whether AT commands are
available.
4. Read the ICCID of the SIM card.
ERROR indicates that the SIM card cannot
be found.
Check whether the SIM card is inserted or
the card socket works properly.
5. Check the RSSI.
+CSQ: 99, 99 indicates no signal.
+CSQ: 21, 99 indicates that the RSSI is 21.
There is signal
AT+CREG?\r
6. Check the network status.
The module returns +CREG: 0,1 or
+CREG: 0,5, indicating that it has registered
a network.
Register the netwrok
Return ERROR
AT+CMGF=1\r
Return OK
Return ERROR
AT+CSCS="GSM"\r
Return OK
7. Set the SMS mode.
Note:
AT+CMGF=1 indicates the text mode.
AT+CMGF=0 indicates the PDU mode.
8. Set the TE character set.
Note:
Select a format for the sent content. For
details, see the command set.
In general, set it to GSM for text format and
UCS2 for PDU format.
Send a text message
AT+CMGS="number"\r
9. Send the SMS message.
Note:
If you want to send PDU SMS messages,
send AT+CMGS=Length.
Length indicates the length of the SMS
message. For details, see A.1.
Not return >
Check whether > is returned
Return >
Fail to send
Neoway Technology<Ctrl+z>
Successful
End
Copyright © Neoway Technology Co., Ltd
10. Send data only after the module returns
>.
11. Send data (end with 0x1A)
+CMGS: 117 (not a fixed value)
OK
Indicates that the data is sent successfully.
Note:
On the hyper terminal or UART tool, press
Ctrl+Z to enter the end symbol 0x1A.
92
Neo_WM620 WCDMA Module AT Command Set
A.7 Common AT Commands for SMS TX/RX
Function
Format
Example
Description
Set text mode
AT+CMGF=1
AT+CMGF=1
AT commands to be set when
sending SMS messages in
text mode
OK
To set the TE
character set
AT+CSCS="GSM"
Set PDU mode
AT+CMGF=0
AT+CSCS="GSM"
OK
AT+CMGF=0
OK
Display TE in
hexadecimal
AT+CSCS="UCS2"
Send SMS
messages.
AT+CMGS="Number
"
AT+CSCS="UCS2"
OK
AT+CMGS"13430981508"
>Shenzhen
+CMGS: 232
OK
Notice mode of
new messages
AT commands to be set when
sending SMS messages in
PDU mode
AT+CNMI=2,1,0,0,0
AT+CNMI=2,1,0,0,0
(Received SMS message and
message SN)
Enter the
AT+CMGS"13430981508"
command and press Enter
(\r).
When > is displayed, enter
the message content
(Shenzhen) and press Ctrl+Z
(character 0x1A) to sent the
message.
The CNNI can be set to
2,2,0,0,0.
+CMTI: "SM", 1
Read SMS
messages
AT+CMGR=1
AT+CMGR=1
+CMGR:"REC UNREAD",
"13430981508",,"
2012/09/08 16:30:08+32"
Shenzhen Neoway
Technology
OK
Read all SMS
messages
Delete SMS
messages
AT+CMGL="ALL"
AT+CMGL ="ALL"

If AT+CMGF=0, the
command to read all SMS
messages is AT+CMGL
=4.

The unread SMS messages
change to read messages
after all messages are listed.
List all messages
AT+CMGD=n
Copyright © Neoway Technology Co., Ltd
AT+CMGD=1
OK
Delete SMS messages based
on the sequence number.
93
Neo_WM620 WCDMA Module AT Command Set
Delete all
messages.
AT+CMGD=0,4
Query the number
of SMS messages
AT+CPMS?
AT+CMGD=0,4
OK
Delete SMS messages as
required. For details, see the
AT commands.
+CPMS:
1: Indicates the number of the
messages.
"SM", 1, 50, "SM", 1, 50,
"MT", 1, 50
50: indicates the number of
messages that can be stored.
AT+CPMS?
OK
Copyright © Neoway Technology Co., Ltd
94
Neo_WM620 WCDMA Module AT Command Set
A.8 Flowchart of AT Commands To Log In to the FTP Server
Figure A-6 Flowchart of AT commands to log in to the FTP server
Start the module
1. Power on the module.
Startup code
2. ...
+EIND: 1 indicates that the module
is ready.
AT\r
3. Check whether AT commands are
available.
ERROR
OK
ERROR
AT+CCID\r
4. Read the ICCID of the SIM card.
If the module returns ERROR, check
whether the SIM card is inserted or
the card socket works properly.
CCID
No signal
AT+CSQ\r
There is signal
Not registered
AT+CREG?\r
Registered the network
5. Query the signal quallity.
6. Query the network registration
status.
If the module returns +CREG: 0,1 or
+CREG: 0,5, the SIM card registers
the network successfully.
ERROR
AT+CGDCONT=1, "IP", "CMNET" \r
7. CMNET is the APN of China
Mobile. APN varies with carriers.
OK
ERROR
AT+XIIC=1\r
Failed to obtain the
IP address
OK
AT+XIIC?\r
Valid IP
8. Set up a PPP link.
9. Return value:
+XIIC: 1,10.232.165.29 indicates
the module sets up a PPP link
successfully.
The module IP is 10.232.165.29.
+XIIC: 0,0.0.0.0 indicates the PPP
link is not set up.
The PPP link is
set up
successfully
Copyright © Neoway Technology Co., Ltd
95
Neo_WM620 WCDMA Module AT Command Set
The PPP link is
set up
successfully
Failed to log in
AT+FTPLOGIN=<ip>,<port
>,<user>,<pwd>
10. Return value:
 +FTPLOGIN:Have Logged In: You
have logged in to the FTP server.
 +FTPLOGIN:User logged in: You
log in to the FTP server successfully.
 If you failed to log in to the FTP
server, check whether the parameters
are set correctly.
Logged in
AT+FTPSTATUS\r
Download data
from the server
11. Query the FTP status. (Optional)
The IP and port of the FTP server will be
returned:
+FTPSTATUS:1,119.139.221.66,21
Upload data to the
server
AT+FTPGET=<dir&filename>
,<type>,<Content or Info>
AT+FTPPUT=<filename>,<typ
e>,<mode>,<size>
AT+FTPLOGOUT\r
12. Upload or download data.
13. Exit from the FTP server
End
Copyright © Neoway Technology Co., Ltd
96
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