Westermo GD-01 User Manual

Page 30

Advertising
background image

30

6196-2220

+CREG – Network registration

Description:

This command is used by the application to ascertain the registration status of the
product.

Syntax:

AT+CREG= <mode>

Response Syntax

+CREG: <mode>, <stat> [ ,<lac>,<ci> ] for AT+CREG? Command only

Command example

Possible responses

Note

AT+CREG?

+CREG: <mode>,<stat>

As defined above

OK

AT+CREG=0 OK

Disable

network

registra-

tion unsolicited result
code, command valid

AT+CREG=1

OK

Enable network registra-
tion unsolicited result
code, command valid

AT+CREG=2

OK

Enable network registra-
tion and location informa-
tion unsolicited result
code, command valid

AT+CREG=?

+CREG: (0-2)

0,1,2 <mode> values are
supported

Defined values:

<mode>

0:

Disable network registration unsolicited result code (default)

1:

Enable network registration code result code +CREG: <stat>

2:

Enable network registration and location information unsolicited
result code +CREG:

<stat>

0:

not registered, ME is not currently searching for a new operator.

1:

registered, home network.

2:

not registered, ME currently searching for a new operator to register to.

3:

registration denied.

4:

unknown.

5:

registered, roaming.

B A C K

Advertising