164
6196-2220
+CGREG – GPRS network registration status
Description
The set command controls the presentation of an unsolicited result code +CGREG:
<stat> when <n>=1 and there is a change in the MT's GPRS network registration status,
or code +CGREG: <stat>[,<lac>,<ci>] when <n>=2 and there is a change of the net-
work 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 MT.
Location information elements <lac> and <ci> are returned only when <n>=2 and MT is
registered in the network.
Syntax:
+CGREG=[<n>]
+CGREG?
+CGREG=?
Response Syntax:
OK
ERROR
Response on “+CGREG?”
+CGREG: <n>,<stat>[,<lac>,<ci>]
+CME ERROR: <err>
Response on “+CGREG=?”
+CGREG: (list of supported <n>s)
Defined values:
<n>
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>]
<stat>:
0:
not registered, ME is not currently searching a new operator to register to
1:
registered, home network
2:
not registered, but ME 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.
<ci>:
string type; two byte cell ID in hexadecimal format
Summary of Contents for GD-01 TCP
Page 147: ...147 6196 2220...