beautypg.com

Westermo GD-01 User Manual

Page 164

background image

164

6196-2220

+CGREG – GPRS network registration status

Description

The set command controls the presentation of an unsolicited result code +CGREG:
when =1 and there is a change in the MT's GPRS network registration status,
or code +CGREG: [,,] when =2 and there is a change of the net-
work cell.

The read command returns the status of result code presentation and an integer
which shows whether the network has currently indicated the registration of the MT.
Location information elements and are returned only when =2 and MT is
registered in the network.

Syntax:

+CGREG=[]

+CGREG?

+CGREG=?

Response Syntax:

OK

ERROR

Response on “+CGREG?”

+CGREG: ,[,,]

+CME ERROR:

Response on “+CGREG=?”

+CGREG: (list of supported s)

Defined values:

0:

disable network registration unsolicited result code

1:

enable network registration unsolicited result code +CGREG:

2:

enable network registration and location information unsolicited result code
+CGREG: [,,]

:

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

:

string type; two byte location area code in hexadecimal format.

:

string type; two byte cell ID in hexadecimal format

B A C K