User's Manual

Page 122 of 187
TECHNICAL MANUAL
Telit GM862 PCS
Tri Band GPRS Data Terminal System Rev.1
2.5.7.5 +CGREG - GPRS network registration status
+ CGREG GPRS network registration status
Execute command
Read command
AT+CGREG?
Returns the status of result code presentation mode <n> and the integer
<stat> which shows whether the network has currently indicated the
registration of the terminal in the format: +CGREG:<n>,<stat>.
Write command
AT+CGREG = <n>
The command controls the presentation of an unsolicited result code
+CGREG: <stat>
when <n>=1 and there is a change in the terminal GPRS network
registration status, or an unsolicited code
+CGREG: <stat>[,<lac>,<ci>]
when <n>=2 and there is a change of the network cell.
Parameter:
<n> - result code presentation mode
0 - disable network registration unsolicited result code
1 - enable network registration unsolicited result code
+CGREG: <stat>
2 - enable network registration and location information unsolicited
result code +CGREG:<stat>[,<lac>,<ci>]
where:
<lac> - location area code in hexadecimal format
(e.g. "00C3" equals 195 in decimal)
<ci> - cell ID in hexadecimal format
<stat> - registration status
0 - not registered, terminal is not currently searching a new operator
to register to
1 - registered, home network
2 - not registered, but terminal is currently searching a new operator
to register to
3 - registration denied
4 - unknown
5 - registered, roaming
Test command
AT+CGREG=?
Returns supported values for parameter <n>
Example
Reference GSM 07.07
SW release Future Software Release