Neoway Neo WM620 At Command Manual

Neoway Neo WM620 At Command Manual

Wcdma module
Table of Contents

Advertisement

Quick Links

Neo_WM620 WCDMA Module
AT Command Set
Version 2.1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Neo WM620 and is the answer not in the manual?

Questions and answers

Summary of Contents for Neoway Neo WM620

  • Page 1 Neo_WM620 WCDMA Module AT Command Set Version 2.1...
  • Page 2 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...
  • Page 3 +TCPSETUP, +UDPSETUP, and +TCPLISTEN. V2.1 2014-08-19 Modified the Example and Remarks of the following commands:  +CFUN and +ENPWRSAVE. Added the following commands: +IPNETREAD, +ERAT, +IFC,  +ECHO, unsolicited report command +IPURCREAD, ATI, +GMR, Copyright © Neoway Technology Co., Ltd...
  • Page 4 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...
  • Page 5: Table Of Contents

    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...
  • Page 6 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...
  • Page 7 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...
  • Page 8: Boot Log Instruction

    Blinking twice (100 ms ON / 100 ms OFF / 100 ms ON / 2700 ms OFF) Service mode (voice, data) Blinking (125 ms ON / 125 ms OFF) Remarks To make the indicator blink as described above, execute the AT+SIGNAL=1 command. Copyright © Neoway Technology Co., Ltd...
  • Page 9: General Commands

    Parameter Return <CR><LF><model><CR><LF> Value <CR><LF>OK<CR><LF> <CR><LF>+CME ERROR:<err><CR><LF> Example AT+CGMM Query the product model. +CGMM: WM620 Remarks 1.3 Querying the Version: +CGMR Description To query the software version Format AT+CGMR<CR> Parameter Return <CR><LF><version><CR><LF> Value <CR><LF>OK<CR><LF> Copyright © Neoway Technology Co., Ltd...
  • Page 10: Querying Device Manufacturer Information: Ati

    To obtain the software version of the module Format AT+GMR<CR> Parameter <CR><LF><revision> <CR><LF>OK<CR><LF> Return <revision>: Software version of the module Value Example AT+GMR Query the software version V425 Remarks The standard module supports this command since E9C33425. Copyright © Neoway Technology Co., Ltd...
  • Page 11: Querying Imei: +Cgsn

    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 Copyright © Neoway Technology Co., Ltd...
  • Page 12 <CR><LF>+CCID: <ICCID><CR><LF> Value <CR><LF>OK<CR><LF> <CR><LF>ERROR<CR><LF> Example AT+CCID <CR> Read command +CCID: 89860002190810001367 AT+CCID <CR> Read command The SIM card is not inserted. ERROR Remarks The ICCID number is a character string of 20 digits. Copyright © Neoway Technology Co., Ltd...
  • Page 13: Mobile Device Control And Status Report

    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...
  • Page 14: Setting Module Functionality: +Cfun

    Query the valid parameter value range. +CREG: (0-2) Remarks 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...
  • Page 15: Setting The Signal Indicator Mode: +Signal

     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...
  • Page 16: Enabling Or Disabling The Sleep Mode: +Enpwrsave

    0: Enable the sleep mode. 1: Disable the sleep mode Return See the Example. Value Example AT+ENPWRSAVE=1 Disable the sleep mode. AT+ENPWRSAVE=? Query the valid parameter value range. +ENPWRSAVE: (0-1) AT+ENPWRSAVE? Query current sleep mode status. +ENPWRSAVE: 1 Copyright © Neoway Technology Co., Ltd...
  • Page 17: Clock: +Cclk

    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 See the Example. Value Copyright © Neoway Technology Co., Ltd...
  • Page 18: Entering The Pin Codes: +Cpin

    SIM PIN2: Enter PIN2 code. SIM PUK2: Enter PUK2 code. Example AT+CPIN? Query the PIN code status of the module. +CPIN: READY AT+CPIN? +CPIN: SIM PIN PIN code is required. AT+CPIN="1234" Enter correct PIN code. Copyright © Neoway Technology Co., Ltd...
  • Page 19: Enabling Pin And Querying Mt And Network Device: +Clck

    "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...
  • Page 20 Query if PIN code is required. +CPIN: SIM PIN AT+CPIN="1234" Enter PIN code. +EUSIM:1 Unlock AT+CLCK="SC",0,"1234" Disable the SIM card lock. +EIND:128 Restart the module. +EUSIM:1 AT+CPIN? Query if the PIN code is required. +CPIN: READY Copyright © Neoway Technology Co., Ltd...
  • Page 21: Modifying The Password Of The Pin: +Cpwd

    +CPWD: ("SC",8),("P2",8),("AO",4),("OI",4), ("OX",4),("AI",4),("IR",4),("AB",4), ("AG",4),("AC",4) AT+CLCK="SC",1,"1234" Enable the SIM card lock. AT+CPWD="SC","1234","4321" Modify the PIN code. +EIND:128 Restart the module. AT+CPIN? Query if PIN code is required. +CPIN: SIM PIN PIN code is required. Copyright © Neoway Technology Co., Ltd...
  • Page 22: Extended Error Report: +Ceer

    The detailed report causes are defined in GSM 04.08. Example Query after ending a call which is initiated by the module. SPEECH OFF RELEASE AT+CEER +CEER: Client ended call AT+CEER Query before dialing a number. +CEER: No cause information available Remarks Copyright © Neoway Technology Co., Ltd...
  • Page 23: Setting Error Information: +Cmee

    +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...
  • Page 24: Setting The Network Model: +Pref

    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...
  • Page 25: Querying The Network Standards

    <prefer rat>: 0: no preference 1: GSM preferred (when rat mode=2) 2: WCDMA preferred (when rat mode=2) Return <CR><LF>+ERAT: <current rat>,<GPRS status>,<rat mode>,<prefer rat><CR><LF> Value <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...
  • Page 26 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...
  • Page 27: Network Service Commands

    Refer to the value of RXQUAL in the table of GSM 05.08 8.2.4. Unknown or not detectable Example AT+CSQ Query the current RSSI. +CSQ: 24,99 AT+CSQ=? Query the value range of the RSSI. +CSQ: (0-31,99),(0-7,99) Remarks Copyright © Neoway Technology Co., Ltd...
  • Page 28: Selecting And Registering A Gsm Network: +Cops

    Set to digital mode AT+COPS? +COPS: 0,0, " CHINA MOBILE ",0" China Mobile AT+COPS? If it is set to digital mode, get the number 46000 +COPS: 0,2,"46000",0 AT+COPS? +COPS: 0,0," CHN-UNICOM ",2 China Unicom Copyright © Neoway Technology Co., Ltd...
  • Page 29 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...
  • Page 30: Calling Control Commands

    The setting is valid during a call Format  AT+CMUT=<n> <CR>  AT+CMUT? <CR>  AT+CMUT=?<CR> Parameter <n>: 0: Mute off 1: Mute on Return See the Example. Value Example AT+CMUT=0 Mute off AT+CMUT? Query current mute setting. +CMUT: 0 Copyright © Neoway Technology Co., Ltd...
  • Page 31: Dialing Command: Atd

    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...
  • Page 32 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...
  • Page 33: Call Answering: Ata

    <CR><LF> SPEECH OFF <CR><LF> Value <CR><LF> RELEASE <CR><LF> <CR><LF> OK <CR><LF> Example End all call connections. SPEECH OFF RELEASE Remarks 4.6 Sending DTMF Tone: +VTS Description To send the DTMF tone Only for voice services in GSM Copyright © Neoway Technology Co., Ltd...
  • Page 34: Auto-Answer: Ats0

    See the Example. Value Example ATS0=1 Set the auto-answer for one ring. RING A call in incoming. SPEECH ON It is answered automatically after one ring. ATS0? Query the status of the auto-answer function. Remarks Copyright © Neoway Technology Co., Ltd...
  • Page 35: Handfree Switch: +Handfree

    Value <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...
  • Page 36: Mic Volume Control: +Micl

    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 See the Example. Value Example AT+MICL=3 Set the level of the MIC volume to 3. Copyright © Neoway Technology Co., Ltd...
  • Page 37: Echo Control: +Echo

    <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 Disable the echo cancellation function. AT+ECHO=8 The command is incorrect. The value set is beyond the parameter value ERROR range. AT+ECHO? Query the current settings. +ECHO: 0 Copyright © Neoway Technology Co., Ltd...
  • Page 38 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...
  • Page 39: Sms Commands

     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...
  • Page 40: Setting Sms Inputting Mode: +Cmgf

    Select SIM as the SMS storage AT+CPMS="SM","SM","SM" memory. +CPMS: 18,50,18,50,18,50 Remarks 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...
  • Page 41: Setting The Te Character Set: +Cscs

    0xFFFF). UCS2 encoding is used only in some character string of the statement. Return Value Example AT+CSCS="IRA" Set TE character set to IRA. AT+CSCS? Query current character set. +CSCS: "IRA" AT+CSCS=? Query the value range of the character set. +CSCS: ("IRA","GSM", "UCS2") Copyright © Neoway Technology Co., Ltd...
  • Page 42: Setting The New Message Sms Indications Mode: +Cnmi

    <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...
  • Page 43: Reading Sms Messages: +Cmgr

    <index>: location value <index> from preferred message storage <mem1> to the TE Return if text mode (+CMGF=1), command successful and SMS-DELIVER: Value +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...
  • Page 44 6D689150EADF1B2BC5E579AD575E5B5582D5EABD56 24C36A3D56C375C0E1693CD6835DB0D9783A15C91D2 E06BDAA558AC1F60C52B937CADCD2B747AA9021BD EC627E8E9441BD42655DEF446 AT+CMGF=0 Set PDU mode. AT+CSCS="UCS2" +CMTI: "SM",39 A messages is incoming. AT+CMGR=39 Read the message. +CMGR: 0,,23 0891683110501905F0240BA18177377949F500004130623 12503230468341A0D AT+CMGF=1 Set text mode. AT+CSCS="GSM" +CMTI: "SM",40 A message is incoming. Copyright © Neoway Technology Co., Ltd...
  • Page 45: Sms Message List: +Cmgl

    (+CMGF=1),command successful and SMS-SUBMITs and/or Value 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...
  • Page 46 E1C79FB52A863D0919260A8003A4E2D536B75286237003 100350037003100390035003500360039003300377ED960A8 6765753500326B21002C6700540E4E006B21572800320039 002F00300039002000320030003A00340038002C60A853EF 6309901A8BDD952E621690099879952E76F463A556DE62 +CMGL: 14,"STO SENT","66045",,050003010401E27778592EA7E7EBE9373C 3C279BCF68F59AADC78FED62779BA596D7EBAEB5B91 EBD16A5D46C35F98406A744E311A95C32594DA75688B5 0EADACA6D689150EADF1B2BC5E579AD575E5B5582D5 EABD5624C36A3D56C375C0E1693CD6835DB0D9783A15 C91D2E06BDAA558AC1F60C52B937CADCD2B747AA90 21BDEC627E8E9441BD42655DEF446 AT+CMGL=? Query the SMS read options. +CMGL: ("REC UNREAD", "REC READ", "STO UNSENT", "STO SENT", "ALL") Query the SMS read Copyright © Neoway Technology Co., Ltd...
  • Page 47: Sending Sms Messages: +Cmgs

    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...
  • Page 48: Writing Sms Messages: +Cmgw

    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...
  • Page 49: Sending Stored Sms Messages: +Cmss

    <da>: the destination number of the SMS messages Return if text mode (+CMGF=1) and sending successful: Value +CMSS: <mr>[,<scts>] if PDU mode (+CMGF=0) and sending successful: +CMSS: <mr>[,<ackpdu>] Example AT+CMSS=2 Send the SMS messages stored in memory 2. +CMSS: <mr> Copyright © Neoway Technology Co., Ltd...
  • Page 50: Deleting Sms Messages: +Cmgd

    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 See the Example. Value Copyright © Neoway Technology Co., Ltd...
  • Page 51: Setting The Parameters Of The Text Mode: +Csmp

    <dcs>: Encoding plan for integer-type cell broadcast data (default value: 0) Return See the Example. Value Example AT+CSMP=17,167,0,0 Set text mode parameters. AT+CSMP? Query the current settings of the text mode. +CSMP: 17, 167, 0, 0 Remarks Copyright © Neoway Technology Co., Ltd...
  • Page 52: Displaying The Parameters Of The Text Mode: +Csdh

    AT+CMGR=14 +CMGR: "REC READ","+8613430981504",,"09/07/17, 14:49:00+50",145,4,0,8,"+8613800755500",145,12 7B5675655FAE5C0F65F65019 Query the current parameter AT+CSDH? setting of the command. +CSDH: 1 AT+CSDH=? Query the value range of current parameter in the command. +CSDH: (0-1) Remarks Copyright © Neoway Technology Co., Ltd...
  • Page 53: Phonebook Commands

    Query the value range of phonebook storage. +CPBS: ("SM", "DC", "FD", "MC", "ME", "RC", "EN", "ON") Remarks 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...
  • Page 54: Querying The Phonebook: +Cpbf

    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 +CPBF: <index1>,<number>,<type>,<text> Value <index>: Integer type values in the range of location numbers of phonebook memory Copyright © Neoway Technology Co., Ltd...
  • Page 55: Writing Information To The Phonebook: +Cpbw

    Query the value ranges of the parameters in this command. +CPBW: (1-250), 18, (129,145), 14 AT+CPBR=1 Read the contact information of index +CPBR: 1, "091137880", 129, "Comneon" Delete contact record of index 1. AT+CPBW=1 Copyright © Neoway Technology Co., Ltd...
  • Page 56 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...
  • Page 57: Supplementary Service Commands

    <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 when <mode>=2 and command successful: Value +CCFC: <status>,<class1>[,<number>,<type>[,<subaddr>,<satype>[,<time>]]][ Copyright © Neoway Technology Co., Ltd...
  • Page 58: Call Waiting: +Ccwa

    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...
  • Page 59: Call Holding And Multi-Party Conversation: +Chld

    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...
  • Page 60 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...
  • Page 61: Gprs/3G Commands

    <pd1>, … <pdN>: zero to N string parameters whose meanings are specific to the <PDP_type> Return See the Example. Value Example AT+CGDCONT=1,"IP", "CMNET" Set PDP format. AT+CGDCONT? Query current PDP format. +CGDCONT: 1,"IP","internet","",0,0 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...
  • Page 62 Neo_WM620 WCDMA Module AT Command Set Remarks Copyright © Neoway Technology Co., Ltd...
  • Page 63: Tcp/Udp Data Service

    For CID2, CHAP is set. $QCPDPP: 3,0 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...
  • Page 64: Setting Up A Ppp Link: +Xiic

    The PPP connection is activated and the local IP address is 10.90.208.163. +XIIC:1,10.90.208.163 AT+XIIC=0 Deactivate the PPP connection. +PPPSTATUS:CLOSED AT+XIIC? The PPP connection is deactivated and the local IP address is blank. +XIIC:0,0.0.0.0 Remarks Copyright © Neoway Technology Co., Ltd...
  • Page 65: Querying The Ppp Connection Status: +Pppstatus

    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...
  • Page 66 +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...
  • Page 67: Sending Tcp Data: +Tcpsend

     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...
  • Page 68: Closing Tcp Connection: +Tcpclose

    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...
  • Page 69: Sending Udp Data: +Udpsend

    <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...
  • Page 70: Receiving Udp Data: +Udprecv

    <n>: Socket number, ranging from 0 to 5 Return If <n> is illegal, the module returns: +UDPCLOSE: ERROR. Value Otherwise, the module returns +UDPCLOSE:<n>,OK. Example AT+UDPCLOSE=1 The TCP connection on socket 1 is closed successfully. Copyright © Neoway Technology Co., Ltd...
  • Page 71: Querying Tcp/Udp Connection Status: +Ipstatus

    Link 2 has been closed and no connection has been set up on it. +IPSTATUS:2,DISCONNECT AT+IPSTATUS=1 A UDP connection has been set up on link 1. +IPSTATUS:1,CONNECT,UDP AT+IPSTATUS=2 TCP service listening has been enabled on socket 2. +IPSTATUS:2,LISTENING,SVR Remarks Copyright © Neoway Technology Co., Ltd...
  • Page 72: Reading Buffered Tcp/Udp Data: +Ipnetread

    No data in the buffer of socket 0. +IPNETREAD:0,0 AT+IPNETREAD=0,1025 The command is incorrect because the length is invalid. ERROR AT+IPNETREAD=1,10 The command is executed incorrectly. The link is not set up or the receiving ERROR mode is not manual reading. Copyright © Neoway Technology Co., Ltd...
  • Page 73: Data Incoming Report: +Ipurcread

    1. Connect AcceptSocket=1,ClientAddr=10.65.164.98 Unsolicited data incoming report on socket 1. +IPURCREAD: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...
  • Page 74: Querying The Status Of Data Sent By The Tcp Socket: +Tcpack

    No connection is set up on socket 1. + TCPACK:1,DISCONNECT AT+TCPACK=2 A UDP connection is set up on socket 2. +TCPACK:2,NO TCP LINK 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...
  • Page 75: Setting Local Tcp Port: +Tcpport

    +CME ERROR: 3 AT+UDPPORT=1,1026 The port has been occupied by other links and the link is opened. +UDPPORT:ERROR, USED AT+UDPPORT=0,1026 The link has been opened and does not allow new port number. +UDPPORT:ERROR, OPENED Copyright © Neoway Technology Co., Ltd...
  • Page 76: Setting Socket Timeout Parameter: +Sstp

    <typet>: Connection type <port>: Port ID Example AT+GETPORT=0 Return the port ID of socket +GETPORT:0,TCP,42299 Return the port ID of socket AT+GETPORT=2 +GETPORT:2,UDP,23353 AT+GETPORT=0 No link has been set up using socket 0. +GETPORT:0,NUL,0 Remarks Copyright © Neoway Technology Co., Ltd...
  • Page 77: Dns Command

    Query the IP address of www.baidu.com. +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". 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...
  • Page 78: Ftp At Commands

    Fail to log in to the server. AT+FTPLOGIN=58.60.184.213,23,neowayft Log in to the FTP server. p,neowayftp Fail to log in to the server because the +FTPLOGIN:Error TimeOut port is incorrect. AT+FTPLOGIN=58.60.184.213,neowayftp,n The AT command format is incorrect. eowayftp +FTPLOGIN:Error AT+FTPLOGIN=58.60.184.213,21,neowayft p,neoway Copyright © Neoway Technology Co., Ltd...
  • Page 79: Logging Out From The Ftp Server: +Ftplogout

    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...
  • Page 80 Run the command w +FTPGET:120,111111111111111111231456798723123456789789456123 ith offset 4564657897864545312365478946531654465654123645456465465789789 and len 56431232154 parameters. +FTPGET:OK.total length is 120 +FTP:Server Data Link Disconnect AT+FTPGET=t.txt,1,1,20 Run the command w +FTPGET:102,231456798723123456789789456123456465789786454531 ith offset 236547894653165446565412364545646546578978956431232154 parameter. +FTPGET:OK.total length is 102 Copyright © Neoway Technology Co., Ltd...
  • Page 81: Uploading Data From The Ftp Server: +Ftpput

    STOR. +FTPPUT:OK,10 AT+FTPPUT=test.txt,1,2,10 Upload the text.txt file, which is 10 in length. The transfer mode is ASCII mode >1234567890 and the operation mode is APPE. +FTPPUT:OK,10 AT+FTPPUT=test.txt,1,3,0 Delete the test.txt file. +FTPPUT:Delete File OK Copyright © Neoway Technology Co., Ltd...
  • Page 82: Querying Ftp Link Status: +Ftpstatus

    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. Remarks Copyright © Neoway Technology Co., Ltd...
  • Page 83: Tcp Server At Commands

    Listening port ID: 6800 +TCPLISTEN:0,OK The listening function of the server is started. Failed to bind +TCPLISTEN:bind error AT+TCPLISTEN=6800 Set server listening before setting up PPP links. +CME ERROR: 3 AT+TCPLISTEN=6800 Transparent listening has been set. Listening... Copyright © Neoway Technology Co., Ltd...
  • Page 84: Closing The Listening Link: +Closelisten

    The local link will be closed if there is any link to the client. Remarks 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...
  • Page 85: Receiving Data From The Client: +Tcprecv(S)

    AT+TCPLISTEN command. <length>: The length of the data to be sent, value ranges from 1 to 1024, unit: byte. Return See the Example. Value Example AT+TCPSENDS=0,10 10-byte data is successfully sent through link >1234567890 Copyright © Neoway Technology Co., Ltd...
  • Page 86: Querying The Link Status On The Client: +Clientstatus

    INVALID for the link +CLIENTSTATUS:1,CONNECT,INVALID type. Remarks  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...
  • Page 87: Https Command

    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 See the Example. Value Example AT+HTTPSSETUP Set up an HTTPS link Successful HTTPS SETUP OK Copyright © Neoway Technology Co., Ltd...
  • Page 88: Executing Https Request: +Httpsaction

    This parameter must be set when you set <mode> to POST or OPEN_MODE. Return See the Example. Value Example AT+HTTPSPARA=url,support.cdmatech.com/login/ Set the destination path. AT+HTTPSPARA=port,443 Set the destination port to 443. Set up an HTTPS link. AT+HTTPSSETUP Copyright © Neoway Technology Co., Ltd...
  • Page 89 HEAD request AT+HTTPSACTION=1 The HTTPS server +HTTPSRECV: responded. 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 06:05:39 GMT Content-Length: 0 Connection: close Set-Cookie: JSESSIONID=qyNVS1DSmnjS9cvh72yW1xz1jtjBBRj0yv0zT mMy2LVyBG7HK02b!1955538012; path=/; HttpOnly Copyright © Neoway Technology Co., Ltd...
  • Page 90: Closing Https Link: +Httpsclose

    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 Return See the example. Value Example AT+HTTPSCLOSE Close the HTTPS link. Copyright © Neoway Technology Co., Ltd...
  • Page 91: Receiving Https Data: +Httpsrecv

    Unsolicited report of the HTTPS link closing Format <CR><LF>+HTTPSCLOSE: Link Closed <CR><LF> Parameter Return See the Example. Value Example +HTTPSCLOSE: Link Closed Unsolicited report of the HTTP link closing Remarks This command is supported by E9C33424 and later versions. Copyright © Neoway Technology Co., Ltd...
  • Page 92: A Reference Process Of At Command Programming

    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...
  • Page 93 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...
  • Page 94: Flowchart Of Sending Text Sms Messages

    AT+CMGS="13430981508" > Content of the message to be sent. Enter Shenzhen Neoway Technology and press Shenzhen Neoway Technology Ctrl+Z (character 0x1A) to send the message. Successful Return value +CMGS: 116 Copyright © Neoway Technology Co., Ltd...
  • Page 95: Flowchart Of Sending Pdu Sms Messages

    23 bytes in PDU mode. AT+CMGS=23<CR> > Content of the message to be sent Input message content, which is encoded in PDU 0891683110808805F001000B813124819396F3 mode and sent by pressing 00080A00680065006C006C006F Ctrl+Z (0X1A). Successfully Return value +CMGS: 117 Copyright © Neoway Technology Co., Ltd...
  • Page 96: Flowchart Of At Commands To Establish Tcp Link

    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...
  • Page 97: Flowchart Of Receiving Sms Messages

    AT+CNMI=2,1,0,0,0 indicates there is a reminder for new messages and the messages AT+CNMI=2,1,0,0,0\r 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...
  • Page 98 SN)based on the SMS indication code and read the message of that SN. The message is AT+CMGR=index\r in the following format: +CMGR:"REC Read the message UNREAD0","8615013473810",,"2012/09/15 successfully 15:20:32+32"Neoway Technology Neoway Technology is the content of the message received. Copyright © Neoway Technology Co., Ltd...
  • Page 99: Flowchart Of Sending Sms Messages

    Fail to send +CMGS: 117 (not a fixed value) Neoway Technology<Ctrl+z> Indicates that the data is sent successfully. Note: Successful On the hyper terminal or UART tool, press Ctrl+Z to enter the end symbol 0x1A. Copyright © Neoway Technology Co., Ltd...
  • Page 100: Common At Commands For Sms Tx/Rx

    SMS List all messages messages is AT+CMGL  The unread SMS messages change to read messages after all messages are listed. Delete SMS AT+CMGD=n AT+CMGD=1 Delete SMS messages based messages on the sequence number. Copyright © Neoway Technology Co., Ltd...
  • Page 101 Query the number AT+CPMS? AT+CPMS? 1: Indicates the number of the of SMS messages messages. +CPMS: 50: indicates the number of "SM", 1, 50, "SM", 1, 50, messages that can be stored. "MT", 1, 50 Copyright © Neoway Technology Co., Ltd...
  • Page 102: Flowchart Of At Commands To Log In To The Ftp Server

    IP address the module sets up a PPP link AT+XIIC?\r successfully. The module IP is 10.232.165.29. Valid IP +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...
  • Page 103 The IP and port of the FTP server will be AT+FTPSTATUS\r returned: +FTPSTATUS:1,119.139.221.66,21 Download data Upload data to the from the server server AT+FTPGET=<dir&filename> AT+FTPPUT=<filename>,<typ 12. Upload or download data. ,<type>,<Content or Info> e>,<mode>,<size> AT+FTPLOGOUT\r 13. Exit from the FTP server Copyright © Neoway Technology Co., Ltd...

Table of Contents