Cgreg – gprs network registration status – Westermo GDW-11 User Manual

Page 231

Advertising
background image

GPRS commands 231

6615-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:

AT+CGREG=[<n>]

Response Syntax:

+CGREG: stat>[,<lac>,<ci>]

AT+CGREG?

+CGREG: <n>,<stat>[,<lac>,<ci>]

AT+CGREG=?

+CGREG: (list of supported <n>s)

Parameters:

<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

Advertising
This manual is related to the following products: