EasyManuals Logo
Home>Ublox>Control Unit>SARA-R4 Series

Ublox SARA-R4 Series User Manual

Ublox SARA-R4 Series
307 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
Page #79 background imageLoading...
Page #79 background image
SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R09

9Short Messages Service
Page 79 of 307
9.11î™–î™–î™–î™–Send message +CMGS
+CMGS
SARA-R404M SARA-R410M-01B SARA-R410M-02B SARA-R410M-52B SARA-R412MModules
SARA-N4
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
full Yes No No Up to 3 min (<1
s for prompt ">"
when present)
+CMS Error
9.11.1î™–î™–î™–î™–Description
Sends a message from a DTE to the network (SMS-SUBMIT). The message reference value <mr> is returned to
the DTE for a successful message delivery. Optionally (when enabled by +CSMS AT command and the network
supports) <ackpdu> is returned. Values can be used to identify message upon unsolicited delivery status report
result code. <Ctrl-Z> indicates that the SMS shall be sent, while <ESC> indicates aborting of the edited SMS.
The entered text/PDU is preceded by a ">" (Greater-Than sign) character, and this indicates that the
interface is in "text/PDU enter" mode. The DCD signal shall be in ON state while the text/PDU is entered.
9.11.2î™–î™–î™–î™–Syntax
Type Syntax Response Example
Text mode (+CMGF=1):
AT+CMGS=<da>[,<toda>]<CR>
> text is entered<Ctrl-Z/ESC>
+CMGS: <mr>
OK
AT+CMGS="0171112233"<CR>
> This is the text<Ctrl-Z>
+CMGS: 2
OK
Set
PDU mode (+CMGF=0):
AT+CMGS=<length><CR>
> PDU is given<Ctrl-Z/ESC>
+CMGS: <mr>[,<ackpdu>]
OK
AT+CMGS=13<CR>
> 039121430100038166F600000
4E374F80D<Ctrl-Z>
+CMGS: 2
OK
Test AT+CMGS=? OK
9.11.3î™–î™–î™–î™–Defined values
Parameter Type Description
<da> String Destination address
<toda> Number Type of address of <da> - octet
<text> String SMS String
<mr> Number Message reference
<length> Number Two meanings:
• in text mode: number of characters
• in PDU mode: PDU's length in octets without the Service Center's address. In
example 039121430100038166F6000004E374F80D: is a PDU with Service Center's
number +1234, that generates the address 03912143 (4 octets). Thus in this case
<length>=13.
<PDU> String Protocol Data Unit: each 8-bit octet of the PDU must be written as two IRA character
long hexadecimal numbers, e.g. octet with integer value 42 must be written as two
characters 2A (IRA 50 and 65)
<ackpdu> String See the 3GPP TS 23.040 [8] RP-User-Data element of RP-ACK PDU; the format is
same as for <PDU> in case of SMS
9.11.4î™–î™–î™–î™–Notes
SARA-R4 / SARA-N4
• The <ackpdu> parameter is not supported.

Table of Contents

Other manuals for Ublox SARA-R4 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Ublox SARA-R4 Series and is the answer not in the manual?

Ublox SARA-R4 Series Specifications

General IconGeneral
BrandUblox
ModelSARA-R4 Series
CategoryControl Unit
LanguageEnglish

Related product manuals