Multi-Tech Systems MTSGSM User Manual

Page 38

Advertising
background image

MultiMobile SoftGSM User Guide

MTSGSM

38

+CNMI

New message indications to modem

Syntax

AT+CNMI=[<mode>[,<mt>[,<bm>[,<ds>[,<bfr>]]]]] set the new message indications.
AT+CNMI? Returns the new message indications settings.
The response is +CNMI: <mode>,<mt>,<bm>,<ds>,<bfr> .
Use AT+CNMI=? for a list of supported settings
The response is +CNMI: (list of supported <mode>), ( list of supported<mt>), ( list of
supported <bm>), ( list of supported <ds>), ( list of supported<bfr>). Error codes are
returned as +CMS ERROR: <err>:

Description

The AT+CNMI command sets how receiving of new messages from the network is

indicated to modem when the modem is active.

Defined values Meaning
<mode>
1

Discard indication and reject new received message unsolicited result codes, when
the TA-TE link is reserved.

2

Buffer unsolicited result codes in the TA when TA-TE link is reserved and flush them
to the TE after reservation, otherwise forward them directly to the TE.

<mt>
0

No SMS-DELIVER indications are routed to the TE.

1

Indication of SMS-DELIVER is routed to the TE using an unsolicited result code:
+CMTI: <mem>,<index> <bm>

0

No CBM indications are routed to the TE.

1

Indication of CBM is routed to the TE using an unsolicited result code: +CBMI:
<mem>,<index>

<ds>
0

No SMS-STATUS-REPORTs are routed to the TE.

<bfr>
0

TA buffer of an unsolicited result codes defined within this command is flushed to the
TE when <mode> 1,2 is entered. TA buffer is not implemented.

+CPAS

hone activity status

Syntax

AT+CPAS for status.
AT+CPAS=? for a list of supported values.

Description

The AT+CPAS command returns the activity status of the phone. It can be used to

check the phone before requesting action from the phone.

Possbile responses

Meaning

+CPAS: 0

Ready (phone allows commands from modem)

+CPAS: 1

Unavailable (phone does not allows commands from modem)

+CPAS: 2

Unknown

+CPAS: 3

Ringing

+CPAS: 4

Call in progress

+CPAS: 5

Asleep

+CPBR

Read phonebook entries

Syntax

AT+CPBR=<index1>,<index2>
The response is +CPBR: <index>,<number>,<type>,<text>
AT+CPBR=? for a list of supported <index>.
The response is +CPBR: (list of supported <index>), <nlength>,<tlength>
Error codes is returned as +CME ERROR: <err>:

Description

The AT+CPBR command reads phonebook entries in location number range

<index1>…<index2> from the current phonebook memory storage selected with
AT+CPBS . If <index2> is left out only one location <index1> is returned.

Advertising