PioneerPOS G24-L Manuale Utente
Chapter 3: AT Commands Reference
April 15, 2008
G24-L AT Commands Reference Manual
3-121
+CGREG, GPRS Network Registration
The following table shows the +CGREG parameters.
Command
Type
Syntax
Response/Action
Remarks
Set
AT+CGREG=[<n>]
OK
or:
+CME ERROR: <err>
The Set command controls the
presentation of an unsolicited result
code "+CGREG:" and the result of the
Read operation.
presentation of an unsolicited result
code "+CGREG:" and the result of the
Read operation.
Read
AT+CGREG?
+CGREG:
<n>,<stat>[,<lac>,<ci>]
OK
or:
+CME ERROR: <err>
The Read command returns the status
of the result code presentation and
shows whether the network has
currently indicated the GPRS
registration of the G24-L. Location
information elements <lac> and <ci>
are returned only when <n>=2 and the
G24-L is registered in the network.
of the result code presentation and
shows whether the network has
currently indicated the GPRS
registration of the G24-L. Location
information elements <lac> and <ci>
are returned only when <n>=2 and the
G24-L is registered in the network.
Test
AT+CGREG=?
+CGREG: (list of
supported <n>s)
OK
The Test command displays the
supported values of <n>.
supported values of <n>.
Table 3-77: +CGREG Parameters
<Parameter>
Description
<n>
0
Disables the network registration unsolicited result code.
1
Enables the network registration unsolicited result code +CGREG: <stat>.
2
Enables the network registration and location information in unsolicited result
code and Read command +CGREG:<stat>[,<lac>,<ci>].
The default is 0.
The default is 0.
<stat>
0
Not registered, and the ME is not currently searching for a new operator to
which to register.
1 Registered,
1 Registered,
home
network.
2
Not registered, but the ME is currently searching for a new operator to which
to register.
3 Registration
3 Registration
denied.
4 Unknown.
5 Registered,
5 Registered,
roaming.
<lac>
Two-byte location area code in hexadecimal format.
<ci>
Two-byte cell ID in hexadecimal format.