EasyManua.ls Logo

Gemalto Cinterion EHS6 - 12.7 AT+CMGS Send SMS

Gemalto Cinterion EHS6
513 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Cinterion
®
EHS6 AT Command Set
12.7 AT+CMGS
EHS6_ATC_V03.001 15/12/3
Confidential / Released
Page 332 of 513
12.7 AT+CMGS Send SMS
AT+CMGS 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 <mr> is returned by the ME 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
Note that some providers do not recognize an @ symbol used in a short message. A widely used alternative
is typing "*" as defined in 3GPP TS 23.040 [36].
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.
Message Length in Text Mode
The maximum length of a short message depends on the used coding scheme: It is 160 characters if the 7
bit GSM coding scheme is used, and 140 characters according to the 8 bit GSM coding scheme.
In case UCS2 character set selected it is highly recommended to set Data Coding Scheme (<dcs> of
AT+CSMP) to 16-bit data, otherwise the length of sms user data is restricted to 88 octets. Even better for mes-
sages with UCS2 character set is the PDU Mode.
In general but especially at baudrates below 19200 it is recommended to only use the command line termi-
nation character (ATS3) before starting text or PDU input. Use of line termination character followed by an
additional response formatting character (ATS4) may cause the problem that the latter will become part of the
input data.
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 Last Reference(s)
+ - - 3GPP TS 27.005 [44]

Table of Contents

Related product manuals