6. DATA - GPRS
6.9 AT+CGREG GPRS Network Registration Status
Description | Command | Possible Responses |
|
|
|
Set command | AT+CGREG=[<n>] | • +CME ERROR: <err> |
|
| • OK |
|
| • ERROR |
|
|
|
Read the current | AT+CGREG? | • +CGREG: |
settings |
| <n>,<stat>[,<lac>, |
|
| <ci>] |
|
| • +CME ERROR: <err> |
|
| • OK |
|
| • ERROR |
|
|
|
Test if the command is | AT+CGREG=? | • +CGREG: (list of |
supported |
| supported <n>s) |
|
| • OK |
|
| • ERROR |
|
|
|
Controls the presentation of an unsolicited result code +CGREG: <stat> when <n>=1 and there is a change in the GPRS/packet domain network registration status of the MS, or code +CGREG: <stat>[,<lac>,<ci>] when <n>=2 and there is a change of the network cell.
Note! If the GPRS/Packet Domain MS also supports circuit mode services, the +CGREG command and +CGREG: result code apply to the registration status and location information for those services.
<n> | Description |
|
|
0 | Disable network registration unsolicited result code |
|
|
1 | Enable network registration unsolicited result code |
|
|
2 | Enable network registration and location information |
| unsolicited result code |
|
|
<stat> | Description |
|
|
0 | Not registered, MS is not searching for a new operator to |
| register with |
1 | Registered, home network |
|
|
2 | Not registered, but MS is searching for a new operator to |
| register with |
3 | Registration denied |
|
|
4 | Unknown |
|
|
5 | Registered, roaming |
|
|
|
|
<lac> | Description |
|
|
String type | Two byte location area code in hexadecimal format |
|
|
121
LZT 123 7361 R1A