Multi-Tech Systems MTSGSM User Manual

Page 36

Advertising
background image

MultiMobile SoftGSM User Guide

MTSGSM

36

+CMGF

Message format

Syntax

AT+CMGF=<mode> used to set the message format.
AT+CMGF? returns selected message format. The response is +CMGF: <mode> .
AT+CMGF=? for a list of supported <mode>. The response is +CMGF: (list of
supported <mode>) .

Description

The AT+CMGF command selects the message format to use.

Defined values Meaning
<mode>
0

PDU mode

+CGMM

Request model identification

Syntax

AT+CGMM used to get phone model info.
The response is +CGMM: <model>
Error codes is returned as +CME ERROR: <err>:

Description

The AT+CGMM command returns one ore more lines of information text determined

by the phone manufacturer intended to identify the specific model of the phone..

Defined values Meaning
<model>

Information text determined by the phone manufacturer

+CMGD

Delete message

Syntax

AT+CMGD=<index> used to set the message format
Error codes is returned as +CMS ERROR: <err>:

Description

The AT+CMGD command deletes message with location <index> from preferred

message storage.

Defined values Meaning
<index>

Location of message to be deleted.

+CMEE

Report mobile equipment error

Syntax

AT+CMEE=<n> used to set use of result codes.
AT+CMEE? Returns <n>. The response is +CMEE: <n> .
Enter AT+CMEE=? for a list of supported modes. The response is +CMEE: (list of
supported <n>)

Description

The AT+CMEE command disables or enables the use of the result code
+CME ERROR: <err> as an indication of an error relating to the functionality of the
phone. When enabled, phone related errors cause the +CME ERROR:<err> final
result code instead of the regular ERROR final result code. ERROR is returned
normally when the error is related to syntax, invalid parameters, or TA functionality.
Test command returns values supported by the TA as a compound value.

Defined values Meaning
<n>
0

Disables +CME ERROR: <err> and use ERROR instead

1

Enables +CME ERROR: <err> and use numeric <err> values as defined in
+CME ERROR <err>

+CGMR

Read message

Syntax

AT+CMGR=<index> used to read a message
The response is +CMGR: <stat>,<length><CR><LF><pdu>
Error codes is returned as +CMS ERROR: <err>:

Description

The AT+CMGR command reads a message with location value <index> from
preferred message storage <mem1> to the TE. Status of the message and the entire
message data unit <pdu> is returned.

Advertising