Datasheet
SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R09
9Short Messages Service
Page 90 of 307
9.20Write concatenated message to memory +UCMGW
+UCMGW
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 < 10 s +CMS Error
9.20.1Description
Stores one segment of a concatenated message (SMS-DELIVER or SMS-SUBMIT) to memory storage
<mem2> and returns the memory location <index> of the stored message. <Ctrl-Z> indicates that the SMS
shall be stored, 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.20.2Syntax
Type Syntax Response Example
Set AT+UCMGW=[<oa/da>],[<tooa/
toda>],[<stat>],<seq>,<max>,<iei>,
<ref><CR>
text is entered<Ctrl-Z/ESC>
+UCMGW: <index>
OK
AT+UCMGW="091137880",,,1,2,8,
32767<CR>
> u-blox reserves all rights to this
document and the information
contained herein. Reproduction, use
or disclosure to third parties without
express permi<Ctrl-Z>
+UCMGW:302
OK
AT+UCMGW="091137880",,,2,2,8,
32767<CR>
> ssion is strictly prohibited.<Ctrl-
Z>
+UCMGW:303
OK
Test AT+UCMGW=? OK
9.20.3Defined values
Parameter Type Description
<da> String 3GPP TS 23.040 [8] TP-Destination-Address Address-Value field in string format;
BCD numbers (or GSM 7 bit default alphabet characters) are converted to characters
of the currently selected TE character set (refer command +CSCS in 3GPP TS 27.007
[2]); type of address given by <toda>
<oa> String 3GPP TS 23.040 [8] TP-Originating-Address Address-Value field in string format;
BCD numbers (or GSM 7 bit default alphabet characters) are converted to characters
of the currently selected TE character set (refer command +CSCS chapter Chapter
4.10); type of address given by <tooa>
<tooa> Number 3GPP TS 24.011 [13] TP-Originating-Address Type-of-Address octet in integer format
(default refer <toda>)
<toda> Number 3GPP TS 24.011 [13] TP-Destination-Address Type-of-Address octet in integer format
(when first character of <da> is + (IRA 43) default is 145, otherwise default is 129)
<stat> String Indicates the status of message in memory:
• "REC UNREAD": received unread SMS messages
• "REC READ": received read SMS messages
• "STO UNSENT": stored unsent SMS messages
• "STO SENT": stored sent SMS messages (default value)
<seq> Number Sequence number of the current short message (1-255)