Mode preference +cops, Registration & roaming +creg – Multi-Tech Systems CDMA Wireless Modem User Manual

Page 18

Advertising
background image

Chapter 3 – Unsolicited AT Result Codes

Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C

18

Incoming Message Stored in Memory +CMTI

Description: This response indicates that an incoming message has been received and according to the

message storage preferences (+CNMI), is to be stored in memory.

Value:

<mem>

NVRAM storage area (always “MT” for this response)

<index> location of message within storage area

Syntax:

Response syntax: +CMTI: <mem>,<index>

Example Result
+CMTI: “MT”,5
Note: Incoming message received and stored in “MT” memory at index 5

Mode Preference +COPS

Description: This response indicates that a change in mode preference has taken place. See +COPS,

Mode Preferences, in chapter 6 for information about Changing Mode Preference.

Values:

<mode> (For System Determination 2.0)

0: Automatic.

1: CDMA only.

2: CDMA or AMPS only.

3: Analog only.

<term>

0: Permanent – this mode persists until another +COPS command is issued

1: Power cycle – this mode persists until power cycle is performed

Syntax:

Response syntax: +COPS: <mode>,<term>

Example Result
+COPS:0,0
Note: Unsolicited +COPS result confirms Automatic mode is requested.
+COPS:2,0
Note: Unsolicited +COPS result confirms CDMA or AMPS only mode is requested.

Registration & Roaming +CREG

Description: This response indicates the current state of roaming. See +COPS, Mode Preferences, in

chapter 6 for information about Changing Mode Preference

Values:

<stat>

0: not registered, MS is not currently searching for a new operator.

1: registered, home network.

2: not registered, MS currently searching for a base station.

4: unknown.

5: registered, roaming

Syntax:

Response syntax: +CREG: <stat>

Example Result
+CREG

:

1

Note: Modem has found the home network and is registered.

Advertising