At+Cmgs Send Short Message - Siemens Brodersen MC55 AT Command Manual

At command manual
Table of Contents

Advertisement

13.7

AT+CMGS Send Short Message

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>
To abort sending use
<ESC>
The message reference
identify the message in a delivery status report provided as an unsolicited result code.
Syntax
Test Command
AT+CMGS=?
Response(s)
OK
Write Command
If text mode (see AT+CMGF=1)
AT+CMGS=<da>[, <toda>]
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>
Response(s)
+CMGS: <mr>[, <ackpdu>]
OK
If sending fails see notes below.
Reference(s)
GSM 07.05
Notes
If sending fails, for example, if a message is too long, the result code depends on the current setting of the
command:
AT^SM20
If the
AT^SM20 <CmgwMode>
Users should be aware, that despite the "OK" response, the message will not be sent to the subscriber.
If the
AT^SM20 <CmgwMode>
If sending fails due to timeout, then
<CmgwMode>=1 causes "+CMS ERROR: Unknown error" to be returned;
AT^SM20
<CmgwMode>=0 causes "+CMS ERROR: timer expired" to be returned.
AT^SM20
Note that some providers do not recognize an @ symbol used in a short message. A widely used alternative
is typing "*" as defined in GSM 03.40 (GPP TS 23.40).
All characters entered behind the prompt ">" will be recognized as GSM characters. For example, "Back-
space" (ASCII character 8) does not delete a character, but will be inserted into the short message as an addi-
tional physical character. As a result, the character you wanted to delete still appears in the text, plus the GSM
code equivalent of the Backspace key.
MC55_ATC_V04.00
Confidential / Released
. After the prompt a timer will be started to observe the input.
. Abortion is acknowledged with "OK", though the message will not be sent.
is returned to the TE on successful message delivery. The value can be used to
<mr>
Text can be entered.
<CR>
PDU can be entered.
equals 1 (factory default) any failure to send a message is responded with "OK".
equals 0 any failure to send a message is responded with "ERROR".
Page 342 of 475
/
<CTRL-Z>
<ESC>
/
<CTRL-Z>
<ESC>
PIN
ASC0 ASC1
MUX1
%
%
%
%
MUX2
MUX3 Charge
%
%
!
!
Last
!
3/17/06

Advertisement

Table of Contents
loading

This manual is also suitable for:

Brodersen mc55

Table of Contents