background image

 

N11 V2 

AT  Command  Manual 

 

Copyright © Neoway Technology Co., Ltd 

25 

 

3 Network Service Commands 

3.1 Querying Signal Quality: +CSQ 

Description 

To check the receiving signal strength indication (RSSI) and the bit error rate (BER) 
of the channel 

Format 

 

AT+CSQ<CR> 

 

AT+CSQ=?<CR> 

Parameter 

N/A

 

Return Value 

<CR><LF>+CSQ: <signal>,<ber> 

<CR><LF>OK<CR><LF> 

<signal>: The following table shows the relationship between signal and RSSI:   

 

Signal 

RSSI 

<4 or 99

 

<-107 dBm or unknown

 

<10

 

<-93dBm

 

<16

 

<-81dBm

 

<22

 

<-69dBm

 

<28

 

<-57dBm

 

>=28

 

>=-57 dBm

 

<ber>:   

0...7 

Refer to the value of RXQUAL in the table of GSM 05.08 8.2.4.

 

99 

Not known or not detectable

 

 

Example 

AT+CSQ 

+CSQ: 1, 99 

OK

 

Query the current signal strength of 
the module.

 

AT+CSQ=? 

+CSQ: (0-31,99),(0-7,99) 

OK

 

Query the range of the module signal 
strength.

 

Remark 

N/A

 

Содержание N11 V2

Страница 1: ...N11 V2 AT Command Manual Issue 1 0 Date 2018 10 19 Neoway Product Document...

Страница 2: ...to use N11 V2 This document is intended for system engineers SEs development engineers and test engineers THE INFORMATION IN THIS DOCUMENT IS SUBJECT TO CHANGE WITHOUT NOTICE DUE TO PRODUCT VERSION U...

Страница 3: ...Status CREG 9 2 3 GPRS Network Registration CGREG 10 2 4 Enabling Disabling the Terminal Display ATE1 ATE0 12 2 5 Setting the Code Result Suppression Mode ATQ 13 2 6 Setting the Response Format of the...

Страница 4: ...ting the Parameters of the Text Mode CSMP 49 5 13 Displaying the Parameters of the Text Mode CSDH 50 5 14 Selecting the Type of Cell Broadcast Messages CSCB 51 6 Phonebook Commands 53 6 1 Selecting Ph...

Страница 5: ...ying FTP Link Status FTPSTATUS 85 13 HTTP Commands 86 13 1 Setting HTTP Parameters HTTPPARA 86 13 2 Setting Up HTTP Link HTTPSETUP 87 13 3 HTTP Request HTTPACTION 87 13 4 Closing HTTP Link HTTPCLOSE 9...

Страница 6: ...System Commands 111 17 1 Writing Data to File FSWF 111 17 2 Reading Data from File FSRF 112 17 3 Obtain the Size of a File FSFS 113 17 4 Deleting a File FSDF 113 18 Standard Extended AT Commands 114...

Страница 7: ...and test engineers Change History Issue Date Change Changed By 1 0 2018 09 Initial draft Zhang Xiaofeng Conventions Symbol Indication This warning symbol means danger You are in a situation that coul...

Страница 8: ...N11 V2 AT Command Manual Copyright Neoway Technology Co Ltd vii Related Documents Neoway_N11_Datasheet Neoway_N11_Product_Specifications Neoway_N11_AT_Hardware_User_Guide Neoway_N11_EVK_User_Guide...

Страница 9: ...utomatically detect a baud rate unless users run the command AT IPR 0 r After the module is started send AT r to the UART1 of the module The module returns AT characters indicating that the baud rate...

Страница 10: ...and version Format ATI CR Parameter N A Return Value CR LF module_info CR LF OK CR LF module_info Module manufacturer information Example ATI NEOWAY N11 V2 REVISION V001 OK Remark N A 1 2 Querying th...

Страница 11: ...ing of 15 digits 1 4 Querying the IMSI CIMI Description To query the international mobile subscriber identification IMSI number Format AT CIMI CR Parameter N A Return Value CR LF IMSI CR LF CR LF OK C...

Страница 12: ...OK CR LF or CR LF ERROR CR LF Example AT CCID CCID 89860002190810001367 OK Read command AT CCID ERROR If no SIM card is installed ERROR is returned Remark The ICCID number is a character string of 20...

Страница 13: ...ple AT CGMM CGMM N11 V2 OK Remark N A 1 8 Querying the Manufacturer CGMI Description To query the manufacturer information Format AT CGMI CR Parameter N A Return Value CR LF CGMI manufacturer CR LF OK...

Страница 14: ...er the GPRS data service is connected 6 Four indicator states If no SIM card is installed or the SIM card does not register network the indicator blinks every one second and is on for 0 1 second If th...

Страница 15: ...N11 V2 AT Command Manual Copyright Neoway Technology Co Ltd 7 OK Remarks The default status setting is 7...

Страница 16: ...unknown 3 ringing There is an incoming call and the module is ringing The module can execute AT commands 4 call in progress A call is going on and the module can execute AT commands 5 asleep The modul...

Страница 17: ...t lac ci Act CR LF OK CR LF or CR LF ERROR CR LF or CR LF CME ERROR err CR LF n 0 Suppresses network registration and Provide the result code proactively default setting 1 Allows network registration...

Страница 18: ...1 OK AT CREG 5 CME ERROR 53 Set AT CMEE 1 then send AT CREG 5 Then return error code Remark N A 2 3 GPRS Network Registration CGREG Description To control the presentation of an unsolicited result cod...

Страница 19: ...CGREG n stat lac ci Act CR LF OK CR LF or CR LF OK CR LF or CR LF ERROR CR LF Example AT CGREG 1 OK AT CGATT 0 OK CGREG 4 Setting the Enable Network Registration Unsolicited Result Codes Setting GPRS...

Страница 20: ...hat the command can set Remark N A 2 4 Enabling Disabling the Terminal Display ATE1 ATE0 Description To enable or disable the terminal display function of the AT commands Format ATE1 CR ATE0 CR Parame...

Страница 21: ...ecuted successfully After the mode is set the return value for the AT CSQ command does not contain the code result OK ATQ0 OK AT OK Set to the code result output mode After the mode is set the return...

Страница 22: ...TV is equal to ATV1 After ATV0isexecuted the return value for a command in correct format is 0 default setting is OK which will follow the command 4 for command in incorrect format default setting is...

Страница 23: ...rameter saving Save parameter settings and restart the module Query the current parameter value The value is 1 AT W0 OK Save parameter settings This command has the same function as AT W Remarks The f...

Страница 24: ...T 3 k CR AT CMUX CR Parameter mode The mode of MUX that is enabled integer type 0 Basic option default value 1 Advanced option not supported currently subnet Subset of frame format integer type 0 UIH...

Страница 25: ...0 for it Return Value CR LF OK CR LF Example AT CMUX 0 OK Basic option Other parameters are left out AT CMUX 2 ERROR The set value exceeds the parameter range and the module returns ERROR AT CMUX 0 0...

Страница 26: ...the function mode 1 Restart the receiver before setting the function mode Return Value CR LF CFUN list of supported fun s list of supported rst s CR LF OK CR LF or CR LF CME ERROR err CR LF or CR LF...

Страница 27: ...eep mode The module enters the sleep mode when the DTR signal is at high level and exits from the sleep mode at low level Return value See the Example Example AT ENPWRSAVE 1 OK Enable the sleep mode o...

Страница 28: ...a valid value ERROR is returned AT IPR IPR 115200 OK Query the current baud rate of the module AT IPR IPR 0 9600 19200 38400 57600 115200 OK Query the valid baud rate range of the module Remarks The d...

Страница 29: ...No SIM card is installed AT CPIN CPIN SIM PIN OK PIN code is required AT CPIN 1245 ERROR PIN code is incorrect AT CPIN 1234 OK The input PIN code is correct AT CPIN CPIN SIM PUK OK PUK code is requir...

Страница 30: ...30 16 OK Set the real time clock of the module AT CCLK 11 10 14 09 30 ERROR Command format is incorrect AT CCLK CCLK 11 10 14 09 32 04 OK Query the setting of the real time clock Remark The settings...

Страница 31: ...28 Dedicated PAD access Return Value When mode 2 and command successful CR LF CLCK status class1 CR LF CLCK status class2 When mode is not 2 and command successful CR LF OK CR LF Example AT CLCK SC 2...

Страница 32: ...alue newpwd New password or code string type A pair of quotation marks is a must for the value Return Value CR LF CPWD list of supported fac pwdlength s CR LF CME ERROR err CR LF Example AT CPWD CPWD...

Страница 33: ...rn Value CR LF CSQ signal ber CR LF OK CR LF signal The following table shows the relationship between signal and RSSI Signal RSSI 0 4 or 99 107 dBm or unknown 1 10 93dBm 2 16 81dBm 3 22 69dBm 4 28 57...

Страница 34: ...ction fails automatic mode starts format 0 Long alphanumeric oper default value 1 Short format alphanumeric oper 2 Numeric oper oper It is given in format This field may be in 16 character long alphan...

Страница 35: ...ge of network selection AT COPS 2 OK Deregister the network Remark AcT is displayed only during the query of the current network selection parameters if the device supports UMTS AcT indicates the acce...

Страница 36: ...ol 0 indicates there is more base station information 1 indicates that this is the last line of the base station information Example AT POSI 1 POSI 1 460 00 27A8 EA7 1D 7 1 OK Obtain the information o...

Страница 37: ...he GGSN or the external packet data network If the value is null or omitted then the subscription value will be requested PDP_address a string parameter that identifies the MT in the address space app...

Страница 38: ...escription To send Unstructured Supplementary Service Data USSD Format AT CUSD n str dcs CR AT CUSD CR AT CUSD CR Parameter n 0 Do not display the return code 1 Display the return code 2 Cancel the re...

Страница 39: ...s not support this data service The module returns CUSD 4 AT CUSD CUSD 0 2 OK Query the value range of parameters AT CUSD CUSD 0 OK Query the current parameter value Remarks N A 4 3 Switching Data Mod...

Страница 40: ...ransmission mode ATO OK OK is returned after the mode is switched to data mode successfully in external protocol dialing ATO CONNECT 9600 CONNECT 9600 is returned after the module is switched to data...

Страница 41: ...ause the parameter format is incorrect A pair of quotation marks is required for each parameter AT NETAPN NETAPN OK Query the current settings of APN parameter Remarks N A 4 6 Setting Up a PPP Link XI...

Страница 42: ...or CREG 0 5 is returned the module does not registered the network 4 7 Setting GPRS Attach and Detach CGATT Description To set GPRS attach and detach Format AT CGATT state CR AT CGATT CR AT CGATT CR P...

Страница 43: ...and Remarks By default the module can automatically perform GPRS attach Ensure that the GPRS attach is set before the PPP connection is set up Add the AT CGATT command to the process to query the GPRS...

Страница 44: ...M first then ME ME_P ME prefer try ME first then SIM MT any of storages associated with ME SIM first Return Value CR LF CPMS used1 total1 used2 total2 used3 total3 CR LF OK CR LF OR CR LF CPMS mem1 us...

Страница 45: ...card is a preferred memory to store SMS messages 5 2 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 de...

Страница 46: ...C Set Chinese character UCS2 16 bit universal multiple octet coded character set USO IEC10646 The UCS2 character string is converted into a hexadecimal number ranging from 0x0000 to 0xFFFF UCS2 encodi...

Страница 47: ...s is CMT oa scts tooa lang encod priority cbn length CR LF data text mode SMS messages are directly displayed rather than stored 3 Use the report codes defined by mt 2 to transmit SMS instruction code...

Страница 48: ...1 0 0 0 OK Query the current setting of the parameters Remark The default settings of this command are 2 1 0 0 0 The recommended setting is CNMI 2 1 0 0 0 new messages are stored on SIM card rather th...

Страница 49: ...ccessfully and the command supports CBM storage CMGR stat sn mid dcs page pages CR LF data Stat REC UNREAD Received unread message REC READ Received messages have been read STO UNSENT Stored unsent me...

Страница 50: ...00413062 312503230468341A0D OK Set to PDU mode Read SMS messages AT CMGF 1 OK AT CSCS GSM OK AT CMGR 40 CMGR REC UNREAD 18777397945 14 03 26 13 57 58 32 hello world OK Set to text mode Read SMS messag...

Страница 51: ...e CMGF 1 Command is executed successfully and is SMS SUBMITs and or SMS DELIVERs CMGL index stat oa da alpha scts tooa toda length CR LF data CR LF CMGL index stat da oa alpha scts tooa toda length CR...

Страница 52: ...6C375C0E1693CD6835DB0D9783A15C91D2E06BDAA558AC1F60C52B937 CADCD2B747AA9021BDEC627E8E9441BD42655DEF446 CMGL 14 STO SENT 66045 050003010401E27778592EA7E7EBE9373C3C279BCF68F59AADC78FED6277 9BA596D7EBAEB5...

Страница 53: ...ce value mr to the module after the SMS message is sent successfully Format Command syntax Text mode AT CMGS da toda CR text is entered Ctrl Z ESC Command syntax PDU mode AT CMGS length CR PDU is give...

Страница 54: ...xadecimal system For details about PDU see the A 1 Content of PDU SMS Messages 5 8 Writing SMS Messages CMGW Description To write an SMS message into the memory The location information index will be...

Страница 55: ...00026002A535A53D153A653C1532052C7 Ctrl Z CMGW 1 OK 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...

Страница 56: ...Remarks N A 5 10 Delete SMS messages CMGD Description To delete SMS messages from the current memory Format AT CMGD index delflag CR AT CMGD CR Parameter index The recording number of the stored SMS m...

Страница 57: ...CSCA 8613800755500 145 OK Query the SMSC number Remarks This command is only used to temporarily modify SMS center number The settings will not be saved after the module is powered off To save the se...

Страница 58: ...7 00010001 in binary system indicating no status report 167 The validity period of the information is 24 hours 0 Default value 0 Only messages in text format can be sent 8 indicates PDU messages AT CS...

Страница 59: ...AE5C0F65F65019 OK Set the detailed header information to display Read the 14th message AT CSDH CSDH 0 OK Query the current parameter setting of the command AT CSDH CSDH 0 1 OK Query the value range of...

Страница 60: ...mple 0 to 3 5 All possible combination of CBM data encoding plans refer to dcs the default value is empty character string Return Value See the Example Example AT CSCB 0 2 2 OK Enable channel 2 and di...

Страница 61: ...dialling phonebook 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 to...

Страница 62: ...rs of phonebook memory number String type phone numberof the format type type Type of address octet in integer format refer TS 24 008 8 subclause 10 5 4 7 text The phonebook entry name string type fie...

Страница 63: ...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 type type Type of address text The ph...

Страница 64: ...by command Select TE Character Set CSCS UCS2 Return Value See the Example Example AT CPBW 1 091137880 129 Comneon OK Write a new contact to the phonebook 1 Sequence number 091137880 Phone number 129 c...

Страница 65: ...UM A 10086 129 0 4 OK Query my number A name of my number 10086 my number 129 common number type AT CPBS on OK AT CPBW 1 13651445684 129 t OK AT CNUM CNUM t 13651445684 129 0 4 OK Store my number Rema...

Страница 66: ...y set up on socket 0 AT TCPSETUP 0 neowayjsr oicp net 60 010 OK TCPSETUP 0 OK The connection to neowayjsr oicp net 60010 is set up on socket 0 successfully TCPCLOSE 0 Link Closed The link is closed AT...

Страница 67: ...om 1 to 2048 unit byte Return Value See the Example Example AT TCPSEND 0 1 OK TCPSEND 0 1 1 byte data is successfully sent through socket 0 AT TCPSEND 0 1024 TCPSEND ERROR Network congestion occurs wh...

Страница 68: ...ving TCP Data TCPRECV Description To receive TCP data Format TCPRECV n length data CR Parameter n Socket number ranging from 0 to 4 length The length of the data received data The data received Add 0x...

Страница 69: ...er n Socket number ranging from 0 to 4 Return Value IPSTATUS n CONNECT or DISCONNECT TCP or UDP send buffer size CONNECT or DISCONNECT Socket status TCP or UDP Link type value TCP or UDP send buffer s...

Страница 70: ..._recv Data acknowledged by the receiver TCPACK n DISCONNECT No connection is set up on this socket TCPACK NO TCP LINK A UDP link has been set up on this socket Example AT TCPACK 0 TCPACK 0 20 20 20 by...

Страница 71: ...ed data type 0 Hexadecimal ASCII code 1 Char type Return Value See the Example Example AT DATAFORMAT 0 0 OK AT TCPSEND 0 5 OK TCPSEND 0 5 TCPRECV 0 5 6162636465 Set the data transmitting and receiving...

Страница 72: ...N11 V2 AT Command Manual Copyright Neoway Technology Co Ltd 64 The setting is not saved after the module is powered off...

Страница 73: ...successfully set up on socket 1 AT UDPSETUP 0 neowayjsr oicp net 60010 OK UDPSETUP 0 OK The connection to neowayjsr oicp net 60010 is set up on socket 0 successfully AT UDPSETUP 0 58 60 184 213 11008...

Страница 74: ...f the link has not been set up the module returns UDPSEND ERROR After entering the command input the data to be sent until the module returns If the UDP data is sent successfully the module returns UD...

Страница 75: ...RMAT command is not used to set the sending format 8 3 Receiving UDP Data UDPRECV Description To receive UDP data Format UDPRECV n length data CR Parameter n Socket number ranging from 0 to 4 length T...

Страница 76: ...eives data Read data The data read is 1234567890 Remark N A 8 5 Closing UDP Link UDPCLOSE Description To close the UDP link Format AT UDPCLOSE n CR Parameter n Socket number ranging from 0 to 4 Return...

Страница 77: ...nsparent TCP link is set up by using domain name successfully AT TCPTRANS 220 199 66 56 TCPTRANS ERROR The command is in wrong format AT TCPTRANS 220 199 66 56 6800 OK TCPTRANS FAIL Failed to set up a...

Страница 78: ...0 199 66 56 6800 OK UDPTRANS OK A transparent UDP link is set up successfully AT UDPTRANS neowayjsr oicp net 60010 OK UDPTRANS OK A transparent UDP link is set up by using domain name successfully AT...

Страница 79: ...ink TRANSCLOSE Description To close the transparent transmission link Format AT TRANSCLOSE CR Parameter N A Return Value See the Example Example AT TRANSCLOSE TRANSCLOSE 0 OK A transparent TCP link is...

Страница 80: ...LISTEN bind error Fails to bind AT TCPLISTEN 6800 Listening Transparent listening has been set AT TCPLISTEN TCPLISTEN listening status Query the listening status Here the server is in the listening st...

Страница 81: ...any connection to the client Remarks N A 10 3 Closing Connections with the Client CLOSECLIENT Description To close all connections with the client Format AT CLOSECLIENT socket CR Parameter Socket Sock...

Страница 82: ...ceives 10 byte data in hexadecimal ASCII format Remarks Additional s makes this command different from the receive mode of the client mode in format 10 5 Sending Data to the Client TCPSENDS Descriptio...

Страница 83: ...AT TCPSENDS 0 1024 TCPSENDS ERROR Send TCP data Congestion AT TCPSENDS 0 10 TCPSENDS 0 is not link AT TCPSENDS 0 TCPSENDS 0 is not link No connection is set up on socket 0 AT TCPSENDS 0 5 TCPSENDS 0...

Страница 84: ...0 The listening function of the 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 listenin...

Страница 85: ...from the client IP 10 72 170 156 38061 Remarks N A 11 3 Sending Data to the Client FUDPSENDS Description To send data to the client Format AT FUDPSENDS ip port length CR Parameter ip IP address of the...

Страница 86: ...LENGTH ERROR The length is incorrect Remarks N A 11 4 Closing Listening for UDP Server CLOSEFUDPLISTEN Description To close listening for UDP server Format AT CLOSEFUDPLISTEN CR Parameter N A Return V...

Страница 87: ...ission mode 0 passive default 1 active Return Value FTPLOGIN Error The format of the AT command is incorrect FTPLOGIN Have Logged In The user has logged in to the FTP server FTPLOGIN AT Busy Last FTP...

Страница 88: ...onnect FTPLOGIN Error Fail to log in to the FTP server Remarks The FTP functions cannot be used together with the internal protocol stack TCP UDP function Data can be read or written on the FTP server...

Страница 89: ...her values Smaller than the data length of the file len Length of file downloaded from the start point Max value 5120 Return Value FTPGET Error The format of the AT command is incorrect FTPGET Error N...

Страница 90: ...he value of size is greater than the data length of the file Example AT FTPGET 1 2 FTPGET 446 drw rw rw 1 user group 0 Apr 14 15 55 drw rw rw 1 user group 0 Apr 14 15 55 rw rw rw 1 user group 1238528...

Страница 91: ...2 bytes from the start point in 200K txt AT FTPGET 200K txt 1 1 0 3074 ERROR len vaule exceeds the threshold AT FTPGET TEST test zhang pv txt 1 1 FTP Create data link Error Fail to set up data link AT...

Страница 92: ...e file length is n FTPPUT Delete File OK The file is deleted successfully FTPPUT Error send data error An FTP command that cannot be identified is entered The module will disconnect to the FTP server...

Страница 93: ...cading directories 12 5 Querying FTP Link Status FTPSTATUS Description To query the FTP link status Format AT FTPSTATUS CR Parameter N A Return Value FTPSTATUS status ip port status 0 The FTP link has...

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

Страница 95: ...and port ID are set correctly 13 3 HTTP Request HTTPACTION Description To execute an HTTP request Format AT HTTPACTION mode length type offset size CR Parameter mode HTTP request mode available value...

Страница 96: ...HttpOnly X AspNet Version 2 0 50727 X Powered By ASP NET X UA Compatible IE EmulateIE7 Date Thu 28 Nov 2013 03 06 57 GMT Connection close Content Length 13842 neoway homepage html Format 13842 bytes n...

Страница 97: ...EmulateIE7 Date Thu 28 Nov 2013 03 32 35 GMT Connection close HTTPCLOSED HTTP Link Closed The HTTP server responds AT HTTPPARA url 121 15 200 97 Service1 asmx Get Note OK AT HTTPPARA port 8080 OK AT H...

Страница 98: ...eoway com cn en index asp x OK AT HTTPPARA port 80 OK AT HTTPSETUP OK AT HTTPACTION 99 76 HEAD en index aspx HTTP 1 1 connection close HOST www neoway com cn OK HTTPRECV HTTP 1 1 200 OK Cache Control...

Страница 99: ...P link Remarks N A 13 5 Receiving HTTP Data HTTPRECV Description To report the data received from the HTTP connection Format CR LF HTTPRECV CR LF datas Parameter datas Data received through the HTTP c...

Страница 100: ...onnection close HTTPCLOSED HTTP Link Closed Remarks N A 13 6 HTTP Link Closing HTTPCLOSED Description Unsolicited report of the HTTP link closing Format CR LF HTTPCLOSED HTTP Link Closed CR LF Paramet...

Страница 101: ...value of the para 128 bytes at most for url 443 by default for port Return Value See the Example Example AT HTTPSPARA url www alipay com index html OK Set URL to the alipay homepage The URL supports D...

Страница 102: ...sfully only after the destination address and port are set correctly 14 3 HTTPS Request HTTPSACTION Description To execute HTTPS requests Format AT HTTPSACTION mode length type offset size CR Paramete...

Страница 103: ...ookie spanner Z761rjOVBLsAdq8c3 Rwpd9j7dWQJZjm pat h secure alipay homepage html format 56028 bytes alipay homepage HTTPSCLOSED HTTPS Link Closed Set the destination address The default port is 443 Se...

Страница 104: ...3 OK AT HTTPSSETUP OK AT HTTPSACTION 99 69 HEAD index html HTTP 1 1 HOST www alipay com connection close OK HTTP 1 1 200 OK Server spanner 1 0 6 Date Sat 02 Aug 2014 06 06 21 GMT Content Type text htm...

Страница 105: ...T HTTPSCLOSE CR Parameter N A Return Value See the Example Example AT HTTPSCLOSE OK Close an HTTPS link Remarks After HTTPSCLOSE is executed the HTTPS link is closed but the parameters set by HTTPSPAR...

Страница 106: ...TCONNPARAM 23342423b lixytest thing01 0lSoY eYnlSqUeAsbAKKQ ACmipZwEw9H7Ff0h1kOps OK Parameters are set successfully Remarks The parameters must be marked by quotation marks This command is applicable...

Страница 107: ...lt Return Value CR LF OK CR LF Example AT MQTTCONN lixytest mqtt iot gz baidub ce com 1883 0 60 OK Connect to the MQTT server successfully Remarks Host must be marked by quotation marks 15 4 Subscript...

Страница 108: ...name must be marked by quotation marks 15 6 Topic Publish MQTTPUB Description To publish a topic Format AT MQTTPUB retained qos topicname message CR Parameter Retained Retain mark Qos Quality of servi...

Страница 109: ...e connection again 15 8 Receiving Topic Content MQTTSUB Description To receive the topic content sent by the server Format MQTTSUB message_id topicname message_len message CR Parameter message_id Mess...

Страница 110: ...velopers can also send this command to check the connection status and decide whether to reconnect automatically after detecting disconnection To reconnect manually execute MQTTDISCONN to release reso...

Страница 111: ...entkey client key Type_name value of the parameter authmode 0 No authentication 1 Manage server authentication 2 Manage server and client authentication if requested by the remote server cacert string...

Страница 112: ...in TCP connections To use MQTT over TLS execute this command before authentication 16 2 Setting Device Authentication IMQTTAUTH Description Device authentication information Format AT CLOUDAUTH produc...

Страница 113: ...ode 0 set parameter only and do not enable authentication 1 set parameter and enable authentication The default value is 1 ParaValue MQTT parameter value Return Value CR LF OK CR LF Example AT IMQTTPA...

Страница 114: ...Optional the default value is 0 fragment_id fragment ID of long message Optional the default value is 0 Return Value CR LF CR LF IMQTTPUB packet_id CR LF OK CR LF Or CR LF CR LF CME ERROR err CR LF I...

Страница 115: ...rameter Topic Topic to be published Qos QoS value ranging from 0 to 2 Return Value CR LF CR LF IMQTTSUB packet_id CR LF OK CR LF Or CR LF CR LF CME ERROR err CR LF If valid data is input the module re...

Страница 116: ...F CR LF IMQTTUNSUB packet_id status CR LF Packet_id packet ID returned after subscribing the message Status status returned after subscribing the message 0 successful QoS0 1 Timeout 2 Other errors Exa...

Страница 117: ...mple IMQTTRCVPUB 24761 test_topic_001 5 hello OK The module reports message received in an unsolicited manner Remarks The module reports message received in an unsolicited manner after it receives the...

Страница 118: ...ology Co Ltd 110 16 10 Disconnecting to the MQTT Server IMQTTCONN Description To disconnect to the MQTT server Format AT IMQTTDISCONN CR Parameter N A Return Value CR LF OK CR LF Example AT MQTTDISCON...

Страница 119: ...0 to 16384 unit byte time timeout period ranging from 0 to 60000 unit ms Return Value CR LF FSWF Timeout CR LF or CR LF OK CR LF or CR LF ERROR CR LF Example AT FSWF test txt 1 1024 10000 OK Write 10...

Страница 120: ...AT FSRF test txt 0 10 FSRF 10 start01234 OK Read 10 byte data from the beginning of the test txt file AT FSRF test txt 0 0 FSRF 0 OK Read 0 byte data from the beginning of the test txt file AT FSRF t...

Страница 121: ...he size of the text txt file The size is 1024 bytes AT FSFS 123 txt ERROR Obtain the size of the 123 txt file ERROR is returned because the file does not exist Remarks N A 17 4 Deleting a File FSDF De...

Страница 122: ...ull the level down at the ON OFF pin to restart the module 18 2 Updating Time UPDATETIME Description To update the module time to the network time Format AT UPDATETIME mode serv_ip time TZ DST CR AT U...

Страница 123: ...the time was updated last time AT UPDATETIME 0 UPDATETIME Last Update Time 0000 00 00 00 00 00 OK Query when the time was updated last time The time was not updated AT UPDATETIME 1 210 72 145 44 10 UP...

Страница 124: ...inability to support time update AT UPDATETIME 1 time windows com 10 W12 1 UPDATETIME Domain Name Invalid The domain name is invalid The possible reason is the SIM USIM card is out of credit AT UPDAT...

Страница 125: ...or without quotation marks Return Value See the Example Example AT DNS www china com OK DNS 124 238 253 103 DNS OK Query the IP address of www china com and the module returns the IP address 124 238...

Страница 126: ...ng statistics for 183 232 231 172 Packets Sent 5 Received 5 Lose 0 0 max_delay 780 ms min_delay 299 ms average delay 570 ms PINGwww baidu com Send 4 request data packets 12 bytes continuously Receive...

Страница 127: ...nt successfully The module reports location information AT CIPGSMLOC GPRS DISCONNECTION CIPGSMLOC CONTACT FAIL No SIM card is installed AT CIPGSMLOC CIPGSMLOC CONTACT FAIL Fail to translate the server...

Страница 128: ...to BS time 1 Allow updating to BS time Return Value See the Example Example AT GLTS 0 OK Forbid updating to BS time AT GLTS 1 OK Allow updating to BS time AT GLTS GLTS 0 1 OK Query the parameter valu...

Страница 129: ...N11 V2 AT Command Manual Copyright Neoway Technology Co Ltd 121 not support proactive time issuing...

Страница 130: ...mode there are multiple receiving modes 81 indicates that the receiving mode is unknown 6 Inversion of every two bits add F if the bits are not sufficient in the recipient number For example 13421839...

Страница 131: ...ts from 0100 so the value of LENGTH in AT CMGS LENGTH is 23 The following is an example of the PDU message whose SMSC address length is 0 0001000B813124819396F300080A00680065006C006C006F Wherein 00 SM...

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

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

Страница 134: ...N11 V2 AT Command Manual Copyright Neoway Technology Co Ltd 126...

Отзывы: