beautypg.com

At+creg network registration, 37 at+creg network registration – Siemens MC35 User Manual

Page 107

background image

AT Command Set

MC35_ATC_01_V03.02

Page 107 of 228

13.03.2002

4.37 AT+CREG Network registration

Test command

AT+CREG=?

Response

+CREG:

(list of supported s) OK

Parameter

See write command

Read command

AT+CREG?

ME returns the URC presentation mode and an integer that shows
the registration status of the ME. The location information elements and
are returned only when =2 and ME is registered to the network.

Response

+CREG: ,[,,]
OK
or if an error occurs which is related to ME functionality:
+CME ERROR: > (for error text see Chapter 9.1.1. or set AT+CMEE=2)

Write command

AT+CREG=
[]

Use the write command to select the type of URC. Two types of URCs are
available:
+CREG: if =1. To be issued when the ME's network registration
status changes
or
+CREG: [,,] if =2. To be issued when ME's network regis-
tration or network cell changes.

Response

OK
or if an error occurs which is related to ME functionality:
+CME ERROR:
>

256

If = 0: Attempt to set once again =0 causes error
code 256.
If > 0: Attempt to activate a URC mode that is already
active is acknowledged with OK.

Parameter

0

disable URCs

1

enable URC +CREG: to report status of network reg-
istration

2

enable URC +CREG:[,,] to report status of
network registration including location information. Please
note that optional parameters will not be displayed during
call.

0

not registered, ME is currently not searching for new op-
erator

1

registered, home network

2

not registered, but ME is currently searching for a new op-
erator

3

registration denied

4

unknown

5

registered, roaming

string type; two byte location area code in hexadecimal format
(e.g. "00C3" equals 193 in decimal)

string type; two byte cell ID in hexadecimal format