Neoway N706 Commands Manual

  • Hello! I've analyzed the N706 AT Commands Manual and I'm ready to assist you with any questions about the module. The document covers a wide array of functionalities, from basic network registration and SMS handling to advanced features like TCP/UDP, FTP, HTTP/HTTPS, SSL, and MQTT protocols. I can help you understand the various AT commands and how to use them for your applications.
  • How do I query the signal quality?
    How can I read SMS messages?
    What command do I use to set up a TCP connection?
    How do I check the network registration status?
N706
AT Commands Manual
Issue 1.0 Date 2022-07-01
N706 AT Commands Manual
Copyright
Copyright © Neoway Technology Co., Ltd.
ii
Copyright © Neoway Technology Co., Ltd 2022. 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 N706.
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:
Website: http://www.neoway.com
N706 AT Commands Manual
Contents
Copyright © Neoway Technology Co., Ltd.
iii
Contents
1 Boot LOG Instruction ............................................................................... 10
2 AT Syntax................................................................................................. 11
2.1 Symbols ....................................................................................................................................... 11
2.2 Description .................................................................................................................................. 11
2.3 Command Types ........................................................................................................................ 12
2.4 Command Response Time-Out .................................................................................................. 12
3 General Commands ................................................................................ 15
3.1 ATIQuerying the Manufacturer Information ............................................................................ 15
3.2 AT+GMRQuerying the Firmware Version ............................................................................... 15
3.3 AT+CSQQuerying Signal Quality ............................................................................................ 16
3.4 AT+CREGQuerying the Network Registration Status ............................................................ 17
3.5 AT+CEREGQuerying EPS Network Registration Status ........................................................ 18
3.6 AT+COPSSelecting an Operator ............................................................................................ 19
3.7 AT+CIMIRequesting International Mobile Subscriber Identity (IMSI) ..................................... 21
3.8 AT+CGSNRequesting Product Serial Number Identification .................................................. 22
3.9 AT+GSNRequesting Product Serial Number Identification .................................................... 22
3.10 AT+CCIDObtaining ICCID of SIM Card ................................................................................ 23
3.11 AT+CGMMRequesting Model Identification .......................................................................... 23
3.12 AT+GMMQuerying Module Model ........................................................................................ 24
3.13 AT+IPRSetting Baud Rate .................................................................................................... 25
3.14 AT+CFUNSetting Module Functionality ................................................................................ 25
3.15 AT+CMUXEnabling/Disabling Multiplexing Mode ................................................................. 26
3.16 AT+CCLKClock ..................................................................................................................... 28
3.17 AT+CPINEntering PIN Code ................................................................................................. 29
3.18 AT+CLCKFacility Lock .......................................................................................................... 30
3.19 AT+CPWDChanging the Password ...................................................................................... 31
3.20 AT+CGDCONTDefining PDP Context .................................................................................. 32
3.21 AT+XGAUTHPDP Authentication ......................................................................................... 33
3.22 AT+CGATTSetting GPRS Attach and Detach ...................................................................... 34
3.23 ATE1/ATE0Enabling/Disabling the Terminal Display ............................................................ 36
3.24 ATD*99#GPRS ..................................................................................................................... 37
3.25 AT+ENPWRSAVEEnabling or Disabling Sleep Mode .......................................................... 37
3.26 AT+CESQExtended Signal Quality ....................................................................................... 38
3.27 AT+NWDNSParsing the Domain Name ............................................................................... 39
4 SMS Commands ..................................................................................... 41
4.1 AT+CSMSSelecting SMS Services ........................................................................................ 41
N706 AT Commands Manual
Contents
Copyright © Neoway Technology Co., Ltd.
iv
4.2 AT+CPMSSetting Preferred SMS Storage ............................................................................. 42
4.3 AT+CMGFSetting Message Format ....................................................................................... 43
4.4 AT+CSCSSetting the TE Character Set ................................................................................. 44
4.5 AT+CNMINew Message Indications to TE ............................................................................. 45
4.6 AT+CMGRReading SMS Message ........................................................................................ 47
4.7 AT+CMGLSMS Message List ................................................................................................. 49
4.8 AT+CMGSSending SMS Messages ....................................................................................... 51
4.9 AT+CMGWWriting SMS Messages ........................................................................................ 52
4.10 AT+CMSSSending Messages from Storage ........................................................................ 53
4.11 AT+CMGDDeleting SMS Messages ..................................................................................... 54
4.12 AT+CSCAService Center Address ....................................................................................... 55
4.13 AT+CSMPSetting Text Mode Parameters ............................................................................ 56
4.14 AT+CSDHShowing Text Mode Parameters .......................................................................... 57
5 TCP/UDP Client Commands ................................................................... 59
5.1 AT+NETAPNSetting Network APN ......................................................................................... 59
5.2 AT+XIICSetting up a PPP Link ............................................................................................... 59
5.3 AT+TCPSETUPSetting up a TCP Connection ....................................................................... 60
5.4 AT+TCPSENDSending TCP Data .......................................................................................... 62
5.5 AT+RECVMODESetting Receive Mode ................................................................................. 63
5.6 +TCPRECVURC Notifying Data Received from Server ......................................................... 64
5.7 A+TCPREADReading TCP Data ............................................................................................ 65
5.8 AT+TCPCLOSEClosing a TCP Connection ........................................................................... 66
5.9 AT+UDPSETUPSetting up a UDP Connection ....................................................................... 66
5.10 AT+UDPSENDSending UDP Data ....................................................................................... 68
5.11 +UDPRECVURC Notifying UDP Data Received .................................................................. 69
5.12 AT+UDPREADReading UDP Data ....................................................................................... 70
5.13 AT+UDPCLOSEClosing UDP Link ....................................................................................... 70
5.14 AT+IPSTATUSQuerying the Transparent TCP/UDP Socket Status ..................................... 71
5.15 AT+TCPACKQuerying Status of Data Sent by TCP Socket ................................................. 72
5.16 AT+DNSSERVERSetting DNS Server ................................................................................. 73
5.17 AT+PDPKEEPALIVESetting PDP Keepalive Heartbeat ....................................................... 74
5.18 AT+PDPSTATUSQuerying PDP Status ................................................................................ 75
5.19 AT+TCPKEEPALIVESetting TCP Keepalive Heartbeat ....................................................... 75
6 TCP/UDP Transparent Commands ......................................................... 78
6.1 AT+TCPTRANSSetting up a Transparent TCP Connection ................................................... 78
6.2 AT+UDPTRANSSetting up a Transparent UDP Connection .................................................. 79
6.3 AT+TCPACKQuerying of Data Transmitted Status ................................................................. 80
6.4 AT+IPSTATUSQuerying the TCP/UDP Socket Status............................................................ 81
6.5 AT+TRANSCLOSEClosing the Transparent Connection ....................................................... 82
7 FTP Commands ...................................................................................... 84
7.1 AT+FTPLOGINLogging in to the FTP Server ......................................................................... 84
7.2 AT+FTPLOGOUTLogging out from the FTP Server ............................................................... 85
N706 AT Commands Manual
Contents
Copyright © Neoway Technology Co., Ltd.
v
7.3 AT+FTPGETDownloading Data from the FTP Server ............................................................ 86
7.4 AT+FTPPUTUploading Data to the FTP Server ..................................................................... 87
7.5 AT+FTPSIZEObtaining the FTP File Size .............................................................................. 89
7.6 AT+FTPSTATUSQuerying the FTP Connection Status .......................................................... 90
8 HTTP/HTTPS Commands ....................................................................... 91
8.1 AT+HTTPPARASetting HTTP Parameters ............................................................................. 91
8.2 AT+HTTPSETUPSetting up an HTTP Connection ................................................................. 92
8.3 AT+HTTPACTIONHTTP Request ........................................................................................... 92
8.4 AT+HTTPCLOSEClosing the Socket of an HTTP Client ........................................................ 96
8.5 +HTTPRECVURC Notifying HTTP Data Received ................................................................ 96
8.6 AT+HTTPGETDownloading HTTP Files ................................................................................. 98
8.7 +HTTPGETRPTURC Notifying Downloading Result ............................................................. 99
8.8 AT+HTTPGETSTAT?Querying the HTTP Downloading Result ............................................ 101
8.9 +HTTPCLOSEDURC Notifying Socket of the HTTP Client is Closed .................................. 102
8.10 AT+HTTPSCFGConfiguring SSL Parameters for HTTPS .................................................. 103
8.11 AT+HTTPSPARASetting HTTPS Parameters .................................................................... 104
8.12 AT+HTTPSSETUPSetting up an HTTPS Connection ........................................................ 105
8.13 AT+HTTPSACTIONSending an HTTPS Request .............................................................. 106
8.14 AT+HTTPSCLOSEClosing an HTTPS Connection ............................................................ 108
8.15 +HTTPSRECVURC Notifying HTTPS Data Received ....................................................... 109
8.16 AT+HTTPSGETDownload HTTPS Files .............................................................................. 110
8.17 +HTTPSGETRPTURC Notifying Downloading Result ........................................................ 111
8.18 AT+HTTPSGETSTAT?Querying the Download Result ....................................................... 113
8.19 AT+FILEHTTPACTIONHTTP Request in File System ........................................................ 115
8.20 AT+FILEHTTPACTIONHTTPS Request in File System ...................................................... 116
8.21 +FILEHTTPSTATURC Notifying the HTTP(S) Uploading/Downloading Result .................. 118
8.22 +HTTPCLOSEDURC Notifying HTTP Link Closed ............................................................. 119
9 Wi-Fi Function ....................................................................................... 120
9.1 AT+WIFIAPSCANWi-Fi Hotspot Scanning ........................................................................... 120
9.2 AT+WIFIGSMLOCWi-Fi Positioning ..................................................................................... 120
10 SSL TCP Data Service ........................................................................ 122
10.1 AT+SSLTCPCFGConfiguring SSL Parameters for TCP ..................................................... 122
10.2 AT+SSLTCPSETUPSetting up a TCP Connection over SSL ............................................. 123
10.3 AT+SSLTCPCLOSEClosing a TCP Connection over SSL ................................................. 125
10.4 AT+SSLTCPSENDSending TCP Data over SSL ................................................................ 125
10.5 +SSLTCPRECVURC Notifying SSLTCP Data is Received ................................................ 126
10.6 AT+CERTADDAdding SSL Certificate ................................................................................ 127
10.7 AT+CERTCHECKChecking the SSL Certificate ................................................................. 128
10.8 AT+CERTDELDeleting an SSL Certificate ......................................................................... 128
10.9 AT+SSLTCPCFGAConfiguring SSL Parameters for TCP .................................................. 129
10.10 AT+SSLTCPREADReading SSL TCP Data ...................................................................... 130
10.11 AT+SSLCIPHERSETRemoving Weak Algorithm from the SSLTCP Connection ............. 131
N706 AT Commands Manual
Contents
Copyright © Neoway Technology Co., Ltd.
vi
11 MQTT Commands ............................................................................... 132
11.1 AT+MQTTTLSConfiguring TLS Parameters ....................................................................... 132
11.2 AT+MQTTCONNPARAMSetting User Parameters ............................................................ 133
11.3 AT+MQTTWILLPARAMSetting Will .................................................................................... 134
11.4 AT+MQTTWILLMSGSetting Long Will Messages .............................................................. 135
11.5 AT+MQTTCONNConnection Command ............................................................................. 135
11.6 AT+MQTTSUBSubscribing a Topic .................................................................................... 136
11.7 AT+MQTTUNSUBCanceling a Subscription ....................................................................... 137
11.8 AT+MQTTPUBPublishing a Topic ....................................................................................... 138
11.9 AT+MQTTPUBSPublishing a Topic with Long Message .................................................... 139
11.10 AT+MQTTDISCONNDisconnecting from the MQTT Server ............................................. 139
11.11 +MQTTSUBURC Notifying Received Topic Content ........................................................ 140
11.12 AT+MQTTSTATEQuery the MQTT Connection Status .................................................... 141
12 GSM Location Command .................................................................... 142
12.1 AT+CIPGSMLOCObtaining the Location of the Module ..................................................... 142
13 Time Synchronization Commands ....................................................... 144
13.1 AT+UPDATETIMEUpdating Time to Network ..................................................................... 144
14 Network Sharing Commands ............................................................... 147
14.1 AT+NETSHAREMODESelecting Network Sharing Mode .................................................. 147
14.2 AT+NETSHAREACTEnabling Network Sharing ................................................................. 148
15 File System Commands ...................................................................... 150
15.1 AT+FSWFWriting Data to File ............................................................................................. 150
15.2 AT+FSRFReading Data from a File .................................................................................... 151
15.3 AT+FSRFEXReading File ................................................................................................... 152
15.4 AT+FSDFDeleting a File ..................................................................................................... 153
15.5 AT+FSLISTObtaining File List ............................................................................................ 154
15.6 AT+FSFSObtaining the Size of a File ................................................................................. 155
15.7 AT+FSLSObtaining the Remaining Storage Size of User Disk .......................................... 156
15.8 AT+FSFATFormating the User Disk ................................................................................... 157
15.9 AT+FSRNRenaming the File .............................................................................................. 158
16 SIM Card Related Commands ............................................................. 159
16.1 AT+SIMCROSSSwitching SIM ........................................................................................... 159
17 Other Commands ................................................................................ 161
17.1 AT+NRSPQuerying RSRP, RSRQ, SINR of Cells in a Neighbor of a Serving Cell on the LTE
Network .......................................................................................................................................... 161
17.2 AT+NETMSGQuerying Network Registration Information .................................................. 161
17.3 AT+NETDMSGQuerying Network Registration Information ............................................... 163
17.4 AT+NEOFOTAFOTA Command ......................................................................................... 165
17.5 AT+NEOFOTAURCFOTA Status Report ............................................................................ 166
17.6 AT+READADCReading ADC Value .................................................................................... 167
17.7 AT+NBANDLOCKLocking Multiple Frequency Bands ........................................................ 168
N706 AT Commands Manual
Contents
Copyright © Neoway Technology Co., Ltd.
vii
17.8 AT+NFREQLOCKLocking the Specified Frequency .......................................................... 169
17.9 AT+IPINFOQuerying Socket Connection Information ........................................................ 171
17.10 AT+CGACTActivating/Deactivating PDP Context ............................................................ 172
Error Codes ........................................................................................... 173
A.1 General Error Codes ................................................................................................................ 173
A.2 FTP Error Codes ...................................................................................................................... 175
A.3 HTTP(S) Error Codes .............................................................................................................. 175
Reference Process of AT Command Programming .............................. 178
B.1 Content of PDU SMS Messages ............................................................................................. 178
B.2 Flowchart of Sending Text SMS Messages (Through UART) ................................................. 180
B.3 Flowchart of Sending PDU SMS Messages (Through UART) ................................................ 181
Supported Band List ............................................................................. 182
C.1 GSM Bands ............................................................................................................................. 182
C.2 LTE Bands ............................................................................................................................... 182
N706 AT Commands Manual
About This Document
Copyright © Neoway Technology Co., Ltd.
viii
About This Document
Scope
This document is applicable to N706.
Audience
This document is intended for system engineers (SEs), development engineers, and test engineers.
Change History
Issue
Date
Changed by
1.0
2022-06
Tao Wenhong
N706 AT Commands Manual
About This Document
Copyright © Neoway Technology Co., Ltd.
ix
Conventions
Symbol
Indication
This warning symbol means danger. You are in a situation that could cause fatal
device damage or even bodily damage.
Means reader be careful. In this situation, you might perform an action that could
result in module or product damages.
Means note or tips for readers to use the module
Related Documents
Neoway_N706_Datasheet
Neoway_N706_Product_Specifications
Neoway_N706_HW_User_Guide
Neoway_N706_EVK_User_Guide
N706 AT Commands Manual
Chapter 1 Boot LOG Instruction
Copyright © Neoway Technology Co., Ltd.
10
1 Boot LOG Instruction
The UART outputs \r\n+PBREADY\r\n after the phonebook is available.
N706 AT Commands Manual
Chapter 2 AT Syntax
Copyright © Neoway Technology Co., Ltd.
11
2 AT Syntax
2.1 Symbols
<CR>: carriage return character
<LF>: linefeed character
<..>: parameter name, the angle brackets do not appear in the command line.
[..]: optional parameter, the square brackets do not appear in the command line.
: space
2.2 Description
Prefix
AT or at
Command Line
Standard commands, in compliance with 3GPP 27007, 27005and ITU-T Recommendation V.250.
Extended commands, defined by Neoway
Joint Mark
+ or $, used between the prefix and a command line
Termination Character
<CR>, i.e. 0x0D
N706 AT Commands Manual
Chapter 2 AT Syntax
Copyright © Neoway Technology Co., Ltd.
12
Response Syntax
<CR><LF>response<CR><LF>
Response can be one or multiple messages.
Result Syntax
<CR><LF>OK<CR><LF> indicates that a command is executed successfully.
<CR><LF>ERROR<CR><LF> indicates that a command fails to be executed.
For the error codes, see Appendix A.
2.3 Command Types
Type
Syntax
Response
Function
Set
AT+CMD=<VALUE><CR>
<CR><LF>OK<CR><LF>
Or
<CR><LF>ERROR<CR><LF>
Store a value or
values for later use
Execute
AT+CMD[=<VALUE>]<CR>
[<CR><LF>response]
<CR><LF>OK<CR><LF>
Or
<CR><LF>ERROR<CR><LF>
Invoke a function of
the module.
Test
AT+CMD=?<CR>
[<CR><LF>response]
<CR><LF>OK<CR><LF>
Determine the range
of parameter values
or parameter lengths
that are supported
Query
AT+CMD?<CR>
[<CR><LF>response]
<CR><LF>OK<CR><LF>
Determine the current
value or values stored
Unsolicited
result code
<CR><LF>+CMD:
<VALUE><CR><LF>
N/A
Report the status
change and data
receiving
Remarks
Symbols are not displayed in AT commands. All commands comply with the rules in this
chapter.
2.4 Command Response Time-Out
Every command issued to the Neoway module returns a result response and the time needed to
N706 AT Commands Manual
Chapter 2 AT Syntax
Copyright © Neoway Technology Co., Ltd.
13
process the given command and return the response varies, depending on the command type.
Commands that do not interact with the SIM or the network, and only involve internal setups or
readings, have an immediate response, and the maximum response timeout is default to 300 ms.
Commands that interact with the SIM/USIM, the network, or the peripherals could take many seconds
to send a response, depending on SIM configuration (e.g., number of contacts stored in the
phonebook, number of stored SMS), on the network the command may interact with (e.g., network
quality, network congestion, and so on), or on the peripheral type.
In the table below are listed only the commands whose interaction with the SIM, the network, or the
peripheral could lead to long response timings. For other commands not listed in the table below, the
maximum response time is 300 ms.
No.
Command
Estimated maximum time to get response (Seconds)
1
AT+COPS
180
2
AT+CLCK
15
3
ATD*99#
30
4
AT+CMGR
30
5
AT+CMGL
30
6
AT+CMGS
30
7
AT+XIIC
60
8
AT+TCPSETUP
60
9
AT+TCPSEND
30
10
AT+TCPCLOSE
5
11
AT+UDPSETUP
30
12
AT+UDPSEND
30
13
AT+TCPSENDS
30
14
AT+TCPTRANS
"OK" or "ERROR" is returned within 300 ms; the actual
connection status is returned within 60s.
15
AT+FTPLOGIN
30
16
AT+FTPLOGOUT
30
17
AT+FTPGET
30
18
AT+FTPPUT
30
19
AT+FTPSIZE
30
20
AT+HTTPSETUP
60
21
AT+HTTPACTION
60
22
AT+HTTPCLOSE
60
N706 AT Commands Manual
Chapter 2 AT Syntax
Copyright © Neoway Technology Co., Ltd.
14
23
AT+HTTPGET
60
24
AT+HTTPSSETUP
60
25
AT+HTTPSACTION
60
26
AT+HTTPSCLOSE
60
27
AT+HTTPSGET
60
28
AT+FILEHTTPACTION
60
29
AT+FILEHTTPSACTION
60
30
ATD
60
31
AT+WIFIAPSCAN
30
32
AT+WIFIGSMLOC
30
33
AT+CLOUDSUB
30
34
AT+CLOUDPUB
30
35
AT+CLOUDUNSUB
30
36
AT+CLOUDDISCONN
30s+100ms
37
AT+MQTTWILLMSG
30
38
AT+MQTTSUB
10
39
AT+MQTTUNSUB
10
40
AT+MQTTPUB
30
41
AT+MQTTPUBS
30
42
AT+MQTTDISCONN
10
43
AT+AWSCONN
20
44
AT+NWBTBLEPWR
10
45
AT+NWBLESCAN
Custom
46
AT+CIPGSMLOC
10
47
AT+UPDATETIME
60
48
AT+FSWF
Custom, ranging from 0 to 240
49
AT+MYCELLINFO
300
50
AT+CGACT
60s per dial-up operation
N706 AT Commands Manual
Chapter 3 General Commands
Copyright © Neoway Technology Co., Ltd.
15
3 General Commands
3.1 ATIQuerying the Manufacturer Information
To query the manufacturer information, including manufacture, model, and version
Format
Type
Command
Response
Execute
ATI<CR>
<CR><LF><manufacturer>
<CR><LF><module_version>
<CR><LF><soft_version>
<CR><LF>OK<CR><LF>
Parameter
<manufacturer>
Module manufacturer, module name, software version.
<module_version>
Module model
<soft_version>
software version
Example
ATI
NEOWAY
N706
V001
OK
Manufacturer
Module model
Version
3.2 AT+GMRQuerying the Firmware Version
To query the firmware version
N706 AT Commands Manual
Chapter 3 General Commands
Copyright © Neoway Technology Co., Ltd.
16
Format
Type
Command
Response
Execute
AT+GMR<CR>
<CR><LF>+GMR: <reversion>
<CR><LF>OK<CR><LF>
Parameter
<reversion>
Firmware version of the module.
Example
AT+GMR
+GMR: N706-R004-STD-BZ-003
OK
Query the firmware version
3.3 AT+CSQQuerying Signal Quality
To query the receiving signal strength indication (RSSI).
Format
Type
Command
Response
Execute
AT+CSQ<CR>
<CR><LF>+CSQ: <signal>,<ber>
<CR><LF>OK<CR><LF>
Parameter
<signal>
The following table shows the relationship between the signal (CSQ) and the
RSSI.
signal
rssi
0
<4 or 99
<-107 dBm or unknown
1
<10
< -93 dBm
2
<16
< -111 dBm
3
<22
< -69 dBm
4
<28
< -57 dBm
5
>=28
>=-57 dBm
N706 AT Commands Manual
Chapter 3 General Commands
Copyright © Neoway Technology Co., Ltd.
17
<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: 19,2
OK
Query the signal quality.
3.4 AT+CREGQuerying the Network Registration Status
To query the network registration status of the module.
Format
Type
Command
Response
Execute
AT+CREG=[<n>]<CR>
<CR><LF>OK<CR><LF>
Or
<CR><LF>ERROR<CR><LF>
Or
<CR><LF>+CREG:<stat>[,<lac>,<ci>[,<Act>]]<CR><LF>
Query
AT+CREG?
<CR><LF>+CREG: <n>,<stat>
<CR><LF>OK<CR><LF>
Test
AT+CREG=?
<CR><LF>+CREG: range of supported<n>
<CR><LF>OK<CR><LF>
Parameter
<n>
0: Disable network registration unsolicited result code (default setting).
1: Enable network registration unsolicited result code +CREG: <stat>.
2: Enable network registration and location information (Cell ID, Local ID)
unsolicited result code +CREG: <stat>[,[<lac>],[<ci>],[<AcT>]]
<stat>
0: Not registered, the module is not currently searching an operator to register to
1: Registered the home network
2: Not registered, but the module is currently trying to attach or searching an
operator to register to
3: Registration denied
4. Unknown code
N706 AT Commands Manual
Chapter 3 General Commands
Copyright © Neoway Technology Co., Ltd.
18
5: Registered, roaming
6: ltesms only home
7: ltesms only roaming
8: EMER SVCE ONLY
9: CSFB NOT PREFER HOME
10: CSFB NOT PREFER ROAMING
<lac>
Two-byte location area code in hexadecimal format, string type.
<ci>
Four-byte cell ID in hexadecimal format, string type.
<Act>
0: GSM
1: GSM compact
2: UTRAN
3: GSM w/EGPRS
4: UTRAN w/HSDPA
5: UTRAN w/HSUPA
6: UTRAN w/HSDPA AND w/HSUPA
7: E-UTRAN
8: UTRAN w/HSPA+
Example
AT+CREG=1
OK
Enable network registration unsolicited codes.
AT+CREG?
+CREG: 0,1
OK
Query the network registration status of the module.
AT+CREG=?
+CREG: (0-2)
OK
Query the value range of the network registration status parameter.
3.5 AT+CEREGQuerying EPS Network Registration
Status
To query the EPS network registration status of the module.
Format
Type
Command
Response
Execute
AT+CEREG=[<n>]<CR>
<CR><LF>OK<CR><LF>
Query
AT+CEREG?<CR>
<CR><LF>+CEREG:
<stat>[,[<tac>],[<ci>],[<AcT>][,,[,[<Active-Time>],[<Peri
odic-TAU>]]]]
<CR><LF>OK<CR><LF>
N706 AT Commands Manual
Chapter 3 General Commands
Copyright © Neoway Technology Co., Ltd.
19
Test
AT+CEREG=?<CR>
<CR><LF>+CEREG: (list of supported<n>s)
<CR><LF>OK<CR><LF>
Parameter
<n>
0: Disable network registration unsolicited result code (default setting).
1: Enable network registration unsolicited result code +CREG: <stat>.
2: Enable network registration and location information (Cell ID, Local ID)
unsolicited result code +CREG: <stat>[,[<lac>],[<ci>],[<AcT>]]
4: Enable network registration unsolicited result codes containing Active-Time and
Periodic-TAU
<stat>
0: Not registered, the module is not currently searching an operator to register to
1: Registered the home network
2: Not registered, but the module is currently trying to attach or searching an
operator to register to
3: Registration denied
4. Unknown code
5: Registered, roaming
<tac>
Two-byte location area code in hexadecimal format, string type.
<ci>
Two-byte cell ID in hexadecimal format, string type.
<Act>
0: GSM
1: GSM compact
2: UTRAN
3: GSM w/EGPRS
4: UTRAN w/HSDPA
5: UTRAN w/HSUPA
6: UTRAN w/HSDPA and HSUPA
7: E-UTRAN
Example
AT+CEREG?
+CEREG: 0,1
OK
Query the network registration status of the module.
Registered the home network.
AT+CEREG=1
OK
Enable unsolicited codes of network registration.
AT+CEREG=?
+CEREG: (0-2,4)
OK
Query the value range of the network registration status parameter.
3.6 AT+COPSSelecting an Operator
To select an operator.
N706 AT Commands Manual
Chapter 3 General Commands
Copyright © Neoway Technology Co., Ltd.
20
Format
Type
Command
Response
Execute
AT+COPS=[<mode>[,<format>[,<op
er>>[,<AcT>]]]]<CR>
<CR><LF>OK<CR><LF>
Query
AT+COPS?<CR>
<CR><LF>+COPS:<mode>[,<format>,<oper>[,
<AcT>]]
Test
AT+COPS=?<CR>
<CR><LF>+COPS: [list of supported
(<stat>,long alphanumeric <oper>,short
alphanumeric <oper>,numeric
<oper>[,<AcT>])s][,,(list of
supported<mode>s),(list of supported
<format>s)]<CR><LF>
<CR><LF>OK<CR><LF>
Parameter
<mode>
To set automatic network selection or manual selection.
0: Automatic selection (ignore the parameter <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> (default).
1: Short format alphanumeric <oper>
2: Numeric <oper>
<oper>
It is given in <format>. This field may be in 16-character long alphanumeric format,
8-characters short alphanumeric format, or 5-character numeric format
(MCC/MNC).
<AcT>
indicates the radio access technology and its value can be 0, 1, and 2.
0: GSM
1: GSM compact
3: GSM w/EGPRS
7: E-UTRAN
Example
AT+COPS=0,0
OK
Automatic network selection is enabled. Long alphanumeric mode.
AT+COPS=0,2
OK
Set to digital mode
AT+COPS?
+COPS: 0,0,"CHINAMOBILE",7
OK
China Mobile
AT+COPS?
If it is set to digital mode, get the number 46000.
/