Gprs Network Registration Status +Cgreg - Multitech MMCModem GPRS (MTMMC-G) Reference Manual

Wireless gsm/gprs modems at commands reference guide
Table of Contents

Advertisement

GPRS Network Registration Status +CGREG

Description:
The set command controls the presentation of an unsolicited result code +CGREG: <stat> when <n>=1
and there is a change in the modem's GPRS network registration status, or code +CGREG:
<stat>[,<lac>,<ci>] when <n>=2 and there is a change of the network cell.
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 modem. Location information
elements <lac> and <ci> are returned only when <n>=2 and modem is registered in the network.
Values:
<n>
<stat>
<lac>
<ci>
Syntax:
Command Syntax: AT+CGREG
Command
AT+CGREG=[<n>]
AT+CGREG?
AT+CGREG=?
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I)
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>]
0
Not registered; the modem is not currently searching a new operator to which to register
1
Registered, home network
2
Not registered, but modem is currently searching a new operator to which to register
3
Registration denied
4
Unknown
5
Registered, roaming
String type; two byte location area code in hexadecimal format
String type; two byte cell ID in hexadecimal format
Possible response(s)
+CGREG: stat>[,<lac>,<ci>]
OK
+CGREG: <n>,<stat>[,<lac>,<ci>]
OK
Note: +CME ERROR: <err>
+CGREG: (list of supported <n>s)
OK
Chapter 15 – GPRS Commands
161

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents