background image

Neo_WM620 WCDMA Module AT Command Set

 

 

 

Copyright © Neoway Technology Co., Ltd 

69 

 

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 

OK 

Return the port ID of socket 
0. 

AT+GETPORT=2 

+GETPORT:2,UDP,23353 

OK 

Return the port ID of socket 
2. 

AT+GETPORT=0 

+GETPORT:0,NUL,0 

OK 

No link has been set up 
using socket 0. 

Remarks

 

N/A 

 

Summary of Contents for Neo WM620

Page 1: ...Neo_WM620 WCDMA Module AT Command Set Version 2 1...

Page 2: ...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 v...

Page 3: ...scription 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 V1 6 Modified the...

Page 4: ...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 descrip...

Page 5: ...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 Ne...

Page 6: ...e 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...

Page 7: ...TIP 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...

Page 8: ...e 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 determin...

Page 9: ...GMI CGMI Neoway Corp Ltd OK Query the manufacturer information 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 m...

Page 10: ...LF soft_version CR LF OK CR LF Return Value manufacturer Manufacturer name module_version Module model soft_version Software version Example ATI NEOWAY WM620 V425 OK Manufacturer name Module model Sof...

Page 11: ...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...

Page 12: ...gy Co Ltd 5 Return Value CR LF CCID ICCID CR LF CR LF OK CR LF Or CR LF ERROR CR LF Example AT CCID CR CCID 89860002190810001367 OK Read command AT CCID CR ERROR Read command The SIM card is not inser...

Page 13: ...mmands 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 A...

Page 14: ...egistration 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 Un...

Page 15: ...MT before setting it to fun power level Return Value CR LF CFUN list of supported fun s list of supported rst s CR LF CR LF OK CR LF OR CR LF CME ERROR err CR LF Example AT CFUN 1 OK Set the module on...

Page 16: ...the valid parameter value range 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...

Page 17: ...ock 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 betw...

Page 18: ...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...

Page 19: ...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...

Page 20: ...LCK status class2 CR LF Example AT CLCK SC 2 CLCK 0 OK Query the SIM card status AT CLCK CLCK PF SC AO OI OX AI IR AB AG AC FD PN PU PP PC OK Query valid parameter value range AT CLCK SC 1 1234 OK EIN...

Page 21: ...g 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...

Page 22: ...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 answe...

Page 23: ...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 CMEE 0 1 2 OK Query the status range of error code AT CMEE CMEE 1 OK Q...

Page 24: ...ta stream 2 Hardware Use CTS Clear To Send signal default Return Value See the Example Example AT IFC 1 1 OK Enable the software flow control AT IFC 2 2 OK Enable the hardware flow control AT IFC 0 0...

Page 25: ...d 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...

Page 26: ...O AT ERAT ERAT 0 2 0 2 OK Query the valid parameter value ranges AT ERAT ERAT 4 2 2 0 OK Query the current network standard Remarks The settings of this command will be saved after the module is power...

Page 27: ...arameter 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 93dB...

Page 28: ...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 form...

Page 29: ...n get the number 46001 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...

Page 30: ...ue 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 module AT CLVL CLVL 0 6 OK Query the available value range of...

Page 31: ...voice link For a voice link the dialing string consists of numbers and modifiers and must end with a semicolon Format ATD dial string CR ATD n CR ATD name CR Parameter dial string Phone number n The l...

Page 32: ...T Dial a number The receiver answered the call ATD 4 OK SPEECH ON ALERTING CONNECT SPEECH OFF RELEASE NO CARRIER Use the index in the current phonebook to make a call ATD Comneon OK SPEECH ON ALERTING...

Page 33: ...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 SPEECH ON OK Answer the call Remarks N A 4 5 Hangin...

Page 34: ...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...

Page 35: ...F OK CR LF Example AT HANDFREE 0 OK Set to the earphone mode AT HANDFREE 1 OK Set to the handfree mode AT HANDFREE HANDFREE 0 OK The current mode is earphone mode Remarks Earphone mode by default 4 9...

Page 36: ...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 10 MIC Volume Control MICL Description To set the level of the MIC volume...

Page 37: ...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 e...

Page 38: ...nable the echo cancellation function for the earphone Remarks Echo cancellation function is implemented through the audio match technology of the DSP chipset Obtain the echo delay parameter value by c...

Page 39: ...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 OK Set SMS AT commands to support GSM07 05 Phase 2 AT CSM...

Page 40: ...s list of supported mem3 s CR LF CR LF OK CR LF Example AT CPMS SM CPMS 18 50 3 23 3 23 OK Set SM as the preferred SMS storage memory AT CPMS CPMS SM 18 50 ME 3 23 MT 3 23 OK Query the detailed infor...

Page 41: ...at 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 s...

Page 42: ...ine 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 T...

Page 43: ...3 0 2 0 1 2 0 1 OK Query the value ranges of the paramters AT CNMI CNMI 2 1 0 0 0 OK Query the current SMS indication mode Remarks SMS messages are classified into four classes based on the storing Cl...

Page 44: ...sful CMGR stat alpha length CR LF pdu Example AT CMGR 1 CMGR REC READ 66421 11 09 13 16 37 59 32 050003140401E27778592EA7E7EBE9373C3C279BCF68F 59AADC78FED62779BA596D7EBAEB5B91EBD16A5D4 6C35F98406A744E...

Page 45: ...ssages 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 0 Unread SMS messages received...

Page 46: ...3D56C375C0E1693CD6835DB0D9783A15C91D2E06BD AA558AC1F60C52B937CADCD2B747AA9021BDEC627E8 E9441BD42655DEF446 CMGL 44 REC UNREAD 8615719556937 11 09 30 03 00 55 32 5E7F4 E1C79FB52A863D0919260A8003A4E2D536...

Page 47: ...10110F00000A7023119 OK Read SMS lists in PDU mode Read stored sent SMS messages AT CMGF 1 OK AT CMGL STO SENT CMGL 0 STO SENT 18777397945 hello CMGL 15 STO SENT 10010 hello CMGL 28 STO SENT 1581872417...

Page 48: ...171 OK Send messge in text mode AT CMGS 33 CR 0891683108705505F001000B815118784271F20008146DF157 335E025B9D5B89533A59276D6A80545EFA Ctrl Z CMGS 119 OK Send message in PDU mode Remarks If you use UART...

Page 49: ...Ctrl Z CMGW 1 OK Write message in PDU mode CMGF 0 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 Stor...

Page 50: ...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 OK Delete successfully AT CMGD CMGD...

Page 51: ...ute 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 SUBM...

Page 52: ...r display Return Value See the Example Example AT CSDH 0 OK AT CMGR 14 CMGR REC READ 8613430981504 09 07 17 14 49 00 50 7B5675655FAE5C0F65F6501 9 OK Set the header information not to display AT CSDH 1...

Page 53: ...ls 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 Exa...

Page 54: ...y 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...

Page 55: ...lues 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...

Page 56: ...WCDMA Module AT Command Set Copyright Neoway Technology Co Ltd 49 AT CPBR 1 CME ERROR not found Read the contact of index 1 Remarks Preconfigure the TE character set Otherwise names cannot be input su...

Page 57: ...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...

Page 58: ...CFC 0 1 2 3 4 5 OK Query the parameter value range of call forwarding settings AT CCFC 0 1 OK Enable unconditional call forwarding AT CCFC 0 2 CCFC 1 1 8615688346754 145 OK Query unconditional call fo...

Page 59: ...d command successful CCWA status class1 CR LF CCWA status class2 Example AT CCWA 1 1 OK Set call waiting and enable callee ID display AT CCWA CCWA 0 1 OK Query the value range of the parameter n AT CC...

Page 60: ...xample Example AT CHLD 0 OK Release all held calls ATD10010 OK SPEECH ON ALERTING CONNECT AT CHLD 11 SPEECH OFF RELEASE OK Release first call AT CHLD CHLD 0 1 1x 2 2x 3 4 OK Query the value range of t...

Page 61: ...bscription 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 T...

Page 62: ...Neo_WM620 WCDMA Module AT Command Set Copyright Neoway Technology Co Ltd 55 OK Remarks N A...

Page 63: ...e 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 AT QCPDPP 2 2 1234 OK Set the authentication...

Page 64: ...ot 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 Val...

Page 65: ...ing 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 TCPSETU...

Page 66: ...00 OK TCPSETUP 2 FAIL 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 AT TCPSETUP 66 19...

Page 67: ...10 Hexadecimal ASCII data is successfully sent through socket 0 Select HEX when sending data AT TCPSEND 0 1 TCPSEND SOCKET ID OPEN FAILED 1 byte data fails to be sent via socket 0 because the connect...

Page 68: ...le AT TCPCLOSE 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 link is closed AT TCPCLOSE 99 TCPCL...

Page 69: ...4 213 10405 1 OK UDPSETUP 0 OK IPURCREAD 0 AT IPNETREAD 0 1024 IPREAD 0 10 1234567890 OK Set up a connection to 58 60 184 213 10405 on socket 0 Socket 0 receives data Read data buffered in socket 0 AT...

Page 70: ...input The module returns ERROR 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...

Page 71: ...P 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 CON...

Page 72: ...ving mode is manual reading Socket 0 receives data Read data received and buffered by socket 0 Read 10 byte data Data content IPURCREAD 0 AT IPNETREAD 0 5 IPNETREAD 0 5 12345 OK AT IPNETREAD 0 5 IPNET...

Page 73: ...ted 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 0 Set up a...

Page 74: ...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 se...

Page 75: ...opened and does not allow new port number Remarks 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 d...

Page 76: ...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...

Page 77: ...e 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 OK DNS 61 135 169 105 Query the IP address of www baidu com The module returns the IP...

Page 78: ...xecuted 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...

Page 79: ...FTPLOGOUT CR Parameter N A Return Value See the Example Example AT FTPLOGOUT FTPLOGOUT User logged out OK Log out from the FTP server Remarks N A 11 3 Downloading Data from the FTP Server FTPGET Desc...

Page 80: ...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 Example AT FTPGET 1 2 FTPGE...

Page 81: ...end of the file 3 DELE mode Delete a file size Data length The data length cannot exceed 1024 Return Value FTPPUT Error The format of the AT command is incorrect FTPPUT Error Not Login The user has n...

Page 82: ...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 AT FTPSTATUS FTPSTATUS 1 119 139 221...

Page 83: ...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...

Page 84: ...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 Conne...

Page 85: ...t 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 Socket 1 receives data from the...

Page 86: ...at 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 DISCON...

Page 87: ...PARA url mybank icbc com cn icbc perbank index jsp OK Set the ICBC login page as the URL The URL supports domain name translation AT HTTPSPARA url 132 188 73 13 prodreg beginRegistration action OK Set...

Page 88: ...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 Des...

Page 89: ...SCLOSE Link Closed GET request Receive the request from the HTTPS server The server responded and then disconnected the link AT HTTPSPARA url support cdmatech com login OK AT HTTPSPARA port 443 OK AT...

Page 90: ...h 10 CRLF custom header information Content Type application x www form urlencoded CRLF custom header information CRLF CRLF Information to be sent HTTPSRECV homepage content html format homepage conte...

Page 91: ...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 Powe...

Page 92: ...n 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...

Page 93: ...s 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...

Page 94: ...text mode 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 E...

Page 95: ...U mode 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 Ret...

Page 96: ...Neo_WM620 WCDMA Module AT Command Set Copyright Neoway Technology Co Ltd 89 A 4 Flowchart of AT Commands to Establish TCP Link Figure A 3 Flowchart of usingAT commands to establish TCP link...

Page 97: ...IM card 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...

Page 98: ...ce 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 10 Relevant function...

Page 99: ...s ready 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 C...

Page 100: ...OK 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 Notice mode of new messages AT CNMI...

Page 101: ...e 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 messages AT CPMS AT CPMS CPMS SM 1 50 SM 1 50 MT 1 50 OK 1 Indicates t...

Page 102: ...ERROR check whether the SIM card is inserted or the card socket works 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 ca...

Page 103: ...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 a...

Reviews: