N11 V2
AT Command Manual
Copyright © Neoway Technology Co., Ltd
11
0: Not registered, the terminal is not currently searching for a new carrier
1: Registered to local network
2: Unregistered, the terminal is searching for the new base station
3: Registration is denied
4: Unknown code
5: registered, in a roaming state
<Lac>: Character, 2-digit hexadecimal location area code
<Ci>: Character, 4-digit hexadecimal cell number
<Act>:
0: GSM
2: UTRAN
3: GSM w/EGPRS
Return Value
<CR><LF>+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 separation,
Unsolicited result code returned by the
module
AT+CGREG=2
OK
AT+CGATT=1
+CGREG: 2, "286F", "00000FCA", 3
OK
+CGREG: 1, "286F", "00000FCA", 3
Setting the Enable Network Registration
Unsolicited Result Code.
Set the GPRS attachment.
Unsolicited result code returned by the
module
GPRS attached successfully and
return OK,
Unsolicited result code returned by the
module
AT+CGREG?
+CGREG: 0,1
OK
When <n> is set to 0, the current GPRS
network registration status is queried