Page 1
All manuals and user guides at all-guides.com Let’s enjoy the wireless life! M590 COMMAND SETS M590 M590 M590 AT AT COMMAND COMMAND COMMAND SETS SETS SETS V V V V 3.0 Shenzhen Neoway Technology Co.,Ltd...
Page 2
This specification is for system engineers, research engineers and test engineers. This specification is, without prior notice, subject to changes and updates as deemed neccesary by Neoway to suit enhancements or changes to the module. All statements, information and suggestions in this manual do not constitute any express or implied guarantees.
Page 3
Revised version, Change PDU message flow, added the instructions of 201105 sending data V2.8 Revised version,added AT+XBANDSEL command instruction 201107 V2.9 Revised version,added authentication command NOTES 201108 V3.0 Revised version,added echo suppression level set: +SETECLVL 201111 All rights reserved by Shenzhen Neoway Technology. 1 of 69...
4 4 4 4 :+CSMS........................24 HOOSE SERVICE :+CPMS....................... 24 RIMARY STORAGE :+CMGF..........................25 MODE : +CSCS........................26 CHARACTER SETS : + CNMI....................26 ET MESSAGE INDICATION ORMAT :+CMGR...........................27 EAD MESSAGE All rights reserved by Shenzhen Neoway Technology. 2 of 69...
Page 5
TCP/IP AT NOTE........................52 COMMANDS DOMAIN DOMAIN NAME NAME SERVER SERVER COMMANDS COMMANDS ..................................DNS(DOMAIN DOMAIN NAME NAME SERVER SERVER)COMMANDS COMMANDS..................................53 53 53 53 9 9 9 9 All rights reserved by Shenzhen Neoway Technology. 3 of 69...
Page 6
Flow chart for sending text mode SMS..................66 12.3.1 Flow chart for sending PDU mode SMS..................67 12.3.2 ......................67 12.4 ONSUMPTION ETTING ................................................................13 13 13 13 FAQ FAQ................................................................68 68 68 68 All rights reserved by Shenzhen Neoway Technology. 4 of 69...
Read the command. 460029202075769 AT+CIMI Read the command ERROR. CME ERROR:<error> This code contains 15 figures, starting with three-digit MCC and double-digit MNC, NOTE NOTE NOTE NOTE to authenticate SIM-card code. All rights reserved by Shenzhen Neoway Technology. 5 of 69...
Format � a t i Syntax NULL Response See the example below. Example NEOWAY [factory] M590 model REVISION 01.30e version All rights reserved by Shenzhen Neoway Technology. 7 of 69...
1: choose document 1 as configuration storage NVRAM Response See the example below. Example AT&W Equal to AT&W0 AT&W1 To store the current configurationin document 1 NOTE NOTE NOTE NOTE All rights reserved by Shenzhen Neoway Technology. 9 of 69...
1:allow the network registration to provide result code 2:allow the network registration to provide local information (CELLID, LOCALID) � <stat> The value may be: 0:not registered, the terminal is not searching new operators All rights reserved by Shenzhen Neoway Technology. 10 of 69...
<fun>. <fun>. <fun>. <fun>. Only Only Only Only some some some some All rights reserved by Shenzhen Neoway Technology. 11 of 69...
Page 14
AT+CFUN=1 AT+CFUN=1 CME ERROR:<error> AT+CFUN? +CFUN:1,0 if the syntaxes +CFUN=0,+CFUN=15 or +CFUN=16 are used, the rest of the NOTE NOTE NOTE NOTE command line, placed after that, will be ignored. All rights reserved by Shenzhen Neoway Technology. 12 of 69...
TZ :2 digits number indicates the time difference between local time and GMT. This information is optional, only if when the network supports the information could display. Response See the example below. Example AT+CCLK=”08/07/01,14:54:01” AT+CCLK=”08/07/01,14:54:01” CME ERROR:<error> AT+CCLK? +CCLK:“08/07/01,14:54:10” All rights reserved by Shenzhen Neoway Technology. 13 of 69...
-READY:no need to input any passwords -SIM PIN:need to input PIN code -SIM PUK:need to input PUK code -SIM PIN2:need to input PIN2 code -SIM PUK2:need to input PUK2 code Example AT+COPS=0 ERROR All rights reserved by Shenzhen Neoway Technology. 14 of 69...
“PU”:network subsystem personalisation; “PP”:service provider personalisation; “PC”:corporate personalization. <oldpwd>: Old password or operation code, string type. <newpwd>: New password or operation code, string type. Response See the example below. Example AT+CPWD=”SC”,”0933”,”0934” AT+CPWD=”SC”,”0933”,”0934” All rights reserved by Shenzhen Neoway Technology. 16 of 69...
CME_ERROR: operation the serial serial multiplexed, will will return return return an an error error error code code code CME_ERROR: CME_ERROR: CME_ERROR: operation operation operation All rights reserved by Shenzhen Neoway Technology. 17 of 69...
Page 20
<k>(window size,to the error-recovery options to do Adcanced operation) 1~7,default value is 2。Not support at present, response value 0 when reading the command. Response CME ERROR: <error> All rights reserved by Shenzhen Neoway Technology. 18 of 69...
+CME +CME ERROR: ERROR: <err> <err> result result code code Description Description This This command enable +CME +CME ERROR: ERROR: <err> <err> result result code code Format � AT+CMEE=[<n>] All rights reserved by Shenzhen Neoway Technology. 19 of 69...
Page 22
Example AT+CMEE= Equal to AT+CMEE=0 ERROR AT+CMEE=1 +CME ERROR: 3 AT+CMEE=2 +CME ERROR: operation allowed AT+CMEE? +CMEE: 2 When debugging, it is suggested to set AT+CMEE=2。 NOTE NOTE NOTE NOTE All rights reserved by Shenzhen Neoway Technology. 20 of 69...
To select whether the selection is done automatically or is forced by this command to operator <oper> given in the format <format> and may be: -0: automatic ( <per> is ignored) All rights reserved by Shenzhen Neoway Technology. 21 of 69...
Page 24
46000 AT+COPS? Query the network operator +COPS: 0,0,"CHINA UNICOM" China Unicom AT+COPS? If it is set to digital mode, then get 46001 46001 +COPS:0,0, "46001 46001" the number 46000 All rights reserved by Shenzhen Neoway Technology. 22 of 69...
+XBANDSEL: 900,1800 1) After setting this instruction,web registration will be canceled, then needed to NOTE NOTE NOTE NOTE re-register by setting the AT+COPS=0,0 2) Slightly longer response time of AT+COPS=0,0 All rights reserved by Shenzhen Neoway Technology. 23 of 69...
<mem2>:“SM”SIM card is used to write and send message storage. <mem3>:“SM” SIM card message storage used when SM is not set to save to PC. <used>:used numbers。 <total>:total storage capacity numbers. Response AT+CPMS: <used1>,total1>,<used2>,<total2>,<used 3>,<total3> All rights reserved by Shenzhen Neoway Technology. 24 of 69...
CME ERROR:<error> AT+ CMGF? +CMGF:0 If sending PDU SMS, the code should be set to UCS2; if sending text SMS, the NOTE NOTE NOTE NOTE code should be set to GSM. All rights reserved by Shenzhen Neoway Technology. 25 of 69...
1: under On-line State, brush off deposited message indication code and reject new indication code. In other conditions, display the code on terminal equipment All rights reserved by Shenzhen Neoway Technology. 26 of 69...
Response See the example below. Example AT+CNMI=2,1,0,0,0 AT+CNMI=1,1,0,0,0 CME ERROR:<error> AT+CNMI? +CNMI:2,1,0,0,0 +CNMI=<mode>,<mt>,<bm>,<ds>,<bfr> Suggested to set to +CNMI: 2,1,0,0,0 or +CNMI: 2,2,0,0,0. NOTE NOTE NOTE NOTE 4.6 Read message:+CMGR All rights reserved by Shenzhen Neoway Technology. 27 of 69...
Page 30
3 in PDU mode or “”STO SENT”in text mode: stored sent SMS 4 in PDU mode or “ALL” in text mode: all SMS’s Example AT+CMGR=3 +CMGR:0,,154 0891683108705505F00405A10180F60008807062903430238A5C0A65 6C768451687403901A5BA262 37FF1A537365E58D7779EF5206554657CE201C59658FD0793C54C1 300159658FD06F1451FA5B63201D727960E051516362FF014E3A59 658FD052A06CB9FF010068007400740070003A002F002F006A0066 002E006300680069006E0061006D006F00620069006C0065002E0063 006F006D30024E2D56FD79FB52A8 All rights reserved by Shenzhen Neoway Technology. 28 of 69...
+CMGL:<index>,<stat>,[<alpha>],<length><CR><LF><pdu> Example AT+CMGL=”ALL” +CMGL: 1,"RECREAD","10086","","08/07/26,09: 43: 03+50" 5C0A656C768451687403901A5BA26237FF1A537365E58 D7779EF5206554657CE201C59658FD0793C54C1300159 658FD06F1451FA5B63201D727960E051516362FF014E3 A59658FD052A06CB9FF010068007400740070003A002F 002F006A0066002E006300680069006E0061006D006F00 620069006C0065002E0063006F006D30024E2D56FD79F B52A8 The function of AT+CMGL=”ALL” and AT+CMGL=4 are the same. NOTE NOTE NOTE NOTE 4.8 Message sending:+CMGS All rights reserved by Shenzhen Neoway Technology. 29 of 69...
Page 32
“This is the text”<ctrl-Z> +CMGS:248 AT+CMGS=”0171112233”<CR> Text mode(+CMGF=1) “This is the text”<ctrl-Z> CMS ERROR:<error> AT+CMGS=41<CR> PDU mode (+CMGF=0) > 0891683108705505F001000B815118585050F400081C6DF157 335E02670965B979D16280002D00470050005200536A215757< Ctrl+Z> > +CMGS: 7 AT+CMGS=31<CR> PDU mode (+CMGF=0) > 0891683108705505F001000B813124248536F30008120040002 6002A535A53D153A653C1532052C7<Ctrl+Z> All rights reserved by Shenzhen Neoway Technology. 30 of 69...
Give up to input message. Response +CMGW:<index> +CMS ERROR:<err> Example AT+CMGW=”091137880”<CR> “This is the Text mode(+CMGF=1) text”<Ctrl-Z> +CMGW:15 AT+CMGW=”091137880”<CR> “This Text mode(+CMGF=1) text”<Ctrl-Z> +CMS ERROR:<err> AT+CMGW=31,<CR>0891683108705505F001000 PDU mode (+CMGF=0) B813124248536F300081200400026002A535A53D 153A653C1532052C7<Ctrl- Z> +CMGW:1 All rights reserved by Shenzhen Neoway Technology. 31 of 69...
2:delete all read and sent message 3:delete all read, sent and unsent message 4:delete all messages Response See the example below. Example AT+CMGD=3 Delete the third message AT+CMGD=3 Delete the third message All rights reserved by Shenzhen Neoway Technology. 32 of 69...
Depends on the command or result code: the first 8 digits of GSM 03.40 SMS-DELIVER; SMS-SUBMIT (default value is 17); or use integer type SMS-COMMAND (default value is 2). <vp>: value Effective time 0-143 (vp+1)*5 minutes 144-167 hours+((vp–143)*30 All rights reserved by Shenzhen Neoway Technology. 33 of 69...
<cdata>: no need to input value 0. 1:display these values in result code. Response See the example below. Example AT+CSDH= Equal to AT+CSDH=0 AT+CMGR=14 +CMGR: "REC READ","+86134309815 04","","09/07/17,14:49:00+50" 7B5675655FAE5C0F65F65019 AT+CSDH=1 AT+CMGR=14 +CMGR: "REC All rights reserved by Shenzhen Neoway Technology. 34 of 69...
<dcs>)(the default value is empty chatater string). Response See the example below. Example AT+CSCB=0,"1,5,10-11,40","" AT+CSCB? +CSCB:0,"1,5,10-11,40","" If <mode>=0 and <mids> is an empty charater string, it could not accept CB SMS. NOTE NOTE NOTE NOTE All rights reserved by Shenzhen Neoway Technology. 35 of 69...
AT+CPBR=<index 1>[,<index 2>] Syntax <index 1>: Integer type,phone book record nember <index 2>: Integer type,phone book record nember Response [+CPBR:<Iindex 1>,<number>,<type>,<text><CR> +CPBR:<index 2>,<number>,<type>,<text>] <number>: Character string type, phone number. <type>: All rights reserved by Shenzhen Neoway Technology. 36 of 69...
Description Description Description This This This command command write write the the information information phone phone book. book. book. Format AT+CPBW=<index>,<number>,<type>,<text> � Syntax <index>: All rights reserved by Shenzhen Neoway Technology. 37 of 69...
<typex>:number type(129 or 145) Response +CNUM:[<alphal>],<number 1>,<type 1> CME ERROR:<error> AT+CPBS=”ON” Choose phone book storage is ON AT+CPBS=”ON” Example CME ERROR:<error> AT+CPBW=1,”11111111111”,129,”CCH” Write phone recore in “ON” storage AT+CPBW=1,”11111111111”,129,”CCH” CEM ERROR:<error> All rights reserved by Shenzhen Neoway Technology. 38 of 69...
Page 41
2、If there are various international number on terminals,each type international number will shows in different lines. 3、Native number need to through AT+CPBS=”ON”;AT+CPBW connmad write in SIM card, then reads by AT+CNUM. All rights reserved by Shenzhen Neoway Technology. 39 of 69...
Format AT+CCWA=<n>,<mode> � � AT+CCWA? Syntax <n>: The third calling,if indicate+CCWA:return code 0: Not indicate 1: Indicate <mode>: Call waiting forbid/enable 0: Forbid 1: Enable 2: Check status All rights reserved by Shenzhen Neoway Technology. 40 of 69...
Example When releasing calls, AT + CHLD = 1 only release the currently active call, ATH NOTE NOTE NOTE NOTE release all calls. SIM card need to open additional business. All rights reserved by Shenzhen Neoway Technology. 41 of 69...
, USSD string ,please use ASCII code. <dcs>: integer type ,it is suggesti to use 15. Response See the example below. Example AT+CUSD=1,”*100#”,15 +CUSD:1," 5FEB4FE10031003000306B228FCE60A8000A0031 00560049005059278D609001000A0032670959567A DE731C002D6D7776D782395BFB5B9D000A00339 ED1624B515A6E17900F004600420049000A003465 E995F45FEB62A5000A00355A314E50604B5427000 A003680A179685F697968000A0037795D798F4E0B 8F7D000A00388D448D398BF4660E ",72 All rights reserved by Shenzhen Neoway Technology. 42 of 69...
(4)to re-enter data mode and use +++/ATO command, please input AT&D AT&D AT&D AT&D2 2 2 2 before dial-up. This command is only used in the external stack. 7.4 Data mode switch to AT mode:+++ All rights reserved by Shenzhen Neoway Technology. 43 of 69...
<pwd> password as string with maximum length <lpwd> Response See the example below. Example AT+XGAUTH=1,1,”gsm”,”1234” CME ERROR: <error> AT+XGAUTH=? +XGAUTH: (1-255),(0-1),20,32 20:The maximum length of user name;32: The maximum length of password All rights reserved by Shenzhen Neoway Technology. 44 of 69...
Page 47
"gsm", "1234" "1234" Internal Internal external external 4)Internal Internal and and external external protocol stack can use this instruction All rights reserved by Shenzhen Neoway Technology. 45 of 69...
NOTE APN. For example, to the network of China Mobile, we can use the following commands to set APN and other values: AT+CGDCONT=1,”IP”,”CMNET”. 2、 Please set AT+XISP=0 before set AT+CGDCONT. All rights reserved by Shenzhen Neoway Technology. 46 of 69...
Link ID, only could be 0 or 1 and this link has been already establish TCP link. <length>: The length of on-sent data, get value in range of 1-2000 bytes. Response See the example below. Example AT+TCPSEND=0,10 Send 10 bytes data on Link 0, All rights reserved by Shenzhen Neoway Technology. 47 of 69...
Description This This This This command command command command is is is is to to to to close close close close TCP TCP link. link. link. link. Format � AT+TCPCLOSE=<n> All rights reserved by Shenzhen Neoway Technology. 48 of 69...
AT+UDPSETUP=2,192.168.20.6,6800 AT command Format Error +UDPSETUP:Error Before setting up UDP link, it must ensure PPP link has been established by using NOTE NOTE NOTE NOTE AT +XIIC to confirm. All rights reserved by Shenzhen Neoway Technology. 49 of 69...
Link ID, only could be 0 or 1. � <length> The length of received data. � <data> Received data. Add 0xod 0xoa at the end. The user can confirm the end with All rights reserved by Shenzhen Neoway Technology. 50 of 69...
The module internal available send buffer size, indicating with decimal ASCII code, a byte per unit. Example AT+IPSTATUS=0 Link0 has been establish TCP link, +IPSTATUS:0,CONNECT,TCP,2047 available buffer size is 2047 bytes. AT+IPSTATUS=1 Link1 has not establish any link. +IPSTATUS:1,DISCONNECT All rights reserved by Shenzhen Neoway Technology. 51 of 69...
0.0.0.0, it indicates that the PPP connect is failed. It needs to re-set the PPP connect until succeed. If the connect is always failed, please check the code is set to be internal protocol or not. All rights reserved by Shenzhen Neoway Technology. 52 of 69...
Set dns1 server IP is 211.65.24.123 +DNSSERVER:OK at+dnsserver? +DNSSERVER:dns1:211.65.24.123;dns2: 0.0.0.0 Generally, the user can’t set DNS server. During PPP negotiation time, the base NOTE NOTE NOTE NOTE station control will give a DNS server IP. All rights reserved by Shenzhen Neoway Technology. 53 of 69...
10.2 Close listening links: +CLOSELISTEN Description Description Close Close listening listening links links Description Description Close Close listening listening links links Format AT+CLOSELISTEN +CLOSECLIENT:<socket>,local link closed Syntax Socket: SOCKET number All rights reserved by Shenzhen Neoway Technology. 54 of 69...
Format AT+TCPSENDS=<socket>,<length> Syntax <socket>: The value of listening to AcceptSocket which is the socket between main station and the module,refer to AT + TCPLISTEN instruction description. All rights reserved by Shenzhen Neoway Technology. 55 of 69...
Corresponding to the software version: V1.30B above NOTE NOTE NOTE NOTE 10.7 Set module signal status: +SIGNAL Description Description module module signal signal status status Description Description Set module module signal signal status status Format AT+SIGNAL=<n> All rights reserved by Shenzhen Neoway Technology. 56 of 69...
GPRS, and then set back. 2)The command can meet the AT + SIGNAL to operate 3)Corresponding to the software version: V1.30 V1.30 V1.30 V1.30c c c c or V1.20u V1.20u V1.20u V1.20u All rights reserved by Shenzhen Neoway Technology. 57 of 69...
1. FTP and TCP/UDP can’t use at same time. NOTE NOTE NOTE NOTE 2. The read and write operation of FTP can’t be done before login. 3. This command can be used after the opening of PPP link. All rights reserved by Shenzhen Neoway Technology. 58 of 69...
<data> represents data content. 6. Response: +FTPGET:OK.total length is <n>, data read is success, reading length of the data is n. Example AT+FTPGET=,1,2 +FTPGET:446,drw-rw-rw- 1 user group 0 Apr 14 informati 15:55 . All rights reserved by Shenzhen Neoway Technology. 59 of 69...
2) If FTP is not login status, it will response: +FTPGET:Error Not Login. If the last AT command which is related to FTP has not been finished, it will response:+FTPGET:AT Busy. 4)If <length> exceed 10240, it will response +FTPPUT: length overflow. All rights reserved by Shenzhen Neoway Technology. 60 of 69...
1 : login FTP server, the server IP and port number are as the following parameter. <ip>: � Server IP. <port>: � Server port number. Example AT+FTPSTATUS +FTPSTATUS:1, 219.134.179.521,21 NOTE NOTE NOTE NOTE All rights reserved by Shenzhen Neoway Technology. 61 of 69...
PPP connect has been establish, IP is10.10.73.214 at+tcpsetup=0,220.199.66.56,6800 // establish TCP link +TCPSETUP:0,OK // establish TCP connect: success at+tcpsend=0,10 // send data on TCP connect >0123456789 +TCPSEND:0,10 //data send: success at+ipstatus=0 All rights reserved by Shenzhen Neoway Technology. 62 of 69...
Page 65
Let’s enjoy the wireless life! +IPSTATUS:0,CONNECT,TCP,2047 //check connect status at+tcpclose=0 // close TCP connect on Link0 +TCPCLOSE:0,OK at+ipstatus=0 +IPSTATUS:0,DISCONNECT Please referece below flow chart (NOTE: every command must add a ENTER 0x0d): All rights reserved by Shenzhen Neoway Technology. 63 of 69...
Smsful status is 0 +C IN D : 0 At+cmgs=”13025458726” Seng a SMS to yourself >0002+(C trl+Z) +C MGS:185 Smsfull status is 1 a t+cin d ? +C IN D :1 All rights reserved by Shenzhen Neoway Technology. 64 of 69...
AT+CMGL="ALL" NOTE NOTE NOTE NOTE After displaying all List all SMS SMS, the unread SMS will change into read SMS. Delete SMS AT+CMGD=n AT+CMGD=3 Delete SMS according to sequence number All rights reserved by Shenzhen Neoway Technology. 65 of 69...
Technology”,then press CTRL+Z ( corresponded Sent SMS content character is 0x1A ) to Shenzhen Neoway se n d SM S Technology Return information +C MGS: 232 Th e e n d All rights reserved by Shenzhen Neoway Technology. 66 of 69...
、view SMS、receive and send datas normally uses serial port.After the calls、SMS、datas about 2 seonds,it will enter low consumption mode automaticly. Automatic arousal:pull DTR to high level,after processing,then pull DTR to low level. All rights reserved by Shenzhen Neoway Technology. 67 of 69...
GPRS service status, it can switch between data mode and AT Data service and How to deal with incoming SMS when mode by +++/ATO. Details please see doing GPRS service? NOTE in 8.3. All rights reserved by Shenzhen Neoway Technology. 68 of 69...
Need help?
Do you have a question about the M590 and is the answer not in the manual?
Questions and answers