Cinterion
®
ENS22-E AT Command Set
9.3 AT+CMGS
ENS22-E_ATC_V01.000
19/02/11
Page 146 of 189
9.3
AT+CMGS Send SMS
write command transmits a short message 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>. Abortion is acknowledged with "OK", though the message will not be sent.
The message reference
is returned by the UE on successful message delivery. The value can be used to
identify the message in a delivery status report provided as an unsolicited result code.
Syntax
Notes
• The
value ranges from 7 to 164.
• In general but especially at baudrates below 19200, it is recommended to only use the command line termi-
nation character (
) before starting PDU input. Use of line termination character followed by an additional
response formatting character (
) may cause the problem that the latter will become part of the input data.
Test Command
AT+CMGS=?
Response(s)
OK
Write Command
PDU mode
AT+CMGS=
<CR> PDU can be entered. <CTRL-Z>/<ESC>
Response(s)
+CMGS:
]
OK
If sending fails see notes below.
PIN Last
Reference(s)
+
-
3GPP TS 27.005