SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R09
9Short Messages Service
Page 89 of 307
9.19Send concatenated message +UCMGS
+UCMGS
SARA-R410M-02B SARA-R410M-52BModules
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.19.1Description
Sends one segment of a concatenated message from a DTE to the network (SMS-SUBMIT). The message
reference value <mr> is returned to the DTE for a successful message delivery. <Ctrl-Z> indicates that the
SMS shall be sent, while <ESC> indicates aborting of the edited SMS.
The command is supported only for text mode (+CMGF=1).
The entered text is preceded by a ">" (Greater-Than sign) character, and this indicates that the interface
is in "text enter" mode. The DCD signal shall be in ON state while the text is entered.
9.19.2Syntax
Type Syntax Response Example
Set AT+UCMGS=<da>,[<toda>],<seq>,
<max>,<iei>,<ref><CR>
text is entered<Ctrl-Z/ESC>
+UCMGS: <mr>
OK
AT+UCMGS="0171112233",,1,2,0,
127<CR>
> u-blox reserves all rights to this
document and the information
contained herein. Reproduction, use
or disclosure to third parties without
express permis<Ctrl-Z>
+UCMGS:2
OK
AT+UCMGS="0171112233",,2,2,0,
127<CR>
> sion is strictly prohibited.<Ctrl-Z>
+UCMGS:3
OK
Test AT+UCMGS=? OK
9.19.3Defined values
Parameter Type Description
<da> String Destination address
<toda> Number Type of address of <da> - octet
<seq> Number Sequence number of the current short message (1-255)
<max> Number Maximum number of short messages in the concatenated short message (1-255)
<iei> Number Information Element Identifier, the possible values are the following:
• 0: Concatenated short messages, 8-bit reference number
• 8: Concatenated short messages, 16-bit reference number
<ref> Number Concatenated short message reference number:
• 0-255: Concatenated short messages, 8-bit reference number case
• 0-65535: Concatenated short messages, 16-bit reference number case
<text> String SMS String
<mr> Number Message reference