Neoway N300 Commands Manual

Type
Commands Manual
AT Commands Manual
Issue 1.0 Date 2021-03-23
N300 AT Commands Manual
Copyright
Copyright © Neoway Technology Co., Ltd
ii
Copyright © Neoway Technology Co., Ltd 2021. 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 N300.
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
N300 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
3 General Commands ................................................................................ 13
3.1 ATI–Querying the Manufacturer Information ............................................................................ 13
3.2 AT+CGMR–Querying the Software Version ............................................................................. 14
3.3 AT+CGSN–Querying the IMEI .................................................................................................. 14
3.4 AT+CIMI–Querying the IMSI ..................................................................................................... 15
3.5 AT+CCID–Obtaining the ICCID of the SIM Card ...................................................................... 16
3.6 AT+CGMM–Querying the Module Model .................................................................................. 17
4 UE Control and Status Report ................................................................. 18
4.1 AT+CREG–Querying Network Registration Status .................................................................. 18
4.2 AT+CGREG–Network Registration ........................................................................................... 19
4.3 AT+CEREG–Querying EPS Network Registration Status ........................................................ 21
4.4 ATE1/ATE0–Enabling/Disabling the Terminal Display .............................................................. 24
4.5 ATQ–Setting the Code Result Suppression Mode ................................................................... 25
4.6 ATV–Setting the Response Format of the Device .................................................................... 26
4.7 AT&F–Resetting the Module to Factory Settings ...................................................................... 27
4.8 AT+CFUN–Setting Module Functionality .................................................................................. 27
4.9 AT+IPR–Setting Baud Rate ...................................................................................................... 28
4.10 AT+CCLK–Clock ..................................................................................................................... 30
4.11 AT+CPIN–Entering PIN Code ................................................................................................. 30
4.12 AT+CLCK–Locking/Unlocking Module .................................................................................... 32
4.13 AT+CPWD–Modifying Password ............................................................................................ 34
4.14 CMEE–Setting Error Information ............................................................................................ 35
5 SMS Commands ..................................................................................... 37
5.1 AT+CSMS–Selecting SMS Services ........................................................................................ 37
5.2 AT+CPMS–Setting Preferred SMS Storage ............................................................................. 38
5.3 AT+CMGF–Setting the SMS Inputting Mode ............................................................................ 39
5.4 AT+CSCS–Setting the TE Character Set ................................................................................. 40
5.5 AT+CNMI–Setting SMS Indication Mode .................................................................................. 41
5.6 AT+CMGR–Reading SMS Messages ....................................................................................... 43
5.7 AT+CMGL–SMS Message List ................................................................................................. 47
5.8 AT+CMGS–Sending an SMS Message .................................................................................... 50
N300 AT Commands Manual
Contents
Copyright © Neoway Technology Co., Ltd
iv
5.9 AT+CMGW–Writing an SMS Message ..................................................................................... 51
5.10 AT+CMSS–Sending a Message in the Memory ..................................................................... 52
5.11 AT+CMGD–Deleting the SMS Message ................................................................................. 53
5.12 AT+CSCA–Setting SMS Center Number ................................................................................ 54
5.13 AT+CSMP–Setting Text Mode Parameters ............................................................................ 55
5.14 AT+CSDH–Displaying the Parameters of the Text Mode ....................................................... 56
5.15 AT+CSAS–Save Settings ....................................................................................................... 58
5.16 AT+SMSWHITELIST–Setting the SMS Whitelist ................................................................... 58
6 Network Service ...................................................................................... 60
6.1 AT+CSQ–Querying Signal Quality ............................................................................................ 60
6.2 AT+COPS – Selecting and Registering With a Network ........................................................... 61
6.3 AT+NETSTATE–Querying the Network State ........................................................................... 63
6.4 AT+CELLINFO–Querying Cell Information ............................................................................... 64
6.5 AT+NETINFO–Querying the Network Information.................................................................... 65
6.6 AT+NETCFG–Setting the Network Mode ................................................................................. 66
6.7 AT+NVSETBAND–Setting Frequency Band ............................................................................. 67
6.8 AT+NETSRVDOMAIN–Setting the Network Service Domain .................................................. 68
7 EPS Commands ...................................................................................... 70
7.1 AT+CGDCONT–Defining PDP Context .................................................................................... 70
7.2 AT+XIIC–Setting Up a PPP Link ............................................................................................... 71
7.3 AT+CGATT–Attaching and Detaching to PS ............................................................................ 72
7.4 AT+CGAUTH–PDP Authentication ........................................................................................... 73
8 TCP/UDP Client Commands ................................................................... 75
8.1 AT+RECVMODE–Setting the Receive Mode ........................................................................... 75
8.2 AT+TCPKEEPALIVE–Setting Keepalive Heartbeat .................................................................. 76
8.3 AT+TCPSETUP–Setting Up a TCP Connection ....................................................................... 77
8.4 AT+TCPSEND–Sending TCP Data .......................................................................................... 78
8.5 AT+TCPRECV–Unsolicited TCP Data Output .......................................................................... 80
8.6 AT+TCPREAD–Reading TCP Data .......................................................................................... 80
8.7 AT+TCPCLOSE–Closing TCP Connection .............................................................................. 81
8.8 AT+UDPSETUP–Setting Up UDP Connection ......................................................................... 82
8.9 AT+UDPSEND–Sending UDP Data ......................................................................................... 83
8.10 AT+UDPRECV–Unsolicited UDP Data Ouput ........................................................................ 84
8.11 AT+UDPREAD–Reading UDP Data ....................................................................................... 85
8.12 AT+UDPCLOSE–Closing the UDP Connection ...................................................................... 86
8.13 AT+IPSTATUS–Querying TCP/UDP Socket Status ................................................................ 87
8.14 AT+TCPACK–Querying Status of Data Transmitted by TCP Socket ..................................... 88
9 Transparent TCP/UDP Commands ......................................................... 89
9.1 AT+TCPTRANS–Setting Up a Transparent TCP Connection .................................................. 89
9.2 AT+UDPTRANS–Setting Up a Transparent UDP Connection ................................................. 90
9.3 AT+IPSTATUS–Querying TCP/UDP Socket Status .................................................................. 91
9.4 AT+TRANSCLOSE–Closing the Transparent Socket .............................................................. 92
N300 AT Commands Manual
Contents
Copyright © Neoway Technology Co., Ltd
v
10 TCP Server Commands ......................................................................... 93
10.1 AT+TCPLISTEN–Setting TCP Listening for the Server .......................................................... 93
10.2 AT+CLOSELISTEN–Closing the Socket Connection ............................................................. 94
10.3 AT+CLOSECLIENT–Closing Remote Socket ......................................................................... 95
10.4 +TCPRECV(S)–Unsolicited TCP Data Output ....................................................................... 96
10.5 AT+TCPSENDS–Sending Data to the Client .......................................................................... 97
10.6 AT+TCPREADS–Reading TCP Data ...................................................................................... 98
11 FTP Commands ................................................................................... 100
11.1 AT+FTPLOGIN–Logging in to the FTP Server ..................................................................... 100
11.2 AT+FTPLOGOUT–Logging Out from the FTP Server .......................................................... 101
11.3 AT+FTPSIZE–Obtaining File Size on FTP Server ................................................................ 102
11.4 AT+FTPGET–Downloading Data from the FTP Server ........................................................ 103
11.5 AT+FTPPUT–Uploading Data to the FTP Server ................................................................. 104
11.6 AT+FTPSTATUS–Querying the FTP Link Status ................................................................. 105
12 Remote Upgrade Via FTP ................................................................... 107
12.1 AT+FTPGETFURC–Switching the Unsolicited Report of Download Start for FTP Upgrade 107
12.2 AT+FTPGETF–FTP Upgrade ............................................................................................... 108
12.3 AT+FTPFREAD–Reading Other Upgrade Files from the FTP Server ................................... 110
13 HTTP Commands ................................................................................. 111
13.1 AT+HTTPPARA–Setting HTTP Parameters .......................................................................... 111
13.2 AT+HTTPSETUP–Setting Up an HTTP Connection ............................................................. 112
13.3 AT+HTTPACTION–Executing an HTTP Request .................................................................. 113
13.4 AT+HTTPCLOSE–Closing an HTTP Socket ......................................................................... 116
13.5 +HTTPRECV–Unsolicited HTTP Data Output ....................................................................... 117
13.6 +HTTPCLOSED–HTTP Socket Closed ................................................................................. 118
14 HTTPS Commands ............................................................................. 119
14.1 AT+HTTPSPARA–Setting HTTPS Parameters ..................................................................... 119
14.2 AT+HTTPSSETUP–Setting up an HTTPS Connection ........................................................ 120
14.3 AT+HTTPSACTION–Executing an HTTPS Request ............................................................ 121
14.4 AT+HTTPSCLOSE–Closing an HTTPS Socket ................................................................... 123
14.5 +HTTPSSEND–Unsolicited Report of HTTPS Sending Result ........................................... 124
14.6 +HTTPSRECV–Unsolicited Report of HTTPS Data Received ............................................ 125
14.7 +HTTPSCLOSED–HTTPS Socket Closed ........................................................................... 126
15 GNSS Commands ............................................................................... 127
15.1 AT+GNSSPWR–GNSS Switch ............................................................................................. 127
15.2 AT+GNSSSTATE–GNSS State ............................................................................................ 128
15.3 AT+GNSSFORMAT–Configuring the GNSS Latitude and Longitude Output Format .......... 128
15.4 AT+GNSSNMEA–Obtaining NMEA Data ............................................................................. 129
15.5 AT+GNSSSEL–Selecting the Assist Positioning System ..................................................... 133
15.6 AT+GNSSDEL–Deleting the GNSS Almanac Data .............................................................. 134
16 Time Synchronization Commands ....................................................... 135
N300 AT Commands Manual
Contents
Copyright © Neoway Technology Co., Ltd
vi
16.1 AT+UPDATETIME–Updating Time to Network ..................................................................... 135
17 GSM Location Commands .................................................................. 138
17.1 AT+CIPGSMLOC–Obtaining the Location of the Module ..................................................... 138
18 PSM&eDRX Commands ..................................................................... 141
18.1 AT+CPSMS–Setting PSM Mode .......................................................................................... 141
18.2 AT+CEDRXS–Setting eDRX Mode ...................................................................................... 143
19 MQTT Command ................................................................................. 146
19.1 AT+MQTTCONNPARAM–Setting User Parameters ............................................................ 146
19.2 AT+MQTTWILLPARAM–Will Settings .................................................................................. 147
19.3 AT+MQTTCONN–Connection Command ............................................................................. 148
19.4 AT+MQTTSUB–Subscription ................................................................................................ 149
19.5 AT+MQTTUNSUB–Unsubscription ....................................................................................... 150
19.6 AT+MQTTPUB–Publishing Topic .......................................................................................... 150
19.7 AT+MQTTPUBIN–Publishing Long Message (HEX Data) ................................................... 152
19.8 AT+MQTTDISCONN–Disconnecting to the MQTT Server ................................................... 153
19.9 +MQTTSUB–Receiving Topic Content ................................................................................. 153
19.10 +MQTTDISCONNED–Receiving Topic Content ................................................................. 154
19.11 AT+MQTTSTATE–Querying MQTT Connection Status ...................................................... 155
20 AlibabaCloud MQTT Commands ......................................................... 157
20.1 AT+IMQTTAUTH–Setting Device Authentication .................................................................. 157
20.2 AT+IMQTTPARA–Setting MQTT Parameters ...................................................................... 158
20.3 AT+IMQTTCONN–Setting up an MQTT Connection ............................................................ 159
20.4 AT+IMQTTDISCONN–Disconnecting the MQTT Connection .............................................. 160
20.5 AT+IMQTTPUB–Publishing a Message ............................................................................... 161
20.6 AT+IMQTTSUB–Subscribing a Message ............................................................................. 162
20.7 AT+IMQTTUNSUB–Cancelling the Subscription .................................................................. 163
20.8 AT+IMQTTSTATE–Querying the MQTT Connection Status ................................................. 164
20.9 +IMQTTRCVPUB–Receiving a Published Message ............................................................ 164
21 Other Commands ................................................................................ 166
21.1 AT+CPWROFF–Powering Off the Module ........................................................................... 166
21.2 AT+PING–PING Test ............................................................................................................ 166
21.3 AT+DNSSERVER–Setting DNS Server ............................................................................... 167
21.4 AT+SIGNAL–Setting Blinking Status of Signal Indicator ...................................................... 168
21.5 AT+ENPWRSAVE–Enabling or Disabling Sleep Mode ........................................................ 170
21.6 AT+NWCERTADD–Adding an SSL Certificate ....................................................................... 171
21.7 AT+NWCERTADD–Deleting SSL Certificate .......................................................................... 172
21.8 AT+NWCERTINFO–Querying the SSL Certificate Information ............................................ 172
21.9 AT+NWHTTPSCFG–HTTPS Configuration Parameter ........................................................ 173
21.10 AT+NEOFOTA–FOTA Upgrade .......................................................................................... 175
21.11 AT+NEOFOTAURC–FOTA Status Report .......................................................................... 176
21.12 AT+NSIMLOCK–Locking SIM ............................................................................................. 177
Reference Process of AT Command Programming ............................... 179
N300 AT Commands Manual
Contents
Copyright © Neoway Technology Co., Ltd
vii
A.1 Content of PDU SMS Messages ............................................................................................. 179
A.2 Flowchart of Sending Text SMS Messages (Through UART) ................................................. 181
A.3 Flowchart of Sending PDU SMS Messages (Through UART) ................................................ 182
Error Codes ........................................................................................... 183
N300 AT Commands Manual
About This Document
Copyright © Neoway Technology Co., Ltd
viii
About This Document
Scope
This document is applicable to the N300 series.
Audience
This document is intended for system engineers (SEs), development engineers, and test engineers.
Change History
Issue
Date
Changed By
1.0
2021-03
Tao Wenhong
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
N300 AT Commands Manual
About This Document
Copyright © Neoway Technology Co., Ltd
ix
Related Documents
Neoway_N300_Datasheet
Neoway_N300_Product_Specifications
Neoway_N300_HW_User_Guide
Neoway_N300_EVK_User_Guide
N300 AT Commands Manual
Chapter 1 Boot LOG Instruction
Copyright © Neoway Technology Co., Ltd
10
1 Boot LOG Instruction
The UART outputs +PBREADY after the phonebook is available.
If the module is booted in automatic baudrate detection mode, send AT 10 seconds after the module
is powered up to check if the AT function is initialized. The UART responds with OK if AT is initialized
and outputs +PBREADY after the phonebook is available.
Network indicator status
âš« Off: No network found.
âš« On: the module finds a network and the PDP context is not activated.
âš« Blinks (on for 0.2 seconds and off for 1.8 seconds): the PDP context is activated successfully.
N300 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
Response Syntax
<CR><LF>response<CR><LF>
N300 AT Commands Manual
Chapter 2 AT Syntax
Copyright © Neoway Technology Co., Ltd
12
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 B.
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
report
<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.
N300 AT Commands Manual
Chapter 3 General Commands
Copyright © Neoway Technology Co., Ltd
13
3 General Commands
3.1 ATI–Querying the Manufacturer Information
To query the manufacturer information, including manufacturer, 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>
Timeout
The command times out if the module does not respond in 300 ms.
Parameter
<manufacturer>
module manufacturer
<module_version>
module model
<soft_version>
software version
Example
ATI
NEOWAY
N300
01
OK
Manufacturer
Module model
Version
N300 AT Commands Manual
Chapter 3 General Commands
Copyright © Neoway Technology Co., Ltd
14
3.2 AT+CGMR–Querying the Software Version
To query the software version
Format
Type
Command
Response
Execute
AT+CGMR<CR>
<CR><LF><version><CR><LF>
<CR><LF>OK<CR><LF>
Timeout
The command times out if the module does not respond in 300 ms.
Parameter
<version>
software version
Example
AT+CGMR
N300-Q01-STD-BZ-001
OK
3.3 AT+CGSN–Querying the IMEI
To query the International Mobile Equipment Identity (IMEI) of the module
Format
Type
Command
Response
Execute
AT+CGSN<CR>
<CR><LF>+CGSN: <IMEI>
<CR><LF>OK<CR><LF>
N300 AT Commands Manual
Chapter 3 General Commands
Copyright © Neoway Technology Co., Ltd
15
Timeout
The command times out if the module does not respond in 300 ms.
Parameter
<IMEI>
International Mobile Equipment Identity, a character string of 15 digits
Example
AT+CGSN
+CGSN: 355910044336974
OK
3.4 AT+CIMI–Querying the IMSI
To query the international mobile subscriber identification (IMSI)
Format
Type
Command
Response
Execute
AT+CIMI<CR>
<CR><LF><IMSI><CR><LF>
<CR><LF>OK<CR><LF>
Or
<CR><LF>ERROR<CR><LF>
Timeout
The command times out if the module does not respond in 300 ms.
Parameter
<IMSI>
International mobile subscriber identification, a character string of 15 digits that starts
with 3-bit MCC and 2-bit MNC.
It is used to authenticate the SIM card.
N300 AT Commands Manual
Chapter 3 General Commands
Copyright © Neoway Technology Co., Ltd
16
Example
AT+CIMI
460022201575463
OK
Obtain the IMSI number.
AT+CIMI
ERROR
Query the IMSI.
No SIM card is installed.
3.5 AT+CCID–Obtaining the ICCID of the SIM Card
To obtain the integrated circuit card identifier (ICCID) of the SIM card
Format
Type
Command
Response
Execute
AT+CCID<CR>
<CR><LF>+CCID:<ICCID><CR><LF>
<CR><LF>OK<CR><LF>
Or
<CR><LF>ERROR<CR><LF>
Timeout
The command times out if the module does not respond in 300 ms.
Parameter
<ICCID>
SIM card ID, a string of 20 digits.
Example
AT+CCID
+CCID: 89860002190810001367
OK
Read command
AT+CCID
ERROR
Read command
The SIM card is not inserted.
N300 AT Commands Manual
Chapter 3 General Commands
Copyright © Neoway Technology Co., Ltd
17
3.6 AT+CGMM–Querying the Module Model
To query the module model
Format
Type
Command
Response
Execute
AT+CGMM<CR>
<CR><LF><model><CR><LF>
<CR><LF>OK<CR><LF>
Timeout
The command times out if the module does not respond in 300 ms.
Parameter
<model>
module model
Example
AT+CGMM
N300
OK
Query the product model.
N300 AT Commands Manual
Chapter 4 UE Control and Status Report
Copyright © Neoway Technology Co., Ltd
18
4 UE Control and Status Report
4.1 AT+CREG–Querying 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>
Query
AT+CREG?<CR>
<CR><LF>+CREG: <n><stat>[,<lac>,<ci>[,<Act>]]<CR><LF>
<CR><LF>OK<CR><LF>
Test
AT+CREG=?<CR>
<CR><LF>+CREG: (value range of <n>)<CR><LF>
<CR><LF>OK<CR><LF>
Unsolicited
report
<CR><LF>+CREG: <stat>[,<lac>,<ci>[,<Act>]]<CR><LF>
Timeout
The command times out if the module does not respond in 300 ms.
Parameter
<n>
Specifies whether to enable unsolicited result codes for network registration.
0: disable network registration unsolicited result code (default).
1: enable network registration unsolicited result code +CREG: <stat>.
2: enable network registration unsolicited result code with location information (Cell ID,
Local ID) +CREG: <stat>[,[<lac>],[<ci>],[<AcT>]]
<stat>
Network registration status
0: not registered, the module is not currently searching for an operator to register to
1: registered with a home network
2: not registered, but the module is currently trying to attach or searching for an operator
to register to
3: registration denied
N300 AT Commands Manual
Chapter 4 UE Control and Status Report
Copyright © Neoway Technology Co., Ltd
19
4. unknown code
5: registered, roaming
<lac>
Two-byte location area code in hexadecimal format, string type
<ci>
Four-byte cell ID in hexadecimal format, string type
<Act>
The access technology of the serving cell, integer type
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: ECGSM
9: NB-IoT
Example
AT+CREG=1
OK
Enable unsolicited codes of network registration.
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.
4.2 AT+CGREG–Network Registration
To control the presentation of an unsolicited result code of the module's network registration status
Format
Type
Command
Response
Set
AT+CGREG=[<n>]<CR>
<CR><LF>OK<CR><LF>
Or
<CR><LF>ERROR<CR><LF>
Query
AT+CGREG?<CR>
<CR><LF>+CGREG: <n>,<stat>[,<lac>,<ci>
[,<Act>]]<CR><LF>
N300 AT Commands Manual
Chapter 4 UE Control and Status Report
Copyright © Neoway Technology Co., Ltd
20
Timeout
The command times out if the module does not respond in 300 ms.
Parameters
<n>
Specifies whether to enable network registration unsolicited result code
0: Disable network registration unsolicited result code (default)
1: Enable network registration unsolicited result code +CGREG: <stat>
2: Enable network registration and location information unsolicited result code
+CGREG: <stat>[,<lac>,<ci>[,<Act>]]
<stat>
GPRS registration status, integer type
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
6: the QCN file has been not imported or the QCN file is wrong.
<lac>
Two-byte location area code in hexadecimal format, string type
<ci>
Four-byte GERAN/UTRAN cell ID in hexadecimal format, string type
<Act>
The access technology of the serving cell, integer type
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
8: ECGSM
9: NB-IOT
<rac>
Routing Area Code, one-byte character string in hexadecimal format
0 is displayed if no proper RAC
<subAct>
0: TDD_SUBACT
<CR><LF>OK<CR><LF>
Test
AT+CGREG=?<CR>
<CR><LF>+CGREG: (list of supported
<n>s)<CR><LF>
<CR><LF>OK<CR><LF>
Unsolicited
report
<CR><LF>+CGREG: <stat>[,<lac>,<ci>[,<Act>,<rac>[,<SubAct>]]] <CR><LF>
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184

Neoway N300 Commands Manual

Type
Commands Manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI