beautypg.com

Multi-Tech Systems MTSGSM User Manual

Page 37

background image

Chapter 5 - AT Commands, S-Registers, and Error Codes

MTSGSM

37

Defined values Meaning

Location value of message to be read

+CMGL

List messages

Syntax

AT+CMGL[=| used to list messages
The response is +CMGL: ,,,
AT+CMGL=? for a list of supported .
The response is +CMGL: (list of supported )
Error codes is returned as +CMS ERROR: :

Description

The AT+CMGL command list messages from the preferred message storage. Entire
data units (PDU) is returned.

Defined values Meaning

4

All messages

+CGSN

Request product serial number identification

Syntax

AT+CGSN used to get phone serial number info. The response is +CGSN: .
Error codes is returned as +CME ERROR: :

Description

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

by the phone manufacturer intended to identify the individual phone..

Defined values Meaning

Information text determined by the phone manufacturer.

+CHUP

Hangup call

Syntax

AT+CHUP used hangup GSM call

Description

The AT+CHUP command causes hangup of the current GSM call.

+CMGR

Read message

Syntax

AT+CMGR= used to read a message
The response is +CMGR: ,
Error codes is returned as +CMS ERROR: :

Description

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

Defined values Meaning

Location value of message to be read

+CMGS

Send message

Syntax

AT+CMGS=

PDU is given/ESC> used to send messages

Error codes is returned as +CMS ERROR: :

Description

The AT+CMGS command sends a message to the network (SMS-SUBMIT).

Message reference value is returned to the TE on successful message
delivery. The TA shall send a four character sequence <

CR>

(in hex 0xd 0xa 0x3e 0x20) after the command line is terminated with
; after that PDU can be given. (in hex 0x1a) must be used to indicate
the ending of PDU

Defined values Meaning

Must indicate the number of octets coded in the TP layer data unit to be given.