Command |
Possible response(s) |
+CREG=[<n>] |
|
+CREG? |
+CREG: <n>,<stat>[,<lac>,<ci>[,<AcT>]] +CME ERROR: <err> |
+CREG=? |
+CREG: (list of supported <n>s) |
Description
Set command controls the presentation of an unsolicited result code +CREG: <stat> when <n>=1 and there is a change in the MT network registration status, or code +CREG: <stat>[,<lac>,<ci>[,<AcT>]] when <n>=2 and there is a change of the network cell.
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 MT. Location information elements <lac>, <ci> and <AcT>are returned only when <n>=2 and MT is registered in the network. Refer subclause 9.2 for possible <err> values.
Defined values
<n>:
0 disable network registration unsolicited result code
1 enable network registration unsolicited result code +CREG: <stat>
2 enable network registration and location information unsolicited result code +CREG: <stat>[,<lac>,<ci>[,<AcT>]]
<stat>: registration status
0 not registered, MT is not currently searching a new operator to register to
1 registered, home network
2 not registered, but MT is currently searching a new operator to register to
3 registration denied
4 unknown
5 registered, roaming
<lac>: string type; two byte location area code in hexadecimal format (e.g. "00C3" equals 195 in decimal)
<ci>: string type; four byte UTRAN/GERAN cell ID in hexadecimal format
<AcT>: access technology of the registered network
0 GSM
1 GSM Compact
2 UTRAN
3 GSM w/EGPRS (see NOTE 1)
4 UTRAN w/HSDPA (see NOTE 2)
5 UTRAN w/HSUPA (see NOTE 2)
6 UTRAN w/HSDPA and HSUPA (see NOTE 2)