background image

 

WM620 AT 

Command  Manual 

 

Copyright © Neoway Technology Co., Ltd 

 

Copyright © Neoway Technology Co., Ltd 2018. 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 Neoway Technology Co., Ltd. 
 

  is the trademark of 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 WM620. 
This document is intended for system engineers (SEs), development engineers, and test engineers. 
 
THIS  GUIDE  PROVIDES  INSTRUCTIONS  FOR  CUSTOMERS  TO  DESIGN  THEIR  APPLICATIONS. 
PLEASE FOLLOW THE RULES AND PARAMETERS IN THIS GUIDE TO DESIGN AND COMMISSION. 
NEOWAY WILL NOT TAKE ANY RESPONSIBILITY OF BODILY HURT OR ASSET LOSS CAUSED BY 
IMPROPER OPERATIONS. 
 
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. 
 
Neoway  provides  customers  complete  technical  support.  If  you  have  any  question,  please  contact  your 
account manager or email to the following email addresses: 
[email protected] 
[email protected] 

Website: 

http://www.neoway.com

 

 

Содержание WM620 Series

Страница 1: ...WM620 AT Command Manual Issue 2 7 Date 2018 07 03 Neoway Product Document...

Страница 2: ...INSTRUCTIONS FOR CUSTOMERS TO DESIGN THEIR APPLICATIONS PLEASE FOLLOW THE RULES AND PARAMETERS IN THIS GUIDE TO DESIGN AND COMMISSION NEOWAY WILL NOT TAKE ANY RESPONSIBILITY OF BODILY HURT OR ASSET LO...

Страница 3: ...10 2 3 GPRS Network Registration CGREG 11 2 4 Setting GPRS Attach and Detach CGATT 13 2 5 Setting Module Functionality CFUN 14 2 6 Setting the Signal Indicator Mode SIGNAL 15 2 7 Enabling or Disabling...

Страница 4: ...MGS 60 5 9 Writing SMS Messages CMGW 61 5 10 Sending Stored SMS Messages CMSS 62 5 11 Deleting SMS Messages CMGD 63 5 12 Setting the SMSC Number CSCA 64 5 13 Setting the Parameters of Text Mode CSMP 6...

Страница 5: ...OUT 103 13 3 Downloading Data from the FTP Server FTPGET 104 13 4 Uploading Data from the FTP Server FTPPUT 106 13 5 Querying FTP Connection Status FTPSTATUS 107 14 TCP Server AT Commands 108 14 1 Obt...

Страница 6: ...TPS Connection HTTPSSETUP 130 18 3 Executing HTTPS Request HTTPSACTION 131 18 4 Closing HTTPS Connection HTTPSCLOSE 133 18 5 Receiving HTTPS Data HTTPSRECV 134 18 6 HTTPS Closing HTTPSCLOSE 134 A Refe...

Страница 7: ...commands Modified the example of DNS Deleted the SIGNAL command Added remarks for ENPWRSAVE Modified TCP server commands 1 4 2013 12 Added examples and remarks for the TCPSEND TCPSENDS and CLOSECLIEN...

Страница 8: ...CFUN and ENPWRSAVE Added the following commands IPNETREAD ERAT IFC ECHO unsolicited report command IPURCREAD ATI GMR CGSN HTTPS commands and PDP authentication command QCPDPP Added AT CPAS format and...

Страница 9: ...dified the remarks of TCPKEEPALIVE 2 6 2015 11 Added PING Added CIPGSMLOC 2 7 2018 07 Added UPDATETIME and CUSD commands Conventions Symbol Indication This warning symbol means danger You are in a sit...

Страница 10: ...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 EU...

Страница 11: ...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 m...

Страница 12: ...rameter N A Return Value CR LF manufacturer CR LF CR LF OK CR LF Example AT CGMI CGMI Neoway Corp Ltd OK Query the manufacturer information Remarks N A 1 2 Querying the Module Model CGMM Description T...

Страница 13: ...err CR LF Example AT CGMR CGMR E8C31107 OK Query the software version of the module Remarks N A 1 4 Querying Device Manufacturer Information ATI Description To obtain the manufacturer information inc...

Страница 14: ...e 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 V425 OK Query the software version Remarks...

Страница 15: ...dentification IMSI Format AT CIMI CR Parameter N A Return Value CR LF IMSI CR LF CR LF OK CR LF or CR LF ERROR CR LF Example AT CIMI 460022201575463 OK Obtain the IMSI number AT CIMI ERROR Query the I...

Страница 16: ...IM card is not inserted Remarks The ICCID number is a character string of 20 digits 1 9 Enabling Disabling the Terminal Display ATE Description To specify whether to enable the terminal display Format...

Страница 17: ...SOFT RESET OK CR LF Return Value N A Example AT SRST SOFT RESET OK Restart the module Remarks N A 1 11 Powering Off PWRD Description To power off the module Format AT PWRD CR Parameter CR LF PWR OFF O...

Страница 18: ...AT GETADC GETADC 1901 13 OK Get the temperature and the voltage and the ADC port Remarks Refer to Neoway temperature sensing scheme This command is supported on E9C33426 and later versions 1 13 Queryi...

Страница 19: ...perature exceeds the lower threshold 40 OVH The temperature exceeds the higher threshold 85 Example AT MYADCTEMP 0 MYADCTEMP 30 701 OK Get the temperature and voltage at the ADC port AT MYADCTEMP 1 MY...

Страница 20: ...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...

Страница 21: ...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 informati...

Страница 22: ...network registration unsolicited result code CGREG stat 2 Enable network registration and location information unsolicited result code CGREG stat lac ci Act stat GPRS registration status integer type...

Страница 23: ...ode Set GPRS attachment The module returns unsolicited result code The module returns OK after attaching GPRS successfully The module returns unsolicited result code AT CGREG CGREG 0 1 OK Query the cu...

Страница 24: ...ameter state 0 1 0 indicates detach 1 indicates attach Return Value See the Example Example AT CGATT 1 OK GPRS attach is set successfully AT CGATT 0 OK GPRS detach is set successfully AT CGATT 0 PPPST...

Страница 25: ...ule 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 AT CFUN CR AT CFUN CR Parameter fun 0 Turn off the radi...

Страница 26: ...ol 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...

Страница 27: ...t 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 OK Disable the sleep mode AT ENPWRS...

Страница 28: ...ime 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 i...

Страница 29: ...R 115200 OK Query the current baudrate Remarks The default baudrate is 115200 2 10 Entering the PIN Codes CPIN Description To query the PIN status and enter the PIN codes Format AT CPIN pin newpin CR...

Страница 30: ...for three times PUK code is required to unlock the USIM card Enter the PUK code and new PIN code The USIM card is unlocked Remarks N A 2 11 Enabling PIN and Querying MT and Network Device CLCK Descrip...

Страница 31: ...k 2 Query the status status 0 not active 1 active passwd Password or code string type class 1 Voice service 2 Data service 4 Fax service 8 SMS 16 Synchronous data service 32 Asynchronous data service...

Страница 32: ...uery if PIN code is required Enter PIN code Unlock AT CLCK SC 0 1234 OK EIND 128 EUSIM 1 AT CPIN CPIN READY OK Disable the SIM card lock Restart the module Query if the PIN code is required Remarks N...

Страница 33: ...code string type Return Value CR LF CPWD list of supported fac pwdlength s CR LF CR LF CME ERROR err CR LF Example AT CPWD CPWD SC 8 P2 8 AO 4 OI 4 OX 4 AI 4 IR 4 AB 4 AG 4 AC 4 OK Query the service...

Страница 34: ...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...

Страница 35: ...umeric err value 2 Enable the CME ERROR err result code and use verbose err values Return Value See the Example Example AT CMEE 1 OK AT CSQ 1 CME ERROR 3 Enable the result code in digit format AT CMEE...

Страница 36: ...ow control 0 None Receive data flow control disabled 2 Hardware Use CTS Clear To Send signal default Return Value See the Example AT IFC 2 2 OK Enable the hardware flow control AT IFC 0 0 OK Disable t...

Страница 37: ...CDMA AT PREF PREF 4 13 14 OK Query the valid parameter value range AT PREF PREF WCDMA OK Query current network model Remarks The default status setting is AUTO The parameter setting of this command ca...

Страница 38: ...F current rat 0 GSM 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 OK Set the network standard to AUTO AT ERAT ERAT 0 2 0 2 OK Query the valid...

Страница 39: ...WM620 AT Command Manual Copyright Neoway Technology Co Ltd 28 This command is applicable to E9C33424 and later versions...

Страница 40: ...el 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...

Страница 41: ...arameter 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 defaul...

Страница 42: ...is set to digital mode then get the number 46001 AT COPS COPS 2 CHN UNICOM UNICOM 46001 2 1 CHN UNICOM UNICOM 46001 0 3 CHIN A MOBILE CMCC 46000 0 0 1 2 3 4 0 1 2 OK Query available networks Remarks W...

Страница 43: ...LINK NOT FREE CR LF OK CR LF CR LF CIPGSMLOC result_string CR LF CIPGSMLOC OK CR LF result_string character string containing latitude and longitude CR LF OK CR LF CR LF CIPGSMLOC code CR LF CIPGSMLO...

Страница 44: ...C CIPGSMLOC LINK FAIL Fail to link to the server AT CIPGSMLOC OK CIPGSMLOC 404 CIPGSMLOC FAIL The location request is executed successfully The request BS is not included Fail to calculate the locatio...

Страница 45: ...ter mode 0 Query mode Query when the time was updated to the network time last time 1 Setting mode Synchronize the time to the network time serv_ip The IP address of the time server in form of xx xx x...

Страница 46: ...t DST Time is updated successfully AT UPDATETIME 1 128 138 141 172 10 OK UPDATETIME Send Request Fail Time update request sending fails The reason probably is bad network connection or inability to su...

Страница 47: ...L CR Parameter level Integers ranging from 0 to 6 Return Value See the Example Example AT CLVL 3 OK Set the volume of the module speaker to 3 AT CLVL CLVL 3 OK Query the current volume level of the mo...

Страница 48: ...of mute settings Remarks This command is valid only during a call ERROR will be returned in any other situations 4 3 Selecting Audio Channel SPEAKER Description To select an audio channel earphone I O...

Страница 49: ...llowed range Remarks The default value is 0 4 4 Dialing Command ATD Description To initialize a data fax or voice connection For a voice connection the dialing string consists of numbers and modifiers...

Страница 50: ...e during the call SPEECH OFF RELEASE NO CARRIER 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...

Страница 51: ...e calls and not required for data or fax calls Data and fax call ATD dial string Voice call ATD dial string 4 5 Call Answering ATA Description To answer the call and establish a call connection The re...

Страница 52: ...iption To hang up all call connections 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 SPEECH OFF RELEASE OK End all call connections Rem...

Страница 53: ...uery the setting of the caller ID AT CLIP CLIP 0 1 OK Query the value range of callee ID function Remarks The callee ID function is enabled by default 4 8 Sending DTMF Tone VTS Description To send the...

Страница 54: ...uto 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 OK RING SPEECH ON Set th...

Страница 55: ...the handfree mode AT HANDFREE HANDFREE 0 OK The current mode is earphone mode Remarks Earphone mode by default 4 11 Starting the DTMF Detection DTMFDETECT Description To start the DTMF detection duri...

Страница 56: ...ETECT 1 DTMF DETECT START OK DTMF KEY Rec 1 DTMF KEY Rec 3 DTMF KEY Rec 0 DTMF KEY Rec 9 AT DTMFDETECT 0 DTMF DETECT STOP OK ATH SPEECH OFF RELEASE OK Detect DTMF signals Remarks N A 4 12 MIC Volume C...

Страница 57: ...saved after the module is powered off 4 13 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 Paramete...

Страница 58: ...gh the audio match technology of the DSP chipset Obtain the echo delay parameter value by commissioning in real application This command is applicable to E9C33426 and later versions 4 14 Sending USSD...

Страница 59: ...0325F6 94FE18D3A5361000A0033665A95F465B095FB000 A003480A1796867E58BE2000A003586816BD2000 A003675377F5153CB5F008F665E26597953BB65 C56E38000A00378BDD8D3967E58BE2000A00387 FFB9875 72 The operator support...

Страница 60: ...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 Sup...

Страница 61: ...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 mem 3 used3 total3 CR LF CR LF OK CR LF OR CR LF CPMS list...

Страница 62: ...putting 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 default 1 Text mode Return Value See the Example Example AT CMGF 1 OK...

Страница 63: ...ring 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 OK Set TE character...

Страница 64: ...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...

Страница 65: ...sses 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...

Страница 66: ...pages CR LF data Stat REC UNREAD Received but unread REC READ Received and read STO UNSENT Stored but unsent STO SENT Stored and sent if PDU mode CMGF 0 and command successful CMGR stat alpha length...

Страница 67: ...46 OK AT CMGF 0 OK AT CSCS UCS2 OK CMTI SM 39 AT CMGR 39 CMGR 0 23 0891683110501905F0240BA18177377949F500004130 62312503230468341A0D OK Set PDU mode A messages is incoming Read the message AT CMGF 1 O...

Страница 68: ...S messages ALL All SMS messages When you set AT CMGF 0 0 Unread SMS messages received 1 Read SMS messages received 2 Stored unsent SMS messages 3 Stored sent SMS messages 4 All SMS messages Return Val...

Страница 69: ...ived but unread 1 Received and read 2 Stored but unsent 3 Stored and sent alpha digits in alpha format length number of octets in specified TP data excluding the octets in the service center address p...

Страница 70: ...4DA75688B50EADACA6D689150EADF1B2BC5E5 79AD575E5B5582D5EABD5624C36A3D56C375C0E1 693CD6835DB0D9783A15C91D2E06BDAA558AC1F6 0C52B937CADCD2B747AA9021BDEC627E8E9441B D42655DEF446 OK AT CMGL CMGL REC UNREAD...

Страница 71: ...marks 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 success...

Страница 72: ...505F001000B815118784271F2000814 6DF157335E025B9D5B89533A59276D6A80545EFA Ctrl Z CMGS 119 OK Send message in PDU mode Remarks If you use UART debugging tool to send a PDU SMS message enter r after the...

Страница 73: ...This is the text Ctrl Z CMGW 15 OK Send messge in text mode After writing the SMS content press Ctrl Z to sent the SMS AT CMGW 31 CR 0891683108705505F001000B813124248536F3000 81200400026002A535A53D15...

Страница 74: ...es stored in memory 2 Remarks 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 nu...

Страница 75: ...international number add in front of the number automatically Return Value See the Example Example AT CSCA 8613800755500 145 OK Set an SMSC number AT CSCA CSCA 8613800755500 145 OK Query the SMSC num...

Страница 76: ...ger 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 OK Set text mode parameters AT CS...

Страница 77: ...the header information not to display AT CSDH 1 OK AT CMGR 14 CMGR REC READ 8613430981504 09 07 17 14 49 00 50 145 4 0 8 8613800755500 145 12 7B5675655FAE5C0F65F65019 OK Set the detailed header inform...

Страница 78: ...N 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 tot...

Страница 79: ...cation 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...

Страница 80: ...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 number String type phone number of format t...

Страница 81: ...Set CSCS UCS2 and IRA are supported Return Value See the Example Example AT CPBW 1 091137880 129 0043006F0 06D006E0065006F006E OK Write a new contact at index 1 in the phonebook when character string...

Страница 82: ...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...

Страница 83: ...time Example AT CCFC 0 2 CCFC 0 255 OK Query unconditional call forwarding when call forwarding is not set AT CCFC 0 3 15688346754 CME ERROR network rejected request The SIM card does not support call...

Страница 84: ...CR Parameter n sets shows the result code presentation status to the TE 0 disable 1 enable mode Specify whether to enable call waiting 0 disable 1 enable Return Value N A Example AT CCWA 1 1 OK Set c...

Страница 85: ...er waiting or held call 1x Releases the specific active call X 2 Places all active calls on hold and accepts the other held or waiting call 2x Places all active calls except call X on hold 3 Adds a he...

Страница 86: ...pplementary 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 multipa...

Страница 87: ...he 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 t...

Страница 88: ...al Copyright Neoway Technology Co Ltd 77 AT CGDCONT CGDCONT 1 IP internet 0 0 OK Query current PDP format AT CGDCONT CGDCONT 1 16 IP 0 2 0 3 CGDCONT 1 16 PPP 0 2 0 3 OK Query the value range of the PD...

Страница 89: ...ry 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 OK Set the authentication to NONE...

Страница 90: ...ers 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 us...

Страница 91: ...deactivated and the local IP address is blank Remarks N A 9 3 Querying the PPP Connection Status PPPSTATUS Description To query the PPP connection status Format AT PPPSTATUS Parameter N A Return Valu...

Страница 92: ...rval CR AT TCPKEEPALIVE AT TCPKEEPALIVE Parameter mode Enable Disable 0 Disable default 1 Enable time Interval for which the TCP is idle before the module sends the KEEPALIVE packet to the remote serv...

Страница 93: ...for time ranges from 120 to 300 and for interval from 40 to 100 Set the parameters based on your network work environment If time is set to a great value the terminal might set up a connection that do...

Страница 94: ...a 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 Value See the Example Example AT...

Страница 95: ...command format is incorrect AT TCPSETUP 113 87 11 200 4983 OK TCPSETUP 1 OK Set up a TCP connection without specifying a socket number The TE selects socket 1 Remarks Use the AT XIIC 1 command to set...

Страница 96: ...e sent via socket 0 because data length exceeds the limit AT TCPSEND 0 10 TCPSEND Error TimeOut 10 seconds timed out No data is input The module returns ERROR AT TCPSEND 0 1 TCPSEND ERROR No TCP conne...

Страница 97: ...CPCLOSE 1 OK TCPCLOSE 1 OK The TCP connection on socket 1 is closed successfully AT TCPCLOSE TCPCLOSE 0 5 OK Query the value range of socket numbers that TCP connection is closed AT TCPCLOSE 99 TCPCLO...

Страница 98: ...dule returns OK the module returns UDPSETUP n OK after UDP connection is set up successfully n indicates the socket number Example AT UDPSETUP 1 220 199 66 56 7000 OK UDPSETUP 1 OK The connection to 2...

Страница 99: ...odule 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...

Страница 100: ...PCLOSE 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 Otherwise the module returns UDPCLOSE n OK Example AT UDPCLOSE 1...

Страница 101: ...OK A TCP connection has been set up on socket 0 AT IPSTATUS 2 IPSTATUS 2 DISCONNECT OK Socket 2 has been closed and no connection has been set up on it AT IPSTATUS 1 IPSTATUS 1 CONNECT UDP OK A UDP c...

Страница 102: ...IPNETREAD 0 5 67890 OK Socket 0 receives data The socket receives a 10 byte data packet which is read twice 5 byte each time Read 5 byte data for the first time Read 5 byte data for the second time IP...

Страница 103: ...on 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 IPURCREAD...

Страница 104: ...ocket 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...

Страница 105: ...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 CME ERROR 3 The...

Страница 106: ...by other sockets and the socket is opened AT UDPPORT 0 1026 UDPPORT ERROR OPENED The socket has been opened and does not allow new port number Remarks This command should have been executed before th...

Страница 107: ...way Technology Co Ltd 96 OK AT GETPORT 2 GETPORT 2 UDP 23353 OK Return the port ID of socket 2 AT GETPORT 0 GETPORT 0 NUL 0 OK No connection has been set up using socket 0 Remarks This command is supp...

Страница 108: ...ALIVE CR Parameter mode Enable Disable 0 Disable default 1 Enable Return Value CR LF OK CR LF or CR LF PKEEPALIVE mode CR LF CR LF OK CR LF or CR LF PKEEPALIVE list of supported mode CR LF CR LF OK CR...

Страница 109: ...cription To set the interval at which the PPP heartbeat should be sent Format AT IPTIMER time CR AT IPTIMER CR AT IPTIMER CR Parameter time heartbeat sending period Return Value CR LF OK CR LF or CR L...

Страница 110: ...te URL to be queried in form of www xxxx com or www xxxx com Return Value N A Example AT DNS www baidu com OK DNS 61 135 169 105 Query the IP address of www baidu com The module returns the IP address...

Страница 111: ...s TTL 51 Reply from 112 80 248 74 bytes 32 time 1ms TTL 51 Ping statistics for 112 80 248 74 Packets Sent 4 Received 4 Lose 0 0 loss PING www baidu com Send 4 request packets continuously 32 bytes Rec...

Страница 112: ...t Request timed out Ping statistics for 192 168 2 61 Packets Sent 4 Received 0 Lose 4 100 loss Send 4 request packets continuously 32 bytes Time out No response packet is received AT PING 192 168 2 ER...

Страница 113: ...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 l...

Страница 114: ...n Fail to log in to the server because the user name or password is incorrect AT FTPLOGIN neowayjsr oicp net 21 n eoway neoway OK FTPLOGIN User logged in Log in to the FTP server through its domain na...

Страница 115: ...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 se...

Страница 116: ...11111111111111111123145679872312345678978 94561234564657897864545312365478946531654465654123645 45646546578978956431232154 FTPGET OK total length is 120 FTP Server Data Link Disconnect Run the command...

Страница 117: ...lue 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 FTPPU...

Страница 118: ...he FTP connection has not been set up 1 The FTP connection has been set up ip The IP address of the FTP server port The port of the FTP server Example AT FTPSTATUS FTPSTATUS 1 119 139 221 66 21 Query...

Страница 119: ...ss before PPP dialup Remarks N A 14 2 Setting TCP Listening for the Server TCPLISTEN Description To set the TCP listening function of the server supporting three client connections Format AT TCPLISTEN...

Страница 120: ...ver 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...

Страница 121: ...losing Client Socket CLOSECLIENT Description To close all socket connecting to the client Format AT CLOSECLIENT socket CR Parameter N A Return Value CR LF CLOSECLIENT socket remote link closed CR LF E...

Страница 122: ...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...

Страница 123: ...CP or INVALID send buffer size CONNECT or DISCONNECT Socket status value CONNECT or DISCONNECT TCP or INVALID Connection type TCP or INVALID send buffer size The size of the available sending buffer o...

Страница 124: ...d in the buffer and you can run IPNETREAD to read it when necessary Return Value CR LF UDPLISTEN socket OK CR LF Example AT UDPLISTEN 6000 UDPLISTEN 0 OK or UDPLISTEN bind error Listening port ID 6000...

Страница 125: ...et and the listened sockets on the client Format AT CLOSEUDPLISTEN CR Parameter N A Return Value CR LF CLOSEUDPCLIENT socket remote link closed CR LF CR LF CLOSEUDPCLIENT socket local link closed CR L...

Страница 126: ...ns This command is applicable to E9C33426 and later versions 15 4 Receiving Data from the Client UDPRECV S Description To receive data from the client Format UDPRECV S socket length data Parameter N A...

Страница 127: ...ta is input The module returns ERROR AT UDPSENDS 0 4000 UDPSENDS DATA LENGTH ERROR The sending length is incorrect Remarks If the format is incorrect the module returns UDPSENDS ERROR The client must...

Страница 128: ...CLIENTSTATUS 4 DISCONNECT No connection is set up on socket 4 AT CLIENTSTATUS 1 UDPCLIENTSTATUS 1 CONNECT INVALID Socket 1 works for server listening The module returns INVALID for the connection type...

Страница 129: ...he server is started Failed to bind AT FUDPLISTEN 6000 CME ERROR 3 Set server listening before setting up PPP connections AT FUDPLISTEN 6000 Listening Transparent listening has been set AT FUDPLISTEN...

Страница 130: ...0 156 38061 Remarks This command is applicable to E9C33426 and later versions 16 3 Sending Data to the Client FUDPSENDS Description To send data to the client Format AT FUDPSENDS ip port length CR Par...

Страница 131: ...is command is applicable to E9C33426 and later versions 16 4 Closing Listening for UDP Server CLOSEFUDPLISTEN Description To close listening for UDP server Format AT CLOSEFUDPLISTEN CR Parameter N A R...

Страница 132: ...contains at most 128 bytes and url supports domain name translation The default port is 80 Return Value See the Example Example AT HTTPPARA url www neoway com cn en index aspx OK Set the Neoway homepa...

Страница 133: ...up an HTTP connection Failed because port is not set before setting up the HTTP connection AT HTTPSETUP ERROR Set up an HTTP connection failed AT HTTPSETUP HTTPCLOSE Link Closed HTTP parameter is set...

Страница 134: ...ww neoway com cn en index asp x OK AT HTTPPARA port 80 OK AT HTTPSETUP OK HTTP SETUP OK AT HTTPACTION 0 OK HTTPRECV HTTP 1 1 200 OK Cache Control private Content Type text html charset utf 8 Server Mi...

Страница 135: ...ate Content Length 13842 Content Type text html charset utf 8 Server Microsoft IIS 7 5 Set Cookie ASP NET_SessionId znt4fqabqsuclz55pvfufn55 path HttpOnly X AspNet Version 2 0 50727 X Powered By ASP N...

Страница 136: ...http wsliu cn NEOWAY 0123456 string HTTPCLOSE Connection Closed Set up an HTTP connection POST request Send 25 bytes enter the contents to be uploaded after is displayed Receive the response from the...

Страница 137: ...5 40 24 GMT Connection close HTTPCLOSE Link Closed Receive the response from the HTTP server The server disconnects with the module after it finishes responding AT HTTPACTION 0 HTTPACTION SOCKET ID OP...

Страница 138: ...he setting of HTTPPARA is cleared Only OK is returned after running this command if the HTTP connection is connecting This command is applicable to E9C33426 and later versions 17 5 Receiving HTTP Data...

Страница 139: ...osed Remarks This command is applicable to E9C33426 and later versions 17 6 HTTP Connection Closing HTTPCLOSED Description Unsolicited report of the HTTP connection closing Format CR LF HTTPCLOSED HTT...

Страница 140: ...lation 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 j sp OK Set the ICBC login page as the URL The URL suppor...

Страница 141: ...HTTPSSETUP OK Https linking Set up an HTTP connection Failed because an HTTPS connection has been set up AT HTTPSSETUP ERROR Set up an HTTP connection Failed because PPP connection has not been set up...

Страница 142: ...users Return Value See the Example Example AT HTTPSPARA url support cdmatech com login OK AT HTTPSPARA port 443 OK AT HTTPSSETUP OK HTTPS SETUP OK AT HTTPSACTION 0 OK HTTPSRECV HTTP 1 1 200 OK Server...

Страница 143: ...SO 8859 1 Date Sat 15 Feb 2014 06 05 39 GMT Content Length 0 Connection close Set Cookie JSESSIONID qyNVS1DSmnjS9cvh72yW1xz1jtjBBRj0yv 0zTmMy2LVyBG7HK02b 1955538012 path HttpOnly HTTPSCLOSE Link Close...

Страница 144: ...Closed Note that the length includes custom header information Remarks You need to comply with the HTTP protocol when defining packets This command is applicable to E9C33424 and later versions Check...

Страница 145: ...ontent 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...

Страница 146: ...WM620 AT Command Manual Copyright Neoway Technology Co Ltd 135 closing Remarks This command is applicable to E9C33424 and later versions...

Страница 147: ...gth 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 i...

Страница 148: ...065006C006C006F 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 S...

Страница 149: ...de AT CMGF 1 OK Configure the TE character set AT CSCS GSM OK Send an SMS message AT CMGS 13430981508 Content of the message to be sent Shenzhen Neoway Technology Return value CMGS 116 OK End Enter Sh...

Страница 150: ...AT CMGF 0 OK Configure TE character set AT CSCS UCS2 OK Send an SMS message AT CMGS 23 CR Content of the message to be sent 0891683110808805F001000B813124819396F3 00080A00680065006C006C006F Return va...

Страница 151: ...indicating that it registered the network Set up a PPP link Query the PPP link status XIIC 1 10 232 165 29 indicates that the link is set up successfully XIIC 0 0 0 0 0 indicates the PPP link has not...

Страница 152: ...nd more data AT TCPCLOSE 0 r Return TCPCLOSE 0 OK End If socket 0 has been opened close it first Use socket 0 to set up a TCP link The server IP address is 220 199 66 56 and the port ID is 6800 Query...

Страница 153: ...is inserted or the card socket works properly 1 Power on the module 2 EIND 128 indicates that the module is ready OK There is signal Not registered CREG 0 1 CREG 0 5 AT CMGF 1 r AT CSCS GSM r AT CNMI...

Страница 154: ...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 10 Relevant functions have...

Страница 155: ...Return OK There is signal Not register the netwrok Register the netwrok AT CMGF 1 r AT CSCS GSM r Return OK Return ERROR Return ERROR Return OK Send a text message 7 Set the SMS mode Note AT CMGF 1 i...

Страница 156: ...Send SMS messages AT CMGS Number AT CMGS 13430981508 Shenzhen CMGS 232 OK Enter the AT CMGS 13430981508 command and press Enter r When is displayed enter the message content Shenzhen and press Ctrl Z...

Страница 157: ...D n AT CMGD 1 OK Delete SMS messages based on the sequence number Delete all messages AT CMGD 0 4 AT CMGD 0 4 OK Delete SMS messages as required For details see the AT commands Query the number of SMS...

Страница 158: ...WM620 AT Command Manual Copyright Neoway Technology Co Ltd 147 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...

Страница 159: ...rks properly 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 7 CMNET is the APN of China...

Страница 160: ...GIN 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...

Отзывы: