SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R09

7Network service
Page 47 of 307
The parameters <AcTStatus>, <lac>, <ci> are provided only if available.
The read command provides the same information issued by the URC together with the current value of the
<n> parameter. The location information elements <lac>, <ci> and <AcTStatus>, if available, are returned only
when <n>=2 and the MT is registered with the network.
When <n>=2, in UMTS RAT, during dedicated connections, unsolicited location information may be
received if the network sends the UTRAN INFORMATION MOBILITY message. In GSM RAT, during a CS
connection, no unsolicited location information is received.
The DTE application should set a reasonable timer (10 s) when receiving the +CREG: 3 URC, since this
might be due to the fact that the LTE registration was rejected (SIM not enabled for LTE RAT, wrong APN
during the initial default bearer setup in the EPS attach procedure and other temporary reject causes).
If the MT also supports GPRS services and/or EPS services in E-UTRAN, the +CGREG / +CEREG set and
read command result codes apply to the registration status and location information for those services.
7.6.2î™–î™–î™–î™–Syntax
Type Syntax Response Example
Set AT+CREG=[<n>] OK AT+CREG=1
OK
Read AT+CREG? +CREG: <n>,<stat>[,<lac>,<ci>[,
<AcTStatus>]]
OK
+CREG: 0,0
OK
Test AT+CREG=? +CREG: (list of the supported <n>s)
OK
+CREG: (0-2)
OK
URC +CREG: <stat>[,<lac>,<ci>[,
<AcTStatus>]]
+CREG: 1,"4E54","44A5"
7.6.3î™–î™–î™–î™–Defined values
Parameter Type Description
<n> Number
• 0 (default value and factory-programmed value): network registration URC disabled
• 1: network registration URC +CREG: <stat> enabled
• 2: network registration and location information URC +CREG: <stat>[,<lac>,<ci>[,
<AcTStatus>]] enabled
<stat> Number
• 0: not registered, the MT is not currently searching a new operator to register to
• 1: registered, home network
• 2: not registered, but the MT is currently searching a new operator to register to
• 3: registration denied
• 4: unknown (e.g. out of GERAN/UTRAN/E-UTRAN coverage)
• 5: registered, roaming
• 6: registered for "SMS only", home network (applicable only when <AcTStatus>
indicates E-UTRAN)
• 7: registered for "SMS only", roaming (applicable only when <AcTStatus> indicates
E-UTRAN)
• 9: registered for "CSFB not preferred", home network (applicable only when
<AcTStatus> indicates E-UTRAN)
• 10: registered for "CSFB not preferred", roaming (applicable only when <AcTStatus>
indicates E-UTRAN)
<lac> String Two bytes location area code or tracking area code (if <AcTStatus>=7) in
hexadecimal format (e.g. "00C3"). The value FFFF means that the current <lac> value
is invalid.
<ci> String From 2 to 4 bytes cell ID in hexadecimal format (e.g. "A13F" or "129080B"). The value
FFFFFFFF means that the current <ci> value is invalid.
<AcTStatus> Number Indicates the radio access technology
• 0: GSM
• 1: GSM COMPACT
• 2: UTRAN
• 3: GSM with EDGE availability
• 4: UTRAN with HSDPA availability