MC55 AT Command Set

12.7 AT+CMGS

s

mobile

12.7AT+CMGS Send SMS message

Syntax

Test Command

AT+CMGS=?

Response(s)

OK

Write Command

If text mode (see AT+CMGF=1)

AT+CMGS=<da>[, <toda>]<CR> Text can be entered. <CTRL-Z>/<ESC>

Response(s)

+CMGS: <mr>[, <scts>]

OK

If sending fails see notes below.

Write Command

If PDU mode (see AT+CMGF=0)

AT+CMGS=<length><CR> PDU can be entered. <CTRL-Z>/<ESC>

Response(s)

+CMGS: <mr>[, <ackpdu>]

OK

If sending fails see notes below.

PIN ASC0 ASC1 MUX1 MUX2 MUX3

￿ ￿ ￿ ￿ ￿ ￿

Reference(s)

GSM 07.05

Command Description

The write command transmits a short message from TE to network (SMS-SUBMIT).

After invoking the write command wait for the prompt ">" and then start to write the message. To send the mes- sage simply enter <CTRL-Z>. After the prompt a timer will be started to observe the input.

To abort sending use <ESC>. Abortion is acknowledged with "OK", though the message will not be sent.

The message reference <mr> is returned to the TE on successful message delivery. The value can be used to identify the message in a delivery status report provided as an unsolicited result code.

Notes

If sending fails, for example, if a message is too long, the result code depends on the current setting of the AT^SM20 command:

MC55_ATC_V01.05

Page 323 of 469

2/10/04

Confidential / Released

 

 

Page 323
Image 323
Siemens MC55 manual 12.7 AT+CMGS Send SMS message, At+Cmgs=?, +CMGS mr, scts, +CMGS mr, ackpdu