PIONEERPOS G24-L +CGREG, Gprs Network Registration, 77 +CGREG Parameters, At+Cgreg?, At+Cgreg=?

Models: G24-LC G24-L

1 444
Download 444 pages 51.67 Kb
Page 185
Image 185

Chapter 3: AT Commands Reference

+CGREG, GPRS Network Registration

 

 

 

 

Command

 

 

 

Type

Syntax

Response/Action

Remarks

 

 

 

 

 

 

 

 

Set

AT+CGREG=[<n>]

OK

The Set command controls the

 

 

or:

presentation of an unsolicited result

 

 

+CME ERROR: <err>

code "+CGREG:" and the result of the

 

 

 

Read operation.

Read

AT+CGREG?

+CGREG:

The Read command returns the status

 

 

<n>,<stat>[,<lac>,<ci>]

of the result code presentation and

 

 

OK

shows whether the network has

 

 

or:

currently indicated the GPRS

 

 

registration of the G24-L. Location

 

 

+CME ERROR: <err>

 

 

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

The Test command displays the

 

 

supported <n>s)

supported values of <n>.

 

 

OK

 

 

 

 

 

 

 

 

 

The following table shows the +CGREG parameters.

 

 

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.

 

 

 

<stat>

0

Not registered, and the ME is not currently searching for a new operator to

 

which to register.

 

1

Registered, home network.

 

2

Not registered, but the ME is currently searching for a new operator to which

 

to register.

 

3

Registration denied.

 

4

Unknown.

 

5

Registered, roaming.

 

 

<lac>

Two-byte location area code in hexadecimal format.

 

 

<ci>

Two-byte cell ID in hexadecimal format.

 

 

 

 

 

 

April 15, 2008

G24-L AT Commands Reference Manual

3-121

Page 185
Image 185
PIONEERPOS +CGREG, Gprs Network Registration, 77 +CGREG Parameters, April 15 G24-L AT Commands Reference Manual 121