User guide

Developers guidelines | AT commands
197 June 2010
AT+CGREG Packet domain network registration status
AT+CGPADDR Show PDP address
Description: Controls the presentation of the unsolicited result code +CGREG: <stat>
when <n>=’1’ and there is a change in the ME GPRS network registration
status or +CGREG: <stat>[,<lac>,<ci>] when <n>=’2’ and there is a
change of the network cell.
Note: If the GPRS MT also supports circuit mode services, AT+CREG and
the +CREG result code apply to the registration status and location infor-
mation for those services.
The read command returns the status of result code presentation and an
integer <stat> which shows whether the network has currently indicated
the registration of the ME. Location information elements <lac> and <ci>
are returned only when <n>=2 and ME is registered in the network.
Set command: AT+CGREG=[<n>]
Read command: AT+CGREG? Displays the current <n>, <stat>[, <lac>,<ci>] settings.
Test command: AT+CGREG=? Shows if the command is supported.
Test command
response: +CGREG: (list of supported <n>s)
Parameters:
<n>:
<n> Description
0 Disable network registration unsolicited result code.
Default value
1 Enable network registration unsolicited result code
2 Enable network registration and location
information unsolicited result code
<stat>:
<stat> Description
0 Not registered, ME is not currently searching a new
operator to register to
1 Registered, home network
2 Not registered, but ME is currently searching a new
operator to register to
3 Registration denied
4 Unknown
5 Registered, roaming
<lac>: Two byte location area code in hexadecimal format.
<ci>: Four byte cell ID in hexadecimal format. Four bytes are required for UMTS,
whereas only two bytes are applicable for GSM. For GSM the two first
bytes are zeros, for example, 00001A02
Description: Returns a list of PDP addresses for the specified context identifiers.