User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
13Packet switched data services
Page 147 of 401
13.11.2Syntax
Type Syntax Response Example
Set AT+CGREG=[<n>] OK AT+CGREG=1
OK
If <n>=0 or 1:
+CGREG: <n>,<stat>
OK
+CGREG: 0,4
OK
Read AT+CGREG?
If <n>=2:
+CGREG: <n>,<stat>[,<lac>,<ci>[,
<AcT>,<rac>]]
OK
+CGREG: 2,1,"61EF","7D58A3",2,"14"
OK
Test AT+CGREG=? +CGREG: (list of supported <n>s)
OK
+CGREG: (0-2)
OK
If <n>=1:
+CGREG: <stat>
+CGREG: 1URC
If <n>=2:
+CGREG: <stat>[,<lac>,<ci>[,<AcT>,
<rac>]]
+CGREG: 1,"4E54","44A5"
13.11.3Defined values
Parameter Type Description
<n> Number
0 (default value and factory-programmed value): network registration URC disabled
1: network registration URC enabled
2: network registration and location information URC enabled
<stat> Number
0: not registered, the MT is not currently searching an 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 (e.g. out of GERAN/UTRAN coverage)
5: registered, roaming
8: attached for emergency bearer services only (see 3GPP TS 24.008 [12] and 3GPP
TS 24.301 [68] that specify the condition when the MS is considered as attached
for emergency bearer services) (applicable only when <AcT> indicates 2,4,5,6)
<lac> String Two bytes location area in hexadecimal format; it is optionally provided in the URC
and in the response to the read command if <n>=2. The value FFFF means that the
current <lac> value is invalid.
<ci> String From 2 to 4 bytes cell ID in hexadecimal format; it is optionally provided in the URC
and in the response to the read command if <n>=2. The value FFFFFFFF means that
the current <ci> value is invalid.
<AcT> Number Indicates the radio access technology:
0: GSM
1: GSM COMPACT
2: UTRAN
3: GSM/GPRS with EDGE availability
4: UTRAN with HSDPA availability
5: UTRAN with HSUPA availability
6: UTRAN with HSDPA and HSUPA availability
7: E-UTRAN
8: EC-GSM-IoT (A/Gb mode)
9: E-UTRAN (NB-S1 mode)
255: the current <AcT> value is invalid
Allowed values:
SARA-R412M - 0, 3, 7, 8, 9
SARA-R410M-02B / SARA-R410M-52B / SARA-R410M-83B - 7, 9
SARA-R410M-01B - 8
SARA-R404M / SARA-R410M-63B / SARA-R410M-73B - 7