beautypg.com

Gprs network registration status +cgreg – Multi-Tech Systems MMCModem GPRS (MTMMC-G) User Manual

Page 161

background image

Chapter 15 – GPRS Commands

Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I)

161

GPRS Network Registration Status +CGREG

Description:

The set command controls the presentation of an unsolicited result code +CGREG: when =1
and there is a change in the modem's GPRS network registration status, or code +CGREG:
[,,] when =2 and there is a change of the network cell.

The read command returns the status of result code presentation and an integer which shows
whether the network has currently indicated the registration of the modem. Location information
elements and are returned only when =2 and modem is registered in the network.

Values:

0

Disable network registration unsolicited result code

1

Enable network registration unsolicited result code +CGREG:

2 Enable network registration and location information unsolicited result code +CGREG:

[,,]

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

Syntax: Command

Syntax:

AT+CGREG

Command

Possible response(s)

AT+CGREG=[]

+CGREG: stat>[,,]
OK

AT+CGREG? +CGREG:

,[,,]

OK
Note: +CME ERROR:

AT+CGREG=?

+CGREG: (list of supported s)
OK

This manual is related to the following products: